      function gotozip(myForm) {
         if (myForm.zip.value) {
            location.href = "http://www.stripclubcity.com/strip-clubs-by-zip/" + myForm.zip.value + "-strip-clubs/" + myForm.miles.value;
         }
      }

      function gotoareacode(myForm) {
         if (myForm.areacode.value) {
            location.href = "http://www.stripclubcity.com/strip-clubs-by-area-code/" + myForm.areacode.value + "-strip-clubs";
         }
      }

      function gotokeyword(myForm) {
         if (myForm.q.value) {
            myForm.submit();
            return true;
         }
      }

      function isNumberKey(evt) {
         var charCode = (evt.which) ? evt.which : event.keyCode
         if (charCode > 31 && (charCode < 48 || charCode > 57)) {
            return false;
         }
         
         return true;
      }
      
      submitted = 0;
      function submitMe(myForm) {
        submitted = submitted + 1;

        if (submitted > 1) {
           alert("Please be patient. This will take a moment.");
           return false;
        } else {
            myForm.subBtn.value = "Please wait...";
            myForm.subBtn.disabled = true;
            myForm.submit();
            return true;
        }
      }

