function to_top(h,i,t) {
var s=40;
if (t) clearInterval(t); else var t;
if (!h) var h=document.body.scrollHeight,i=h;
if (h/s <= i) { i-=h/s; window.scrollTo(0,parseInt(i));
t=setInterval(function(){t=to_top(h,i,t);},1); }
else window.scrollTo(0,0);
return t;
}
