function SearchMap(){
var area_code=getObj("session_areainfo_city");
var hdate_left=getObj("hdate_left");
	hdate_left.focus();	
	if(area_code.value!=""){
		a="cn/index_in_search_map.asp?area_code="+area_code.value;
	//document.write(a);
		var show_map_search=getObj("show_map_search");
			show_map_search.innerHTML="Loading ... <img src=cn/Main_loading.gif>";
	createXMLHttpRequest();
 	 xmlHttp_1.onreadystatechange = eval("handleStateMap");
	 xmlHttp_1.open("GET",a , true);
 	 xmlHttp_1.send(null);
	}
//alert(area_code.value);
}
function handleStateMap(){
	var show_map_search=getObj("show_map_search");
	if(xmlHttp_1.readyState == 4){
  		if(xmlHttp_1.status == 200){
			 var result = xmlHttp_1.responseText;
				show_map_search.innerHTML=result;
		}
	}
}

function getObj(obj)
{
	byid=document.getElementById(obj);
	return byid;
}
function createXMLHttpRequest() {
 if(window.ActiveXObject) {
  xmlHttp_1 = new ActiveXObject("Microsoft.XMLHTTP");
 }
 else if(window.XMLHttpRequest) {
  xmlHttp_1 = new XMLHttpRequest();
 }
}


