// Anti Spam JS
var domaine = "macnash.com";

function trans_email(a,b,c,d,isMail){
	if(isMail==1)
		c += "@"+domaine;
	document.write("<a href=\"mailto:" + a + "@" + domaine + "?subject=" + b + "\" class=\"" + d + "\">" + c + "</a>");
}
<!--
function AfficheBlock(NomDiv){
	Cacher();
	var elem = document.getElementById(NomDiv);
	var elemText = document.getElementById("DivEnCours");
	if(elem.style.display=="none"){
		elem.style.display="block";
			elemText.value= NomDiv;
	}else elem.style.display="none";

}
function Cacher(){
/**	var elem = document.getElementById("DivEnCours");
	if(elem.value!=""){
		var elemDiv = document.getElementById(elem.value);
		elemDiv.style.display="none";
	}**/
}
function Affiche(div){
	var elem = document.getElementById(div);
	elem.style.display="block";
}
function Cache(div){
	var elem = document.getElementById(div);
	elem.style.display="none";
}

function FermerAuto()
   { 
    self.setTimeout('Fermer()',10000);
   }

function openWindowCenter(mypage, myname, w, h, scroll) {

var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable';
win = window.open(mypage, myname);
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }

}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
  if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}

}
var win=null;
function NewWindow(mypage,myname,w,h,scroll,pos){
if(pos=="random"){LeftPosition=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}
if(pos=="center"){LeftPosition=(screen.width)?(screen.width-w)/2:100;TopPosition=(screen.height)?(screen.height-h)/2:100;}
else if((pos!="center" && pos!="random") || pos==null){LeftPosition=130;TopPosition=0}
settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',location=no,directories=no,status=yes,menubar=no,toolbar=no,resizable=yes';
win=window.open(mypage,myname,settings);
if(win.focus){win.focus();}}
function ValidateDirection(lang){
	MailValue = document.DirectionForm.Email.value;
	crucial = MailValue.indexOf ("@");
	crucial2 = MailValue.indexOf (".");
	if (document.DirectionForm.Titre.value == "")
	{
		if(lang=="fr")
			alert('Veuillez choisir un titre');
		else if(lang=="en")
			alert('Please choose a title');
		else if(lang=="nl")
			alert('Gelieve een titel te kiezen');
		document.DirectionForm.Titre.focus();
		return false;
    }
	if (document.DirectionForm.Prenom.value == "")
	{
		if(lang=="fr")
			alert('Veuillez entrer votre prénom');
		else if(lang=="en")
			alert('Please enter your first name');
		else if(lang=="nl")
			alert('Gelieve uw voornaam in te vullen');
		
		document.DirectionForm.Prenom.focus();
		return false;
    }
	if (document.DirectionForm.Nom.value == "")
	{
		if(lang=="fr")
			alert('Veuillez entrer votre nom');
		else if(lang=="en")
			alert('Please enter your name');
		else if(lang=="nl")
			alert('Gelieve uw naam in te vullen');
		
		document.DirectionForm.Nom.focus();
		return false;
    }

	if (document.DirectionForm.Telephone.value == "")
	{
		if(lang=="fr")
			alert('Veuillez entrer votre numéro de téléphone');
		else if(lang=="en")
			alert('Please enter your telephone number');
		else if(lang=="nl")
			alert('Gelieve uw telefoonnummer in te vullen');
		
		document.DirectionForm.Telephone.focus();
		return false;
    }
	if (document.DirectionForm.Email.value == "")
	{
		if(lang=="fr")
			alert('Veuillez entrez votre adresse e-mail');
		else if(lang=="en")
			alert('Please enter your email address');
		else if(lang=="nl")
			alert('Gelieve uw e-mailadres in te vullen');
		
		document.DirectionForm.Email.focus();
		return false;
    }
	else
	if ((crucial == -1)  || (crucial2 == -1))
		{
			if(lang=="fr")
				alert('Veuillez entrer une adresse e-mail valide');
			else if(lang=="en")
				alert('Please enter a valid address e-mail');
			else if(lang=="nl")
			alert('Gelieve een geldig e-mailadres in te vullen');
			
			document.DirectionForm.Email.focus();
			return false;
		}	
	if (document.DirectionForm.Message.value == "" )
	{
		if(lang=="fr")
			alert('Veuillez entrer votre message');
		else if(lang=="en")
			alert('Please enter a message');
		else if(lang=="nl")
			alert('Gelieve uw boodschap in te vullen');
		
		document.DirectionForm.Message.focus();
		return false;
    }
return true;
}

function ValidateFranchise(lang){

	MailValue = document.Franchise.Email.value;
	crucial = MailValue.indexOf ("@");
	crucial2 = MailValue.indexOf (".");
	if (document.Franchise.Titre.value == "")
	{
		if(lang=="fr")
			alert('Veuillez choisir un titre');
		else if(lang=="en")
			alert('Please choose a title');
		else if(lang=="nl")
			alert('Gelieve een titel te kiezen');
		document.Franchise.Titre.focus();
		return false;
    }
    if (document.Franchise.Prenom.value == "")
	{
		if(lang=="fr")
			alert('Veuillez entrer votre prénom');
		else if(lang=="en")
			alert('Please enter your first name');
		else if(lang=="nl")
			alert('Gelieve uw voornaam in te vullen');
		document.Franchise.Prenom.focus();
		return false;
    }
	if (document.Franchise.Nom.value == "")
	{
		if(lang=="fr")
			alert('Veuillez entrer votre nom');
		else if(lang=="en")
			alert('Please enter your name');
		else if(lang=="nl")
			alert('Gelieve uw naam in te vullen');
		document.Franchise.Nom.focus();
		return false;
    }
	if (document.Franchise.Email.value == "")
	{
		if(lang=="fr")
			alert('Veuillez entrez votre adresse e-mail');
		else if(lang=="en")
			alert('Please enter your email');
		else if(lang=="nl")
			alert('Gelieve uw e-mailadres in te vullen');
		document.Franchise.Email.focus();
		return false;
    }
	else
	if ((crucial == -1)  || (crucial2 == -1))
		{
			if(lang=="fr")
				alert('Veuillez entrer une adresse e-mail valide');
			else if(lang=="en")
				alert('Please enter a valid email');
			else if(lang=="nl")
			alert('Gelieve uw e-mailadres in te vullen');
			
			document.Franchise.Email.focus();
			return false;
		}	
	if (document.Franchise.GSM.value == "")
	{
		if(lang=="fr")
			alert('Veuillez entrer votre numéro de gsm');
		else if(lang=="en")
			alert('Please enter a your mobile number');
		else if(lang=="nl")
			alert('Gelieve uw gsm-nummer in te vullen');
		document.Franchise.GSM.focus();
		return false;
    }
	if (document.Franchise.Telephone.value == "")
	{
		if(lang=="fr")
			alert('Veuillez entrer votre numéro de téléphone');
		else if(lang=="en")
			alert('Please enter a your telephone number');
		else if(lang=="nl")
			alert('Gelieve uw telefoonnummer in te vullen');
		document.Franchise.Telephone.focus();
		return false;
    }
	return true;
}
function ValidateCV(lang){

	MailValue = document.CV.Email.value;
	crucial = MailValue.indexOf ("@");
	crucial2 = MailValue.indexOf (".");
    if (document.CV.Titre.value == "")
	{
		if(lang=="fr")
			alert('Veuillez choisir votre titre');
		else if(lang=="en")
			alert('Please choose a title');
		else if(lang=="nl")
			alert('Gelieve een titel te kiezen');
		document.CV.Titre.focus();
		return false;
    }
	if (document.CV.Prenom.value == "")
	{
		if(lang=="fr")
			alert('Veuillez entrer votre prénom');
		else if(lang=="en")
			alert('Please enter your first name');
		else if(lang=="nl")
			alert('Geef uw voornaam in');
		document.CV.Prenom.focus();
		return false;
    }
	if (document.CV.Nom.value == "")
	{
		if(lang=="fr")
			alert('Veuillez entrer votre nom');
		else if(lang=="en")
			alert('Please enter your surname');
		else if(lang=="nl")
			alert('Geef uw naam in');
		document.CV.Nom.focus();
		return false;
    }
	if (document.CV.Email.value == "")
	{
		if(lang=="fr")
			alert('Veuillez entrez votre adresse e-mail');
		else if(lang=="en")
			alert('Please enter your email address');
		else if(lang=="nl")
			alert('Geef uw e-mailadres in');
		document.CV.Email.focus();
		return false;
    }
	else
	if ((crucial == -1)  || (crucial2 == -1))
		{
			if(lang=="fr")
				alert('Veuillez entrer une adresse e-mail valide');
			else if(lang=="en")
			alert('Please enter a valid email address');
		else if(lang=="nl")
				alert('Geef uw e-mailadres in');
			document.CV.Email.focus();
			return false;
	}		
	if (document.CV.Gsm.value == "")
	{
		if(lang=="fr")
			alert('Veuillez entrer votre numéro de gsm');
		else if(lang=="en")
			alert('Please enter your mobile phone number');
		else if(lang=="nl")
			alert('Gelieve uw gsm-nummer in te vullen');
		document.CV.Gsm.focus();
		return false;
    }
	if (document.CV.Telephone.value == "")
	{
		if(lang=="fr")
			alert('Veuillez entrer votre numéro de téléphone');
		else if(lang=="en")
			alert('Please enter your telephone number');
		else if(lang=="nl")
			alert('Gelieve uw telefoonnummer in te vullen');
		document.CV.Telephone.focus();
		return false;
    }
	
	if (document.CV.Cv.value == "")
	{
		if(lang=="fr")
			alert('Veuillez joindre un CV');
		else if(lang=="en")
			alert('Please attach a CV');
		else if(lang=="nl")
			alert('Voeg uw cv toe');
		document.CV.Cv.focus();
		return false;
    }
	if (document.CV.Motiv.value == "")
	{
		if(lang=="fr")
			alert('Veuillez joindre une lettre de motivation');
		else if(lang=="en")
			alert('Please attach a motivation letter');
		else if(lang=="nl")
			alert('Voeg uw sollicitatiebrief toe');
		document.CV.Motiv.focus();
		return false;
    }

	if (document.CV.Photo.value == "")
	{
		if(lang=="fr")
			alert('Veuillez joindre une photo de vous');
		else if(lang=="en")
			alert('Please attach a photo of yourself');
		else if(lang=="nl")
			alert('Gelieve een foto van uzelf bij te voegen');
		document.CV.Photo.focus();
		return false;
    }

	return true;
}	

function ValidateAmi(lang){
	MailValue = document.Ami.MyEmail.value;
	crucial = MailValue.indexOf ("@");
	crucial2 = MailValue.indexOf (".");
	MailValueB = document.Ami.DestEmail.value;
	crucialDest = MailValueB.indexOf ("@");
	crucial2Dest = MailValueB.indexOf (".");
	if (document.Ami.DestName.value == "")
	{
		if(lang=="fr")
			alert('Veuillez entrer le nom du destinataire');
		else if(lang=="en")
			alert('Please enter the addressee\'s name ');
		else if(lang=="nl")
			alert('Geef de naam van de bestemmeling in');
		document.Ami.DestName.focus();
		return false;
    }
    if (document.Ami.MyName.value == "")
	{
		if(lang=="fr")
			alert('Veuillez entrer votre nom');
		else if(lang=="en")
			alert('Please enter your surname');
		else if(lang=="nl")
			alert('Gelieve uw naam in te vullen');
		document.Ami.MyName.focus();
		return false;
    }

	if (document.Ami.DestEmail.value == "")
	{
		if(lang=="fr")
			alert('Veuillez entrez votre adresse e-mail');
		else if(lang=="en")
			alert('Please enter your email address');
		else if(lang=="nl")
			alert('Gelieve uw e-mailadres in te vullen');
		document.Ami.DestEmail.focus();
		return false;
    }
	else
	if ((crucialDest == -1)  || (crucial2Dest == -1))
		{
			if(lang=="fr")
				alert('Veuillez entrer une adresse e-mail valide');
			else if(lang=="en")
				alert('Please enter a valid email address');
			else if(lang=="nl")
				alert('Gelieve een geldig e-mailadres in te vullen');
			document.Ami.DestEmail.focus();
			return false;
		}
		
		
	if (document.Ami.MyEmail.value == "")
	{
		if(lang=="fr")
			alert('Veuillez entrez l\'adresse e-mail du destinataire');
		else if(lang=="en")
			alert('Please attach a photo of yourself');
		else if(lang=="nl")
			alert('Gelieve de naam van de bestemmeling in te vullen');
		document.Ami.MyEmail.focus();
		return false;
    }
	else
	if ((crucial == -1)  || (crucial2Dest == -1))
		{
			if(lang=="fr")
				alert('Veuillez entrer une adresse e-mail valide pour le destinataire');
			else if(lang=="en")
				alert('Please enter the addressee\'s email address');
			else if(lang=="nl")
				alert('Gelieve een geldig  e-mailadres in te vullen voor de bestemmeling');
			document.Ami.MyEmail.focus();
			return false;
		}		
	return true;
}
function ValidatePatrimoine(lang){

	MailValue = document.Gestion.Email.value;
	crucial = MailValue.indexOf ("@");
	crucial2 = MailValue.indexOf (".");
    if (document.Gestion.Titre.value == "")
	{
		if(lang=="fr")
			alert('Veuillez choisir un titre');
		else if(lang=="en")
			alert('Please choose a title');
		else if(lang=="nl")
			alert('Gelieve een titel te kiezen');
		document.Gestion.Titre.focus();
		return false;
    }
	if (document.Gestion.Prenom.value == "")
	{
		if(lang=="fr")
			alert('Veuillez entrer votre prénom');
		else if(lang=="en")
			alert('Please enter your first name');
		else if(lang=="nl")
			alert('Gelieve uw voornaam in te vullen');
		document.Gestion.Prenom.focus();
		return false;
    }
	
	if (document.Gestion.Nom.value == "")
	{
		if(lang=="fr")
			alert('Veuillez entrer votre nom');
		else if(lang=="en")
			alert('Please enter your name');
		else if(lang=="nl")
			alert('Gelieve uw naam in te vullen');
		document.Gestion.Nom.focus();
		return false;
    }



	if (document.Gestion.Email.value == "")
	{
		if(lang=="fr")
			alert('Veuillez entrez votre adresse e-mail');
		else if(lang=="en")
			alert('Please enter your email');
		else if(lang=="nl")
			alert('Gelieve uw e-mailadres in te vullen');
		document.Gestion.Email.focus();
		return false;
    }
	else
	if ((crucial == -1)  || (crucial2 == -1))
		{
			if(lang=="fr")
				alert('Veuillez entrer une adresse e-mail valide');
			else if(lang=="en")
				alert('Please enter a valid email');
			else if(lang=="nl")
				alert('Gelieve een geldig e-mailadres in te vullen');
			document.Gestion.Email.focus();
			return false;
		}	
	if (document.Gestion.Gsm.value == "")
	{
		if(lang=="fr")
			alert('Veuillez entrer votre numéro de gsm');
		else if(lang=="en")
			alert('Please enter a your mobile number');
		else if(lang=="nl")
			alert('Gelieve uw gsm-nummer in te vullen');
		document.Gestion.Gsm.focus();
		return false;
    }		
	if (document.Gestion.Telephone.value == "")
	{
		if(lang=="fr")
			alert('Veuillez entrer votre numéro de téléphone');
		else if(lang=="en")
			alert('Please enter a your telephone number');
		else if(lang=="nl")
			alert('Gelieve uw telefoonnummer in te vullen');
		document.Gestion.Telephone.focus();
		return false;
    }	
	return true;
}
function validateFormation(lang){
	
	   MailValue = document.Formations.Email.value;
	crucial = MailValue.indexOf ("@");
	crucial2 = MailValue.indexOf (".");
	if (document.Formations.Nom.value == "")
	{
		if(lang=="fr")
			alert('Veuillez entrer votre nom');
		else if(lang=="en")
			alert('Please enter your name');
		else if(lang=="nl")
			alert('Gelieve uw naam in te vullen');
		document.Formations.Nom.focus();
		return false;
    }
    if (document.Formations.Prenom.value == "")
	{
		if(lang=="fr")
			alert('Veuillez entrer votre prénom');
		else if(lang=="en")
			alert('Please enter your first name');
		else if(lang=="nl")
			alert('Gelieve uw voornaam in te vullen');
		document.Formations.Prenom.focus();
		return false;
    }
	if (document.Formations.Telephone.value == "")
	{
		if(lang=="fr")
			alert('Veuillez entrer votre numéro de téléphone');
		else if(lang=="en")
			alert('Please attach a photo of yourself');
		else if(lang=="nl")
			alert('Gelieve uw telefoonnummer in te vullen');
		document.Formations.Telephone.focus();
		return false;
    }
	if (document.Formations.GSM.value == "")
	{
		if(lang=="fr")
			alert('Veuillez entrer votre numéro de gsm');
		else if(lang=="en")
			alert('Please enter a your mobile number');
		else if(lang=="nl")
			alert('Gelieve uw gsm-nummer in te vullen');
		document.Formations.GSM.focus();
		return false;
    }
	if (document.Formations.Proprio.value == "" && document.Formations.NonProprio.value == "")
	{
		if(lang=="fr")
			alert('Veuillez entrer le type d\'acte que vous voulez faire');
		else if(lang=="en")
			alert('Please enter the type you want to make');
		else if(lang=="nl")
			alert('Gelieve het soort akte in te geven die uw wilt opstellen');
		document.Formations.NonProprio.focus();
		return false;
    }
	if (document.Formations.Email.value == "")
	{
		if(lang=="fr")
			alert('Veuillez entrez votre adresse e-mail');
		else if(lang=="en")
			alert('Please enter your email');
		else if(lang=="nl")
			alert('Gelieve uw e-mailadres in te vullen');
		document.Formations.Email.focus();
		return false;
    }
	else if ((crucial == -1)  || (crucial2 == -1))
		{
			if(lang=="fr")
				alert('Veuillez entrer une adresse e-mail valide');
			else if(lang=="en")
				alert('Please enter a valid email');
			else if(lang=="nl")
				alert('Gelieve uw e-mailadres in te vullen')
			document.Formations.Email.focus();
			return false;
		}
		
 	if (document.Formations.Word.value == "")
	{
		if(lang=="fr")
			alert('Veuillez entrez le mot de passe');
		else if(lang=="en")
			alert('Please enter your password');
		else if(lang=="nl")
			alert('Gelieve het paswoord in te vullen');
		document.Formations.Word.focus();
		return false;
    }else{
		var Semaine = document.Formations.NumSem.value;
	var Annee = document.Formations.Annee.value;


			if(document.Formations.Word.value == Semaine+"/"+Annee||document.Formations.Word.value == "0"+Semaine+"/"+Annee){
					return true;
			}else{
				if(lang=="fr")
					alert('Veuillez entrez un mot de passe valide');
				else if(lang=="en")
					alert('Please enter a valid password');
				else if(lang=="nl")
					alert('Gelieve een geldig paswoord in te vullen');
				document.Formations.Word.focus();
				return false;
			}		
	}	

}
function test(){
		   var oMidi = new Date();
		alert(new Date().DateFormat('W'));
}
function ValidateEstLocation(lang){

	MailValue = document.Location.Email.value;
	crucial = MailValue.indexOf ("@");
	crucial2 = MailValue.indexOf (".");
    if (document.Location.Titre.value == "")
	{
		if(lang=="fr")
			alert('Veuillez choisir votre titre');
		else if(lang=="en")
			alert('Please choose a title');
		else if(lang=="nl")
			alert('Gelieve een titel te kiezen');
		document.Location.Titre.focus();
		return false;
    }

	if (document.Location.Nom.value == "")
	{
		if(lang=="fr")
			alert('Veuillez entrer votre nom');
		else if(lang=="en")
			alert('Please enter your name');
		else if(lang=="nl")
			alert('Gelieve uw naam in te vullen');
		document.Location.Nom.focus();
		return false;
    }
	if (document.Location.Email.value == "")
	{
		if(lang=="fr")
			alert('Veuillez entrez votre adresse e-mail');
		else if(lang=="en")
			alert('Please enter your email');
		else if(lang=="nl")
			alert('Gelieve uw e-mailadres in te vullen');
		document.Location.Email.focus();
		return false;
    }
	else
	if ((crucial == -1)  || (crucial2 == -1))
		{
			if(lang=="fr")
				alert('Veuillez entrer une adresse e-mail valide');
			else if(lang=="en")
			alert('Please enter a valid email');
		else if(lang=="nl")
				alert('Gelieve een geldig e-mailadres in te vullen');
			document.Location.Email.focus();
			return false;
	}		
	if (document.Location.Gsm.value == "")
	{
		if(lang=="fr")
			alert('Veuillez entrer votre numéro de gsm');
		else if(lang=="en")
			alert('Please enter a your mobile number');
		else if(lang=="nl")
			alert('Gelieve uw gsm-nummer in te vullen');
		document.Location.Gsm.focus();
		return false;
    }
	if (document.Location.Telephone.value == "")
	{
		if(lang=="fr")
			alert('Veuillez entrer votre numéro de téléphone');
		else if(lang=="en")
			alert('Please attach a photo of yourself');
		else if(lang=="nl")
			alert('Gelieve uw telefoonnummer in te vullen');
		document.Location.Telephone.focus();
		return false;
    }
	if (document.Location.Bien.value == "")
	{
		if(lang=="fr")
			alert('Veuillez choisir le type de bien');
		else if(lang=="en")
			alert('Please attach a photo of yourself');
		else if(lang=="nl")
			alert('Gelieve het soort vastgoed te kiezen');
		document.Location.Bien.focus();
		return false;
    }

	if (document.Location.Message.value == "")
	{
		if(lang=="fr")
			alert('Veuillez entrer votre message');
		else if(lang=="en")
			alert('Please enter your message');
		else if(lang=="nl")
			alert('Gelieve uw boodschap in te vullen');
		document.Location.Message.focus();
		return false;
    }

	return true;
}	
function EtatDesLieux(lang){
	MailValue = document.Etat.Email.value;
	crucial = MailValue.indexOf ("@");
	crucial2 = MailValue.indexOf (".");
    if (document.Etat.Titre.value == "")
	{
		if(lang=="fr")
			alert('Veuillez choisir votre titre');
		else if(lang=="en")
			alert('Please choose a title');
		else if(lang=="nl")
			alert('Gelieve een titel te kiezen');
		document.Etat.Titre.focus();
		return false;
    }

	if (document.Etat.Nom.value == "")
	{
		if(lang=="fr")
			alert('Veuillez entrer votre nom');
		else if(lang=="en")
			alert('Please enter your name');
		else if(lang=="nl")
			alert('Gelieve uw naam in te vullen');
		document.Etat.Nom.focus();
		return false;
    }
	if (document.Etat.Email.value == "")
	{
		if(lang=="fr")
			alert('Veuillez entrez votre adresse e-mail');
		else if(lang=="en")
			alert('Please enter your email');
		else if(lang=="nl")
			alert('Gelieve uw e-mailadres in te vullen');
		document.Etat.Email.focus();
		return false;
    }
	else
	if ((crucial == -1)  || (crucial2 == -1))
		{
			if(lang=="fr")
				alert('Veuillez entrer une adresse e-mail valide');
			else if(lang=="en")
				alert('Please enter a valid email');
			else if(lang=="nl")
				alert('Gelieve een geldig e-mailadres in te vullen');
			document.Etat.Email.focus();
			return false;
	}		
	if (document.Etat.Gsm.value == "")
	{
		if(lang=="fr")
			alert('Veuillez entrer votre numéro de gsm');
		else if(lang=="en")
			alert('Please enter a your mobile number');
		else if(lang=="nl")
			alert('Gelieve uw gsm-nummer in te vullen');
		document.Etat.Gsm.focus();
		return false;
    }
	if (document.Etat.Telephone.value == "")
	{
		if(lang=="fr")
			alert('Veuillez entrer votre numéro de téléphone');
		else if(lang=="en")
			alert('Please attach a photo of yourself');
		else if(lang=="nl")
			alert('Gelieve uw telefoonnummer in te vullen');
		document.Etat.Telephone.focus();
		return false;
    }
	return true;
}

function ValidateExpertise(lang){
	MailValue = document.Expertise.Email.value;
	crucial = MailValue.indexOf ("@");
	crucial2 = MailValue.indexOf (".");

    if (document.Expertise.Titre.value == "")
	{
		if(lang=="fr")
			alert('Veuillez choisir votre titre');
		else if(lang=="en")
			alert('Please choose a title');
		else if(lang=="nl")
			alert('Gelieve een titel te kiezen');
		document.Expertise.Titre.focus();
		return false;
    }

	if (document.Expertise.Nom.value == "")
	{
		if(lang=="fr")
			alert('Veuillez entrer votre nom');
		else if(lang=="en")
			alert('Please enter your name');
		else if(lang=="nl")
			alert('Gelieve uw naam in te vullen');
		document.Expertise.Nom.focus();
		return false;
    }
	if (document.Expertise.Email.value == "")
	{
		if(lang=="fr")
			alert('Veuillez entrez votre adresse e-mail');
		else if(lang=="en")
			alert('Please enter your email');
		else if(lang=="nl")
			alert('Gelieve uw e-mailadres in te vullen');
		document.Expertise.Email.focus();
		return false;
    }
	else
	if ((crucial == -1)  || (crucial2 == -1))
		{
			if(lang=="fr")
				alert('Veuillez entrer une adresse e-mail valide');
			else if(lang=="en")
			alert('Please enter a valid email');
		else if(lang=="nl")
				alert('Gelieve een geldig e-mailadres in te vullen');
			document.Expertise.Email.focus();
			return false;
	}		
	if (document.Expertise.Gsm.value == "")
	{
		if(lang=="fr")
			alert('Veuillez entrer votre numéro de gsm');
		else if(lang=="en")
			alert('Please enter a your mobile number');
		else if(lang=="nl")
			alert('Gelieve uw gsm-nummer in te vullen');
		document.Expertise.Gsm.focus();
		return false;
    }
	if (document.Expertise.Telephone.value == "")
	{
		if(lang=="fr")
			alert('Veuillez entrer votre numéro de téléphone');
		
		else if(lang=="en")
			alert('Please attach a photo of yourself');
		else if(lang=="nl")
			alert('Gelieve uw telefoonnummer in te vullen');
		document.Expertise.Telephone.focus();
		return false;
    }
	return true;
}
function ValidateNewsletter(lang){
	MailValue = document.Newsletter.Email.value;
	crucial = MailValue.indexOf ("@");
	crucial2 = MailValue.indexOf (".");
	if (document.Newsletter.Titre.value == "")
	{
		if(lang=="fr")
			alert('Veuillez choisir un titre');
		else if(lang=="en")
			alert('Please choose a title');
		else if(lang=="nl")
			alert('Gelieve een titel te kiezen');
		document.Newsletter.Titre.focus();
		return false;
    }
	if (document.Newsletter.Prenom.value == "")
	{
		if(lang=="fr")
			alert('Veuillez entrer votre prénom');
		else if(lang=="en")
			alert('Please enter your first name');
		else if(lang=="nl")
			alert('Gelieve uw voornaam in te vullen');
		document.Newsletter.Prenom.focus();
		return false;
    }
	if (document.Newsletter.Nom.value == "")
	{
		if(lang=="fr")
			alert('Veuillez entrer votre nom');
		else if(lang=="en")
			alert('Please enter your name');
		else if(lang=="nl")
			alert('Gelieve uw naam in te vullen');
		document.Newsletter.Nom.focus();
		return false;
    }

	if (document.Newsletter.Email.value == "")
	{
		if(lang=="fr")
			alert('Veuillez entrez votre adresse e-mail');
		else if(lang=="en")
			alert('Please enter your email');
		else if(lang=="nl")
			alert('Gelieve uw e-mailadres in te vullen');
		document.Newsletter.Email.focus();
		return false;
    }
	else
	if ((crucial == -1)  || (crucial2 == -1))
		{
			if(lang=="fr")
				alert('Veuillez entrer une adresse e-mail valide');
			else if(lang=="en")
			alert('Please enter a valid email');
		else if(lang=="nl")
				alert('Gelieve uw e-mailadres in te vullen');
			document.Newsletter.Email.focus();
			return false;
		}	
return true;
}



-->