var speed=7
	
	function F_MoveDown(sObject){
		var crossobj=document.getElementById? document.getElementById(sObject) : eval('document.all.'+ sObject)
		var contentheight=crossobj.offsetHeight
		if (window.moveupvar) clearTimeout(moveupvar)
		if (parseInt(crossobj.style.top)>=(contentheight*(-1)+100))
		crossobj.style.top=parseInt(crossobj.style.top)-speed+"px"
		movedownvar=setTimeout("F_MoveDown('"+ sObject +"')",20)
	}
	
	function F_MoveLeft(sObject){
		var crossobj=document.getElementById? document.getElementById(sObject) : eval('document.all.'+ sObject)
		var contentheight=crossobj.offsetWidth
		if (window.moveupvar) clearTimeout(moveupvar)
		if (parseInt(crossobj.style.left)>=(contentheight*(-1)+100))
		crossobj.style.left=parseInt(crossobj.style.left)-speed+"px"
		movedownvar=setTimeout("F_MoveLeft('"+ sObject +"')",20)
	}
	
	function F_MoveRight(sObject){
		var crossobj=document.getElementById? document.getElementById(sObject) : eval('document.all.'+ sObject)
		var contentheight=crossobj.offsetWidth
		if (window.moveupvar) clearTimeout(moveupvar)
		if (parseInt(crossobj.style.left)<=0)
		crossobj.style.left=parseInt(crossobj.style.left)+speed+"px"
		moveupvar=setTimeout("F_MoveRight('"+ sObject +"')",20)
	}
	
	function F_MoveUp(sObject){
		var crossobj=document.getElementById? document.getElementById(sObject) : eval('document.all.'+ sObject)
		var contentheight=crossobj.offsetHeight
		if (window.movedownvar) clearTimeout(movedownvar)
		if (parseInt(crossobj.style.top)<=0)
		crossobj.style.top=parseInt(crossobj.style.top)+speed+"px"
		moveupvar=setTimeout("F_MoveUp('"+ sObject +"')",20)
	}
	
	function F_StopScroll(){
		if (window.moveupvar) clearTimeout(moveupvar)
		if (window.movedownvar) clearTimeout(movedownvar)
	}
	
	function movetop(){
		F_StopScroll()
		crossobj.style.top=0+"px"
	}
	
	/*function getcontent_height(){
		contentheight=crossobj.offsetHeight
	}
	window.onload=getcontent_height*/
