"; } function START() { document.all.MESSAGE.innerHTML="READY!"; screen.updateInterval=10; runID=setInterval("RUN();",10); } function RUN() { flopScreen(); scrollTREES(document.all.TREE1a); scrollTREES(document.all.TREE1b); scrollTREES(document.all.ROCK1); scrollTREES(document.all.MOUND1); scrollTREES(document.all.TREE2a); scrollTREES(document.all.TREE2b); scrollTREES(document.all.TREE3a); scrollTREES(document.all.TREE3b); scrollTREES(document.all.TREE3c); scrollTREES(document.all.TREE3d); } function randomNumber(maxnumber) { var generatornum=Math.random(); var randomnum=Math.round(generatornum*maxnumber); return(randomnum); } function flopScreen() { if(BGflop) document.all.PAGE.style.background="#EEEFFF"; else document.all.PAGE.style.background="#EEEEFF"; BGflop=!BGflop; } function scrollTREES(WHICHtree) { SCROLLspeed=Math.round(CURRENTspeed/parseInt(WHICHtree.SCROLLLAYER)); if (parseInt(WHICHtree.style.left)<(-10)) WHICHtree.style.left=400+randomNumber(10*SCROLLspeed); WHICHtree.style.left=parseInt(WHICHtree.style.left)-SCROLLspeed; }
MEGAMAN
LOADING...