'); document.write(''); function Set(){ for (i=0; i < L; i++){ H=window.document.body.offsetHeight; W=window.document.body.offsetWidth; A[i]=Math.round(Math.random()*H); B[i]=Math.round(Math.random()*W); S[i]=Math.random()*0.07+0.05; R=Math.round(Math.random()*3); E=Math.round(Math.random()*2500+50) if (R == 3) B[i]=-E; if (R == 2) B[i]=W+E; if (R == 1) A[i]=-E; if (R == 0) A[i]=H; F[i]=W/10; } } Set(); function Assign(){ outer.style.top=document.body.scrollTop; for (i=0; i < L; i++){ F[i]-=S[i]*55; if (F[i] < 2) F[i]=1; ie[i].style.top =Y[i]; ie[i].style.left=X[i]; ie[i].style.fontSize=F[i]; } } function fly(){ MY=window.document.body.clientHeight/2; MX=window.document.body.clientWidth/2; Wd=Math.round(Math.random()*40+5); Hd=Math.round(Math.random()*30+5); for (i=0; i < L; i++) { Y[i]=A[i]+=(MY-A[i])*(S[i]); X[i]=B[i]+=(MX-B[i])*(S[i]); if ((X[i] > MX-Wd) && (X[i] < MX+Wd) && (Y[i] > MY-Hd) && (Y[i] < MY+Hd)){ H=window.document.body.offsetHeight; W=window.document.body.offsetWidth; A[i]=Math.round(Math.random()*H); B[i]=Math.round(Math.random()*W); S[i]=Math.random()*0.05+0.05; R=Math.round(Math.random()*3); E=Math.round(Math.random()*50+50) if (R == 3) B[i]=-E; if (R == 2) B[i]=W+E; if (R == 1) A[i]=-E; if (R == 0) A[i]=H+E; } if ((X[i] < 0) || (X[i] > W) || (Y[i] < 0) || (Y[i] > H)) F[i]=W/10; } Assign(); setTimeout('fly()',20); } window.onload=fly; } // -->


   
   

Copyright(C) 2010 モアイトソウテン All Rights Reserved

カウンター