function validateFormConferencesReg(theForm)
{
  if (theForm.t_s_title.value == "")
  {
    alert("Please select Title.");
    theForm.t_s_title.focus();
    return (false);
  }
  
  if (theForm.t_s_firstname.value == "")
  {
    alert("Please enter a First name.");
    theForm.t_s_firstname.focus();
    return (false);
  }
 
  if (theForm.t_s_lastname.value == "")
  {
    alert("Please enter a Last name.");
    theForm.t_s_lastname.focus();
    return (false);
  }
  
  
  if (theForm.t_s_email.value == "")
  {
    alert("Please enter a Email name.");
    theForm.t_s_email.focus();
    return (false);
  }
  
  if (theForm.t_s_email.value.length != 0 )
  {
    if (theForm.t_s_email.value.indexOf('@',0)==-1 ||
        theForm.t_s_email.value.indexOf('@',0)== 0 ||
        theForm.t_s_email.value.indexOf('.',0)==-1) 
    {
      alert('\nInvalid email address.')
      theForm.t_s_email.focus();
      return (false);
    }  
  }    


  if (theForm.t_s_orgname.value == "")
  {
    alert("Please enter a Organization name.");
    theForm.t_s_orgname.focus();
    return (false);
  }  
  
  if (theForm.t_s_interest.value == "")
  {
    alert("Please select Interest.");
    theForm.t_s_interest.focus();
    return (false);
  }


}


function getValueConferencesReg(as_ser_type)
{
  /*
  if (as_ser_type =="Other")
  {
    document.conferences_reg.t_s_ser_type_other.focus();
  }
  */
}


function nextFieldConferencesReg(as_next)
{
  document.conferences_reg[as_next].focus();
}