﻿var banners = new Array();
banners = [
	["images/bn/b55.jpg", "movie.html?srch=爆乳BOMB&type=all&t", "_self"],
	["images/bn/b54.jpg", "movie.html?srch=妻しぼり&type=all&t", "_self"],
	["images/bn/b53.jpg", "movie.html?srch=黒愛&type=all&t", "_self"],
	["images/bn/b52.jpg", "movie.html?srch=お嬢様はHがお好き&type=all&t", "_self"],
	["images/bn/b51.jpg", "movie.html?srch=山姫の実&type=all&t", "_self"],
	["images/bn/b50.jpg", "movie.html?srch=ちゃんとしようよっ&type=all&t", "_self"],
	["images/bn/b49.jpg", "movie.html?srch=恥辱診察室&type=all&t", "_self"],
	["images/bn/b48.jpg", "movie.html?srch=聖徒会長ヒカル&type=all&t", "_self"],
	["images/bn/b47.jpg", "movie.html?srch=彼女ｘ彼女&type=all&t", "_self"],
	["images/bn/b46.jpg", "movie.html?srch=超昂閃忍ハルカ&type=all&t", "_self"],
	["images/bn/b45.jpg", "movie.html?srch=夏蟲&type=all&t", "_self"],
	["images/bn/b44.jpg", "movie.html?srch=相姦遊戯&type=all&t", "_self"],
	["images/bn/b43.jpg", "movie.html?srch=脅迫&type=all&t", "_self"],
	["images/bn/b41.jpg", "movie.html?srch=陰陽師&type=all&t", "_self"],
	["images/bn/b40.jpg", "movie.html?srch=ちょいすじ&type=all&t", "_self"],
	["images/bn/b39.jpg", "movie.html?srch=新体操&type=all&t", "_self"],
	["images/bn/b38.jpg", "movie.html?srch=奴隷メイドプリンセス&type=all&t", "_self"],
	["images/bn/b37.jpg", "movie.html?srch=妹汁&type=all&t", "_self"],
	["images/bn/b36.jpg", "movie.html?srch=淫妖蟲&type=all&t", "_self"],
	["images/bn/b35.jpg", "movie.html?srch=息子の友達に&type=all&t", "_self"],
	["images/bn/b34.jpg", "movie.html?srch=家庭教師のおねえさん&type=all&t", "_self"],
	["images/bn/b33.jpg", "movie.html?srch=姉汁&type=all&t", "_self"],
	["images/bn/b32.jpg", "movie.html?srch=孕みっくす&type=all&t", "_self"],
	["images/bn/b31.jpg", "movie.html?srch=猟奇の檻&type=all&t", "_self"],
	["images/bn/b31.jpg", "movie.html?srch=猟奇の檻&type=all&t", "_self"],
	["images/bn/b30.jpg", "movie.html?srch=Grope&type=all&t", "_self"],
	["images/bn/b29.jpg", "movie.html?srch=花粉少女&type=all&t", "_self"],
	["images/bn/b28.jpg", "movie.html?srch=ルナティクス&type=all&t", "_self"],
	["images/bn/b27.jpg", "movie.html?srch=制服処女&type=all&t", "_self"],
	["images/bn/b26.jpg", "movie.html?srch=イリス&type=all&t", "_self"],
	["images/bn/b25.jpg", "movie.html?srch=あねき&type=all&t", "_self"],
	["images/bn/b24.jpg", "movie.html?srch=イングリッド&type=all&t", "_self"],
	["images/bn/b23.jpg", "movie.html?srch=水着彼女&type=all&t", "_self"],
	["images/bn/b22.jpg", "movie.html?srch=スヴィア&type=all&t", "_self"],
	["images/bn/b21.jpg", "movie.html?srch=ストレッタ&type=all&t", "_self"],
	["images/bn/b20.jpg", "movie.html?srch=一緒に&type=all&t", "_self"],
	["images/bn/b19.jpg", "movie.html?srch=独蛾&type=all&t", "_self"],
	["images/bn/b18.jpg", "movie.html?srch=監獄戦艦&type=all&t", "_self"],
	["images/bn/b17.jpg", "movie.html?srch=ヴァルキリー&type=all&t", "_self"],
	["images/bn/b16.jpg", "movie.html?srch=シオン&type=all&t", "_self"],
	["images/bn/b15.jpg", "movie.html?srch=NEO&type=all&t", "_self"],	   
	["images/bn/b14.jpg", "movie.html?srch=特務捜査官レイ＆風子&type=all&t", "_self"],
	["images/bn/b13.jpg", "movie.html?srch=アサギ&type=all&t", "_self"],
	["images/bn/b12.jpg", "movie.html?srch=姫騎士リリア&type=all&t", "_self"],
	["images/bn/b11.jpg", "movie.html?srch=女系家族&type=all&t", "_self"],
	["images/bn/b10.jpg", "movie.html?srch=ジブリール&type=all&t", "_self"],
	["images/bn/b9.jpg", "movie.html?srch=愛姉妹&type=all&t", "_self"],
	["images/bn/b8.jpg", "movie.html?srch=アキバ&type=all&t", "_self"],
	["images/bn/b7.jpg", "movie.html?srch=連結方式&type=all&t", "_self"],
	["images/bn/b6.jpg", "movie.html?srch=股人&type=all&t", "_self"],
	["images/bn/b5.jpg", "movie.html?srch=%E9%A1%94%E3%81%AE%E3%81%AA%E3%81%84%E6%9C%88&type=all&t", "_self"],
	["images/bn/b4.jpg", "movie.html?srch=%E3%83%90%E3%82%A4%E3%83%96%E3%83%AB%E3%83%96%E3%83%A9%E3%83%83%E3%82%AF&type=all&t", "_self"],
	["images/bn/b3.jpg", "movie.html?srch=%E9%AD%94%E6%B3%95%E5%B0%91%E5%A5%B3%E3%82%A2%E3%82%A4&type=all&t", "_self"],
	["images/bn/b2.jpg", "movie.html?srch=%e7%87%90%e6%9c%88&type=all&t", "_self"],
	["images/bn/b1.jpg", "movie.html?srch=%e5%a4%9c%e5%8b%a4%e7%97%85%e6%a3%9f&type=all&t", "_self"]
];

var banners_new = new Array();

banners_cnt = 3; 
for(i=0; i<banners_cnt; i++){
	n = Math.floor(Math.random()*banners.length);

	banners_new[i] = banners[n];
	banners.splice(n,1);
}

var mygallery=new simpleGallery({
	wrapperid: "simplegallery1", //ID of main gallery container,
	dimensions: [545, 200], //width/height of gallery in pixels. Should reflect dimensions of the images exactly
	imagearray: banners_new,
	autoplay: [true, 2500, 1500], //[auto_play_boolean, delay_btw_slide_millisec, cycles_before_stopping_int]
	persist: false,
	pause: 3500, //pause between slides (milliseconds)
	fadeduration: 1500, //transition duration (milliseconds)
	oninit:function(){ //event that fires when gallery has initialized/ ready to run
	},
	onslide:function(curslide, i){ //event that fires after each slide is shown
		//curslide: returns DOM reference to current slide's DIV (ie: try alert(curslide.innerHTML)
		//i: integer reflecting current image within collection being shown (0=1st image, 1=2nd etc)
	}
})

