defaultStep=11;
step=defaultStep;

function scrollDivDown(id){
	if ((document.getElementById(id).style.top.replace('px','') - step) < (0-(document.getElementById(id).clientHeight-document.getElementById(id).parentNode.clientHeight)) ) {
		document.getElementById(id).style.top='-' + (document.getElementById(id).clientHeight-document.getElementById(id).parentNode.clientHeight) + 'px'
		clearTimeout(timerDown)
	} else {
		document.getElementById(id).style.top=((document.getElementById(id).style.top.replace('px','')*1) - step) + 'px'
		timerDown=setTimeout("scrollDivDown('"+id+"')",10)
	}
}

function scrollDivUp(id){
	if ((document.getElementById(id).style.top.replace('px','') + step) > 0 ) {
		document.getElementById(id).style.top='0px'
		clearTimeout(timerUp)
	} else {
		document.getElementById(id).style.top=((document.getElementById(id).style.top.replace('px','')*1) + step) + 'px'
		timerUp=setTimeout("scrollDivUp('"+id+"')",10)
	}
}

timerDown="" 
timerUp=""  

function stopMe(){
clearTimeout(timerDown) 
clearTimeout(timerUp)
}

document.onmousemove=function(){stopMe()}  
