atan2(Y,X) * 180/Math.PI); if (angle < 0)angle += 360; } function bomb(){ if
(document.layers){ Yscroll=window.pageYOffset; ybase=Math.round(Math.random()*wi
ndow.innerHeight);xbase=Math.round(Math.random()*window.innerWidth); yybase=wind
ow.innerHeight-10;xxbase=window.innerWidth-10; } else if (document.all){ Yscroll
=document.body.scrollTop; ybase=Math.round(Math.random()*window.document.body.of
fsetHeight);xbase=Math.round(Math.random()*window.document.body.offsetWidth); xx
base=window.document.body.offsetWidth-10;yybase=window.document.body.offsetHeigh
t-10; } if ((xbase > 10 && xbase < xxbase) && (ybase >
10 && ybase < yybase)) bomb(); else { if ((divLeft > xpos-speed/1.
5) && (divLeft < xp
|