DWREngine=dwr.engine;DWRUtil=dwr.util;function handleGetData(a){alert(a);}function updateRegions(){var a=$("country").value;Remote.getRegions(a,createRegionList);return false;}function createRegionList(b){var a=$("region").options[0].text;DWRUtil.removeAllOptions("region");$("region").options[$("region").options.length]=new Option(a,"0",true,true);
DWRUtil.addOptions("region",b);DWRUtil.removeAllOptions("city");$("city").options[$("city").options.length]=new Option(a,"0",true,true);if(b.length==0){}else{}}function updateCities(){var a=$("country").value+"-"+$("region").value;Remote.getCities($("country").value,$("region").value,createCityList);
return false;}function createCityList(b){var a=$("city").options[0].text;DWRUtil.removeAllOptions("city");$("city").options[$("city").options.length]=new Option(a,"0",true,true);DWRUtil.addOptions("city",b);$("city").options[$("city").options.length]=new Option("UNLISTED CITY","1",true,true);$("city").selectedIndex=0;
if(b.length==0){}else{}}