/* validateandsubmit2.js */

  function noEntry(objname, objDesc) {
       mt=objname.value;
       if ((mt.length<1)||(mt.substring(0,6)=="******")) {
         return false;
       }
       else {
          return true;
       }
   }

    function validateandsubmit2( f ) {
         var count = 0;

         if (noEntry(document.form.MLS_Number, " ") == true  )
                  {
                     count++;
                  }

         if (noEntry(document.form.SrchStreetName, " ") == true  )
                  {
                     count++;
                  }


         if ( count < 1  ) {
           alert("You Must Enter a Specific MLS Number or Street:\r\n");
             return false;
        }
  }
