

/*--------------------------------------------------------------------------
 *
 *							ロールオーバーメニュー
 *
 *--------------------------------------------------------------------------*/
	
	function MM_swapImgRestore() { //v3.0
		var i, x, a = document.MM_sr;
	
		for (i = 0; a && i < a.length && (x = a[i]) && x.oSrc; i++){
			x.src = x.oSrc;
		}
	}
	
	function MM_preloadImages() { //v3.0
		var d = document;
		
		if(d.images){
			if(!d.MM_p){
				d.MM_p = new Array();
			}
			
			var i, j = d.MM_p.length, a = MM_preloadImages.arguments;
			
			for(i = 0; i < a.length; i++) {
				if (a[i].indexOf("#") != 0) {
					d.MM_p[j] = new Image;
					d.MM_p[j++].src = a[i];
				}
			}
		}
	}
	
	function MM_findObj(n, d) { //v4.01
		var p, i, x;
		
		if(!d) {
			d = document;
		}
		
		if((p = n.indexOf("?")) > 0 && parent.frames.length) {
			d = parent.frames[n.substring(p + 1)].document;
			n = n.substring(0, p);
		}
		
		if(!(x = d[n]) && d.all) {
			x = d.all[n];
		}
		
		for (i = 0; !x && i < d.forms.length; i++) {
			x = d.forms[i][n];
		}
		
		for(i = 0; !x && d.layers && i < d.layers.length; i++) {
			x = MM_findObj(n, d.layers[i].document);
		}
		
		if(!x && d.getElementById) {
			x = d.getElementById(n);
		}
		
		return x;
	}
	
	function MM_swapImage() { //v3.0
		var i, j = 0, x, a = MM_swapImage.arguments;
		document.MM_sr = new Array;
		
		for(i = 0; i < (a.length - 2); i += 3) {
			if ((x = MM_findObj(a[i])) != null) {
				document.MM_sr[j++] = x;
				
				if(!x.oSrc) {
					x.oSrc = x.src;
				}
				x.src = a[i + 2];
			}
		}
	}





/*--------------------------------------------------------------------------
 *
 *							リレーメニュー
 *
 *--------------------------------------------------------------------------*/
	function relayMenu() {
		var relayText = '';
		var fileAry = new Array();
		var nameAry = new Array();
		var fileName = location.href;
		fileName = fileName.substring(fileName.lastIndexOf("/")+1,fileName.length)
		
		fileAry.push("himeji.html");			nameAry.push("第28回　姫路支店");
		fileAry.push("kobe.html");				nameAry.push("第27回　神戸支店");
		fileAry.push("kyoto.html");				nameAry.push("第26回　京都支店");
		fileAry.push("osaka.html");				nameAry.push("第25回　大阪支店");
		fileAry.push("toyama.html");			nameAry.push("第24回　富山支店");
		fileAry.push("kanazawa.html");			nameAry.push("第23回　金沢支店");
		fileAry.push("mikawa.html");			nameAry.push("第22回　三河支店");
		fileAry.push("nagoya.html");			nameAry.push("第21回　名古屋支店");
		fileAry.push("hamamatu.html");			nameAry.push("第20回　浜松支店");
		fileAry.push("numadu.html");			nameAry.push("第19回　沼津支店");
		fileAry.push("shizuoka.html");			nameAry.push("第18回　静岡支店");
		fileAry.push("taito.html");				nameAry.push("第17回　台東SDC");
		fileAry.push("chiba.html");				nameAry.push("第16回　千葉支店");
		fileAry.push("tachikawa.html");			nameAry.push("第15回　立川支店");
		fileAry.push("ikebukuro.html");			nameAry.push("第14回　池袋SDC");
		fileAry.push("yokohama.html");			nameAry.push("第13回　横浜支店");
		fileAry.push("higashitotsuka.html");	nameAry.push("第12回　東戸塚支店");
		fileAry.push("atsugi.html");			nameAry.push("第11回　厚木支店");
		fileAry.push("kawasaki.html");			nameAry.push("第10回　川崎支店");
		fileAry.push("mito.html");				nameAry.push("第9回　水戸支店");
		fileAry.push("kashiwa.html");			nameAry.push("第8回　柏支店");
		fileAry.push("0527_kumagaya.html");		nameAry.push("第7回　熊谷支店");
		fileAry.push("0421_takasaki.html");		nameAry.push("第6回　高崎支店");
		fileAry.push("0418_oyama.html");		nameAry.push("第5回　小山支店");
		fileAry.push("0301_utsunomiya.html");	nameAry.push("第4回　宇都宮支店");
		fileAry.push("0212_koriyama.html");		nameAry.push("第3回　郡山支店");
		fileAry.push("0210_sendai.html");		nameAry.push("第2回　仙台支店");
		fileAry.push("0208_sapporo.html");		nameAry.push("第1回　札幌支店");
		
		relayText += '<ul id="relayMenu">';
		for(var i=0 ; i < fileAry.length ; i++){
			if(fileName == fileAry[i]){
				relayText += '<li class="relaySelect">' + nameAry[i];
			}else{
				relayText += '<li><a href="' + fileAry[i] + '">' + nameAry[i] + '</a>';
			}
			if(i < 4){
				relayText += '<img src="./../../image/new.gif" alt="NEW" class="new" />';
			}
			relayText += '</li>';
		}
		relayText += '</ul>';
		document.write(relayText);
	}


/*--------------------------------------------------------------------------
 *
 *							MAP表示
 *
 *--------------------------------------------------------------------------*/
	function opn_win(URL,W,H) {
		var win;
		win = window.open(URL, 'photo', 'toolbar=yes,location=no,directoryies=no,status=no,menubar=yes,scrollbars=yes,resizable=yes,width='+W+',height='+H);
	}








