function initFallingImage(){
grphcs=new Array(1);
Image0=new Image();
Image0.src=grphcs[0]=fallimage;
Image1=new Image();
Amount=20;
Ypos=new Array();
Xpos=new Array();
Speed=new Array();
Step=new Array();
Cstep=new Array();
ns=(document.layers)?1:0;
ns6=(document.getElementById&&!document.all)?1:0;
var el=document.createElement('div');
el.id='fallingimagediv';
el.style.position='absolute';
el.style.top='0px';
el.style.left='0px';
var html='
';
el.innerHTML=html;
document.body.appendChild(el);
WinHeight=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight;
WinWidth=(window.innerWidth-70)||document.documentElement.clientWidth||document.body.clientWidth;
for(i=0;iWinHeight){
Ypos[i]=-70;Xpos[i]=Math.round(Math.random()*WinWidth);
Speed[i]=Math.random()*5+3;
}
document.getElementById("si"+i).style.left=Math.min(WinWidth,Xpos[i])+'px';
document.getElementById("si"+i).style.top=Ypos[i]+hscrll+'px';
Cstep[i]+=Step[i];
}
setTimeout('fall(fallingboolean)',100);
}
fallimage='http://www.toolshell.org/generators/x-mas/xmas/18.png';
if(fallimage!=''){
window.onload=function(){
initFallingImage();
fallingboolean=1;
fall(1);
}
}
document.write('');