mot= -325
function drive(){
car=parseInt(document.getElementById("motor").style.left)
if(car>document.body.clientWidth){
clearTimeout(car1)
mot=-325;
document.getElementById("motor").style.left= -325;
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()",100)
}
setTimeout("drive()",2000)

