function LinkHome() {
	window.location='http://www.baudinet-avocats.be'
}
function popupcentree(page,largeur,hauteur,options)
{
var top=(screen.height-hauteur)/2;
var left=(screen.width-largeur)/2;
window.open(page,"","top="+top+",left="+left+",width="+largeur+",height="+hauteur+","+options);
}
/******/
function affiche_link(id) {
	for (i=1; i<14; i++) {
		document.getElementById("link"+i).style.display='none';
	}
	document.getElementById(id).style.display='block';
}
function affiche_link_v2(id) {
	for (i=1; i<4; i++) {
		document.getElementById("v2_link"+i).style.display='none';
	}
	document.getElementById(id).style.display='block';
}
//*****************************
function champ() {
	if (document.form1.frm_nom.value.length == 0) {
		alert("Veuillez introduire votre nom, Merci");
		document.form1.frm_nom.focus();
		return false;
	}
	if (document.form1.frm_prenom.value.length == 0) {
		alert("Veuillez introduire votre Prénom, Merci");
		document.form1.frm_prenom.focus();
		return false;
	}
	if ((document.form1.frm_email.value.length == 0) || (document.form1.frm_email.value.indexOf('@',0)==-1) || (document.form1.frm_email.value.indexOf('.',0)==-1)) {
		alert("Veuillez introduire une adresse e-mail valide, Merci");
		document.form1.frm_email.focus();
		return false;
	}
	if (document.form1.frm_gsm.value.length == 0) {
		alert("Veuillez introduire le numéro de gsm, Merci");
		document.form1.frm_gsm.focus();
		return false;
	}
	if (document.form1.client[0].checked == false && document.form1.client[1].checked == false) {
		alert("Veuillez cocher une réponse pour le type de client, Merci");
		return false;
	}
}
function champ2() {
	if (document.form2.frm_nom.value.length == 0) {
		alert("Veuillez introduire votre nom, Merci");
		document.form2.frm_nom.focus();
		return false;
	}
	if (document.form2.frm_prenom.value.length == 0) {
		alert("Veuillez introduire votre Prénom, Merci");
		document.form2.frm_prenom.focus();
		return false;
	}
	if (document.form2.frm_entreprise.value.length == 0) {
		alert("Veuillez introduire le nom de votre entreprise, Merci");
		document.form2.frm_entreprise.focus();
		return false;
	}
	if ((document.form2.frm_email.value.length == 0) || (document.form2.frm_email.value.indexOf('@',0)==-1) || (document.form2.frm_email.value.indexOf('.',0)==-1)) {
		alert("Veuillez introduire une adresse e-mail valide, Merci");
		document.form2.frm_email.focus();
		return false;
	}
	if (document.form2.frm_gsm.value.length == 0) {
		alert("Veuillez introduire le numéro de gsm, Merci");
		document.form2.frm_gsm.focus();
		return false;
	}
}
