//------------------------------------------------------------
//javascript by ＠うさ http://www.scriptsquare.com/usajava/
//------------------------------------------------------------
//画像（いくつでもOKです）
var arrImage = new Array(
	"<td><a href='http://net-mahoroba.com/soul/'>うまい焼肉・ホルモンは！<br>本場韓国焼肉ソウル<br><img src='http://net-mahoroba.com/cm_shop/shop01.gif' border='0' alt='韓国焼肉ソウル'></a></td>",
	"<td><a href='http://net-mahoroba.com/suzusei/'>剣道・柔道・空手<br>武道用具専門店<br><img src='http://net-mahoroba.com/cm_shop/shop02.gif' border='0' alt='武道用品スズセイ'></a></td>",
	"<td><a href='http://net-mahoroba.com/furali/'>アジアンスタイル＆ハンドメイド雑貨<br>風楽里(ふらり)<br><img src='http://net-mahoroba.com/cm_shop/shop25.gif' border='0' alt='風楽里ふらり'></a></td>",
	"<td><a href='http://net-mahoroba.com/sanpatsuya/'>当店発明の車椅子対応<br>理容設備特許取得!<br><img src='http://net-mahoroba.com/cm_shop/shop05.gif' border='0' alt='散髪屋あいはら'></a></td>",
	"<td><a href='http://net-mahoroba.com/uosaku/'>結納・法事・忌中払いなど<br>慶弔にご利用頂けます<br><img src='http://net-mahoroba.com/cm_shop/shop07.gif' border='0' alt='和食 魚作'></a></td>",
	"<td><a href='http://net-mahoroba.com/ono/'>健康野菜を使った<br>ヤーコン焼酎が大人気<br><img src='http://net-mahoroba.com/cm_shop/shop08.gif' border='0' alt='小野酒店'></a></td>",
	"<td><a href='http://net-mahoroba.com/hop/'>カッコイイスタイルを<br>提案できる理容サロン<br><img src='http://net-mahoroba.com/cm_shop/shop10.gif' border='0' alt='理容店Hopヘアー'></a></td>",
	"<td><a href='http://net-mahoroba.com/free/'>フリー写真素材<br>高解像度壁紙<br><img src='http://net-mahoroba.com/cm_shop/shop11.gif' border='0' alt='フリー写真素材-秦野の風景'></a></td>",
	"<td><a href='http://net-mahoroba.com/iroha/'>丹沢の麓<br>食の館<br><img src='http://net-mahoroba.com/cm_shop/shop12.gif' border='0' alt='お食事処 いろは食堂'></a></td>",
	"<td><a href='http://net-mahoroba.com/ginpachi/'>本格江戸前寿司<br>銀八鮨<br><img src='http://net-mahoroba.com/cm_shop/shop14.gif' border='0' alt='本格江戸前寿司 銀八鮨'></a></td>",
	"<td><a href='http://net-mahoroba.com/tole/'>カントリー雑貨<br>トールペイント<br><img src='http://net-mahoroba.com/cm_shop/shop15.gif' border='0' alt='カントリーマニア'></a></td>",
	"<td><a href='http://net-mahoroba.com/koukoku.html'><img src='http://net-mahoroba.com/cm_shop/shop_120_60.gif' border='0' alt='広告募集中です'></a></td>",
	"<td><a href='http://net-mahoroba.com/minraihanten/'>うまい中華料理の<br>隠れた名店<br><img src='http://net-mahoroba.com/cm_shop/shop16.gif' border='0' alt='うまい中国料理 民来飯店'></a></td>",
	"<td><a href='http://net-mahoroba.com/sunayama/'>ハワイアン雑貨も<br>店内で販売中<br><img src='http://net-mahoroba.com/cm_shop/shop17.gif' border='0' alt='カフェラウンジ スナヤマ'></a></td>",
	"<td><a href='http://net-mahoroba.com/bambu/'>秦野市の癒しの理容室<br>バンブーヘアー<br><img src='http://net-mahoroba.com/cm_shop/shop19.gif' border='0' alt='秦野市理容室バンブーヘアー'></a></td>",
	"<td><a href='http://net-mahoroba.com/greenroom/'>平塚市の理美容室<br>グリーンルーム<br><img src='http://net-mahoroba.com/cm_shop/shop20.gif' border='0' alt='平塚市 美理容室グリーンルーム'></a></td>",
	"<td><a href='http://net-mahoroba.com/ootani/'>四季折々の味<br>旬彩厨房太たに<br><img src='http://net-mahoroba.com/cm_shop/shop18.gif' border='0' alt='旬彩厨房太たに'></a></td>",
	"<td><a href='http://net-mahoroba.com/shibusawa-dep/'>市内最大級の百貨店<br>ネットでチラシ広告<br><img src='http://net-mahoroba.com/cm_shop/shop23.gif' border='0' alt='百貨店 渋沢百貨店'></a></td>",
	"<td><a href='http://net-mahoroba.com/echizenya/'>ふとんのヘタリ、<br>汚れが気になる方へ。<br><img src='http://net-mahoroba.com/cm_shop/shop21.gif' border='0' alt='越前屋ふとん店'></a></td>",
	"<td><a href='http://net-mahoroba.com/tachibanaya/'>お茶、抹茶、海苔、茶道具<br>茶器、陶器類の販売<br><img src='http://net-mahoroba.com/cm_shop/shop26.gif' border='0' alt='立花屋茶舗 お茶店'></a></td>",
	"<td><a href='http://net-mahoroba.com/grafty/'>伊勢原駅すぐのBAR<br>朝5時まで営業<br><img src='http://net-mahoroba.com/cm_shop/shop24.gif' border='0' alt='バー・グラフティ'></a></td>" );

var arrFlag = new Array(999,999,999);
var nTemp, nLoop;

function StartRandom(nIndex)
{

	nLoop = 0;
	nTemp = Math.round(Math.random()*(arrImage.length-1));
	//同じ値かどうかをチェックします。
	if (nIndex != 0)
	{
		for (nLoop = 0; nLoop < nIndex ; nLoop++)
		{
			if (nTemp == arrFlag[nLoop])
			{
				StartRandom(nIndex);
			}
		}
	}
	arrFlag[nIndex] = nTemp;
	return nTemp;
}

function GetNum()
{
	return ;
}

document.write("<table border='0' cellpadding='3' style='font-size:12px;'><tr align='center'>");
document.write(arrImage[StartRandom(0)]);
document.write("</tr>");
document.write("<tr><td colspan='2'><br></td></tr>");
document.write("<tr align='center'>");
document.write(arrImage[StartRandom(1)]);
document.write("</tr>");
document.write("<tr><td colspan='2'><br></td></tr>");
document.write("<tr align='center'>");
document.write(arrImage[StartRandom(2)]);
document.write("</tr>");
document.write("<tr><td colspan='2'><br></td></tr>");
document.write("<tr align='center'>");
document.write(arrImage[StartRandom(3)]);
document.write("</tr>");
document.write("<tr><td colspan='2'><br></td></tr>");
document.write("<tr align='center'>");
document.write(arrImage[StartRandom(4)]);
document.write("</tr></table><br><br>");
