
/* FUNCTION		enumerationKeyUpAction
 * INPUTS		id	-	The id of a field to manage
 * OUTPUTS		NONE
 * DESCRIPTION	This function, takes an id for a field, and
 *				removes all characters from its 'value' property
 *				that are after a non-numeric character.
 * HISTORY		August 07, 2008		Created (Complete)		MF
 */
function enumerationKeyUpAction(id){
	var obj = document.getElementById(id);
	//alert(obj.value);
	var aValue = obj.value;
	for(i=0;i<aValue.length;i++){
		var c = aValue.charAt(i);
		if(!(c >= '0' && c <= '9')){
			aValue = aValue.substring(0,i);
		}
	}
	obj.value = aValue;
}
