<!--
function VerifiePseudo(item,ch) {
returnVal=true

var validchar=/^([a-zA-Z0-9_\-])+$/
if (ch=="") {
    alert("SVP le champ " + item.name +" est vide")
    returnVal=false;
    }
if ((returnVal)&&(!validchar.test(ch) )) {
    alert("SVP le champ " + item.name +" contient des caracteres non valides")
    returnVal=false
	}
return returnVal
}

function verifieConnect(theform) {
ok=true
theform=document.forms["formulaireconnect"];

if (ok==true) {
	ok=VerifiePseudo(theform.pseudo,theform.pseudo.value);
	}
	
if (ok==true) {
	ok=VerifiePseudo(theform.mdp,theform.mdp.value);
	}
	

			
if ((ok==true)) {
	//alert("TOUT EST OK");
	theform.submit()
	}
else {
	//alert("TOUT EST pas OK");
	}
}

////////////////////////////////////////////////////////////////////////
function verifieOublie(theform) {
ok=true
theform=document.forms["formulaireconnect"];


if (ok==true) {
	ok=VerifiePseudo(theform.pseudo,theform.pseudo.value);
	}
	
return ok;
}
-->