	document.write('<div style="position: absolute; top: -20px; left: 100px; z-index:1" id="star01"><IMG height=20 width=20 src="star_a.gif"></div>');
	document.write('<div style="position: absolute; top: -20px; left: 133px; z-index:1" id="star02"><IMG height=10 width=10 src="star_a.gif"></div>');
	document.write('<div style="position: absolute; top: -20px; left: 166px; z-index:1" id="star03"><IMG height=10 width=10 src="star_a.gif"></div>');
	document.write('<div style="position: absolute; top: -20px; left: 200px; z-index:1" id="star04"><IMG height=20 width=20 src="star_a.gif"></div>');
	document.write('<div style="position: absolute; top: -20px; left: 233px; z-index:1" id="star05"><IMG height=16 width=16 src="star_a.gif"></div>');
	document.write('<div style="position: absolute; top: -20px; left: 266px; z-index:1" id="star06"><IMG height=20 width=20 src="star_a.gif"></div>');
	document.write('<div style="position: absolute; top: -20px; left: 300px; z-index:1" id="star07"><IMG height=10 width=10 src="star_a.gif"></div>');
	document.write('<div style="position: absolute; top: -20px; left: 333px; z-index:1" id="star08"><IMG height=10 width=10 src="star_a.gif"></div>');
	document.write('<div style="position: absolute; top: -20px; left: 366px; z-index:1" id="star09"><IMG height=20 width=20 src="star_a.gif"></div>');
	document.write('<div style="position: absolute; top: -20px; left: 400px; z-index:1" id="star10"><IMG height=10 width=10 src="star_a.gif"></div>');
	document.write('<div style="position: absolute; top: -20px; left: 433px; z-index:1" id="star11"><IMG height=20 width=20 src="star_a.gif"></div>');
	document.write('<div style="position: absolute; top: -20px; left: 466px; z-index:1" id="star12"><IMG height=10 width=10 src="star_a.gif"></div>');
	document.write('<div style="position: absolute; top: -20px; left: 500px; z-index:1" id="star13"><IMG height=10 width=10 src="star_a.gif"></div>');
	document.write('<div style="position: absolute; top: -20px; left: 533px; z-index:1" id="star14"><IMG height=20 width=20 src="star_a.gif"></div>');
	document.write('<div style="position: absolute; top: -20px; left: 566px; z-index:1" id="star15"><IMG height=15 width=15 src="star_a.gif"></div>');
	document.write('<div style="position: absolute; top: -20px; left: 600px; z-index:1" id="star16"><IMG height=20 width=20 src="star_a.gif"></div>');
	document.write('<div style="position: absolute; top: -20px; left: 633px; z-index:1" id="star17"><IMG height=10 width=10 src="star_a.gif"></div>');
	document.write('<div style="position: absolute; top: -20px; left: 666px; z-index:1" id="star18"><IMG height=10 width=10 src="star_a.gif"></div>');

function moveLayer(fLayer,x,y){
	if(document.layers)	document.layers[fLayer].moveTo(x,y)	//NN用
	if(document.all)	document.all(fLayer).style.pixelLeft=x	//IE用
	if(document.all)	document.all(fLayer).style.pixelTop=y	//IE用
  }

function leafImageA(f,p){
	yp[p] = yp[p] + dy[p];
	if( yp[p] < 0 || yp[p] > ( Math.floor(Math.random() * 2000)+1100) ) {
		yp[p] = 0;
	}
	moveLayer(f,xp[p],yp[p]);
  }

function leafImage(){
	if ( wp = 0 ) {
		leafImageA("star01",1);
		leafImageA("star04",4);
		leafImageA("star07",7);
		leafImageA("star10",10);
		leafImageA("star13",13);
		leafImageA("star16",16);
		wp = wp + 1;
	}
	else if ( wp = 1 ) {
		leafImageA("star02",2);
		leafImageA("star05",5);
		leafImageA("star08",8);
		leafImageA("star11",11);
		leafImageA("star14",14);
		leafImageA("star17",17);
		wp = wp + 1;
	}
	else if ( wp = 2 ) {
		leafImageA("star03",3);
		leafImageA("star06",6);
		leafImageA("star09",9);
		leafImageA("star12",12);
		leafImageA("star15",15);
		leafImageA("star18",18);
		wp = 0;
	}
  }

xp = new Array(18);		// X座標
yp = new Array(18);		// Y 〃
dy = new Array(18);		// Y座標変位(落下速度)
wp = 0;

xp[1] = 100; yp[1] = 400; dy[1] = 12;	// 開始点・変位
xp[2] = 133; yp[2] = 100; dy[2] = 16;
xp[3] = 166; yp[3] = 1400; dy[3] = 10;
xp[4] = 200; yp[4] = 400; dy[4] = 8;
xp[5] = 233; yp[5] = 1000; dy[5] = 10;
xp[6] = 266; yp[6] = 100; dy[6] = 12;
xp[7] = 300; yp[7] = 700; dy[7] = 10;
xp[8] = 333; yp[8] = 400; dy[8] = 12;
xp[9] = 366; yp[9] = 800; dy[9] = 10;
xp[10] = 400; yp[10] = 1200; dy[10] = 12;
xp[11] = 433; yp[11] = 200; dy[11] = 12;
xp[12] = 466; yp[12] = 1100; dy[12] = 16;
xp[13] = 500; yp[13] = 100; dy[13] = 10;
xp[14] = 533; yp[14] = 700; dy[14] = 8;
xp[15] = 566; yp[15] = 1500; dy[15] = 10;
xp[16] = 600; yp[16] = 1000; dy[16] = 12;
xp[17] = 633; yp[17] = 100; dy[17] = 10;
xp[18] = 666; yp[18] = 500; dy[18] = 12;
timerID = setInterval("leafImage()",80)    //80ms毎に実行

