
if (iens6){
var crossobj=document.getElementById? document.getElementById("ScrollContent") : document.all.ScrollContent
var ScrollContentheight=crossobj.offsetHeight
}
else if (ns4){
var crossobj=document.nsScrollContainer.document.nsScrollContent
var ScrollContentheight=crossobj.clip.height
}

function movedown(){
if (iens6&&parseInt(crossobj.style.top)>=(ScrollContentheight*(-1)+300))
crossobj.style.top=parseInt(crossobj.style.top)-speed+"px"
else if (ns4&&crossobj.top>=(ScrollContentheight*(-1)+300))
crossobj.top-=speed
movedownvar=setTimeout("movedown()",20)
}

function moveup(){
if (iens6&&parseInt(crossobj.style.top)<=ScrollContentheight)
crossobj.style.top=parseInt(crossobj.style.top)+speed+"px"
else if (ns4&&crossobj.top<=ScrollContentheight)
crossobj.top+=speed
moveupvar=setTimeout("moveup()",20)

}

function getScrollContent_height(){
if (iens6)
ScrollContentheight=crossobj.offsetHeight
else if (ns4)
document.nsScrollContainer.document.nsScrollContent.visibility="show"
}


