//This validates a number field and only allows numbers no decimals
function formatNumberFieldNoDecimals(fld, e) 
{
	var key = '';
	var strCheck = '0123456789';
	var whichCode = '';
	var whichCode = window.event ? e.keyCode : e.which;
	if (whichCode == 13 || whichCode == 0 || whichCode == 8) return true;
	key = String.fromCharCode(whichCode);
	if (strCheck.indexOf(key) == -1) return false;
}