function isMail(mail)
{
	er=/^[a-zA-Z0-9\-_]+[a-zA-Z0-9\.\-_]*@[a-zA-Z0-9\-_]+\.[a-zA-Z0-9\-_]{1,}/
	er.compile;
	return er.test(mail);
}
function isNum(val)
{
	er=/^\d+[\.|,]{0,1}\d*$/
	return er.test(val);
}
function isLoginPass(mot)
{
	er=/^[a-zA-Z0-9]{5,15}$/
	er.compile;
	return er.test(mot);
}
function isURL(mot)
{
	er=/^(http|ftp|https):\/\/[\w\-_]+(\.[\w\-_]+)+([\w\-\.,@?^=%&amp;:/~\+#]*[\w\-\@?^=%&amp;/~\+#])?$/
	er.compile;
	return er.test(mot);
}
function affichemotpasse()
{
	document.getElementById("motpasse").style.display="block";
}
function afficheattente()
{
	document.getElementById("filigrane2").style.display="block";
	document.getElementById("attentebox").style.display="block";
	document.getElementById('attentebox').focus();
}