<!-- 

// fonctions cookies déjà connues par adherents.js
// => à mettre dans la page HTML après adherents.js

function remplir_case_emploi() // 
//---------------------------
{
var identifiant = GetCookie('popai'); // cookie adhérents prioritaire !

if (identifiant == null)
	{
	identifiant = GetCookie('popai_lambda'); // sinon cookie entreprise lambda
	}

// inscription de l'identifiant dans la case :
//
if (identifiant != null)
	{
	document.formulaire_emploi.Identifiant.value = identifiant;
	}
}

function zone_emploi()
//--------------------
{
var rens_k = document.formulaire_emploi.Identifiant.value;

if (rens_k.length == 0)
	{ alert("\nPouvez-vous indiquer votre code d'accès ?"); return; }

else if (rens_k.length != 4 && rens_k.length != 6) // 4 chiffres pour adhérents POPAI // 6 chiffres pour entreprise lambda
	{ alert("\nCode d'accès non valide !"); return; }


// envoi
//-------
document.formulaire_emploi.submit();
}

//-->