
	function GetCommonAreaChildClassData(id,dropDownListName,selectID)
	{
		var table = JobSearchMenu.GetAllAreaClassByParentID(id).value;
		var dropDownList = document.getElementById(dropDownListName);	
		
		if (table != null && typeof(table) == "object" && table != null)
		{								
			dropDownList.options.length = table.Rows.length+1;	
											
			for (var i=1;i<table.Rows.length+1;i++)
			{		
				dropDownList.options[i].text = table.Rows[i-1].ClassName;
				dropDownList.options[i].value = table.Rows[i-1].ID;
				
				if (table.Rows[i-1].ID == selectID)
				{
					dropDownList.options[i].selected = true;
				}
			}
		}
		
		if (id != 0)
		{
			dropDownList.options[0].text = "选择具体地区";
			dropDownList.options[0].value = 0;		
		}
		else
		{
			dropDownList.options[0].text = "选择地区";
			dropDownList.options[0].value = 0;					
		}
		
	}
	
	function GetCommonApplicationAreaChildClassData(id,dropDownListName,selectID)
	{
		var table = JobSearchMenu.GetAllAreaClassByParentID(id).value;
		var dropDownList = document.getElementById(dropDownListName);	
		
		if (table != null && typeof(table) == "object" && table != null)
		{								
			dropDownList.options.length = table.Rows.length;	
											
			for (var i=0;i<table.Rows.length;i++)
			{		
				dropDownList.options[i].text = table.Rows[i].ClassName;
				dropDownList.options[i].value = table.Rows[i].ID;
				if (table.Rows[i].ID == selectID)
				{
					dropDownList.options[i].selected = true;
				}
			}
		}
	}



