function showPopup(url) {
	sealWin=window.open(url,"win",'width=550,height=600,scrollbars=yes,resizable=yes');
}


function FT_togglePanel(num){

	var show1,show2;
	
	if (num==1){
		show1="block";
		show2="none";
		src1="images/ab_hotel.gif";
		src2="images/ab_air_r.gif";
	}else{
		show1="none";
		show2="block";
		src2="images/ab_air.gif";
		src1="images/ab_hotel_r.gif";
	}
	
	document.getElementById("TC_tab1").src=src1;
	document.getElementById("TC_tab2").src=src2;
	document.getElementById("FT_panel1").style.display = show1;
	document.getElementById("FT_panel2").style.display = show2;
}

function FT_my_togglePanel(num){

	var show1,show2;
	
	if (num==1){
		show1="block";
		show2="none";
		src1="https://www.tabiweb.ne.jp/images/ab_hotel.gif";
		src2="https://www.tabiweb.ne.jp/images/ab_air_r.gif";
	}else{
		show1="none";
		show2="block";
		src2="https://www.tabiweb.ne.jp/images/ab_air.gif";
		src1="https://www.tabiweb.ne.jp/images/ab_hotel_r.gif";
	}
	
	document.getElementById("TC_tab1").src=src1;
	document.getElementById("TC_tab2").src=src2;
	document.getElementById("FT_panel1").style.display = show1;
	document.getElementById("FT_panel2").style.display = show2;
}


/* トップローテーション画像処理 */
var arrRotationImg = new Array();

function addRotationImg(html,prob){
	for (i=0;i<prob;i++){
		arrRotationImg[arrRotationImg.length] = html;
	}
}

function showRotaionImg(){
	n = Math.floor(Math.random()*9);
	document.write(arrRotationImg[n]);
}


