fires before the cursor changes its position.
some.attachEvent("onBeforeCursorChange", function(id){ //... some code here ... });