function NumberDash(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 or dashes are accepted here.");
field.focus();
field.select();
   }
}


function isEmpty(str) 
{
	if (str == null)
		return true
	else if (trimString(str) == "")
		return true
	else
		return false

}