function affiche_pied(){
 
	elmt = document.getElementById("siteInfo");
	if (elmt==null) {
		alert("siteInfo null !!");
	}
	else{
	
	elmt.innerHTML = "&copy; 2002-2007 Diat&eacute;lic | <a href='mailto:nephrolor@chu-nancy.fr'>Nous contacter</a> | <a href='plan.html'>Plan du Site</a>";
	}

}


function affiche_global(){
 
	elmt = document.getElementById("globalLink");
	if (elmt==null) {
		alert("globalLink null !!");
	}
	else{
		elmt.innerHTML = "<span style='width:20%'>&nbsp;</span><a href='#' id='gl1' class='glink' onmouseover='ehandler(event,menuitem1);'>Site</a>"
	  		+"<a href='#' id='gl2' class='glink' onmouseover='ehandler(event,menuitem2);'>Association</a>"
	 		+"<a href='#' id='gl3' class='glink' onmouseover='ehandler(event,menuitem3);'>Insuffisance R&eacute;nale</a>"
	  		+"<a href='https://www.diasecure.net/nlp/index.jsp' class='llink' >Espace m&eacute;dical</a>";
			
	 		/*
		 		+" &nbsp;<form id='search' target='_blank' name='formu' action='https://www.diasecure.net/nlp/login.jsp' method='post'>"
				+"<input type='hidden' size='3' name='ope' value='identif'>"
				+"	Identifiant <input type='text' size='10' name='login'>"
				+"&nbsp;&nbsp;&nbsp;Mot de passe <input type='password' size='10' name='password'>"
				+"<input type='submit' name='go' value=' OK ' title='Entrer'>"
				+"</form>";
		 	*/
	}
	
	
	elmt = document.getElementById("subglobal1");
	if (elmt==null) {
		alert("globalLink null !!");
	}
	else{
		elmt.innerHTML = "<a href='index.html'>Accueil</a> | <a href='demande.html'>S'inscrire</a>"
			+" | <a href='mailto:support@nephrolor.org'>Nous &eacute;crire</a> ";
	}


	elmt = document.getElementById("subglobal2");
	if (elmt==null) {
		alert("subglobal2 null !!");
	}
	else{
		elmt.innerHTML = "<a href='contexte.html'>Contexte</a> | <a href='asso.html'>Pr&eacute;sentation</a>"
		+" | <a href='statuts.html'>Statuts</a>  ";
	}
	
	elmt = document.getElementById("subglobal3");
	if (elmt==null) {
		alert("subglobal3 null !!");
	}
	else{
		elmt.innerHTML = "<a href='definition.html'>D&eacute;finition</a> | <a href='structures.html'>Structures lorraines</a>"
		+" | <a href='rein.html'>REIN Lorraine</a> | <a href='liens.html'>Liens utiles </a>	";
	}
	
	
}

function affiche_corps(no){
	elmt = document.getElementById("corps");

	if (elmt!=null) elmt.innerHTML=txt[no];
	else alert("c'est trop nul!!!");

}

function afficher(no){
	elmt = document.getElementById("lu"+no);
	if (elmt==null) alert("pas trouve l'element lu"+no);
	else elmt.style.display = "inline";
	elmt = document.getElementById("lire"+no);
	if (elmt==null) alert("pas trouve l'element lire"+no);
	else elmt.style.display = "none";

}

function masquer(no){
	elmt = document.getElementById("lu"+no);
	elmt.style.display = "none";
	
	elmt = document.getElementById("lire"+no);
	elmt.style.display = "inline";
}


 function verif() {

        formu = document.formul;
        
        numero = formu.numero.value;
        tel = formu.tel.value;
        nom = formu.nom.value;
        prenom = formu.prenom.value;
        email = formu.email.value;
       /* type = formu.utype.value;*/
        
if ((nom==null)||(nom.length==0)){
                alert("Vous devez saisir votre nom !");
                        formu.nom.focus();
        }
        else if((prenom==null)||(prenom.length==0)){
                alert("Vous devez saisir votre pr\u00e9nom !");
                        formu.prenom.focus();
        }
        else if((numero==null)||(numero.length==0)){
                alert("Vous devez saisir votre lieu d'exercice !");
                        formu.numero.focus();
        }
        else if((tel==null)||(tel.length==0)){
                alert("Vous devez saisir un numero de t\u00e9l\u00e9phone !");
                        formu.tel.focus();
        }
        else if(!vtel(tel)){
                alert("Vous devez saisir un numero de t\u00e9l\u00e9phone valide (10 chiffres) !");
                        formu.tel.select();
        }
        else if((email==null)||(email.length==0)){
                alert("Vous devez saisir une adresse email valide !");
                        formu.email.focus();        
        }
        else if (!verifemail(email)){
                alert("Vous devez saisir une adresse email valide !");
                formu.email.select();
        }
        else {
                formu.value='Nouveau';
                formu.submit();
                formu.Action.value='';
        }
}        
