// JavaScript Document
function _$(id){
	return document.getElementById(id);
	}
	
//ËÑË÷¿òJS	
function searchBgShow(id){
	initSearchBg()
	
	_$("searchForm"+id).style.display = ""
	_$("search"+id).className = "t2 searchBanner_cur";
	if(id==1){			
			_$("searchLeft").className = "searchBannerLeft";
		}
	if(id==2){
			_$("search"+id).className = "t2 searchBanner_cur searchBanner_tour";
		}	
	if(id==3){			
			_$("searchRight").className = "searchBannerRight_1";
		}	
	}
//³õÊ¼»¯ËÑË÷¿ò	
function initSearchBg(){
		_$("searchLeft").className = "searchBannerLeft_1";
		_$("searchRight").className = "searchBannerRight";
		for(i=1;i<4;i++){			
			_$("search"+i).className = "t9 searchBanner";	
			_$("searchForm"+i).style.display = "none"
			}
		_$("search2").className = "t9 searchBanner searchBanner_tour";	
		
		
	}
//ÏßÂ·¾Æµêtab
function showLab(type,id){
		if(type == "hotel"){
			document.getElementById("hotel_spec").style.display = "none"
			document.getElementById("hotel_0").style.display = "none"
			document.getElementById("hotel_1").style.display = "none"
			document.getElementById("hotel_2").style.display = "none"
			document.getElementById("hotel_3").style.display = "none"
			document.getElementById("hotel_4").style.display = "none"
			document.getElementById("hotel_5").style.display = "none"
			document.getElementById("hotel_"+id).style.display = ""
		}
		else if(type=="tour"){
			for(i=0;i<4;i++){			
			document.getElementById("tour_cata_"+i).className = "t4 tourTab"			
			document.getElementById("tour_"+i).style.display = "none"	
			}
		    document.getElementById("tour_cata_"+id).className = "t5 tourTab_cur"
			document.getElementById("tour_"+id).style.display = ""	
			
		}
	}
