<!--

function isNum(passedVal){
    if (passedVal == ""){
    return false
    }

    for (i=0; i<passedVal.length; i++){
      if (passedVal.charAt(i) < "0"){
      return false
      }
      if (passedVal.charAt(i) > "9"){
      return false
      }
    }
    return true
}


function isReady(event_finder) {
   
   
    if (event_finder.el_cat.options[event_finder.el_cat.selectedIndex].value == "9" ){
    alert("Please Select an Event Type!")
    return false
    }

    if (!isNum(event_finder.zip.value)){
    alert("Invalid Zip Code entry!\nMust be numeric!")
   
    return false
    }

    if (event_finder.zip.value.length != "5"){
    alert("Invalid Zip Code!\nMust be 5 digits!")
    return false
    }

    if (event_finder.distance.options[event_finder.distance.selectedIndex].value == "9" ){
    alert("Please Select a Traveling Distance!")
    return false
    }

    else{
    return true
    }
}


// -->
