<script>
var old_y=0;
var yn=0;
function moveit()
{
if(yn==1 && event.button==1)
document.body.scrollTop=(old_y-event.clientY);
}
function downit()
{old_y=event.clientY+document.body.scrollTop;
yn=1;
}
function upit()
{yn=0;}
document.οnmοuseup=upit;
document.οnmοusedοwn=downit;
document.onmousemove =moveit;
</script>