function verifierFormulaire()
{                   
    <?php
  		require_once('../../php/recaptchalib.php');
  		$privatekey = "6LdGnL0SAAAAADQQWR8AXAIaMYjmRibuuyO-2eJp";
  		$resp = recaptcha_check_answer ($privatekey,
                                $_SERVER["REMOTE_ADDR"],
                                $_POST["recaptcha_challenge_field"],
                                $_POST["recaptcha_response_field"]);

  		if (!$resp->is_valid) 
  		{
    		// What happens when the CAPTCHA was entered incorrectly
    		die ("The reCAPTCHA wasn't entered correctly. Go back and try it again." .
    	    	 "(reCAPTCHA said: " . $resp->error . ")");
  		} 
  		else 
  		{
  		  // Your code here to handle a successful verification
  		}
  	?>
  
    //Nom   
    res=document.livredor.name.value;
    
    if(res.length<1)
    {
        alert("Vous devez saisir un nom");
        document.livredor.name.focus();
        return false;    
    }
    
    //Message
    res=document.livredor.message.value;

    if(res.length<1)
    {
        alert("Vous devez saisir un message");
        document.livredor.message.focus();
        return false;   
    }
}

function verifierFormulaireAnglais()
{                   
    //Nom   
    res=document.livredor.name.value;
    
    if(res.length<1)
    {
        alert("Enter your name");
        document.livredor.name.focus();
        return false;    
    }
    
    //Message
    res=document.livredor.message.value;

    if(res.length<1)
    {
        alert("Enter your message");
        document.livredor.message.focus();
        return false;   
    }
}


function verifierFormulaireItalien()
{                   
    //Nom   
    res=document.livredor.name.value;
    
    if(res.length<1)
    {
        alert("Inserire un nome");
        document.livredor.name.focus();
        return false;    
    }
    
    //Message
    res=document.livredor.message.value;

    if(res.length<1)
    {
        alert("Inserire un messaggio");
        document.livredor.message.focus();
        return false;   
    }
}

