<!--
function showLangues() { //v9.0
	if(document.getElementById('ssmenu-langue').style.visibility == 'visible')
	{ 
		document.getElementById('ssmenu-langue').style.visibility = "hidden";
	}
	else
	{
		document.getElementById('ssmenu-langue').style.visibility = "visible";
	}
}

function MM_showHideLayers() { //v9.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) 
  with (document) if (getElementById && ((obj=getElementById(args[i]))!=null)) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}

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 Validform(theForm)
{
	if (theForm.nom.value == "")
	{
		alert("Veuillez entrer votre nom svp.");
		theForm.nom.focus();
		return (false);
	}
	
	var adresse = theForm.email.value;

	var place = adresse.indexOf("@",1);
	var point = adresse.indexOf(".",place+1);	

	if (!((place > -1)&&(adresse.length >2)&&(point > 1)))
	{
		alert("Veuillez entrer une adresse email valide svp.");
		theForm.email.focus();
		return (false);
	}
	
	if (theForm.tel.value == "")
	{
		alert("Veuillez saisir votre numéro de téléphone svp.");
		theForm.tel.focus();
		return (false);
	}
		
	if (theForm.message.value == "")
	{
		alert("Veuillez saisir un message svp.");
		theForm.message.focus();
		return (false);
	}
	
	if (theForm.ptitcaptcha_entry.value == "")
	{
		alert("Veuillez recopier le code de sécurité anti-spam svp.");
		theForm.ptitcaptcha_entry.focus();
		return (false);
	}
	
	theForm.submit();
}

function Validform2(theForm)
{
	if (theForm.nom.value == "")
	{
		alert("Veuillez entrer votre nom svp.");
		theForm.nom.focus();
		return (false);
	}
	
	var adresse = theForm.email.value;

	var place = adresse.indexOf("@",1);
	var point = adresse.indexOf(".",place+1);	

	if (!((place > -1)&&(adresse.length >2)&&(point > 1)))
	{
		alert("Veuillez entrer une adresse email valide svp.");
		theForm.email.focus();
		return (false);
	}
		
	if (theForm.message.value == "")
	{
		alert("Veuillez saisir un message svp.");
		theForm.message.focus();
		return (false);
	}
	
	if (theForm.ptitcaptcha_entry.value == "")
	{
		alert("Veuillez recopier le code de sécurité anti-spam svp.");
		theForm.ptitcaptcha_entry.focus();
		return (false);
	}
	
	theForm.submit();

}

function ouvre_popup(page,w,h) {
       window.open(page,"nom_popup","menubar=no, status=no, scrollbars=no, menubar=no, width="+w+", height="+h+"");
   }
-->

