0.5) ? spin : -spin; o[q] = new Array(parseInt(Math.random()*(winWid()-slider)),-30,spin,0.02+Math.random()/10,parseInt(1+Math.random()*fallmax),fallg[x][1],fallg[x][2],fallg[x][0],fallg[x][3],0); if(t==1){ if(ns4){ document.write('
'); } if(ie4||ns6){ document.write('
'); } } if(t==0 && !ns4){ tem=(ie4)?document.all['gf'+q]:document.getElementById('gf'+q); tem.src=o[q][7]; } } function fall(){ for (i = 0; i < no; i++) { if((o[i][1]>winHei()-o[i][6]-10)||(o[i][0]>winWid()-slider-o[i][5])){ newobj(i,0); } o[i][1] += o[i][4]; o[i][0]+=wind; o[i][9] += o[i][3]; sizexy=(o[i][8]==1)?Math.sin(o[i][9]):1; lay=(ie4)?sizexy:parseInt(sizexy+1); with(eval(falllayer)){ top = o[i][1]+winOfy(); left = o[i][0]+o[i][2]*Math.cos(o[i][9]); if(!ns4){ zIndex=lay; width=parseInt(((o[i][5]/4)*3)+((o[i][5]/4)*sizexy)); height=parseInt(((o[i][6]/4)*3)+((o[i][6]/4)*sizexy)); } } } dofall = setTimeout("fall()", speed); } for (i = 0; i < no; i++){ newobj(i,1); } dofall = setTimeout("fall()", 100);