<!--
function open_map_win(prefecture) {
	wx = 600;
	wy = 400;
	if (document.domain == "localhost") {
		if (prefecture == "saitama"){
			map_url="/bustabi-tehai.com/map-saitama.html";
		} else if(prefecture == "kanagawa"){
			map_url="/bustabi-tehai.com/map-kanagawa.html";
		} else {
			map_url="/bustabi-tehai.com/map-chiba.html";
		}
	} else {
		if (prefecture == "saitama"){
			map_url="/map-saitama.html";
		} else if(prefecture == "kanagawa"){
			map_url="/map-kanagawa.html";
		} else {
			map_url="/map-chiba.html";
		}
	}
	x = (screen.width - wx) / 2;
	y = (screen.height - wy) / 2;
	subwin = window.open(map_url,"prefecture","scrollbars=no,menubar=no,resizable=no,left="+x+",top="+y+",height="+wy+",width="+wx);
	subwin.document.close();			
	window.subwin.focus();
}
function open_icon_win(show_obj) {
	wx = 300;
	wy = 300;
	x = (screen.width - wx) / 2;
	y = (screen.height - wy) / 2;
	subwin = window.open(show_obj,"icon","scrollbars=no,menubar=no,,resizable=no,left="+x+",top="+y+",height="+wy+",width="+wx);
	window.subwin.focus();
}
function open_plan_service_win() {
	wx = 571;
	wy = 280;
	win_url="/bustabi-tehai.com/pack-plan-service.html";
	x = (screen.width - wx) / 2;
	y = (screen.height - wy) / 2;
	subwin = window.open(win_url,"plan_service","scrollbars=no,menubar=no,,resizable=no,left="+x+",top="+y+",height="+wy+",width="+wx);
	window.subwin.focus();
}
function open_price_list_win(hotel_no, plan_pattern_no, unit_base_price1, unit_base_price2, unit_add_price1) {
	document.myFORM.hotel_no.value = hotel_no;
	document.myFORM.plan_pattern_no.value = plan_pattern_no;
	document.myFORM.unit_base_price1.value = unit_base_price1;
	document.myFORM.unit_base_price2.value = unit_base_price2;
	document.myFORM.unit_add_price1.value = unit_add_price1;
	wx = 1095;
	wy = 695;
	x = (screen.width - wx) / 2;
	y = (screen.height - wy) / 2;
	subwin = window.open("","price_list","scrollbars=yes,menubar=no,,resizable=no,left="+x+",top="+y+",height="+wy+",width="+wx);
	/* 元のアクションフォームを保存 */
	var action = document.myFORM.action;
	/* アクションフォーム名変更 */
	if(plan_pattern_no == 1){
		document.myFORM.action = "price-list-bustabi.php";
	} else {
		document.myFORM.action = "price-list-marutoku.php";
	}
	/* レスポンスはサブウィンドウ画面が受け取るように設定 */
	document.myFORM.target = "price_list";
	/* フォームのサブミット */
	document.myFORM.submit();
	/* サブウィンドウにフォーカス */
	window.subwin.focus();
	/* 他のボタンに影響しない様、ターゲットとアクションフォームを戻す */
	document.myFORM.target = "_self";
	document.myFORM.action = action;
}
// -->