mot= -100
function drive(){
car=parseInt(document.getElementById("motor").style.left)
if(car>document.body.clientWidth){
clearTimeout(car1)
mot=-100;
document.getElementById("motor").style.left= -100;
wait=10000+Math.round(document.body.clientWidth+Math.random()*20000)
setTimeout("drive()",wait)
return
}
else{
mot+=5
document.getElementById("motor").style.left=mot
}
car1=setTimeout("drive()",150)
}
setTimeout("drive()",2000)

