// JavaScript Document
<!--
function checkFields() {
missinginfo = "";
if ((document.form.fname.value == "") || (document.form.fname.value == "Given name")) {
missinginfo += "\n     -  Given name";
}
if ((document.form.sname.value == "") || (document.form.sname.value == "Surname")) {
missinginfo += "\n     -  Surname";
}
if ((document.form.address.value == "") || (document.form.address.value == "Address")) {
missinginfo += "\n     -  Address";
}
if ((document.form.country.value == "") || (document.form.country.value == "Country")) {
missinginfo += "\n     -  Country";
}
if ((document.form.email.value == "")|| (document.form.email.value.indexOf('@') == -1)|| (document.form.email.value.indexOf('.') == -1) || (document.form.email.value == "E-Mail")) {
missinginfo += "\n     -  E-Mail";
}
if ((document.form.dob.value == "") || (document.form.dob.value == "Day of birth")) {
missinginfo += "\n     -  Day of birth";
}
if ((document.form.des.value  == -1))
 {
missinginfo += "\n     -  Destination State (city)";
}

if ((document.form.coi.value == "") || (document.form.coi.value == "What type of course are you interested in?")) {
missinginfo += "\n     -  What type of course are you interested in?";
}
if ((document.form.que.value == "") || (document.form.que.value == "Questions")) {
missinginfo += "\n     -  Questions";
}
if (missinginfo != "") {
missinginfo ="_____________________________\n" +
"You failed to correctly fill :\n" +
missinginfo + "\n_____________________________" +
"\nPlease re-enter and submit again!";
alert(missinginfo);
return false;
}
}
-->
