+// Function will force numeric input in a field which is the value of a form object.
// Works well if called as follows: onchange="return isNumber(this)"
function isNumber(obj)
 {
 strInput = new String(obj.value);
 var digit;
 for (i = 0;i < strInput.length;i++)
  {
   digit = parseInt(strInput.substr(i,1));
   if (isNaN(digit))
    {
     alert("Input must be numeric - " + strInput + " - Please re-enter");
     obj.value="";
     obj.focus();
     obj.select();
     return false;
    }
  }
 return true;
 }
