function RandomAd(x) {



f = 11;







var Num = new Array(f - 1);



var Chk = new Array(f - 1);



var Mess = new Array(f - 1);







//***ここに広告表示HTMLの配列作成



Mess[0] = '【東京都渋谷区】<br /><a href="http://www.sigyo.net/5is" target="_top"><img src="http://www.sigyo.net/5is/img/110px01.jpg" alt="沼田　功" width="110" height="110" border="0" /></a><br />ファイブアイズ・ネットワークス株式会社';



Mess[1] = '【東京都渋谷区】<br /><a href="http://www.sigyo.net/5is" target="_top"><img src="http://www.sigyo.net/5is/img/110px02.jpg" alt="倉持　智一" width="110" height="110" border="0" /></a><br />ファイブアイズ・ネットワークス株式会社';



/*Mess[2] = '【東京都北区】<br /><a href="http://www.sigyo.net/be-it/" target="_top"><img src="http://www.sigyo.net/be-it/img/110px.jpg" alt="飯島 宗裕" width="110" height="110" border="0" /></a><br />ビーイットコンサルティング';*/



Mess[2] = '【東京都港区】<br /><a href="http://www.sigyo.net/rac/" target="_top"><img src="http://www.sigyo.net/rac/img/110px.jpg" alt="塚原 信義" width="110" height="110" border="0" /></a><br />株式会社ラック';



Mess[3] = '【東京都渋谷区】<br /><a href="http://www.sigyo.net/astolat/" target="_top"><img src="http://www.sigyo.net/astolat/img/110px.jpg" alt="西内　孝文" width="110" height="110" border="0" /></a><br />アストラット株式会社';



Mess[4] = '【東京都豊島区】<br /><a href="http://www.sigyo.net/list/archives/ozaki-terushito-gyouseisyoshi.html" target="_top"><img src="http://www.sigyo.net/ozaki-gyousei/img/110px.jpg" alt="尾崎　晃仁" width="110" height="110" border="0" /></a><br />尾崎晃仁行政書士事務所';



Mess[5] = '【東京都足立区】<br /><a href="http://www.sigyo.net/hoken-joho/" target="_top"><img src="http://www.sigyo.net/hoken-joho/img/110px.jpg" alt="竹中 延公" width="110" height="110" border="0" /></a><br />保険情報サービス株式会社';



Mess[6] = '【東京都千代田区】<br /><a href="http://www.sigyo.net/list/archives/setacs.html" target="_top"><img src="http://www.sigyo.net/setacs/img/110px.jpg" alt="林卓 也" width="110" height="110" border="0" /></a><br />税理士法人SETACS';



Mess[7] = '【東京都港区】<br /><a href="http://www.sigyo.net/list/archives/sihoushosi-kitani-kouyou.html" target="_top"><img src="http://www.sigyo.net/law-gs/img/110px.jpg" alt="木谷 光陽" width="110" height="110" border="0" /></a><br />司法書士事務所ロー・ガーディアンズ';



Mess[8] = '【神奈川県横浜市】<br /><a href="http://www.sigyo.net/chukeirou/" target="_top"><img src="http://www.sigyo.net/chukeirou/img/110px.jpg" alt="岡本 孝則" width="110" height="110" border="0" /></a><br />岡本経営労務事務所';



Mess[9] = '【東京都中央区】<br /><a href="http://www.sigyo.net/pdb-fujita/" target="_top"><img src="http://www.sigyo.net/pdb-fujita/img/110px.jpg" alt="藤田 幹夫" width="110" height="110" border="0" /></a><br />プレジデンツ・データ・バンク株式会社';

Mess[10] = '【東京都新宿区】<br /><a href="http://www.sigyo.net/list/archives/zeirishi-fujii-touichi.html" target="_top"><img src="http://www.sigyo.net/yachiyokaikei/img/110px.jpg" alt="藤井 統一" width="110" height="110" /></a><br />八千代会計事務所　第２';





//***



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('<div class="samurai">');



		document.write(Mess[Num[i]]);



		document.write("</div>");



	}



document.write('<div class="clear"></div>');



}
