<!--
// this script clears the zip code field when the user clicks on it
var isCleared = false;

function clearField(fld) {
  if (!isCleared) {
    fld.value = "";
  }
  isCleared = !isCleared;
}

function validate_search_zip_only(f)
{
  var zipValue = f.postalCode.value;
  for (var i=0; i<zipValue.length; i++)
  {
    var digit = zipValue.charAt(i);
    if (digit<"0" || digit>"9")
    {
      alert("\"" + zipValue + "\" is not a valid zip code.  Please re-enter.")
      f.postalCode.focus();
      f.postalCode.select();
      return false;
    }
  }

  if (zipValue.length!=5)
  {
    alert("Please enter 5-digit zip code.");
    f.postalCode.focus();
    f.postalCode.select();
    return false;
  }
return true;
 // f.submit();
}
//-->
