if (iens6){
crossobj=document.getElementById? document.getElementById("ie_content") : document.all.ie_content
contentheight=crossobj.offsetHeight
div_scoll = (((div_height/100)*105) <= contentheight)
if(div_scoll){
document.getElementById('scroll_up').style.visibility = 'hidden'
}else{
document.getElementById('scroll_down').style.visibility = 'hidden'
document.getElementById('scroll_up').style.visibility = 'hidden'
document.getElementById('scroll_down').style.display = 'none'
document.getElementById('scroll_up').style.display = 'none'
}
}

function movedown(){
if (iens6 && parseInt(crossobj.style.top) >= (contentheight*(-1)+div_height)){
crossobj.style.top=parseInt(crossobj.style.top)-speed+"px"
if(div_scoll){
document.getElementById('scroll_up').style.visibility = 'visible'
}
}
movedownvar=setTimeout("movedown()",20)
}

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

function getcontent_height(){
if (iens6){
contentheight=crossobj.offsetHeight
document.getElementById('scroll_up').style.visibility = 'hidden'
}
}