function checkForInt(evt) {
  //notice that the check is != null now, as the tab key has a value of 0
  var charCode = ( evt.which != null ) ? evt.which : event.keyCode
  //charCodes < 32 include tab, delete, arrow keys, etc
  return (charCode < 32 || (charCode >= 48 && charCode <= 57))
};
