
function validateTicket(){
	if (document.all.pname.value == ""){
		alert("请输入旅客姓名");
		return;
	}
	if (document.all.pnrno.value == ""){
		alert("请输入记录编号");
		return;
	}

	window.open('http://www.travelsky.com/travelsky/infoCenterQueryTripOnline.do?pnrno=' +document.all.pnrno.value + 
				'&pname=' + document.all.pname.value ,'', '=0, scrollbars=0, location=0, statusbars=0, menubars=0, resizable=0, width=800, height=600, left = 320, top = 150' );
}

function validTicket(){
	document.all.ln_ticket.style.display = '';
	document.all.ln_insure.style.display = 'none';
}
function validInsure(){
	document.all.ln_ticket.style.display = 'none';
	document.all.ln_insure.style.display = '';			
}

function getCityTicket(cityCode){
	document.getElementById("selectMenu").value = cityCode ;
	//alert(cityCode);
	document.getElementById("bt_change").click();	
}

