document.write(""); obj[i] = document.getElementById("sn" + i); } function flake() { for (i=0; iheight-49) { x_pos[i] = Math.random()*(width-amp[i]-29); y_pos[i] = 0; } deltax[i] += stx[i]; obj[i].style.top = y_pos[i] + "px"; obj[i].style.left = x_pos[i] + amp[i]*Math.sin(deltax[i]) + "px";} setTimeout("flake()", 60); } flake(); -->