//---页面跳转开始---
function jumpto(theURL){
	if (theURL == 1)
	{
		document.location = 'http://www.skyecho.com/cgishell/module/air/air_res.pl?Corp_ID=020000&org=CAN&via=SHA&dst=PEK&MODULE=ht_trip.htm';
	}
	else if (theURL == 2)
	{
		document.location = 'http://www.skyecho.com/cgishell/module/reg.pl?Corp_ID=020000&cols=76&MODULE=ht_member.htm';
	}
	else if (theURL == 3)
	{
		document.location = 'http://www.skyecho.com/cgishell/module/tour/tour_query.pl?Corp_ID=020000&MODULE=ht_tour.htm';
	}
	else if (theURL == 4)	// 国际机票
	{
		document.location = 'http://www.skyecho.com/cgishell/module/airinte/airinte_list.pl?Corp_ID=020000&MODULE=ht_inter.htm&href=http://www.skyecho.com/cgishell/module/airinte/airinte_list.pl';
	}
	else if (theURL == 5)	// 火车票
	{
		document.location = 'http://www.skyecho.com/cgishell/module/train/train_time_list.pl?Corp_ID=020000&MODULE=ht_train.htm';
	}
}
//---页面跳转结束---


//---隐藏显示层开始---
function ee(n){
	var mainTable = document.getElementById("mainTable");
	for(i=0;i<mainTable.tBodies.length;i++){
		mainTable.tBodies[i].style.display="none";
		mainTable.tBodies[n].style.display="block";
	}
}
//---隐藏显示层结束---

//---登录检测开始---
function Login(){
	login=document.frmLogin.User_ID.value;
	pwd=document.frmLogin.Password.value;
	if (login=="")  {
		alert("请填写您的用户名！");
		document.frmLogin.User_ID.focus();
		return false;
	}
	if (pwd=="")   {
		alert("请填写登录口令！");
		document.frmLogin.Password.focus();
		return false;
	}
}
//---登录检测结束---


//---登录检测开始---
function Login2(){
	login=document.frmLogin2.User_ID.value;
	pwd=document.frmLogin2.Password.value;
	if (login=="")  {
		alert("请填写您的用户名！");
		document.frmLogin2.User_ID.focus();
		return false;
	}
	if (pwd=="")   {
		alert("请填写登录口令！");
		document.frmLogin2.Password.focus();
		return false;
	}
}
//---登录检测结束---