function check(theForm)
{

 if (theForm.Title.value == "")
  {
    alert("Please select a value for the \"Title\" field.");
    theForm.Title.focus();
    return (false);
  }


 if (theForm.Title.value == "None")
  {
    alert("Please select a value for the \"Title\" field.");
    theForm.Title.focus();
    return (false);
  }

  if (theForm.Name.value == "")
  {
    alert("Please enter a value for the \"Name\" field.");
    theForm.Name.focus();
    return (false);
  }

  if (theForm.Surname.value == "")
  {
    alert("Please enter a value for the \"Surname\" field.");
    theForm.Surname.focus();
    return (false);
  }

  
  
    if (theForm.StreetAddress.value == "")
  {
    alert("Please enter a value for the \"Street Address\" field");
    theForm.StreetAddress.focus();
    return (false);
  }
  
      if (theForm.Town.value == "")
  {
    alert("Please enter a value for the \"Town/City\" field");
    theForm.Town.focus();
    return (false);
  }
  
      if (theForm.County.value == "")
  {
    alert("Please enter a value for the \"County/State\" field");
    theForm.County.focus();
    return (false);
  }
  
  
     if (theForm.Postcode.value == "")
  {
    alert("Please enter a value for the \"Postcode/Zip code\" field");
    theForm.Postcode.focus();
    return (false);
  }
  
       if (theForm.Country.value == "00")
  {
    alert("Please choose a country.");
    theForm.Country.focus();
    return (false);
  }
  
         if (theForm.Tel.value == "")
  {
    alert("Please enter a telephone number.");
    theForm.Tel.focus();
    return (false);
  }
  
         if (theForm.Email.value == "")
  {
    alert("Please enter an e-mail address.");
    theForm.Email.focus();
    return (false);
  }
  
           if (theForm.QualifiedCoachSpecify.value == "00")
  {
    alert("Please specify whether you are Qualified or not.");
    theForm.QualifiedCoachSpecify.focus();
    return (false);
  }
  
           if (theForm.TrainingToBeACoach.value == "00")
  {
    alert("If you are not Qualified, please specify whether you are in training or not");
    theForm.TrainingToBeACoach.focus();
    return (false);
  }
  
            if (theForm.Accredited.value == "00")
  {
    alert("Please specify whether you are Accredited or not");
    theForm.Accredited.focus();
    return (false);
  }
  
         if (theForm.Occupation.value == "")
  {
    alert("Please tell us your occupation.");
    theForm.Occupation.focus();
    return (false);
  }
  
           if (theForm.Profile.value == "")
  {
    alert("Please tell us a bit about yourself.");
    theForm.Profile.focus();
    return (false);
  }
  
         if (theForm.Username.value == "")
  {
    alert("Please create your own username.");
    theForm.Username.focus();
    return (false);
  }

         if (theForm.Password.value.length < 6)
      {
		alert( "Please enter a valid password.  No spaces, more than 6 characters and contain 0-9,a-z,A-Z" );
	    theForm.Password.focus();
        return (false);
	  }
		
      if (theForm.Password2.value == "") {
		alert( "Please verify the password." );
	    theForm.Password2.focus();
        return (false);
	  }

		
	  if ((theForm.Password.value != "") && (theForm.Password.value != theForm.Password2.value)){
		alert( "Password and verification do not match, please try again." );
        theForm.Password2.focus();
        return (false);

      }

	else
	
	return true;
	}