// JavaScript Document
 function testconnexion(theform)
{
 if (theform.login.value=="")
  {
    alert("Saisissez un nom d'utilisateur\".");
    theform.login.focus();
    return (false);
  }

 if (theform.motdepasse.value=="")
  {
    alert("Saisissez un mot de passe\".");
    theform.motdepasse.focus();
    return (false);
  }
 
 else return(true);

}


function testconnexion2(theform)
{
 if (theform.login2.value=="")
  {
    alert("Saisissez un nom d'utilisateur\".");
    theform.login2.focus();
    return (false);
  }

 if (theform.motdepasse2.value=="")
  {
    alert("Saisissez un mot de passe\".");
    theform.motdepasse2.focus();
    return (false);
  }
 
 else return(true);

}
//////////////////////////////////////////////////////
function testjeux(theform2)
{
 if (theform2.nom.value=="")
  {
    alert("Saisissez votre nom\".");
    theform2.nom.focus();
    return (false);
  }
if (theform2.prenom.value=="")
  {
    alert("Saisissez votre prenom\".");
    theform2.prenom.focus();
    return (false);
  }
 if (theform2.mail.value=="")
  {
    alert("Saisissez votre mail\".");
    theform2.mail.focus();
    return (false);
  }
  

 if (theform2.ville.value=="")
  {
    alert("Saisissez votre ville\".");
    theform2.ville.focus();
    return (false);
  }
  if (theform2.secteur.value=="")
  {
    alert("Saisissez votre secteur\".");
    theform2.secteur.focus();
    return (false);
  }
   if (theform2.telephone.value=="")
  {
    alert("Saisissez votre telephone\".");
    theform2.telephone.focus();
    return (false);
  }
    if (theform2.reponse1.value=="")
  {
    alert("Saisissez la reponse1\".");
    theform2.reponse1.focus();
    return (false);
  }
   if (theform2.reponse2.value=="")
  {
    alert("Saisissez la reponse2\".");
    theform2.reponse2.focus();
    return (false);
  }
   if (theform2.reponse3.value=="")
  {
    alert("Saisissez la reponse3\".");
    theform2.reponse3.focus();
    return (false);
  }
   if (theform2.reponse4.value=="")
  {
    alert("Saisissez la reponse4\".");
    theform2.reponse4.focus();
    return (false);
  }
   if (theform2.reponse5.value=="")
  {
    alert("Saisissez la reponse5\".");
    theform2.reponse5.focus();
    return (false);
  }
 else return(true);
}
/////////////////////////////////////////////////
function testdebat(theform2)
{
 if (theform2.nomprenom.value=="")
  {
    alert("Saisissez votre identité\".");
    theform2.nomprenom.focus();
    return (false);
  }

 if (theform2.mail.value=="")
  {
    alert("Saisissez votre mail\".");
    theform2.mail.focus();
    return (false);
  }
  

 if (theform2.ville.value=="")
  {
    alert("Saisissez votre ville\".");
    theform2.ville.focus();
    return (false);
  }
  if (theform2.secteur.value=="")
  {
    alert("Saisissez votre secteur\".");
    theform2.secteur.focus();
    return (false);
  }
   if (theform2.telephone.value=="")
  {
    alert("Saisissez votre telephone\".");
    theform2.telephone.focus();
    return (false);
  }
    if (theform2.texte.value=="")
  {
    alert("Saisissez votre message\".");
    theform2.texte.focus();
    return (false);
  }
 else return(true);
}
//////////////////////////////////////////
function testtelecharger(theform2)
{
	

 if (theform2.mail.value=="")
  {
    alert("Saisissez le mail\".");
    theform2.mail.focus();
    return (false);
  }

 else return(true);
}



function testdiscours(theform2)
{
 if (theform2.intitule.value=="")
  {
    alert("Saisissez l'intitulé\".");
    theform2.intitule.focus();
    return (false);
  }

 if (theform2.date.value=="")
  {
    alert("Saisissez la date du discours\".");
    theform2.date.focus();
    return (false);
  }
  

 if (theform2.identite.value=="")
  {
    alert("Saisissez l'identité\".");
    theform2.identite.focus();
    return (false);
  }
  if (theform2.nomphoto.value=="")
  {
    alert("Saisissez le nom de la photo\".");
    theform2.nomphoto.focus();
    return (false);
  }
   if (theform2.longueur.value=="")
  {
    alert("Saisissez la longueur de l'image\".");
    theform2.longueur.focus();
    return (false);
  }
    if (theform2.hauteur.value=="")
  {
    alert("Saisissez la hauteur de l'image\".");
    theform2.hauteur.focus();
    return (false);
  }
   if (theform2.texte.value=="")
  {
    alert("Saisissez le discours\".");
    theform2.texte.focus();
    return (false);
  }
 else return(true);
}
//////////////////////////////////////////
function testtelecharger(theform2)
{
	

 if (theform2.mail.value=="")
  {
    alert("Saisissez le mail\".");
    theform2.mail.focus();
    return (false);
  }

 else return(true);
}
/////////////////////////////////////////////////////////////
function testbp(theform2)
{
 if (theform2.poste.value=="")
  {
    alert("Saisissez le poste\".");
    theform2.poste.focus();
    return (false);
  }

 if (theform2.nom.value=="")
  {
    alert("Saisissez le nom\".");
    theform2.nom.focus();
    return (false);
  }
  

 if (theform2.prenom.value=="")
  {
    alert("Saisissez le prenom\".");
    theform2.prenom.focus();
    return (false);
  }
  if (theform2.ville.value=="")
  {
    alert("Saisissez la ville\".");
    theform2.ville.focus();
    return (false);
  }
  
 else return(true);
}
//////////////////////////////////////////
function testtelecharger(theform2)
{
	

 if (theform2.mail.value=="")
  {
    alert("Saisissez le mail\".");
    theform2.mail.focus();
    return (false);
  }

 else return(true);
} 

function testidee(theform2)
{
	

 if (theform2.texte.value=="")
  {
    alert("Saisissez le texte\".");
    theform2.texte.focus();
    return (false);
  }

 else return(true);
} 
/////////////////////////////////////////////////////////////
function testadhesion(theform)
{
 

 if (theform.nomprenom.value=="")
  {
    alert("Saisissez votre identité\".");
    theform.nomprenom.focus();
    return (false);
  }

 if (theform.telephone.value=="")
  {
    alert("Saisissez votre telephone\".");
    theform.telephone.focus();
    return (false);
  }
 if (theform.mail.value=="")
  {
    alert("Saisissez votre mail\".");
    theform.mail.focus();
    return (false);
  }
 if (theform.texte.value=="")
  {
    alert("Saisissez votre texte\".");
    theform.texte.focus();
    return (false);
  }
 
 else return(true);

}


function testmillitantmois(theform2)
{
 if (theform2.mois.value=="")
  {
    alert("Saisissez le mois\".");
    theform2.mois.focus();
    return (false);
  }

 if (theform2.nomphoto.value=="")
  {
    alert("Saisissez le nom de la photo\".");
    theform2.nomphoto.focus();
    return (false);
  }
  if (theform2.longueur.value=="")
  {
    alert("Saisissez la longueur de la photo\".");
    theform2.longueur.focus();
    return (false);
  }
  if (theform2.hauteur.value=="")
  {
    alert("Saisissez la hauteur de la photo\".");
    theform2.hauteur.focus();
    return (false);
  }
   if (theform2.texte.value=="")
  {
    alert("Saisissez le merite\".");
    theform2.texte.focus();
    return (false);
  }
  else return(true);
  }
  
  ///////////////////////////////////////////////////////////////////////
  function testaccueil(theform2)
{
 if (theform2.intitule.value=="")
  {
    alert("Saisissez l'intitulé\".");
    theform2.intitule.focus();
    return (false);
  }

 if (theform2.nomphoto.value=="")
  {
    alert("Saisissez le nom de la photo\".");
    theform2.nomphoto.focus();
    return (false);
  }
  if (theform2.longueurphoto.value=="")
  {
    alert("Saisissez la longueur de la photo\".");
    theform2.longueurphoto.focus();
    return (false);
  }
  if (theform2.hauteurphoto.value=="")
  {
    alert("Saisissez la hauteur de la photo\".");
    theform2.hauteurphoto.focus();
    return (false);
  }
   if (theform2.texte.value=="")
  {
    alert("Saisissez le texte\".");
    theform2.texte.focus();
    return (false);
  }
  else return(true);
  }
  
  
  function testmembre(theform2)
{
 if (theform2.nomprenom.value=="")
  {
    alert("Saisissez l'identité\".");
    theform2.nomprenom.focus();
    return (false);
  }

 if (theform2.motdepasse.value=="")
  {
    alert("Saisissez le mot de passe\".");
    theform2.motdepasse.focus();
    return (false);
  }
  

 if (theform2.ville.value=="")
  {
    alert("Saisissez la ville\".");
    theform2.ville.focus();
    return (false);
  }
  if (theform2.secteur.value=="")
  {
    alert("Saisissez le secteur\".");
    theform2.secteur.focus();
    return (false);
  }
  
 else return(true);
}

///////////////////////////////////////////////////////////////////////
  function testdepute(theform2)
{
 if (theform2.nom.value=="")
  {
    alert("Saisissez le nom du depute\".");
    theform2.nom.focus();
    return (false);
  }

 if (theform2.prenom.value=="")
  {
    alert("Saisissez le le prenom du depute\".");
    theform2.prenom.focus();
    return (false);
  }
  

 if (theform2.nomphoto.value=="")
  {
    alert("Saisissez le nom de la photo\".");
    theform2.nomphoto.focus();
    return (false);
  }
  if (theform2.longueurphoto.value=="")
  {
    alert("Saisissez la longueur de la photo \".");
    theform2.longueurphoto.focus();
    return (false);
  }
  
 else return(true);
}

