/********************
Verification Emploi
*********************/
function verif_Form()
{
	if(document.Form.societe.value == "")
	{
		alert("Veuillez entrer le nom de votre Société  - SVP");
		document.Form.societe.focus();
		return false;
	}
	
	if(document.Form.nom.value == "")
	{
		alert("Veuillez entrer le nom de la personne à contacter - SVP");
		document.Form.nom.focus();
		return false;
	}
	
	
	if(document.Form.mail.value == "" || document.Form.mail.value.indexOf('@',0)==-1 || document.Form.mail.value.indexOf('.',0)==-1)
	{
		alert("Veuillez entrer une adresse Email valide - SVP");
		document.Form.mail.focus();
		return false;
	}
	
	if(document.Form.mail.value != document.Form.mail2.value)
	{
		alert("Veuillez confirmer votre adresse Email - SVP");
		document.Form.mail.focus();
		document.Form.mail2.focus();
		return false;
	}

	
	if(document.Form.tel.value == "")
	{
		alert("Veuillez entrer votre Téléphone - SVP");
		document.Form.tel.focus();
		return false;
	}
	
	
	if(document.Form.poste.value == "")
	{
		alert("Veuillez entrer l'intitulé du poste à pourvoir - SVP");
		document.Form.poste.focus();
		return false;
	}
	
	if(document.Form.descrip.value == "")
	{
		alert("Veuillez entrer votre description de poste - SVP");
		document.Form.descrip.focus();
		return false;
	}
	
	if(document.Form.lieu.value == "")
	{
		alert("Veuillez entrer le lieu du poste - SVP");
		document.Form.lieu.focus();
		return false;
	}
	
	if(document.Form.debut.value == "")
	{
		alert("Veuillez entrer la date de début - SVP");
		document.Form.debut.focus();
		return false;
	}
	

	if(document.Form.contrat.value == "")
	{
		alert("Veuillez entrer le type de contrat - SVP");
		document.Form.contrat.focus();
		return false;
	}
	
	
}


/*********************************
 Fonctions accueil, favoris, rss
*********************************/

function ajoutFavori(){
	if (document.all){ // For IE
		 window.external.AddFavorite(location.href, document.title);
	}	else if (window.sidebar){ // For Firefox
		 window.sidebar.addPanel(document.title, location.href, "");
	}
}
function ajoutAccueil(obj){
	if (document.all){ // For IE
		obj.style.behavior='url(#default#homepage)';
		obj.setHomePage('http://www.memento.fr');
	}	else if (window.sidebar){ // For Firefox
		alert('Votre navigateur n\'autorise pas cette fonction');
	}
}









