function doNumCheck(field) { var valid = "0123456789-"; var ok = "yes"; var temp; for (var i=0; i