function checkForm(){
	var theForm = document.ajout_login;

	if (theForm.email.value=="") {
		alert("Veuillez remplir le champ 'E-mail'");
		theForm.email.focus();
		return;
	}
	if (theForm.password.value=="") {
		alert("Veuillez remplir le champ 'Mot de passe'");
		theForm.password.focus();
		return;
	}

	theForm.action="identification.php";
	theForm.submit();
}

function checkForm2(){
	var theForm = document.ajout_login2;

	if (theForm.email.value=="") {
		alert("Veuillez remplir le champ 'E-mail'");
		theForm.email.focus();
		return;
	}

	theForm.action="oublie.php";
	theForm.submit();
}