var xmlDocArea=null;
if (window.ActiveXObject){// code for IE
	xmlDocArea=new ActiveXObject("Microsoft.XMLDOM");
}else if (document.implementation.createDocument){// code for Mozilla, Firefox, Opera, etc.
	xmlDocArea=document.implementation.createDocument("","",null);
}else{
	alert('Your browser cannot handle this script');
}

function loadOptionsAreaXML(url){
	xmlDocArea.async=false;
	xmlDocArea.load(url);
}

function loadOptionsArea(thisform){
	thisform.Area.options[0]=new Option("Area in Hong Kong","",false,false);
	thisform.Area.options[1]=new Option("","",false,false);
	var index_area=0;
	var i=2;
	var optionsLoad=xmlDocArea.getElementsByTagName("option");
	//alert(optionsLoad.length);
	while (index_area<optionsLoad.length){
		if (i%2==0){
			thisform.Area.options[i]=new Option(optionsLoad[index_area].childNodes[0].nodeValue,optionsLoad[index_area].getAttribute("value"),false	,false);
			index_area++;
			i++;
		}else{
			thisform.Area.options[i]=new Option("","",false,false);
			i++;
		}
	}
}