	/**
	*
	*
	*
	*
	*
	*/
	function verifInscription(){
		var mesg = '';
		mesg +=champVide("nom_ins"," - Nom ");

		mesg +=champVide("prenom_ins"," - Prénom ");
		
		mesg +=mailValide("email_ins");
		mesg +=champVide("email_ins"," - Email ");
		mesg +=champDeuxCompare("email_ins", "email_conf_ins", " - Confirmation mail invalide !" );		
		
		mesg +=champVide("password_ins"," - Mot de passe  ");
		mesg +=champDeuxCompare("password_ins", "password_conf_ins", " - Confirmation  mot de passe invalide !" );		

		mesg += champVide("tel_ins"," - Téléphone ");
		mesg += champVide("adresse_ins"," - Adresse ");
		mesg += champVide("ville_ins"," - Ville ");
		mesg += champVide("code_postale_ins"," - Code Postal ");
		mesg += champVide("region_ins"," - Région ");
		mesg += champVide("pays_ins"," - Pays ");
		mesg += champVide("niveau_etude_ins"," - Niveau d'étude ");
		mesg += champVide("niveau_experience_ins"," - Niveau d'expérience ");
		mesg += champVide("motorise_ins"," - Motorisé  ");
		mesg += champVide("situation_ins"," - Situation actuelle ");
		mesg += champVide("etat_civil_ins"," - Etat civil ");
		mesg += champVide("motorise_ins"," - Motorisé  ");
		mesg += confirmation("metier_ins", " - Vous devez choisir un métier");
		mesg += champVide("code_captcha_ins", " - Tapez le code affiché ");
		mesg += verifChekced("accepter", "Vous devez accepter les Conditions Générales d'Utilisation de Keejob ");
		mesg += verifExtention();
		if(mesg==""){
			document.frm_inscription.submit();	
		}else{
			alert(mesg);
		}
	}
	/**
	*
	*
	*
	*
	*
	*/
	function verifUpdprofil(){
		var mesg = '';
		mesg +=champVide("nom_ins"," - Nom ");
		mesg +=champVide("prenom_ins"," - Prénom ");
		mesg +=champVide("tel_ins"," - Téléphone ");
		mesg +=champVide("adresse_ins"," - Adresse ");
		mesg +=champVide("ville_ins"," - Ville ");
		mesg +=champVide("code_postale_ins"," - Code Postal ");
		mesg +=champVide("region_ins"," - Région ");
		mesg +=champVide("pays_ins"," - Pays ");
		mesg +=champVide("niveau_etude_ins"," - Niveau d'étude ");
		mesg +=champVide("niveau_experience_ins"," - Niveau d'expérience ");
		mesg +=confirmation("metier_ins", " - Vous devez choisir un métier");
		mesg +=champVide("motorise_ins"," - Motorisé  ");
		mesg +=champVide("situation_ins"," - Situation actuelle ");
		mesg +=champVide("etat_civil_ins"," - Etat civil ");
		mesg +=champVide("motorise_ins"," - Motorisé  ");
		mesg +=verifExtention();
		if(mesg==''){
			document.frm_inscription.submit();
		}else{
			alert(mesg);
		}
	}
	/**
	*
	*
	*/
	function verifPassword(){
		var mesg = '';
		mesg +=champVide("password_actuelle","Mot de passe actuelle");
		mesg +=champVide("password_new","Nouveau mot de passe");
		mesg +=champVide("password_confirm","Confirmation mot de passe ");
		mesg +=champDeuxCompare("password_new","password_confirm", "Confirmation password invalide ");
		if(mesg==''){
			document.frm_inscription.submit();
			return true;	
		}else{
			alert(mesg);
			return false;
		}
	}
	/**
	*
	*
	*/
	function verifMail(){
		var mesg = '';
		mesg +=champVide("email_pass"," - Email ");
		mesg += mailValide('email_pass');	
		if(mesg==''){
			document.frm_password.submit();	
		}else{
			alert(mesg);
		}
	}
	/**
	*
	*
	*
	*
	*
	*/
	function confirmation(field){
		
		var mesg = "";
		var actif = 0;
		if(document.getElementById('nbr_metier_ins')){
			if(document.getElementById('nbr_metier_ins').value<0){
				mesg+=(" - Vous devez choisir au moins un métier. \n\r");
				return mesg;
			}else{
				return mesg;
			}
		}else{
			mesg+=(" - Vous devez choisir au moins un métier. \n\r");
			return mesg;
		}
	}
	/**
	*
	*
	*
	*
	*
	*/
	function check_metier(){
		var actif = 0;
		for (i=0; i < document.frm_inscription.metier_ins.length; i++) {
			if(document.frm_inscription.metier_ins[i].checked == true){
				document.getElementById('td_metier'+document.frm_inscription.metier_ins[i].value).style.background='#C9DEEA';
				actif++;	
			}else{
				document.getElementById('td_metier'+document.frm_inscription.metier_ins[i].value).style.background='#FFFFFF';
			}
		}	
		if(actif==0){
			document.getElementById('text_metier').innerHTML=' Sélectionnez';
		}else if(actif==1){
			document.getElementById('text_metier').innerHTML=actif+' métier sélectionné';
		}else{
			document.getElementById('text_metier').innerHTML=actif+' métiers sélectionnés';
		}
		
	}
	/**
	*
	*
	*
	*
	*
	*/
	function check_metier_annonce(){
		var actif = 0;
		for (i=0; i < document.frm_anonce.metier_ins.length; i++) {
			if(document.frm_anonce.metier_ins[i].checked == true){
				document.getElementById('td_metier'+document.frm_anonce.metier_ins[i].value).style.background='#C9DEEA';
				actif++;	
			}else{
				document.getElementById('td_metier'+document.frm_anonce.metier_ins[i].value).style.background='#FFFFFF';
			}
		}	
		if(actif==0){
			document.getElementById('text_metier').innerHTML=' Sélectionnez';
		}else if(actif==1){
			document.getElementById('text_metier').innerHTML=actif+' métier sélectionné';
		}else{
			document.getElementById('text_metier').innerHTML=actif+' métiers sélectionnés';
		}
		
	}
