/***************************\ * Let It Snow Effect * *(c)2004-11 mf2fm web-design* * http://www.mf2fm.com/rv * * DON'T EDIT BELOW THIS BOX * \***************************/ var flks=new Array(); var flkx=new Array(); var flky=new Array(); var fldy=new Array(); var slss=new Array(); var slsh=new Array(); var swide, shigh, boddie; window.onload=function() { if (document.getElementById) { boddie=document.createElement("div"); boddie.style.position="fixed"; boddie.style.top="0px"; boddie.style.left="0px"; boddie.style.width="1px"; boddie.style.height="1px"; boddie.style.overflow="visible"; boddie.style.backgroundColor="transparent"; document.body.appendChild(boddie); set_width(); for (var i=0; i0) sw_min=document.documentElement.clientWidth; if (document.documentElement.clientHeight>0) sh_min=document.documentElement.clientHeight; } if (typeof(self.innerWidth)!="undefined" && self.innerWidth) { if (self.innerWidth>0 && self.innerWidth0 && self.innerHeight0 && document.body.clientWidth0 && document.body.clientHeightslss.length) for (i=slss.length; i=shigh-slsh[x]) { if (xslsh[x+1]+3) x++; else if (x>0 && slsh[x]>slsh[x-1]+3) x--; slss[x].style.top=shigh-(slsh[x]+=3)+"px"; slss[x].style.height=slsh[x]+"px"; flky[i]=shigh; } } if (flky[i]>=shigh || flkx[i]>swide) { flky[i]=0; fldy[i]=2+Math.floor(Math.random()*4); flkx[i]=3*Math.floor(Math.random()*swide/3); flks[i].style.left=flkx[i]+"px"; z++; } flks[i].style.top=flky[i]+"px"; } if (o>flakes*slush) for (i=0; i3) slsh[i]--; if (z || o>flakes*slush) set_width(); } // ]]> Lady