Once a day my curser freezes or I get a grey message to restart my computer.
This is a kernel panic.
As noted above, RAM can be a culprit. Particularly if you recently updated to a new version of the OS from a previous one that 'worked fine'. Newer version of the OS can tax RAM more, and can expose previously hidden bad componants.
It could also be related to other items of hardware. Some peripherals you have plugged in perhaps.
It could also be related to some software you've installed. Perhaps it installed a kernel extention (.kext) that is poorly written/implemented or is incompatible with the last OS update/your OS upgrade.
They are tough to nail down. Try looking at /Library/Logs/panic.log (if it exists) for clues on what the culprit could be.
Also, here's Apple's suggestions for dealing kernel panics.
http://docs.info.apple.com/article.html?artnum=106227
P.S., definitely replace your internal battery.