// Form part
function validation() { 
	if(document.contact.nom.value == "") { 
		alert ('Veuillez entrer votre nom.'); 
		document.contact.nom.focus(); 
		return false; 
	}
	var email = document.contact.courriel.value; 
	if (email.search(/^[a-z0-9._-]+[^._-]@[a-z0-9._-]+([a-z0-9]+[^._-])?[.-]+[a-z0-9]{2,4}$/) == -1) { 
		alert ('Entrez un courriel valide.'); 
		document.contact.courriel.focus(); 
		return false; 
	} 
	if(document.contact.captcha.value == "") { 
		alert ('Veuillez entrer un code verification.'); 
		document.contact.captcha.focus(); 
		return false; 
	}
else {return true;}
}
