/*//1つの画像(ID名:img4)をランダムに動かすスクリプト
var x,y,xmax,ymax,dx,dy,tm1;
var xdirection=1;
var ydirection=1;
var step=10;
var yuragi=1;
function moving(){
now=new Date();
t=parseInt(now.getSeconds())*6;
yuragi=Math.sin(Math.PI*t/180);
dx=xdirection*(Math.random()+yuragi)*step;
x+=Math.round(dx);
if(x>xmax||x<0) xdirection=-xdirection;
dy=ydirection*(Math.random()+yuragi)*step;
y+=Math.round(dy);
if(y>ymax||y<0) ydirection=-ydirection;
document.getElementById("neon").style.left=x;
document.getElementById("neon").style.top=y;
}
function init(){
xmax=document.body.clientWidth-50;
ymax=document.body.clientHeight-50;
x=Math.round(xmax/2);
y=Math.round(ymax/2);
document.getElementById("neon").style.visibility="visible";
tm1=setInterval("moving()",200);
}
//一旦右端に行って戻ると、泡が消える問題