<!--
		//広告バナー・ランダム並べ替え表示スクリプト
		//By タカヲ・ヒノハラ

function RandomAd(x) {


		//fは掲載する広告数
		f = 12;
		
		var Num = new Array(f - 1);
		var Chk = new Array(f - 1);
		var Mess = new Array(f - 1);

		
		//***ここに広告表示HTMLの配列作成
		Mess[0] = '<img src="/img/sponsor/soreiyu.gif" alt="それいゆ" width="110" height="103" /></a>';	
		Mess[1] = '<a href="http://www.ogacho.com"><img src="/img/sponsor/ogacho.gif" alt="小川輪業" width="150" height="42" /></a>';	
		Mess[2] =  '<a href="http://www.lovebikes.net/store.html"><img src="/img/sponsor/lb.gif" alt="LOVEBIKES" width="110" height="104" /></a>';	
		Mess[3] = '<a href="http://marumiringyou.at.infoseek.co.jp"><img src="/img/sponsor/marumiya.gif" alt="丸美輪業社" width="114" height="60" /></a>';
		Mess[4] = '<a href="http://www.astbikes.com/"><img src="/img/sponsor/astbikes.gif" alt="アクションスポーツタカヤマ" width="166" height="50" /></a>';	
		Mess[5] = '<img src="/img/sponsor/enomoto.gif" alt="サイクルセンターエノモト" width="82" height="52" /></a>';
		Mess[6] = '<a href="http://www.redlinebicycles.com/"><img src="/img/sponsor/rl.gif" alt="エスプラス" width="133" height="47" /></a>';
	        Mess[7] = '<img src="/img/sponsor/akiba.gif" alt="アキバ徽章販売" width="139" height="33" /></a>';
		Mess[8] = '<a href="http://www.ogkhelmet.com"><img src="/img/sponsor/ogk.gif" alt="OGK" width="133" height="71" /></a>';
		Mess[9] = '<a href="http://www.yuris.biz"><img src="/img/sponsor/yuris.gif" alt="yuris" width="187" height="47" /></a>';
                Mess[10] = '<a href="http://www.groovyint.com/"><img src="/img/sponsor/10groovy.gif" alt="groovy" width="190" height="58" /></a>';
                Mess[11] = '<img src="/img/sponsor/KF.gif" alt="KOOLNFIT" width="95" height="113" /></a>';

	//***ランダムで０〜ｆ−１の値を並べ替え
	for (i=0;i<f;i++) //
	{
		Num[i] = Math.floor(Math.random()*f);
		if (Chk[Num[i]]  == 1){
			while(Chk[Num[i]] == 1){
			Num[i] = Math.floor(Math.random()*f);
			}
			Chk[Num[i]] = 1;
		}
		else {
			Chk[Num[i]] = 1;
		}
	}
	
	//ＨＴＭＬ作成部分
		
	for (i=0;i<x;i++) //
	{
		document.write(Mess[Num[i]]);
		document.write("<br />");
	}

}

//-->
