// JavaScript Document

IMAGES = new Array(
'/img/banar/julian_kasukage.gif',
'/img/banar/tokoro_engokai.gif',
'/img/banar/fairydoll.gif',
'/img/banar/matudoesthe.gif'
);

LINKS = new Array(
'http://kasukabe.julian.co.jp/',
'http://www.h-engo.com/tokorozawa/',
'http://www.f-doll.com/',
'http://esthe-matsudo.com/'
);

TEXT = new Array(
"ジュリアン 春日部店",
"所沢人妻援護会",
"フェアリードール",
"松戸エステ愛好会"
);

for(i=0; i<IMAGES.length; i++){
	var tmpA, tmpB, tmpC, tmpD, tmpE, tmpF, rnd;
	rnd=Math.floor(Math.random() * IMAGES.length);

	tmpA=IMAGES[i];
	tmpB=IMAGES[rnd];
	tmpC=LINKS[i];
	tmpD=LINKS[rnd];
	tmpE=TEXT[i];
	tmpF=TEXT[rnd];

	IMAGES[i]=tmpB;
	IMAGES[rnd]=tmpA;
	LINKS[i]=tmpD;
	LINKS[rnd]=tmpC;
	TEXT[i]=tmpF;
	TEXT[rnd]=tmpE;
}

document.open();
document.write("<div id='banar'><img src='/img2/common/banar-head.gif' id='banar_top' /><br />");
for(i=0; i<4; i++) {
	document.write("<a href="+LINKS[i]+" target='_blank'><img src='"+IMAGES[i]+"' alt='"+TEXT[i]+"' border='0' id='banars'><br />");
	document.write(""+TEXT[i]+" </a></br>");
}
document.write("<a href='/sb_adv.php'><img src='/img2/common/banar-adv-b.gif' border='0' /></a>");
document.write("<br /><br />");
document.write("<img src='/img2/common/banar-bottom.gif' id='banar_bottom' /></div>");
document.close();

