function pausecomp(millis) {
var date = new Date();
var curDate = null;

do { curDate = new Date(); }
while(curDate-date < millis);
}

var timer;
var i=0;
var speed=0;

function scrollup(speed) {
//clearTimeout(timer);
d=document.getElementById('scrolltag0')
y=d.scrollTop;
if(y<=d.scrollHeight-d.offsetHeight){
y=y-speed
d.scrollTop=y;
//timer=setTimeout('scrollup()',1);
}
//else{
//clearTimeout(timer);
//}
}