function verif_inscription( ){
	
	var lang = $('#lang').val();
	var siteref = $('#siteref').val();
	var email = $('#inscription').val();

	// Expression régulière pour les champs "email"
	var reg = '^([a-z0-9._-]+@[a-z0-9._-]+\\.[a-z]{2,4})?$'; 
	var regexEmail = new RegExp(reg, 'i');
	var path_to_php = "";
	
	if(lang == 'en'){
		path_to_php = "../";
	}

	if(regexEmail.test(email) && email != ""){
		$.ajax({
			 url: path_to_php+'inscriptionsnl.php',
			 type: 'post',
			 data:'email='+email+'&siteref='+siteref+'&lang='+lang ,
			 success: function( data ) {
			 
				var retour = data.split(';');
				
				if(retour[1] == 1){
					cookie_nl('inscription_nl',true);
					$('#insc_nl').delay(5000).animate({opacity: 'hide',top: '31' }, 800, function() { });
				}
				
				$('#errorInscrit').animate({opacity: 'hide',top: '31' }, 0, function() { });
				$('#errorInscrit').animate({opacity: 'show',top: '21' }, 800, function() { }).html(retour[0]);
				
				if (console && console.log){
					  console.log( 'Sample of data:', data.slice(0,100) );
				}
				
				
			}
		});
	}else{
		$('#errorInscrit').animate({opacity: 'hide',top: '31' }, 0, function() { });
		$('#errorInscrit').animate({opacity: 'show',top: '21' }, 800, function() { $(this).delay(1000).animate({opacity: 'hide',top: '31' }, 800, function() { }) });
	}
}
