I would like to know if there is any equivalent to the jquery mousemove function in prototype.
I think this will get you where you want to be:
Event.observe(document, 'mousemove', callBackFunction);
callbackFunction = function(event)
{
//do something
}