// JavaScript Document

window.onload=function(){
var o=document.getElementById('box');
o.innerHTML+=o.innerHTML
window.setInterval(function(){scrollup(o,154,0);},6000);
}
function scrollup(o,d,c){
if(d==c){
var t=getFirstChild(o.firstChild).cloneNode(true);
o.removeChild(getFirstChild(o.firstChild));
o.appendChild(t);
t.style.marginLeft="0px";
}else{
c+=2;
getFirstChild(o.firstChild).style.marginLeft=-c+"px";
window.setTimeout(function(){scrollup(o,d,c)},20);
}
}
function getFirstChild(node){
while (node.nodeType!=1)
{
node=node.nextSibling;
}
return node;
}
