   function onRegionChange(GoogleMapFlag){
      var mySelect = document.getElementById("ctl00_content_left_inner_holder_cmbRegion");
      if (mySelect.selectedIndex>-1){
        //instantiate XmlHttpRequest

          // Checking if IE-specific document.all collection exists 
          // to see if we are running in IE 
          if (document.all) { 
            xhttp = new ActiveXObject("Msxml2.XMLHTTP"); 
           } else { 
          // Mozilla - based browser 
            xhttp = new XMLHttpRequest(); 
          }
          //hook the event handler
          xhttp.onreadystatechange = HandlerOnReadyStateChange;
          //prepare the call, http method=GET, true=asynchronous call
          var region = mySelect.options[mySelect.selectedIndex].text;
          var url = "/DistrictListXML.aspx?region=" + region + "&googlemapflag=" + GoogleMapFlag
          xhttp.open("GET", url, true);
          //finally send the call
          xhttp.send("");                   
        }
      }
      function HandlerOnReadyStateChange(){
            var mySelect = document.forms[0].ctl00_content_left_inner_holder_cmbDistrict;
            document.getElementById("ctl00_content_left_inner_holder_cmbDistrict").innerText="";
        
            // This handler is called 4 times for each 
            // state change of xmlhttp
            // States are: 0 uninitialized
            //      1 loading
            //      2 loaded
            //      3 interactive
            //      4 complete
            if (xhttp.readyState==4){
                mySelect.innerHTML = "";
          
            //responseXML contains an XMLDOM object

                var districts = xhttp.responseXML

                var nodes = districts.documentElement.getElementsByTagName("*");
                for(var i = 0; i < nodes.length; i++)
                {
                    if (nodes[i].getElementsByTagName("District")[0] != undefined) 
                    {
            		    //var o = new Option();
              		    //o.text = nodes[i].getElementsByTagName("District")[0].firstChild.nodeValue;
              		    //o.value = nodes[i].getElementsByTagName("DistrictAddress")[0].firstChild.nodeValue;
              		    var o=document.createElement("option");
              		    o.text = nodes[i].getElementsByTagName("District")[0].firstChild.nodeValue;
              		    o.value = nodes[i].getElementsByTagName("DistrictAddress")[0].firstChild.nodeValue;
              		    document.getElementById("ctl00_content_left_inner_holder_cmbDistrict").options.add(o); 
              		    //mySelect.add(o);
                    }
                }
        }

      }
