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

function RandomAd(x) {


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

		
		//***ここに広告表示HTMLの配列作成
		Mess[0] = '<a href="http://www.riteway-jp.com/"><img src="/img/sponsor/gt.gif" alt="GT" width="163" height="36" /></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.bikelab-yokohama.com/"><img src="/img/sponsor/bl.gif" alt="バイクラボ" width="151" height="51" /></a>';	
		Mess[3] = '<a href="http://www.ride2rock.jp"><img src="/img/sponsor/mx.gif" alt="モトクロスインターナショナル" width="169" height="30" />';	
		Mess[4] = '<a href="http://marumiringyou.at.infoseek.co.jp"><img src="/img/sponsor/marumiya.gif" alt="丸美輪業社" width="114" height="60" /></a>';
		Mess[5] = '<a href="http://www.astbikes.com/"><img src="/img/sponsor/astbikes.gif" alt="アクションスポーツタカヤマ" width="166" height="50" /></a>';	
		Mess[6] = '<img src="/img/sponsor/enomoto.gif" alt="サイクルセンターエノモト" width="82" height="52" /></a>';
		Mess[7] = '<a href="http://www.ei-publishing.co.jp"><img src="/img/sponsor/biclu.gif" alt="バイシクルクラブ" width="188" height="50" /></a>';
		Mess[8] = '<a href="http://www.redlinebicycles.com/"><img src="/img/sponsor/rl.gif" alt="エスプラス" width="133" height="47" /></a>';
		Mess[9] = '<a href="http://www.khsjapan.com/"><img src="/img/sponsor/khs.gif" alt="KHS" width="188" height="50" /></a>';
                Mess[10] = '<img src="/img/sponsor/akiba.gif" alt="アキバ徽章販売" width="139" height="33" /></a>';
		Mess[11] = '<a href="http://www.videonetwork.jp/"><img src="/img/sponsor/videonetwork.gif" alt="VIDEONETWORK" width="188" height="50" /></a>';
                Mess[12] = '<a href="http://www.yuris.biz"><img src="/img/sponsor/yuris.gif" alt="yuris" width="187" height="47" /></a>';
		Mess[13] = '<a href="http://www.pocski.jp/"><img src="/img/sponsor/poc.gif" alt="フルマークス" width="141" height="67" /></a>';
		Mess[14] = '<a href="http://www.bikeloop.com"><img src="/img/sponsor/roop.gif" alt="バイクループ" width="187" height="50" /></a>';
		Mess[15] = '<a href="http://www.groovyint.com/"><img src="/img/sponsor/10groovy.gif" alt="groovy" width="190" height="58" /></a>';	
                Mess[16] = '<a href="http://www.bscycle.co.jp/"><img src="/img/sponsor/bs.gif" alt="ブリジストン" width="188" height="50" /></a>';	
		Mess[17] = '<a href="http://www.smithjapan.co.jp/"><img src="/img/sponsor/smith.gif" alt="エスエムジェイ" width="189" height="50" /></a>';
                Mess[18] = '<a href="http://bmxcave.com/"><img src="/img/sponsor/cave.gif" alt="cave" width="192" height="35" /></a>';	
		Mess[19] = '<a href="http://www.bumpy-path.com/"><img src="/img/sponsor/bumpy.gif" alt="バンピーパス" width="179" height="31" /></a>';
                Mess[20] = '<a href="http://www.ogkhelmet.com"><img src="/img/sponsor/ogk.gif" alt="OGK" width="170" height="75" /></a>';
		Mess[21] = '<a href="http://www.championvisions.com/"><img src="/img/sponsor/cv.gif" alt="チャンピオンビジョンズ" width="162" height="110" /></a>';
		Mess[22] = '<a href="http://www.dig-it1192.com"><img src="/img/sponsor/dig.gif" alt="ディギット" width="187" height="50" /></a>';	
                Mess[23] = '<img src="/img/sponsor/SBC.gif" alt="SBC厚木" width="130" height="79" /></a>';
                Mess[24] = '<a href="http://www.crumpler.jp/"><img src="/img/sponsor/crumpler.gif" alt="crumpler" width="78" height="88" /></a>';
		Mess[25] = '<a href="http://www.beasteye.com"><img src="/img/sponsor/beasteye.gif" alt="beasteye" width="176" height="57" /></a>';
                Mess[26] = '<a href="http://www.az-oil.jp"><img src="/img/sponsor/az.gif" alt="エーゼット" width="97" height="93" /></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 />");
	}

}

//-->