iens6=document.all||document.getElementById;

var crossobj2=document.getElementById("content2");
var contentheight2=crossobj2.offsetHeight;

function movedown2(){
if (window.moveupvar2) {clearTimeout(moveupvar2);}
if (iens6&&parseInt(crossobj2.style.top)>=(contentheight2*(-1)+100)) {crossobj2.style.top=parseInt(crossobj2.style.top)-speed+"px";}
movedownvar2=setTimeout("movedown2()",20);
}

function moveup2(){
if (window.movedownvar2) {clearTimeout(movedownvar2);}
if (iens6&&parseInt(crossobj2.style.top)<=0) {crossobj2.style.top=parseInt(crossobj2.style.top)+speed+"px";}
moveupvar2=setTimeout("moveup2()",20);
}

function stopscroll2(){
if (window.moveupvar2) {clearTimeout(moveupvar2);}
if (window.movedownvar2) {clearTimeout(movedownvar2);}
}

function movetop2(){
stopscroll2();
if (iens6) {crossobj2.style.top=0+"px";}
}

function getcontent_height2(){
if (iens6) {contentheight2=crossobj2.offsetHeight;}
}

window.onload=getcontent_height2;
