<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
</head>
<PRE>// Fall v1.7a  By Maxx Blade - http://www.maxxblade.co.uk
var fallg=new Array();</PRE>
<PRE>/////////////  Only Edit these lines  ////////////////
var no=20, speed=30, slider=30, fallmax=6, wind=0;
fallg[0]=new Array(&quot;snowflake.gif&quot;,25,28,1);
fallg[1]=new Array(&quot;snowflake2.gif&quot;,25,28,1);
fallg[2]=new Array(&quot;snowflake3.gif&quot;,25,28,1);</PRE>
<PRE>//////////////////////////////////////////////////////////////////
// Don't Edit Below Here Unless You Know What You're Doing ?;o) //
//////////////////////////////////////////////////////////////////
var o=new Array(), tog=1;
var ns4 = (document.layers) ? true : false;
var ie4 = (document.all) ? true : false;
var ns6 = (document.getElementById&amp;&amp;!document.all) ? true : false;
if(ie4)	falllayer=&quot;document.all['gf'+i].style&quot;;
if(ns4) falllayer=&quot;document.layers['gf'+i]&quot;;
if(ns6) falllayer=&quot;document.getElementById('gf'+i).style&quot;;
function winWid(){ return (ns4||ns6) ? window.innerWidth : document.body.clientWidth; }
function winHei(){ return (ns4||ns6) ? window.innerHeight : document.body.clientHeight; }
function winOfy(){ return (ns4||ns6) ? window.pageYOffset : document.body.scrollTop; }
function togFall(){
	if (tog==1){
		clearTimeout(dofall);
		for (i = 0; i &lt; no; i++) { with(eval(falllayer)){ top = 0; left = -500; } }
		tog=0;
	}else{
		tog=1;
		fall();
	}
}
function newobj(q,t){
	x=parseInt(Math.random()*fallg.length);
	spin = parseInt(Math.random()*slider);
	spin = (Math.random()&gt;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('&lt;layer name=&quot;gf'+q+'&quot; left=&quot;0&quot; top=&quot;0&quot; visibility=&quot;show&quot;&gt;&lt;img src=&quot;'+o[q][7]+'&quot; border=&quot;0&quot;&gt;&lt;/layer&gt;'); }
		if(ie4||ns6){ document.write('&lt;img src=&quot;'+o[q][7]+'&quot; border=&quot;0&quot; id=&quot;gf'+q+'&quot; style=&quot;POSITION: absolute; Z-INDEX: -'+q+'; VISIBILITY: visible; TOP: 0px; LEFT: 0px;&quot;&gt;'); }
	}
	if(t==0 &amp;&amp; !ns4){
	tem=(ie4)?document.all['gf'+q]:document.getElementById('gf'+q);
	tem.src=o[q][7];
	}
}
function fall(){
	for (i = 0; i &lt; no; i++) {
		if((o[i][1]&gt;winHei()-o[i][6]-10)||(o[i][0]&gt;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(&quot;fall()&quot;, speed);
}
for (i = 0; i &lt; no; i++){ newobj(i,1); }
dofall = setTimeout(&quot;fall()&quot;, 100);</PRE>

