<html>
<head>
<script>
function onScroll(){
document.body.scrollTop = 0;
}
function whichButton(e)
{
  // Handle different event models
  var e = e || window.event;
  var btnCode;

  if ('object' == typeof e){
     btnCode = e.button;
 if (btnCode==1){
    onScroll()
 }
  }
}
</script>
</head>
<body onscroll="onScroll()" onclick="whichButton(event)">
<div style="height:800px;background-color:#666666;">
</div>
</body>
</html>