<!--
function checkmail(ch5) {
          var reg = /^[a-z0-9._-]+@[a-z0-9.-]{2,}[.][a-z]{2,4}$/
          return (reg.exec(ch5)!=null)
            }

function test(ch5) {
     if(!checkmail(ch5.value)) {
            alert("Saisissez une adresse E-mail valide SVP !"); ch5.focus(); return false;
         }
         return true;
      }
	  
function chiffres(nombre) {
         for (i=0;i<=nombre.length-1;i++)
	       {
	     if ((nombre.charAt(i)<'0') || (nombre.charAt(i)>'9'))
		     return false;
	        }
          return true;
         }
		 
function test(ch1,ch2,ch3,ch5) {
    	if(ch1.value=="") {
            alert("Champ Nom \nIndiquez votre Nom  SVP !"); ch1.focus(); return false;
          } 
		   else if(ch2.value=="") {
            alert("Champ Prénom \nIndiquez votre Prénom  SVP !"); ch2.focus(); return false;
          }  
		else if(ch3.value=="") {
            alert("Champ Ville \nIndiquez votre Ville  SVP !"); ch3.focus(); return false;
          }   
		 else if(!checkmail(ch5.value)) {
            alert("Champ E-mail non conforme !"); ch5.focus(); return false;
         }
         return true;
      }
 //-->

