/* this script needs to have a error message for each error. this way the error messages will be conistent through out the site*/

function validateNumeric(integerContainer, minVal, maxVal){
	returnValue = 7;//7 means there is no entry
	if(integerContainer.length > 0){
		returnValue = returnValue - 4;//3, there is an entry but it is not numeric
		if(integerContainer >= minVal){
			returnValue = returnValue - 2;//1
			if(integerContainer == 'n'){
				returnValue = returnValue - 1;//0
			}else if(integerContainer <= maxVal){
				returnValue = returnValue - 1;//0
			}
		}
	}
	//alert('returnvalue = ' + returnValue);
	return returnValue;
}
