	
	function GetProvince(TheProvince, TheCity, TheCounty, strProvinceID) 
	{ 
		if(typeof TheProvince != 'object') 
			TheProvince 	= document.getElementById(TheProvince); 
		if(typeof TheCity != 'object') 
			TheCity 		= document.getElementById(TheCity); 
		if(typeof TheCounty != 'object') 
			TheCounty 		= document.getElementById(TheCounty); 
		
		try { 
			TheCity.disabled 		= true; 
			TheCounty.disabled 		= true; 
		} catch(e) { 
			// describe		= e.description; 
			// alert(describe); 
			; 
		} 
		// End try 
		if(Province.length != 0) 
		{
			TheProvince.options.length 			= 0; 
			TheProvince.options[0] 				= new Option('省份', ''); 
			TheProvince.options[0].selected 	= true; 
			var j = 1; 
			for(i = 0; i < Province.length; i += 2) 
			{ 
				if(Province[i] == "" || Province[i+1] == "") 
				{
					continue; 
				} else { 
					TheProvince.options[j] 		= new Option(Province[i+1],Province[i]); 
					j++; 
				}
				// End if 
			}
			// End for 
		}
		// End if 
		
		strProvinceID		= (typeof strProvinceID == "undefined") ? '' : strProvinceID; 
		if(strProvinceID == "") 
			return ; 
		
		strProvinceID 			= strProvinceID.toString(); 
		var L_strProvinceID 	= strProvinceID.length
		if(L_strProvinceID < 12) 
		{ 
			for(i = 0; i< 12 - L_strProvinceID; i++) 
			{ 
				strProvinceID 	+= "0"; 
			} 
		} 
		// End if 
		var DefaultProvince 	= strProvinceID.substring(0, 6); 
		var DefaultCity 		= strProvinceID.substring(0, 9); 
		var DefaultCounty 		= strProvinceID.substring(0, 12); 
		try { 
			GetDefaultItem(TheProvince, DefaultProvince); 
			GetCity(TheProvince, TheCity, TheCounty); 
			GetDefaultItem(TheCity, DefaultCity); 
			GetCounty(TheProvince, TheCity, TheCounty); 
			GetDefaultItem(TheCounty, DefaultCounty); 
		} catch(e) { 
			; 
		} 
		 // End try 
	}
	// End function GetProvince 
	
	function GetCity(TheProvince, TheCity, TheCounty)
	{ 
		if(typeof TheProvince != 'object') 
			TheProvince 			= document.getElementById(TheProvince); 
		if(typeof TheCity != 'object') 
			TheCity 				= document.getElementById(TheCity); 
		
		TheCity.options.length 				= 0; 
		TheCity.options[0] 					= new Option('城市',''); 
		TheCity.options[0].selected 		= true; 
		TheCity.disabled 					= true; 
		
		if(typeof TheCounty != 'object') 
			TheCounty 				= document.getElementById(TheCounty); 
		try { 
			TheCounty.options.length 		= 0; 
			TheCounty.options[0] 			= new Option('地区',''); 
			TheCounty.options[0].selected 	= true; 
			TheCounty.disabled 				= true; 
		} catch(e) { 
			; 
		}
		// End try 
		
		if(TheProvince.selectedIndex == 0) 
			return false; 
			
		CityIndex 							= TheProvince.options[TheProvince.selectedIndex].value; 
		var j 								= 1; 
		for(i = 0; i < City[CityIndex].length; i += 2)
		{
			if(City[CityIndex][i] == "" || City[CityIndex][i+1] == "")
			{
				continue; 
			}
			else
			{
				TheCity.options[j] 			= new Option(City[CityIndex][i+1], City[CityIndex][i]); 
				j++; 
			}
			// End if 
		}
		// End for 
		if(TheCity.options.length > 1) 
			TheCity.disabled 				= false; 
	}
	// End function GetCity 
	
	function GetCounty(TheProvince, TheCity, TheCounty)
	{
		if(typeof TheProvince != 'object') 
			TheProvince 			= document.getElementById(TheProvince); 
		if(typeof TheCity != 'object') 
			TheCity 				= document.getElementById(TheCity); 
			
		if(typeof TheCounty != 'object') 
			TheCounty 				= document.getElementById(TheCounty); 
		try { 
			TheCounty.options.length 		= 0; 
			TheCounty.options[0] 			= new Option('地区',''); 
			TheCounty.options[0].selected 	= true; 
			TheCounty.disabled 				= true; 
		} catch(e) { 
			return false; 
		}
		// End try 
		
		if(TheProvince.selectedIndex == 0 || TheCity.selectedIndex == 0) 
			return false; 
			
		CountyIndex 						= TheCity.options[TheCity.selectedIndex].value; 
		var j 								= 1; 
		for(i = 0; i < County[CountyIndex].length; i += 2)
		{
			if(County[CountyIndex][i] == "" || County[CountyIndex][i+1] == "")
			{ 
				continue; 
			} else { 
				TheCounty.options[j] 		= new Option(County[CountyIndex][i+1],County[CountyIndex][i]); 
				j++; 
			} 
			// End if 
		}
		// End for 
		if(TheCounty.options.length > 1) 
			TheCounty.disabled 				= false; 
	}
	// End function GetCounty 
	
	
	function GetDefaultItem(ItemObj, ItemValue)
	{ 
		try { 
			for(var i = 0; i < ItemObj.options.length; i++)
			{ 
				if(ItemObj.options[i].value == ItemValue) { 
					ItemObj.options[i].selected		= true; 
					break; 
				} 
			} 
			// End for 
		} catch(e) { 
			; 
		} 
		// End try 
	} 
	// End function GetDefaultItem 
