// function to determine if value is in acceptable range
// for this application
function inRange(inputStr) {
   num = parseInt(inputStr);
   if (num < 1 || num > 586 && num < 596 || num > 599 && num < 700 || num > 728) {
      return false;
   }
   return true;
}
