var crossobj=document.getElementById? document.getElementById("content") : document.all.content 
var contentheight=crossobj.offsetHeight 

function movedown(){		/* część widoczna +150 taka sama jak wysokość ramki*/
if (parseInt(crossobj.style.top)>=(contentheight*(-1)+330))
crossobj.style.top=parseInt(crossobj.style.top)-speed +'px' 
movedownvar=setTimeout("movedown()",25) 
} 
function moveup(){ 
if (parseInt(crossobj.style.top)<=0) 
crossobj.style.top=parseInt(crossobj.style.top)+speed +'px' 
moveupvar=setTimeout("moveup()",25) 
} 
function getcontent_height(){ 
contentheight=crossobj.offsetHeight 
} 
window.onload=getcontent_height 

	/* Skrypt w HTMLu ---var speed=5--- szybkość przewijania ramki
	   dla długich stron większa*/