<!--
	function repopulateChildSelect(ParentSelect, childSelect, ParentArrayName) {	
		var lngListIndex=0;

		if (typeof(childSelect.length) == "undefined"){  }
		else {
			// clear Child department list box's
			for (var i = 0 ; i < childSelect.length ;i++) {
				childSelect.options[i] = null;
				childSelect.options.length = 0;
			}						

			var lngDeptID =  ParentSelect.options[ParentSelect.selectedIndex].value

			var arrChildren = eval(ParentArrayName + "['" + lngDeptID + "']");
			var lngChildrenCount = 0;
			if (typeof(arrChildren)!= "undefined") { lngChildrenCount = arrChildren.length;}

			if (lngDeptID =='0' || lngChildrenCount == 0){ //CASE : Selected is All
				childSelect.options[0]  = new Option('All', '0'); 
			}else{
				for (var k=0; k < lngChildrenCount; k++) {
					var arrDetails = arrChildren[k].split("_");
					childSelect.options[lngListIndex++] = new Option(arrDetails[1], arrDetails[0]);
				}					
			}//END OF CASE : Selected is All
		} // end of childSelect is defined case
	}	
//-->