TOP /‚ท‚ฎ‚ษŽg‚ฆ‚้JavaScript Œu‚๐ƒ‰ƒ“ƒ_ƒ€‚ษ•\Žฆ(IE๊—p)
<script type="text/javascript"><!--
Imgn=10;                              //Œu‚ฬ”
hotarusec=50;                         //“_–ล‘ฌ“x
hotarucolor="pink"                    //Œu‚ฬF
fs=new Array();
doc_width = document.body.clientWidth-30;
doc_height= document.body.clientHeight-40;
for (i=0; i < Imgn; i++){ 
xpx = Math.floor(doc_width*Math.random()); 
ypx = Math.floor(doc_height*Math.random());
fs[i]=Math.floor(Math.random()*100);
star="<DIV ID='hotaru"+i+"'STYLE='position:absolute;left:"+ xpx +"px;top:"+ ypx +"px;color:"+hotarucolor+";filter: Alpha(opacity="+fs[i]+",style=2);'>œ</DIV>";
if(document.all)document.write(star);
}
function blinkhotaru(){
for (i=0; i < Imgn; i++){
fs[i]++;
fs[i]%=100;
if(!fs[i]){
xpx = Math.floor(doc_width*Math.random()); 
ypx = Math.floor(doc_height*Math.random());
document.all("hotaru"+i).style.pixelTop=ypx+document.body.scrollTop;
document.all("hotaru"+i).style.pixelLeft=xpx+document.body.scrollLeft;
}
document.all("hotaru"+i).filters['alpha'].opacity= fs[i];
}
}
if(document.all)setInterval("blinkhotaru()",hotarusec);/* himajin.moo.jp */
// --></script>