	function validateForm001(langue)
   	{
   		strPrenom = document.getElementById('strPrenom');
   		strNom = document.getElementById('strNom');
   		strEmail = document.getElementById('strEmail');
   		strEmail2 = document.getElementById('strEmail2');
		strPhone = document.getElementById('strPhone');
		strLearnedAbout = document.getElementById('strLearnedAbout');
		strLearnedAboutOther = document.getElementById('strLearnedAboutOther');
		strRecaptcha = document.getElementById('recaptcha_response_field');
		strChallenge = document.getElementById('recaptcha_challenge_field');

        document.getElementById('strPrenomError').style.display = 'none';
        document.getElementById('strNomError').style.display = 'none';   		
   		document.getElementById('strEmailError').style.display = 'none';
   		document.getElementById('strEmail2Error').style.display = 'none';
		document.getElementById('strPhoneError').style.display = 'none';
		document.getElementById('strSecurityError').style.display = 'none';
		document.getElementById('strLearnedAboutError').style.display = 'none';
		document.getElementById('strLearnedAboutOtherError').style.display = 'none';
		
		
		strPrenom.style.borderColor = '#000000';
   		strNom.style.borderColor  = '#000000';
   		strEmail.style.borderColor  = '#000000';
   		strEmail2.style.borderColor  = '#000000';
		strPhone.style.borderColor = '#000000';
		strLearnedAbout.style.borderColor  = '#000000';
		strLearnedAboutOther.style.borderColor  = '#000000';
		

Invalide = true;
Focus = "";

if(strRecaptcha.value== '') 
   		{ 
		/*alert("REMOTE_ADDR")
		//alert ('Origine ' + Recaptcha.get_challenge()  +' Reponse '+ Recaptcha.get_response());
		 $.post("http://www.google.com/recaptcha/api/verify", { 
                            privatekey: "6LfWnr8SAAAAAG79JfWzsrBQMvgfVAxNdFThVm1M", 
                            remoteip: "64.15.129.111", 
                            challenge: Recaptcha.get_challenge(), 
                            response: Recaptcha.get_response() 
                        }); 
                         alert("REMOTE_ADDR") */
              /// alert(recaptcha_confirm(Recaptcha.get_challenge(), Recaptcha.get_response()));
		
   		    strRecaptcha.style.border = '2px solid #00fcff';
   		    document.getElementById('strSecurityError').style.display = 'inline';
   		    if(langue=="fr")
			{	
				document.getElementById('strSecurityError').innerHTML = '(pas identique)'; 
			}else{
				document.getElementById('strSecurityError').innerHTML = '(Not the same)'; 
			}			
       
			
			if(Focus=="")
			{
				Focus = "true"
				document.getElementById('recaptcha_response_field').focus();
			}
   		    Invalide = false;
   		}   
		
		

   		if(strPrenom.value == '') 
   		{ 
   		    strPrenom.style.border = '2px solid #00fcff';
   		    document.getElementById('strPrenomError').style.display = 'inline';
   		    if(langue=="fr")
			{	
				document.getElementById('strPrenomError').innerHTML = '(requis)'; 
			}else{
				document.getElementById('strPrenomError').innerHTML = '(required)'; 
			}
			if(Focus=="")
			{
				Focus = "true"
				document.getElementById('strPrenom').focus();
			}
			Invalide = false;
   		}
   		   		
   		if(strNom.value == '') 
   		{ 
   		    strNom.style.border = '2px solid #00fcff';
   		    document.getElementById('strNomError').style.display = 'inline';
   		    if(langue=="fr")
			{	
				document.getElementById('strNomError').innerHTML = '(requis)'; 
			}else{
				document.getElementById('strNomError').innerHTML = '(required)'; 
			}
			
			if(Focus=="")
			{
				Focus = "true"
				document.getElementById('strNom').focus();
			}
   		    Invalide = false;
   		}
   		
   		if(strEmail.value == '') 
   		{ 
   		    strEmail.style.border = '2px solid #00fcff';
   		    document.getElementById('strEmailError').style.display = 'inline';
   		    if(langue=="fr")
			{	
				document.getElementById('strEmailError').innerHTML = '(requis)'; 
			}else{
				document.getElementById('strEmailError').innerHTML = '(required)'; 
			}
			
			if(Focus=="")
			{
				Focus = "true"
				document.getElementById('strEmail').focus();
			}
   		    Invalide = false;
   		}

   		if(!isValidEmail(strEmail.value)) 
   		{ 
   		    strEmail.style.border = '2px solid #00fcff';   		    
   		    document.getElementById('strEmailError').style.display = 'inline';
   		    if(langue=="fr")
			{	
				document.getElementById('strEmailError').innerHTML = '(invalide)'; 
			}else{
				document.getElementById('strEmailError').innerHTML = '(invalid)'; 
			}
			if(Focus=="")
			{
				Focus = "true"
				document.getElementById('strEmail').focus();
			}
   		    Invalide = false;   		
   		}   		   		   		
   		
   		if(strEmail2.value == '') 
   		{ 
   		    strEmail2.style.border = '2px solid #00fcff';
   		    document.getElementById('strEmail2Error').style.display = 'inline';
   		    if(langue=="fr")
			{	
				document.getElementById('strEmail2Error').innerHTML = '(requis)'; 
			}else{
				document.getElementById('strEmail2Error').innerHTML = '(required)'; 
			}
			
			if(Focus=="")
			{
				Focus = "true"
				document.getElementById('strEmail2').focus();
			}
   		    Invalide = false;
   		}
		
   		if(strEmail.value != strEmail2.value) 
   		{ 
			strEmail2.style.border = '2px solid #00fcff';
   		    document.getElementById('strEmail2Error').style.display = 'inline';
   		    document.getElementById('strEmail2Error').innerHTML = '(pas identique)'; 
   		    if(langue=="fr")
			{	
				document.getElementById('strEmail2Error').innerHTML = '(pas identique)'; 
			}else{
				document.getElementById('strEmail2Error').innerHTML = '(Not the same)'; 
			}
			if(Focus=="")
			{
				Focus = "true"
				document.getElementById('strEmail2').focus();
			}
   		    Invalide = false;
   		}
		
   		if(strPhone.value == '') 
   		{ 
   		    strPhone.style.border = '2px solid #00fcff';
   		    document.getElementById('strPhoneError').style.display = 'inline';
   		    if(langue=="fr")
			{	
				document.getElementById('strPhoneError').innerHTML = '(requis)'; 
			}else{
				document.getElementById('strPhoneError').innerHTML = '(required)'; 
			}
			
			if(Focus=="")
			{
				Focus = "true"
				document.getElementById('strPhone').focus();
			}
   		    Invalide = false;
   		}
		
		
		if(strLearnedAbout.value == 'Choisissez') 
   		{ 
   		    strLearnedAbout.style.border = '2px solid #00fcff';
   		    document.getElementById('strLearnedAboutError').style.display = 'inline';
   		    if(langue=="fr")
			{	
				document.getElementById('strLearnedAboutError').innerHTML = '(requis)'; 
			}else{
				document.getElementById('strLearnedAboutError').innerHTML = '(required)'; 
			}
			
			if(Focus=="")
			{
				Focus = "true"
				strLearnedAbout.focus();
			}
   		    Invalide = false;
   		}
		if(strLearnedAbout.value == 'Autre')
		{
			if(strLearnedAboutOther.value == '') 
			{ 
				strLearnedAboutOther.style.border = '2px solid #00fcff';
				document.getElementById('strLearnedAboutOtherError').style.display = 'inline';
   		    if(langue=="fr")
			{	
				document.getElementById('strLearnedAboutOtherError').innerHTML = '(requis)'; 
			}else{
				document.getElementById('strLearnedAboutOtherError').innerHTML = '(required)'; 
			}
				
				if(Focus=="")
				{
					Focus = "true"
					strLearnedAboutOther.focus();
				}
				Invalide = false;
			}
		}
   		


		
		if(Invalide != false)
		{
   			return true;
		}else
		{
			return false;	
		}
	}

	
   	function isValidEmail(str) 
   	{
        return (str.lastIndexOf(".") > 2) && (str.indexOf("@") > 0) && (str.lastIndexOf(".") > (str.indexOf("@")+1)) && (str.indexOf("@") == str.lastIndexOf("@"));
    }
	
	function validCaptcha(original, tobe){
	info = document.getElementById(original).value;
	a = document.getElementById(original).id;
	a = a+"_err";
	if(info.toUpperCase() != tobe.toUpperCase() && info != ""){
		if(/^[a-zA-Z\s][0-9]*$/.test(document.getElementById(original).value) || !noSpace(original)){
			document.getElementById(a).innerHTML = "Caractère non-autorisé";
			
		}else{
			document.getElementById(a).innerHTML = "Non-identique";
			document.getElementById(original).style.borderColor = "#ff0000";
			
		}
		ERR = 1;
	}else{
		if(info == ""){
			document.getElementById(a).innerHTML = "Requis";
			document.getElementById(original).style.borderColor = "#ff0000";
			
		ERR = 1;
		}else{
			document.getElementById(a).innerHTML = "";
			document.getElementById(original).style.borderColor = "";
		ERR = 0;
		}
	}
	return ERR;
}
