Add this function and line (red) as shown, near the end of the script:
Code:
function moveup(){
if (iens6&&parseInt(crossobj.style.top)<=0)
crossobj.style.top=parseInt(crossobj.style.top)+speed+"px"
else if (ns4&&crossobj.top<=0)
crossobj.top+=speed
moveupvar=setTimeout("moveup()",20)
}
function movedownfast(){
if (iens6&&parseInt(crossobj.style.top)>=(contentheight*(-1)+100)){
crossobj.style.top=parseInt(crossobj.style.top)-speed+"px"
movedownfast();
}
else if (ns4&&crossobj.top>=(contentheight*(-1)+100)){
crossobj.top-=speed
movedownfast();
}
}
function getcontent_height(){
if (iens6)
contentheight=crossobj.offsetHeight
else if (ns4)
document.nscontainer.document.nscontent.visibility="show"
movedownfast();
}
window.onload=getcontent_height
Bookmarks