function moveright(){
if (window.moveleftvar) clearTimeout(moveleftvar)
if (iens6&&parseInt(crossobj.style.left)>=(contentwidth*(-1)+800))
crossobj.style.left=parseInt(crossobj.style.left)-speed+"px"
else if (ns4&&crossobj.left>=(contentwidth*(-1)+800))
crossobj.left-=speed
moverightvar=setTimeout("moveright()",20)
}

function moveleft(){
if (window.moverightvar) clearTimeout(moverightvar)
if (iens6&&parseInt(crossobj.style.left)<=0)
crossobj.style.left=parseInt(crossobj.style.left)+speed+"px"
else if (ns4&&crossobj.left<=0)
crossobj.left+=speed
moveleftvar=setTimeout("moveleft()",20)
}

function stopscroll(){
if (window.moveleftvar) clearTimeout(moveleftvar)
if (window.moverightvar) clearTimeout(moverightvar)
}

function getcontent_width(){
if (iens6)
contentwidth=crossobj.offsetWidth
else if (ns4)
document.nscontainer.document.nscontent.visibility="show"
}