//specify speed of scroll (greater=faster)
var speed=5
function movedown(n){
	var crossobj=document.getElementById? document.getElementById(n) : eval("document.all."+n);
	var contentheight=crossobj.offsetHeight
	if (parseInt(crossobj.style.top)>=(contentheight*(-1)+100))
	crossobj.style.top=parseInt(crossobj.style.top)-speed+"px"
	
	movedownvar=setTimeout("movedown('"+n+"')",20)
}

function moveup(n){
	var crossobj=document.getElementById? document.getElementById(n) : eval("document.all."+n);
	var contentheight=crossobj.offsetHeight
	if (parseInt(crossobj.style.top)<=0)
	crossobj.style.top=parseInt(crossobj.style.top)+speed+"px"
	
	moveupvar=setTimeout("moveup('"+n+"')",20)

}