/****************************************** * Snow Effect Script- By Altan d.o.o. (http://www.altan.hr/snow/index.html) * Visit Dynamic Drive DHTML code library (http://www.dynamicdrive.com/) for full source code * Last updated Nov 9th, 05' by DD. This notice must stay intact for use ******************************************/ //Configure below to change URL path to the snow image var grphcs=new Array(6); var Image0=new Image(); var Image1=new Image(); var Image2=new Image(); var Image3=new Image(); var Image4=new Image(); var Image5=new Image(); Image0.src=grphcs[0]="http://www.pirasoft.yoyo.pl/infusions/putting/images/snow/snow_1.gif"; Image1.src=grphcs[1]="http://www.pirasoft.yoyo.pl/infusions/putting/images/snow/snow_2.gif"; Image2.src=grphcs[2]="http://www.pirasoft.yoyo.pl/infusions/putting/images/snow/snow_3.gif"; Image3.src=grphcs[3]="http://www.pirasoft.yoyo.pl/infusions/putting/images/snow/snow_4.gif"; Image4.src=grphcs[4]="http://www.pirasoft.yoyo.pl/infusions/putting/images/snow/snow_5.gif"; Image5.src=grphcs[5]="http://www.pirasoft.yoyo.pl/infusions/putting/images/snow/snow_6.gif"; // Configure below to change number of snow to render var no = 15; // Configure whether snow should disappear after x seconds (0=never): var hidesnowtime = 0; // Configure how much snow should drop down before fading ("windowheight" or "pageheight") var snowdistance = "pageheight"; ///////////Stop Config////////////////////////////////// var ie4up = (document.all) ? 1 : 0; var ns6up = (document.getElementById&&!document.all) ? 1 : 0; function iecompattest(){ return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body } var dx, xp, yp; // coordinate and position variables var am, stx, sty; // amplitude and step variables var i, doc_width = 800, doc_height = 600; if (ns6up) { doc_width = self.innerWidth; doc_height = self.innerHeight; } else if (ie4up) { doc_width = iecompattest().clientWidth; doc_height = iecompattest().clientHeight; } dx = new Array(); xp = new Array(); yp = new Array(); am = new Array(); stx = new Array(); sty = new Array(); document.write('