function verifCandidatureSpontanee(form){
	if(form.myNom.value ==""){
		alert("Votre nom est un champ obligatoire.");
		form.myNom.focus();
		return;
	}
	if(form.myPrenom.value ==""){
		alert("Votre prénom est un champ obligatoire.");
		form.myPrenom.focus();
		return;
	}
	if(form.myAdresse.value ==""){
		alert("Votre adresse est un champ obligatoire.");
		form.myAdresse.focus();
		return;
	}
	if(form.myTel.value ==""){
		alert("Votre numéro de téléphone est un champ obligatoire.");
		form.myTel.focus();
		return;
	}
	if(form.myEmail.value ==""){
		alert("Votre adresse e-mail est un champ obligatoire.");
		form.myEmail.focus();
		return;
	}
	if(form.Fichier_joint.value ==""){
		alert("Votre CV (max 1 Mo) est un champ obligatoire.");
		form.Fichier_joint.focus();
		return;
	}
	if(form.Fichier_joint2.value ==""){
		alert("Votre lettre de motivation (max 1 Mo) est un champ obligatoire.");
		form.Fichier_joint2.focus();
		return;
	}
	//N'accepter que les fichiers .doc et .rtf pour les CVs et lettre de motivation
	temp = form.Fichier_joint.value.split('.');
	sExtension = temp.pop().toString();
	if(sExtension!="txt" && sExtension!="doc" && sExtension!="rtf"){
		alert("Seuls les formats txt, doc et rtf sont acceptés pour les fichiers joints.");
		return;
	}
	temp = form.Fichier_joint2.value.split('.');
	sExtension = temp.pop().toString();
	if(sExtension!="txt" && sExtension!="doc" && sExtension!="rtf"){
		alert("Seuls les formats txt, doc et rtf sont acceptés pour les fichiers joints.");
		return;
	}
	//Masques de saisie
	if((form.myEmail.value.indexOf("@") == -1 ) || ( form.myEmail.value.indexOf("@") == 0 ) || ( form.myEmail.value.indexOf("@") != form.myEmail.value.lastIndexOf("@") ) || ( form.myEmail.value.indexOf(".") == form.myEmail.value.indexOf("@")-1 ) || ( form.myEmail.value.indexOf(".") == form.myEmail.value.indexOf("@") +1 ) || ( form.myEmail.value.indexOf("@") == form.myEmail.value.length -1 ) || ( form.myEmail.value.indexOf (".") == -1 ) || ( form.myEmail.value.lastIndexOf (".") == form.myEmail.value.length -1 ) ){
		alert("Votre adresse e-mail n'est pas au bon format. Veuillez la vérififier.");
		form.myEmail.focus();
		return;
	}
	form.submit();
}
function verifInscriptionJournee(form){
	if(form.myNom.value ==""){
		alert("Votre nom est un champ obligatoire.");
		form.myNom.focus();
		return;
	}
	if(form.myPrenom.value ==""){
		alert("Votre prénom est un champ obligatoire.");
		form.myPrenom.focus();
		return;
	}
	if(form.myTel.value ==""){
		alert("Votre numéro de téléphone est un champ obligatoire.");
		form.myTel.focus();
		return;
	}
	if(form.myEmail.value ==""){
		alert("Votre adresse e-mail est un champ obligatoire.");
		form.myEmail.focus();
		return;
	}
	if(form.Fichier_joint.value ==""){
		alert("Votre CV (max 1 Mo) est un champ obligatoire.");
		form.Fichier_joint.focus();
		return;
	}
	//N'accepter que les fichiers .doc et .rtf pour les CVs et lettre de motivation
	temp = form.Fichier_joint.value.split('.');
	sExtension = temp.pop().toString();
	if(sExtension!="txt" && sExtension!="doc" && sExtension!="rtf"){
		alert("Seuls les formats txt, doc et rtf sont acceptés pour les fichiers joints.");
		return;
	}
	//Masques de saisie
	if((form.myEmail.value.indexOf("@") == -1 ) || ( form.myEmail.value.indexOf("@") == 0 ) || ( form.myEmail.value.indexOf("@") != form.myEmail.value.lastIndexOf("@") ) || ( form.myEmail.value.indexOf(".") == form.myEmail.value.indexOf("@")-1 ) || ( form.myEmail.value.indexOf(".") == form.myEmail.value.indexOf("@") +1 ) || ( form.myEmail.value.indexOf("@") == form.myEmail.value.length -1 ) || ( form.myEmail.value.indexOf (".") == -1 ) || ( form.myEmail.value.lastIndexOf (".") == form.myEmail.value.length -1 ) ){
		alert("Votre adresse e-mail n'est pas au bon format. Veuillez la vérififier.");
		form.myEmail.focus();
		return;
	}
	form.submit();
}
