function validate()
{ if (document.form.Full_name.value == "")
  { alert("Please enter your full name at the top of the form");
    return false; 
  }
  if (document.form.Address.value == "")
  { alert("Please enter your Address at the top of the form");
    return false; 
  }
   if (document.form.Date_of_birth.value == "")
  { alert("Please enter your Date of Birth at the top of the form");
    return false; 
  }

if ( ( document.form.Marital_Status[0].checked == false )
    && ( document.form.Marital_Status[1].checked == false ) )
    {
        alert ( "Please select your Marital Status at the top of the form" );
        return false; 
    }

      if (document.form.Nationality.value == "")
  { alert("Please enter your Nationality at the top of the form");
    return false; 
  }
      if (document.form.Phone_home.value == "")
  { alert("Please enter your contact phone number at the top of the form");
    return false; 
  }
  
    if (document.form.email.value != "")
  { if (document.form.email.value.indexOf("@") == -1 || document.form.email.value.indexOf(".") == -1 || document.form.email.value.indexOf(" ") != -1 || document.form.email.value.length < 6)
    { alert("Sorry, the email address you provided does not appear to be valid.");
      return false; 
    }
  }
 
  if (document.form.email.value == "")
  { alert("Please enter your email address at the top of the form.");
    return false; 
  }

if ( ( document.form.Confirmation[0].checked == false )
    && ( document.form.Confirmation[1].checked == false ) )
    {
        alert ( "Please indicate your agreement by clicking 'YES I CONFIRM' " );
        return false; 
    }


  

}
  