var myCursor=new Abstract({init:function(){this.cursor=new Element("img",{id:"cursor",src:js_contextPath+"/img/cursor/cursor.gif",alt:""});document.addEvent("mousemove",this.moveCursor.bindAsEventListener(this))},attachCursor:function(a){a=a||document.body;this.cursor.inject(a)},moveCursor:function(a){a=new Event(a);this.cursor.setStyles({top:(a.page.y-5),left:(a.page.x-5)})},show:function(){this.cursor.setStyle("display","block")},hide:function(){this.cursor.setStyle("display","none")}});myCursor.init();window.addEvent("domready",function(){myCursor.attachCursor(document.body)});