<!--

function validateevaluation()
{



if (document.evaluation.familyname.value=="")
{
window.alert ("Please enter your family name!")
document.evaluation.familyname.focus();
return false;
}

if (document.evaluation.firstname.value=="")
{
window.alert ("Please enter your first name!")
document.evaluation.firstname.focus();
return false;
}

if (document.evaluation.age.value=="")
{
window.alert ("Please enter your age!")
document.evaluation.age.focus();
return false;
}

if (document.evaluation.sex.value=="")
{
window.alert ("Please select your sex!")
document.evaluation.sex.focus();
return false;
}


if (document.evaluation.martinalstatus.value=="")
{
window.alert ("Please select your martinal status!")
document.evaluation.martinalstatus.focus();
return false;
}


if (document.evaluation.childrentocanada.value=="")
{
window.alert ("Please select if children will accompany you to Canada!")
document.evaluation.childrentocanada.focus();
return false;
}


if (!(/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,5})+$/.test(document.evaluation.email.value)))
{
window.alert("Please enter a valid email address!.")
document.evaluation.email.focus();
return false;
}




if (document.evaluation.telephone.value=="")
{
window.alert ("Please enter a valid telephone number!")
document.evaluation.telephone.focus();
return false;
}

if (document.evaluation.address.value=="")
{
window.alert ("Please enter a valid address!")
document.evaluation.address.focus();
return false;
}


if (document.evaluation.workexperience.value=="")
{
window.alert ("Please select the years of work experience you have!")
document.evaluation.workexperience.focus();
return false;
}

if (document.evaluation.lastposition.value=="")
{
window.alert ("Please enter your last employment position held!")
document.evaluation.lastposition.focus();
return false;
}


if (document.evaluation.businessowner.value=="")
{
window.alert ("Please indicate if you have been a company owner/manager!")
document.evaluation.businessowner.focus();
return false;
}

if (document.evaluation.highesteducation.value=="")
{
window.alert ("Please select the highest level of education completed!")
document.evaluation.highesteducation.focus();
return false;
}

if (document.evaluation.diplomatitle.value=="")
{
window.alert ("Please enter your diploma title!")
document.evaluation.diplomatitle.focus();
return false;
}

if (document.evaluation.educationyears.value=="")
{
window.alert ("Please enter tht total Number of years of formal education!")
document.evaluation.educationyears.focus();
return false;
}

if (document.evaluation.anotherdiploma.value=="")
{
window.alert ("Please indicate if you have a diploma in another speciality?!")
document.evaluation.anotherdiploma.focus();
return false;
}

if (document.evaluation.frencheducation.value=="")
{
window.alert ("Please indicate if your secondary or postsecondary studies completed in french!")
document.evaluation.frencheducation.focus();
return false;
}

if (document.evaluation.speakingfrench.value=="")
{
window.alert ("Please indicate your ability to speak in French!")
document.evaluation.speakingfrench.focus();
return false;
}

if (document.evaluation.speakingfrench.value=="")
{
window.alert ("Please indicate your ability to speak in French!")
document.evaluation.speakingfrench.focus();
return false;
}

if (document.evaluation.speakingenglish.value=="")
{
window.alert ("Please indicate your ability to speak in English!")
document.evaluation.speakingenglish.focus();
return false;
}

if (document.evaluation.listeningfrench.value=="")
{
window.alert ("Please indicate your French listening ability!")
document.evaluation.listeningfrench.focus();
return false;
}

if (document.evaluation.listeningenglish.value=="")
{
window.alert ("Please indicate your English listening ability!")
document.evaluation.listeningenglish.focus();
return false;
}

if (document.evaluation.readingfrench.value=="")
{
window.alert ("Please indicate your French reading ability!")
document.evaluation.readingfrench.focus();
return false;
}

if (document.evaluation.readingenglish.value=="")
{
window.alert ("Please indicate your English reading ability!")
document.evaluation.readingenglish.focus();
return false;
}

if (document.evaluation.writingfrench.value=="")
{
window.alert ("Please indicate your French writing ability!")
document.evaluation.writingfrench.focus();
return false;
}

if (document.evaluation.writingenglish.value=="")
{
window.alert ("Please indicate your English writing ability!")
document.evaluation.writingenglish.focus();
return false;
}

if (document.evaluation.someonecanada.value=="")
{
window.alert ("Please indicate if you know someone that lives in Canada!")
document.evaluation.someonecanada.focus();
return false;
}

if (document.evaluation.postsecondarycanada.value=="")
{
window.alert ("Please indicate if you done postsecondary studies in Canada!")
document.evaluation.postsecondarycanada.focus();
return false;
}

if (document.evaluation.trainingcanada.value=="")
{
window.alert ("Please indicate if you worked, or had training, in Canada!")
document.evaluation.trainingcanada.focus();
return false;
}

if (document.evaluation.visitcanada.value=="")
{
window.alert ("Please indicate if you ever made other visits to Canada!")
document.evaluation.visitcanada.focus();
return false;
}





if (document.evaluation.childrentocanada.value =='Yes') 
{

if (document.evaluation.smallchildren.value=="")
{
window.alert ("Please indicate the number of children between 0 and 12 years old who will accompany you to Canada!")
document.evaluation.smallchildren.focus();
return false;
}

if (document.evaluation.bigchildren.value=="")
{
window.alert ("Please indicate the number of children between 13 and 17 years old who will accompany you to Canada!")
document.evaluation.bigchildren.focus();
return false;
}


}



if (document.evaluation.martinalstatus.value =='Married' || document.evaluation.martinalstatus.value =='Common Law') 
{

if (document.evaluation.spouseage.value=="")
{
window.alert ("Please enter your spouses age!")
document.evaluation.spouseage.focus();
}


if (document.evaluation.spouseworkexperience.value=="")
{
window.alert ("Please incicate years of work experience in the spouse section!")
document.evaluation.spouseworkexperience.focus();
return false;
}


if (document.evaluation.spouselastposition.value=="")
{
window.alert ("Please incicate the last position held in the spouse section!")
document.evaluation.spouselastposition.focus();
return false;
}


if (document.evaluation.spousebusinessowner.value=="")
{
window.alert ("Please incicate if your spouse has ever been, the owner or manager of a company!")
document.evaluation.spousebusinessowner.focus();
return false;
}


if (document.evaluation.spousehighesteducation.value=="")
{
window.alert ("Please select the highest level of education completed in the spouse section!")
document.evaluation.spousehighesteducation.focus();
return false;
}


if (document.evaluation.spousediplomatitle.value=="")
{
window.alert ("Please enter your diploma title in the spouse section!")
document.evaluation.spousediplomatitle.focus();
return false;
}

if (document.evaluation.spouseeducationyears.value=="")
{
window.alert ("Please enter the total Number of years of formal education in the spouse section!")
document.evaluation.spouseeducationyears.focus();
return false;
}


if (document.evaluation.spouseanotherdiploma.value=="")
{
window.alert ("Please indicate if your spouse has a diploma in another speciality?!")
document.evaluation.spouseanotherdiploma.focus();
return false;
}


if (document.evaluation.spousefrencheducation.value=="")
{
window.alert ("Please indicate if your spouses secondary or postsecondary studies were completed in french!")
document.evaluation.spousefrencheducation.focus();
return false;
}


if (document.evaluation.spousespeakingfrench.value=="")
{
window.alert ("Please indicate your spouses ability to speak in French!")
document.evaluation.spousespeakingfrench.focus();
return false;
}

if (document.evaluation.spousespeakingenglish.value=="")
{
window.alert ("Please indicate your spouses ability to speak in English!")
document.evaluation.spousespeakingenglish.focus();
return false;
}

if (document.evaluation.spouselisteningfrench.value=="")
{
window.alert ("Please indicate your spouses French listening ability!")
document.evaluation.spouselisteningfrench.focus();
return false;
}

if (document.evaluation.spouselisteningenglish.value=="")
{
window.alert ("Please indicate your spouses English listening ability!")
document.evaluation.spouselisteningenglish.focus();
return false;
}

if (document.evaluation.spousereadingfrench.value=="")
{
window.alert ("Please indicate your spouses French reading ability!")
document.evaluation.spousereadingfrench.focus();
return false;
}

if (document.evaluation.spousereadingenglish.value=="")
{
window.alert ("Please indicate your spouses English reading ability!")
document.evaluation.spousereadingenglish.focus();
return false;
}

if (document.evaluation.spousewritingfrench.value=="")
{
window.alert ("Please indicate your spouses French writing ability!")
document.evaluation.spousewritingfrench.focus();
return false;
}

if (document.evaluation.spousewritingenglish.value=="")
{
window.alert ("Please indicate your spouses English writing ability!")
document.evaluation.spousewritingenglish.focus();
return false;
}

if (document.evaluation.spousesomeonecanada.value=="")
{
window.alert ("Please indicate if your spouse knows someone that lives in Canada!")
document.evaluation.spousesomeonecanada.focus();
return false;
}

if (document.evaluation.spousepostsecondarycanada.value=="")
{
window.alert ("Please indicate if your spouse has done postsecondary studies in Canada!")
document.evaluation.spousepostsecondarycanada.focus();
return false;
}

if (document.evaluation.spousetrainingcanada.value=="")
{
window.alert ("Please indicate if your spouse worked, or had training, in Canada!")
document.evaluation.spousetrainingcanada.focus();
return false;
}

if (document.evaluation.spousevisitcanada.value=="")
{
window.alert ("Please indicate if your spouse ever made other visits to Canada!")
document.evaluation.spousevisitcanada.focus();
return false;
}

}







if (document.evaluation.someonecanada.value == 'Yes') 
{

if (document.evaluation.fathermother.value=="")
{
window.alert ("Please indicate if your father, mother, brother, sister, children or spouse lives in Canada!")
document.evaluation.fathermother.focus();
return false;
}

if (document.evaluation.grandparents.value=="")
{
window.alert ("Please indicate if your grandparents live in Canada!")
document.evaluation.grandparents.focus();
return false;
}


if (document.evaluation.uncle.value=="")
{
window.alert ("Please indicate if your Uncle, aunt, nephew or niece live in Canada!")
document.evaluation.uncle.focus();
return false;
}

if (document.evaluation.friend.value=="")
{
window.alert ("Please indicate if your friends or cousins live in Canada!")
document.evaluation.friend.focus();
return false;
}

}


return true;


}

//-->

