//ランダム出力スクリプト Ver.1.00
//2006/07/02 Programed By Rikiya Takazawa

Querys = new Array();
Odds = new Array ();

//設定ここから-------------------------------------------


//確率設定（有=0、無=1） 

OddsFlag = 1;

//出力ソースをインデックス数0から順に設定

//Querys[0] = "<a href='http://www.1hitorigurashi.com/coordinate/2010/10/post-8.html'><img src='http://www.1hitorigurashi.com/tokusyu/top_tairyou.jpg' border='0'></a>";
//Querys[1] = "<a href='http://www.1hitorigurashi.com/coordinate/2010/10/post-14.html'><img src='http://www.1hitorigurashi.com/tokusyu/top_wine.jpg' border='0'></a>";
//Querys[2] = "<a href='http://www.1hitorigurashi.com/coordinate/2010/06/post-5.html'><img src='http://www.1hitorigurashi.com/tokusyu/top_kakurega.jpg'  border='0'></a>";
//Querys[3] = "<a href='http://www.1hitorigurashi.com/coordinate/2010/10/post-15.html'><img src='http://www.1hitorigurashi.com/tokusyu/top_merihari.jpg' border='0'></a>";
//Querys[4] = "<a href='http://www.1hitorigurashi.com/coordinate/2010/10/post-17.html'><img src='http://www.1hitorigurashi.com/tokusyu/top_koibana.jpg'  border='0'></a>";
//Querys[5] = "<a href='http://www.1hitorigurashi.com/coordinate/2010/10/post-16.html'><img src='http://www.1hitorigurashi.com/tokusyu/top_simple.jpg' border='0'></a>";

Querys[0] = "<a href='http://www.1hitorigurashi.com/cat27/3/4wayforte.html'><img src='http://www.1hitorigurashi.com/tokusyu/top_view/top_4waysofa.jpg' border='0'></a>";
Querys[1] = "<a href='http://www.1hitorigurashi.com/cat146/cat152/styly.html'><img src='http://www.1hitorigurashi.com/tokusyu/top_view/top_design_loftbed.jpg' border='0'></a>";
Querys[2] = "<a href='http://www.1hitorigurashi.com/interiorcategory/cat21/famirage4w62d55h154.html'><img src='http://www.1hitorigurashi.com/tokusyu/top_view/top_shelf_renge.jpg'  border='0'></a>";
Querys[3] = "<a href='http://www.1hitorigurashi.com/cat146/cat150/slenda.html'><img src='http://www.1hitorigurashi.com/tokusyu/top_view/top_oogata_bed.jpg' border='0'></a>";
Querys[4] = "<a href='http://www.1hitorigurashi.com/cat27/2/acto.html'><img src='http://www.1hitorigurashi.com/tokusyu/top_view/top_retorosafa.jpg'  border='0'></a>";
Querys[5] = "<a href='http://www.1hitorigurashi.com/tv/cat163/adjust-1.html'><img src='http://www.1hitorigurashi.com/tokusyu/top_view/top_sinnsyuku_avboard.jpg' border='0'></a>";
//Querys[2] = "<img src='../common/images/artwork_top/ground_mother.jpg' width='800' height='532' border='0' alt=''>";
//Querys[3] = "<img src='../common/images/artwork_top/ground_mother.jpg' width='800' height='532' border='0' alt=''>";
//Querys[4] = "<img src='../common/images/artwork_top/ground_mother.jpg' width='800' height='532' border='0' alt=''>";
//Querys[5] = "<img src='../common/images/artwork_top/ground_mother.jpg' width='800' height='532' border='0' alt=''>";
//Querys[5] = "<img src='../common/images/artwork_top/ground_mother.jpg' width='800' height='532' border='0' alt=''>";
//Querys[6] = "<img src='../common/images/artwork_top/heaven.jpg' width='800' height='532' border='0' alt=''>";
//Querys[7] = "<img src='../common/images/artwork_top/in_the_whole_world.jpg' width='800' height='532' border='0' alt=''>";
//Querys[8] = "<img src='../common/images/artwork_top/jump.jpg' width='800' height='532' border='0' alt=''>";
//Querys[9] = "<img src='../common/images/artwork_top/light_dark.jpg' width='800' height='532' border='0' alt=''>";
//Querys[10] = "<img src='../common/images/artwork_top/make_the_most.jpg' width='800' height='532' border='0' alt=''>";
//Querys[11] = "<img src='../common/images/artwork_top/rave.jpg' width='800' height='532' border='0' alt=''>";
//Querys[12] = "<img src='../common/images/artwork_top/stop_the_time.jpg' width='800' height='532' border='0' alt=''>";
//Querys[13] = "<img src='../common/images/artwork_top/like_you.jpg' width='800' height='532' border='0' alt=''>";
//Querys[14] = "<img src='../common/images/artwork_top/go_fast.jpg' width='800' height='532' border='0' alt=''>";
//Querys[15] = "<img src='../common/images/artwork_top/with_you.jpg' width='800' height='532' border='0' alt=''>";
//Querys[16] = "<img src='../common/images/artwork_top/dandelion.jpg' width='800' height='532' border='0' alt=''>";
//Querys[17] = "<img src='../common/images/artwork_top/nakid_boy.jpg' width='800' height='532' border='0' alt=''>";
//Querys[18] = "<img src='../common/images/banner_index/.jpg' width='800' height='532' border='0' alt=''>";
//Querys[19] = "<img src='../common/images/banner_index/.jpg' width='800' height='532' border='0' alt=''>";
//Querys[20] = "<img src='../common/images/banner_index/.jpg' width='800' height='532' border='0' alt=''>";
//Querys[21] = "<img src='../common/images/banner_index/.jpg' width='800' height='532' border='0' alt=''>";


//出力確率を上記出力ソースのインデックス数に合わせて設定（OddsFlag = 0 の場合は設定不要）



//設定ここまで　以下編集禁止-------------------------------------------

if(OddsFlag == "0"){
	var Result = Math.random() * 100;
	var n = 0;
	for(i = 0; i < Odds.length; i++){
		n += Odds[i]; 
		if(Result < n){
			Loadimg = Querys[i];
			document.write(Loadimg);
			break;
		}
	}
}else{
	var i = Math.floor(Math.random() * Querys.length);
	var Loadimg = Querys[i];
	document.write(Loadimg);
}

