<html> 
<body onmousemove="aa.style.top=(event.y+document.body.scrollTop);aa.style.left=(event.x+document.body.scrollLeft)">  
  <img id="aa" style="position:absolute; height:2px; width:1003px; background-color:blue; z-index:100" src="about:blank"> 
  </body>
</html>