//---页面跳转开始---
function jumpto(theURL){
	if (theURL == 0)		//酒店预订
	{
		document.location = 'http://www.6108888.com/cgishell/module/hotel/hotel_res.pl?Corp_ID=XNN116';
	}
	else if (theURL == 1)	//国内机票
	{
		document.location = 'http://www.6108888.com/cgishell/module/air/air_res.pl?Corp_ID=XNN116&org=XNN&via=XNN&dst=PEK&MODULE=XNN116.htm';
	}
	else if (theURL == 2)	//会员注册
	{
		document.location = 'http://www.6108888.com/cgishell/module/reg.pl?Corp_ID=XNN116&cols=87&rows=30&MODULE=XNN116_member.htm';
	}
	else if (theURL == 3)	//旅游线路
	{
		document.location = 'http://www.6108888.com/cgishell/module/tour/tour_query.pl?Corp_ID=XNN116&MODULE=XNN116_tour.htm';
	}
	else if (theURL == 4)	// 国际机票
	{
		document.location = 'http://www.6108888.com/cgishell/module/airinte/airinte_list.pl?Corp_ID=XNN116&MODULE=XNN116_inter.htm&href=http://www.skyecho.com/cgishell/module/airinte/airinte_list.pl';
	}
	else if (theURL == 5)	// 火车票
	{
		document.location = 'http://www.6108888.com/cgishell/module/train/train_time_list.pl?Corp_ID=XNN116&MODULE=XNN116_train.htm';
	}
	else if (theURL == 6)	//会员留言社区
	{
		document.location = 'http://www.6108888.com/cgishell/module/chat.pl?Corp_ID=XNN116&MODULE=XNN116_member.htm&Group_ID=7&width=600';
	}
}
//---页面跳转结束---


//---隐藏显示层开始---
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;
	}
}
//---登录检测结束---
