//////////////////////////////////////////////////////////////////////////////////////
//画像ランダム切り替え
//////////////////////////////////////////////////////////////////////////////////////

//説明 Math.random()は0〜1未満の乱数を発生させます。整数値を求めたい場合はMath.floor()やparseInt()を使って整数化します。例えば0〜9までの整数値であればMath.floor(Math.random()*10)となります。

n = Math.floor(Math.random()*14)+1;
//n = "1";
document.write("<div id='bodyInner' class='jo_toprandom" + n + "'>");
//document.write("<div id='bodyInner2' class='jo_toprandom" + n + "'>");

//**********************************************************************************//


//アクセスごとランダムに映像を表示する
//MOVIE = new Array("start.mov","particle.mov","title.mov","rotate.mov"); num = Math.floor(Math.random()*40) % MOVIE.length; //document.write("<embed src='",MOVIE[num],"' width='160' height='130'>"); 



//ランダムにバナー画像を表示する
//jumpURL = new Array(); imgURL = new Array(); jumpURL[0] = "http://www.shiojiri.ne.jp/~openspc/"; jumpURL[1] = "http://game.gr.jp/"; jumpURL[2] = "http://www.yahoo.co.jp/"; jumpURL[3] = "http://www.infoseek.co.jp/"; imgURL[0] = "banner/0.gif"; imgURL[1] = "banner/1.gif"; imgURL[2] = "banner/2.gif"; imgURL[3] = "banner/3.gif"; n = Math.floor(Math.random()*jumpURL.length); document.write("<a onfocus="this.blur();" href='"+jumpURL[n]+"'>"); document.write("<img src='"+imgURL[n]+"' border='0'>"); document.write("</a>");


//**********************************************************************************//





