rem: var valid = "0123456789" 
add: var valid = "0123456789-"; 
context: function doNumCheck(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") {                field.value = field.value.substring(0, (field.value.length) - 1);        }}
meta: 5314	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5314/b044c0b28701e73387e153d84371b105400fc00b/numberCheck.js/buggy/www/extras/numberCheck.js