function validate ()

{
        if (document.will_form.first_test.value == "") {
                alert("Please enter your full name.")
                 document.will_form.first_test.focus()
                  return false;
               
               }
               
                    if (document.will_form.named_bene_share1.value == "") {
                alert("Please enter a share percentage for the 1st beneficiary (enter 0% if none required)")
                 document.will_form.named_bene_share1.focus()
                  return false;
                  
               }
               
               if (document.will_form.named_bene_share2.value == "") {
                alert("Please enter a share percentage for the 2nd beneficiary (enter 0% if none required)")
                 document.will_form.named_bene_share2.focus()
                  return false;
                  
               }
               
               if (document.will_form.res_bene_share1.value == "") {
                alert("Please enter a share percentage for the reserve beneficiary (enter 0% if none required)")
                 document.will_form.res_bene_share1.focus()
                  return false;
                  
               }

               if (document.will_form.day.value == "Day") {
                alert("Please tell us the day of the month you were born.")
                 document.will_form.day.focus()
                  return false;
                   
               }

               if (document.will_form.month.value == "Month") {
                alert("Please tell us the month you were born.")
                 document.will_form.month.focus()
                  return false;
               
               }

              if (document.will_form.year.value == "") {
               alert("Please tell us the year you were born.")
                document.will_form.year.focus()
                 return false;
               
               }
               
              if (document.will_form.address.value == "") {
               alert("Please tell us your address.")
                document.will_form.address.focus()
                 return false;
               
               }

             if (document.will_form.email.value == "") {
              alert("Please tell us your e-mail address. [Your E-mail Address will NOT be passed on to 3rd parties]")
               document.will_form.email.focus()
                return false;
               
               }
               
               if (document.will_form.email.value.indexOf("@")==-1) {
                alert("You have not entered the @ symbol in your e-mail address.");
                 document.will_form.email.focus()
                  return false;

             }

          if (document.will_form.email.value.indexOf(".")==-1) {         
           alert("You are missing a dot in your e-mail address.");
            document.will_form.email.focus()
             return false;
             
        }
             
 if (document.will_form.certify.checked == "") {
  alert("Please check the box to certify you have answered all these questions truthfully and to the best of your knowledge.")
   document.will_form.certify.focus()
    return false;

       }
      
if (document.will_form.email.value.length<9) {              
 alert("Your e-mail address is not a valid length.");
  document.will_form.email.focus()
   return false;
      
      }  
           
        return true;
        
      }
