////////////////////////////////////////////////////////////////// Javascript made by Rasmus - http://www.peters1.dk //// SLightly modified for this web site, but anyways.//////////////////////////////////////////////////////////////////javascript:Snow_Init(true);//javascript:Snow_Init();var SNOW_no = 10;var SNOW_Time;var SNOW_dx, SNOW_xp, SNOW_yp;var SNOW_am, SNOW_stx, SNOW_sty; var SNOW_Browser_Width, SNOW_Browser_Height;function Snow_Init( p_rain){	var SNOW_Picture = '/i/snow7.gif';		if (p_rain)	{		SNOW_Picture = '/i/raindrop.png';	}	SNOW_Browser_Width = 1024;	SNOW_Browser_Height = 600;		SNOW_dx = new Array();	SNOW_xp = new Array();	SNOW_yp = new Array();	SNOW_am = new Array();	SNOW_stx = new Array();	SNOW_sty = new Array();	for (var i = 0; i < SNOW_no; ++ i) 	{ 		SNOW_dx[i] = 0; 		SNOW_xp[i] = Math.random()*(SNOW_Browser_Width-50);		SNOW_yp[i] = Math.random()*SNOW_Browser_Height;		SNOW_am[i] = Math.random()*20; 		SNOW_stx[i] = 0.02 + Math.random()/10;		SNOW_sty[i] = 0.7 + Math.random();				if (! $('SNOW_flake'+i))		{			$('_contents').insert( '<img id="SNOW_flake' + i + '" src="' + SNOW_Picture + '" style="position: absolute; z-index: '+ (3000+i) +'; visibility: visible; top: 15px; left: 15px;">');		}		else		{			$('SNOW_flake'+i).src = SNOW_Picture;		}	}		SNOW_Time = setInterval( SNOW_Weather, 50);	setTimeout( SnowStop, 20000);}function SNOW_Weather() {	for (var i = 0; i < SNOW_no; ++ i) 	{ 		SNOW_yp[i] += SNOW_sty[i];		if (SNOW_yp[i] > SNOW_Browser_Height-50) 		{			SNOW_xp[i] = Math.random()*(SNOW_Browser_Width-SNOW_am[i]-30);			SNOW_yp[i] = 0;			SNOW_stx[i] = 0.02 + Math.random()/10;			SNOW_sty[i] = 0.7 + Math.random();		}		SNOW_dx[i] += SNOW_stx[i];		$("SNOW_flake"+i).setStyle({top:SNOW_yp[i]+"px",left:SNOW_xp[i] + SNOW_am[i]*Math.sin(SNOW_dx[i])+"px"});	}}function SnowStop(){	clearInterval( SNOW_Time);	for (var i = 0; i < SNOW_no; ++ i)	{		$('SNOW_flake'+i).hide();	}}
