function showIndificationMessage(typemsg) {
	alertMsg = document.getElementById('authmessage');
	if(typemsg == 'lck') {
		alertMsg.innerHTML = 'Attention, vous avez dépassé le nombre de tentatives de connexions ';
		window.top.document.getElementById('topidentification').style.height="260px";
		window.top.document.getElementById('topidentification_bas').style.height="245px";
		window.top.document.getElementById('topidentification_iframe').style.height="100%"
		
	} else if(typemsg == 'mesinc') {
		
		alertMsg.innerHTML = ' Merci de vérifier votre adresse email et votre mot de passe. <br/>Attention, le nombre de tentatives de connexion est limité.<br/> Au-delà de trois, nous vous inviterons à renouveler votre visite ultérieurement. ';
		window.top.document.getElementById('topidentification').style.height="300px";
		window.top.document.getElementById('topidentification_bas').style.height="320px";
		window.top.document.getElementById('topidentification_iframe').style.height="100%"
		
	}
	
	alertMsg.style.display='block';
}

function CheckFormAuth() {
	
	obj = document.getElementById('authentification'); 
	checktest = true;
	strAlert  = "";
	// remise a zero des alertes //
	if (isBlank(obj.SUBSCRIBER_EMAIL.value) ||!isMail(obj.SUBSCRIBER_EMAIL.value)) {
		strAlert = strAlert + "Merci de remplir le champ \"Email\" avec une adresse email valide<br\>";
		checktest = false;
	}
	if (isBlank(obj.SUBSCRIBER_PASSWORD.value)) {
		strAlert = strAlert + "Merci de remplir le champ \"mot de passe\"<br\>";
		checktest = false;
	}
	if(checktest) {
		obj.submit();
	} else {
		if(strAlert != ""){
			window.top.document.getElementById('topidentification').style.height="290px";
			window.top.document.getElementById('topidentification_bas').style.height="265px";
			window.top.document.getElementById('topidentification_iframe').style.height="100%"
		}
		alertMsg = document.getElementById('authmessage');
		alertMsg.innerHTML = strAlert;
		alertMsg.style.display='block';
		return false;
	}
	
}