
function exe_oneway(){
	document.getElementById("return").style.display = "none";
	return;
}

function exe_oneway2(){
	document.frm.F2Month.selectedIndex = 0;
	document.frm.F2Day.selectedIndex = 0;
	document.frm.F2Departure.selectedIndex = 0;
	document.frm.F2Destination.selectedIndex = 0;
	return;
}

function exe_round(){
	document.getElementById("return").style.display = "block";

	var F1dep;
	var F1des;
	var F1mon;
	var F1day;
	var F1time;
	
	F1dep = document.frm.F1Departure.selectedIndex;
	F1des = document.frm.F1Destination.selectedIndex;
	F1mon = document.frm.F1Month.selectedIndex;
	F1day = document.frm.F1Day.selectedIndex;
	F1time = document.frm.F1Time.selectedIndex;
	
	document.frm.F2Departure.selectedIndex = F1des;
	document.frm.F2Destination.selectedIndex = F1dep;
	
	if (F1day >= 30){
		tmp_mon = F1mon + 1;
		tmp_day = 1;
	}else{
		tmp_mon = F1mon;
		tmp_day = F1day + 1;
	}
	
	document.frm.F2Month.selectedIndex = tmp_mon;
	document.frm.F2Day.selectedIndex = tmp_day;
	
	
	return;
}

function write_air_price(dep,des){
	var m_price = new Array();
	
	m_price["HND"] = new Array();
	m_price["HND"]["ITM"] = "&yen;11,200";
	m_price["HND"]["FUK"] = "&yen;14,800";
	m_price["HND"]["CTS"] = "&yen;18,800";
	
	m_price["ITM"] = new Array();
	m_price["ITM"]["HND"] = "&yen;12,100";
	m_price["ITM"]["FUK"] = "&yen;13,600";
	m_price["ITM"]["CTS"] = "&yen;27,650";
	
	
	document.write(m_price[dep][des]);
	return;
}

