
window.onload = function start(){

if(document.getElementById('lenght')){loop_news2(0,get_w(),"lenght");}
}




function get_w(){
var a=document.getElementById("lenght").clientWidth;
	//document.write(document.getElementById("lenght").clientWidth);
return a;
}


var id;
function loop_news2(n,h,id){
n=n-2;
if(n*-1>h){n=0;}

document.getElementById(id).style.marginLeft=n+"px";
g2=setTimeout('loop_news2('+n+','+h+',"'+id+'")',42);
}
