var cursors = new Array("e-resize","ne-resize","n-resize","se-resize") var cursorsIndex = 0 var rotationSpeed = 75 var direction = 1 if (direction) cursors.reverse() function rotateCursor(){ document.body.style.cursor=cursors[cursorsIndex] cursorsIndex++ if (cursorsIndex==cursors.length) cursorsIndex=0 setTimeout("rotateCursor()",rotationSpeed) } window.onload=rotateCursor //-->