document.write('</div></div>')
var crossobj=document.getElementById? document.getElementById("mscrollercontent") : document.all.content
var contentheight=crossobj.offsetHeight

function movedown(){
if (window.moveupvar) clearTimeout(moveupvar)
if (newschool&&parseInt(crossobj.style.top)>=(contentheight*(-1)+300))
crossobj.style.top=parseInt(crossobj.style.top)-speed+"px"
else if (crossobj.top>=(contentheight*(-1)+50))
crossobj.top-=speed
movedownvar=setTimeout("movedown()",20)
}

function moveup(){
if(crossobj.style.top !=0+"px")
{
if (window.movedownvar) clearTimeout(movedownvar);
if (newschool&&parseInt(crossobj.style.top)<=0);
crossobj.style.top=parseInt(crossobj.style.top)+speed+"px";
moveupvar=setTimeout("moveup()",20);
}
}

function stopscroll(){
if (window.moveupvar) clearTimeout(moveupvar);
if (window.movedownvar) clearTimeout(movedownvar);
}

function movetop(){
stopscroll()
crossobj.style.top=0+"px"
}

function getcontent_height(){
contentheight=crossobj.offsetHeight
}
