//---页面跳转开始---
function jumpto(theURL){
	if (theURL == 0)		// 酒店预定查询跳转
	{
		document.location = 'http://www5.skyecho.com:8080/HBE/Hotel/WebHotelEntranceAction.action?Corp_ID=WNZ123&MODULE=wnz123_hotel.htm';
	}
	if (theURL == 1)		//国内机票
	{
		document.location = 'http://www.88848888.com/cgishell/module/air/air_res.pl?Corp_ID=WNZ123&org=WNZ&via=WNZ&dst=PEK&MODULE=wnz123.htm';
	}
	else if (theURL == 2)	//会员注册
	{
		document.location = 'http://www.88848888.com/cgishell/module/reg.pl?Corp_ID=WNZ123&cols=100&MODULE=wnz123_member.htm';
	}
	else if (theURL == 3)	//增值产品
	{
		//旅游度假
		//document.location = 'http://www.88848888.com/cgishell/module/tour/tour_query.pl?Corp_ID=WNZ123&MODULE=wnz123_tour.htm';
		document.location = 'http://www.88848888.com/cgishell/module/goods.pl?Corp_ID=WNZ123&MODULE=wnz123_member.htm';
	}
	else if (theURL == 4)	// 国际机票
	{
		document.location = 'http://guojijipiao.wingontravel.net/jieda/';
	}
	else if (theURL == 5)	// 火车票
	{
		document.location = 'http://www.88848888.com/cgishell/module/train/train_time_list.pl?Corp_ID=WNZ123&MODULE=wnz123_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;
	}
}
//---登录检测结束---

// 获取cookie
function getcookie(name) {
	var cookie_start = document.cookie.indexOf(name);
	var cookie_end = document.cookie.indexOf(";", cookie_start);
	return cookie_start == -1 ? '' : unescape(document.cookie.substring(cookie_start + name.length + 1, (cookie_end > cookie_start ? cookie_end : document.cookie.length)));
}
