
var crossobj=document.getElementById? document.getElementById("menu") : document.all.content
var contentheight=crossobj.offsetHeight
var px=speedfaster

function movedown(i){
	
	if (i == 1) px = speed
	
	if (parseInt(crossobj.style.top)>=(contentheight*(-1)+how))
	crossobj.style.top=parseInt(crossobj.style.top)-px+"px"
	movedownvar=setTimeout("movedown()",25)
}

function moveup(i){
	
	if (i == 1) px = speed
	
	if (parseInt(crossobj.style.top)<0)
	crossobj.style.top=parseInt(crossobj.style.top)+px+"px"
	moveupvar=setTimeout("moveup()",25)
}

//function getcontent_height(){
//	contentheight=crossobj.offsetHeight
//}

//window.onload=getcontent_height
