function ValidateForm(theForm){
// if (theForm.Form_Status.value == 'Agree'){
  if(theForm.txtShowID.value == '' || isNaN(theForm.txtShowID.value)){
   alert('Show ID required. (numeric)');
   theForm.txtShowID.focus(); 
   return false;
  }
  if(theForm.txtPassword.value == ''){
   alert('Password required.');
   theForm.txtPassword.focus(); 
   return false;
  }

 //}
 return true;
}

function ValidatePW_Search(theForm)
{
    if(theForm.txtEMail.value == '')
    {
        alert('Email Address Required');
        theForm.txtEMail.focus(); 
        theForm.searchRecords.value = '';
        return false;
    }
    if(theForm.txtBooth.value == '')
    {
        alert('Booth Required.');
        theForm.txtBooth.focus();
        theForm.searchRecords.value = '';
        return false;
    }
    
    if( (theForm.txtEMail.value != '') && (theForm.txtBooth.value != '') )
    {
        //alert('Passed');
        theForm.searchRecords.value = '1';
        return true;
    }
}

