  function Reg(theForm) {
  
      if (theForm.FullName.value == "") {
         alert ("Please enter full name");
         theForm.FullName.focus();
         return (false); }
            
      if (theForm.Sex.value == "") {
         alert ("Please choose your sex");
         theForm.Sex.focus();
         return (false);}

      if (theForm.Nationality.value == "") {
         alert ("Please choose your nationality");
         theForm.Nationality.focus();
         return (false);}         

      if (theForm.Address.value == "") {
         alert ("Please enter your address");
         theForm.Address.focus();
         return (false);}

      if (theForm.City.value == "") {
         alert ("Please enter your city");
         theForm.City.focus();
         return (false);}


      if (theForm.Country.value == "") {
         alert ("Please choose your country");
         theForm.Country.focus();
         return (false);}         

      if (theForm.Email.value == "") {
         alert ("Please enter your email");
         theForm.Email.focus();
         return (false);}

      if (theForm.Password.value == "") {
         alert ("Please enter a password");
         theForm.Password.focus();
         return (false);}




      if (theForm.Password.value !== theForm.Pass.value) {
         alert ("Passwords do not match!");

         theForm.Pass.focus();
         return (false);}         
           
    }
