//#####################################################################################################################
//validateInteger
//returns true if the number's keyCode is within the array.  This means it is a valid character.  Otherwise it returns
//false and the event is canceled.
//#####################################################################################################################
function validationInteger(e) 
{
	validCharacters = new Array(8,9,37,38,39,40,46,48,49,50,51,52,53,54,55,56,57,96,97,98,99,100,101,102,103,104,105);
    for(i=0;i<validCharacters.length;i++) {
        if (e.keyCode == validCharacters[i])
        {
			return true;
        }
    }
	return false;    
}

function validationAlphaNumericOnly(formField, msg)
{
	if (formField=="")
	{
		alert(msg);
		return false;
	}
	return true;
}
