	function validateForm001(langue)
   	{

var option =document.frmVendez.txtSujet.selectedIndex;

   		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');
		strSecurity = document.getElementById('strSecurity');
		strRecaptcha = document.getElementById('recaptcha_response_field'); 

		strSujet = document.getElementById('strSujet');
		strRaison = document.getElementById('strRaison');
		strRaisonOther = document.getElementById('strRaisonOther');
		strRepair = document.getElementById('strRepair');
		strRepairOther = document.getElementById('strRepairOther');
		strDispo = document.getElementById('strDispo');
		strPeriode = document.getElementById('strPeriode');
		strSujetOther= document.getElementById('strSujetOther');


        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';
		
		document.getElementById('strSujetError').style.display = 'none';
		document.getElementById('strRaisonError').style.display = 'none';
		document.getElementById('strRaisonOtherError').style.display = 'none';
		document.getElementById('strRepairError').style.display = 'none';
		document.getElementById('strRepairOtherError').style.display = 'none';
		document.getElementById('strDispoError').style.display = 'none';
		document.getElementById('strPeriodeError').style.display = 'none';
		document.getElementById('strSujetOtherError').style.display = 'none';

		
		strPrenom.style.borderColor = '#000000';
   		strNom.style.borderColor  = '#000000';
   		strEmail.style.borderColor  = '#000000';
   		strEmail2.style.borderColor  = '#000000';
		strPhone.style.borderColor = '#000000';
		strSecurity.style.borderColor  = '#000000';
		strLearnedAbout.style.borderColor  = '#000000';
		strLearnedAboutOther.style.borderColor  = '#000000';
		
		strSujet.style.borderColor  = '#000000';
		strRaison.style.borderColor  = '#000000';
		strRaisonOther.style.borderColor  = '#000000';
		strRepair.style.borderColor  = '#000000';
		strRepairOther.style.borderColor  = '#000000';
		strDispo.style.borderColor  = '#000000';
		strPeriode.style.borderColor  = '#000000';
		strSujetOther.style.borderColor  = '#000000';


Invalide = true;
Focus = "";

   		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';
   		    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(strSujet.value == 'Choisissez') 
   		{ 
   		    strSujet.style.border = '2px solid #00fcff';
   		    document.getElementById('strSujetError').style.display = 'inline';
   		    if(langue=="fr")
			{	
				document.getElementById('strSujetError').innerHTML = '(requis)'; 
			}else{
				document.getElementById('strSujetError').innerHTML = '(required)'; 
			}
			
			if(Focus=="")
			{
				Focus = "true"
				strSujet.focus();
			}
   		    Invalide = false;
   		}

if(option == 1)	
	{ 

		if(strRaison.value == 'Choisissez') 
   		{ 
   		    strRaison.style.border = '2px solid #00fcff';
   		    document.getElementById('strRaisonError').style.display = 'inline';
   		    if(langue=="fr")
			{	
				document.getElementById('strRaisonError').innerHTML = '(requis)'; 
			}else{
				document.getElementById('strRaisonError').innerHTML = '(required)'; 
			}
			
			if(Focus=="")
			{
				Focus = "true"
				strRaison.focus();
			}
   		    Invalide = false;
   		}
		if(strRaison.value == 'Autre')
		{
			if(strRaisonOther.value == '') 
			{ 
				strRaisonOther.style.border = '2px solid #00fcff';
				document.getElementById('strRaisonOtherError').style.display = 'inline';
   		    if(langue=="fr")
			{	
				document.getElementById('strRaisonOtherError').innerHTML = '(requis)'; 
			}else{
				document.getElementById('strRaisonOtherError').innerHTML = '(required)'; 
			}
				
				if(Focus=="")
				{
					Focus = "true"
					strRaisonOther.focus();
				}
				Invalide = false;
			}
		}
}	

if(option == 2)	
	{ 
		
		if(strRepair.value == 'Choisissez') 
   		{ 
   		    strRepair.style.border = '2px solid #00fcff';
   		    document.getElementById('strRepairError').style.display = 'inline';
   		    if(langue=="fr")
			{	
				document.getElementById('strRepairError').innerHTML = '(requis)'; 
			}else{
				document.getElementById('strRepairError').innerHTML = '(required)'; 
			}
			
			if(Focus=="")
			{
				Focus = "true"
				strRepair.focus();
			}
   		    Invalide = false;
   		}
		
		if(strRepair.value == 'Autre')
		{
			if(strRepairOther.value == '') 
			{ 
				strRepairOther.style.border = '2px solid #00fcff';
				document.getElementById('strRepairOtherError').style.display = 'inline';
   		    if(langue=="fr")
			{	
				document.getElementById('strRepairOtherError').innerHTML = '(requis)'; 
			}else{
				document.getElementById('strRepairOtherError').innerHTML = '(required)'; 
			}
				
				if(Focus=="")
				{
					Focus = "true"
					strRepairOther.focus();
				}
				Invalide = false;
			}
		}
}		
		
if(option == 1 || option == 2 )	
	{ 
		
		if(strDispo.value == 'Choisissez') 
   		{ 
   		    strDispo.style.border = '2px solid #00fcff';
   		    document.getElementById('strDispoError').style.display = 'inline';
   		    if(langue=="fr")
			{	
				document.getElementById('strDispoError').innerHTML = '(requis)'; 
			}else{
				document.getElementById('strDispoError').innerHTML = '(required)'; 
			}
			
			if(Focus=="")
			{
				Focus = "true"
				strDispo.focus();
			}
   		    Invalide = false;
   		}

		if(strPeriode.value == 'Choisissez') 
   		{ 
   		    strPeriode.style.border = '2px solid #00fcff';
   		    document.getElementById('strPeriodeError').style.display = 'inline';
   		    if(langue=="fr")
			{	
				document.getElementById('strPeriodeError').innerHTML = '(requis)'; 
			}else{
				document.getElementById('strPeriodeError').innerHTML = '(required)'; 
			}
			
			if(Focus=="")
			{
				Focus = "true"
				strPeriode.focus();
			}
   		    Invalide = false;
   		}
}
if(option ==3)	
	{ 
		
		
		if(strSujetOther.value == '') 
   		{ 
   		    strSujetOther.style.border = '2px solid #00fcff';
   		    document.getElementById('strSujetOtherError').style.display = 'inline';
   		    if(langue=="fr")
			{	
				document.getElementById('strSujetOtherError').innerHTML = '(requis)'; 
			}else{
				document.getElementById('strSujetOtherError').innerHTML = '(required)'; 
			}
			
			if(Focus=="")
			{
				Focus = "true"
				document.getElementById('strSujetOther').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(strRecaptcha.value== '') 
   		{ 
				
   		    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(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("@"));
    }
	
