        
        //省份=============================================================================================
            function provinecResult()
            {
                Micronet.Functions.AjaxProvinecCityArea.GetProvinceList(get_provinec_Result_CallBack);
            }
            function get_provinec_Result_CallBack(response)
            {
                if (response.value != null)
                {                
                    document.all("ddlProvinec").length=0;　
                    document.all("ddlProvinec").options[0]=new Option('--选择省份--','-1'); 
                    document.all("ddlCity").length=0;　
                    document.all("ddlCity").options[0]=new Option('--选择城市--','-1');  
                     document.all("ddlArea").length=0;　　
                    document.all("ddlArea").options[0]=new Option('--选择区--','-1');　　　            
　　　　            var ds = response.value;
                    if(ds != null && typeof(ds) == "object" && ds.Tables != null)
                    {                    
                        for(var i=0; i<ds.Tables[0].Rows.length; i++)
　　　　                {
　　　　                    var name=ds.Tables[0].Rows[i].name;//省份名称
　　　　　　                var id=ds.Tables[0].Rows[i].code;//省份编号
　　　　　　                document.all("ddlProvinec").options.add(new Option(name,id));
　　　　                }
　　　　                
                    }
                     
                }    
                           
                return
            }
        //城市=============================================================================================
            function cityResult() 
            { 　
                var city=document.getElementById("ddlProvinec");//传递省份编号
                Micronet.Functions.AjaxProvinecCityArea.GetCityList(city.value,get_city_Result_CallBack);
                
            }
            
            function get_city_Result_CallBack(response)
            {
                if (response.value != null)
                {       
                    //debugger;
                    document.all("ddlCity").length=0;　
                    document.all("ddlCity").options[0]=new Option('--选择城市--','-1');  
                     document.all("ddlArea").length=0;　　
                    document.all("ddlArea").options[0]=new Option('--选择区--','-1');　　　            
　　　　            var ds = response.value;
                    if(ds != null && typeof(ds) == "object" && ds.Tables != null)
                    {                    
                        for(var i=0; i<ds.Tables[0].Rows.length; i++)
　　　　                {
　　　　                    var name=ds.Tables[0].Rows[i].name;//城市名称
　　　　　　                var id=ds.Tables[0].Rows[i].code;//城市编号
　　　　　　                document.all("ddlCity").options.add(new Option(name,id));
　　　　                }
　　　　                
                    }
                     
                }    
                           
                return
            }
            //市区=======================================================================================
            function areaResult() 
            { 
                var area=document.getElementById("ddlCity");//传递城市编号
                Micronet.Functions.AjaxProvinecCityArea.GetAreaList(area.value,get_area_Result_CallBack);
            }
            function get_area_Result_CallBack(response)
            {
                if (response.value != null)
                {                    
                    document.all("ddlArea").length=0;　　
                    document.all("ddlArea").options[0]=new Option('--选择区--','-1');　　　　            
　　　　            var ds = response.value;
                    if(ds != null && typeof(ds) == "object" && ds.Tables != null)
                    {                    
                        for(var i=0; i<ds.Tables[0].Rows.length; i++)
　　　　                {
　　　　　　                var name=ds.Tables[0].Rows[i].name;//区名称
　　　　　　                var id=ds.Tables[0].Rows[i].code;//区编号
　　　　　　                document.all("ddlArea").options.add(new Option(name,id));
　　　　                }
　　　　                           
                    }
                    
                }
                return
            }
          
