<!-- Begin
function checknums(field) {
var valid = "-.0123456789"
var ok = "yes";
var temp;
for (var i=0; i<field.value.length; i++) {
temp = "" + field.value.substring(i, i+1);
if (valid.indexOf(temp) == "-1") ok = "no";
}
if (ok == "no") {
alert("Invalid entry!  Only numbers are accepted!"); field.focus(); field.select();
   }
}

var lcAUS = new locale(".", ",", 2);

function checknum(cell) {
	//Check the new value
	var EnteredValue=lcAUS.parseNum(cell.value)
	if (isNaN(EnteredValue)) {
		window.alert('Value entered must be numeric.');cell.focus(); cell.select();
	} else {
		//Reformat the value
		var lcCell = new locale(".", ",", cell.alt);
		cell.value = lcCell.formatNum(EnteredValue);
	}
}

//  End -->