<!-- Cache for Old Browser
/*
** POWERED BY LES NEUF MONDES
** http://www.9mondes.com/
*/
VnameOld="";

function flashHome()
{
	document.getElementById("homeFlash").style.visibility = "hidden";
}

function L9m_Pop(nomImg,myWidth,myHeight,myTitre,myRef)
{
	photo=window.open('page_popup.php?nomImg='+nomImg+'&myWidth='+myWidth+'&myHeight='+myHeight+'&myTitre='+myTitre+'&myRef='+myRef,'photo','toolbar=0, location=0, directories=0, status=0, scrollbars=0, resizable=0, menuBar=0, width=660, height=480, top=50px, left=50px');
}

function L9m_Nav_On(Vname)
	{
	if (document.getElementById) document.getElementById(Vname).src = "imgs/"+Vname+"_on.gif";
	}
	
function L9m_Nav_Off(Vname)
	{
	if (document.getElementById) document.getElementById(Vname).src = "imgs/"+Vname+"_off.gif";
	}
	

function L9m_Nav_On2(Vname)
	{
	if (document.getElementById) document.getElementById(Vname).src = "imgs/"+Vname+"_on.jpg";
	}
	
function L9m_Nav_Off2(Vname)
	{
	if (document.getElementById) document.getElementById(Vname).src = "imgs/"+Vname+"_off.jpg";
	}
	

function L9m_Puce_On(Vname)
	{
	if (document.getElementById) document.getElementById(Vname).src = "imgs/nav_puce_on.gif";
	}
function L9m_Puce_Off(Vname)
	{
	if (document.getElementById) document.getElementById(Vname).src = "imgs/nav_puce_off.gif";
	}
	

function L9m_ChangeImg_On(Vname)
{
	if (document.getElementById) document.getElementById(Vname).src = "imgs/navcent_"+Vname+"_on.gif";
}

function L9m_ChangeImg_Off(Vname)
{
	if (document.getElementById) document.getElementById(Vname).src = "imgs/navcent_"+Vname+"_off.gif";
}

	
function L9m_Style_On(Vname)
	{
	if (document.getElementById) document.getElementById(Vname).className = "ss2navTdOn";
	}
function L9m_Style_Off(Vname)
	{
	if (document.getElementById) document.getElementById(Vname).className = "ss2navTdOff";
	}
	
function L9m_Style_On2(Vname,rub)
	{
	if (document.getElementById) document.getElementById(Vname).className = "linkOn"+rub;
	}
function L9m_Style_Off2(Vname,rub)
	{
	if (document.getElementById) document.getElementById(Vname).className = "linkOff"+rub;
	}
	
VnameOld = "";
myLayer = "";

function L9m_Click_On(Vname,Vnumb)
{

	if (VnameOld == "")
	{
		document.getElementById(Vname).style.visibility = "visible";
		document.getElementById(Vname).style.display = "block";
		VnameOld = Vname;	
	}
	else
	{
		if (VnameOld == Vname)
		{
			document.getElementById(Vname).style.visibility = "hidden";
			document.getElementById(Vname).style.display = "none";
			VnameOld = "";
		}
		else
		{
			
			document.getElementById(VnameOld).style.visibility = "hidden";
			document.getElementById(VnameOld).style.display = "none";
			
			document.getElementById(Vname).style.visibility = "visible";
			document.getElementById(Vname).style.display = "block";
			VnameOld = Vname;	
		}
	}
}
/*
function L9m_Cursor_On(Vname)
	{
	if (document.getElementById) document.getElementById(Vname).style.cursor = "hand";
	}
function L9m_Cursor_Off(Vname)
	{
	if (document.getElementById) document.getElementById(Vname).style.cursor = "arrow";
	}
*/
function L9m_Layer_On(Vname)
	{
	if (document.getElementById) document.getElementById(Vname).style.visibility = "visible";
	if (document.getElementById) document.getElementById(Vname).style.display = "block";
	}
function L9m_Layer_Off(Vname)
	{
	if (document.getElementById) document.getElementById(Vname).style.visibility = "hidden";
	if (document.getElementById) document.getElementById(Vname).style.display = "none";
	}
function L9m_Layer_Couleur(Vname,Vcoul)
	{
	if (document.getElementById) document.getElementById(Vname).className = Vcoul;
	}
function L9m_OpenWin(Vurl,Vwidth,Vheight)
	{
	if(window.Vpopup) window.Vpopup.close();
	Vleft = eval(eval(screen.availWidth/2)-eval(Vwidth/2));
	Vtop = eval(eval(screen.availHeight/2)-eval(Vheight/2));
	Vproprietes = "status=1,toolbar=0,location=0,directories=0,menuBar=0,scrollbars=1,resizable=0,width="+Vwidth+",height="+Vheight+",left="+Vleft+",top="+Vtop;
	Vpopup = window.open(Vurl, "Vpopup", Vproprietes);
	window.Vpopup.focus();
	}
	
	
// fonctions pour l'envoi des formulaires contact


Valert = "";


//------------------------------------------------------------------------------------------
function isValidTxt(LeForm,nom,phrase,erreur)
{
Value = LeForm.elements[nom].value;
if ( (Value.search(phrase)) || (Value == "") ) ShowErreur(erreur);
return (Value.search(phrase) != -1);
}
//------------------------------------------------------------------------------------------
function isValidCheck(LeForm,nom,erreur)
{
Vdata = 0;
radio = LeForm.elements[nom];
for (var i=0; i<radio.length;i++) if (radio[i].checked) Vdata = radio[i].value;
if (Vdata == 0) ShowErreur(erreur);
else return true;
}
//------------------------------------------------------------------------------------------
function isValidList(LeForm,nom,erreur)
{
if (LeForm.elements[nom].options[LeForm.elements[nom].selectedIndex].value == "") ShowErreur(erreur);
else return true;
}
//------------------------------------------------------------------------------------------
function isValidDate(LeForm,nom1,nom2,phrase,erreur)
{
Value1 = LeForm.elements[nom1].value;
Value2 = LeForm.elements[nom2].value;
if ( (Value1.search(phrase)) || (Value1 == "") || ((eval(Value1)-eval(Value2)) < 0) ) ShowErreur(erreur);
return (Value1.search(phrase) != -1);
}
//------------------------------------------------------------------------------------------
function ShowErreur(Vdata)
{
if (Valert == "") Valert = "Merci de vérifier ce qui suit:\n\n" + Vdata;
else Valert = Valert + "\n" + Vdata;
}






function VerifForm()
{
Valert = "";
Vform = document.forms["contact"];
isValidTxt(Vform,"nom","","Le nom doit être renseigné");
isValidTxt(Vform,"prenom","","Le prénom doit être renseigné");
isValidTxt(Vform,"societe","","Le nom de la société doit être renseigné");
isValidTxt(Vform,"fonction","","La fonction doit être renseignée");
isValidList(Vform,"secteur","","Le secteur d'activité doit être renseignée");
isValidList(Vform,"filiere","","La filiere doit être renseignée");
isValidTxt(Vform,"adresse","","L\'adresse doit être renseignée");
isValidTxt(Vform,"cp","","Le code postal doit être renseigné");
isValidTxt(Vform,"ville","","La ville doit être renseignée");
isValidTxt(Vform,"tel","","Le téléphone doit être renseigné");
isValidTxt(Vform,"email","^[a-zA-Z0-9\-_]+[a-zA-Z0-9\.\-_]*@[a-zA-Z0-9\-_]+\.[a-zA-Z\.\-_]{1}[a-zA-Z\-_]+","L\'email doit être renseigné et se présenter sous la forme (adresse@domaine.xxx)");
isValidTxt(Vform,"message","","Le message doit être renseigné");

if (Valert == "")
	{
	Vform.submit();
	}
else
	{
	alert(Valert);
	return false;
	}
}

// formulaire de login
function VerifForm2()
{
Valert = "";
Vform = document.forms["desiLogin"];
isValidTxt(Vform,"usr_nom","","Le nom doit être renseigné");
isValidTxt(Vform,"usr_prenom","","Le prénom doit être renseigné");
isValidTxt(Vform,"usr_societe","","Le nom de la société doit être renseigné");
isValidTxt(Vform,"usr_fonction","","La fonction doit être renseignée");
isValidList(Vform,"usr_secteur","","Le secteur d'activité doit être renseignée");
isValidList(Vform,"usr_filiere","","La filiere doit être renseignée");
isValidTxt(Vform,"usr_adresse","","L\'adresse doit être renseignée");
isValidTxt(Vform,"usr_cp","","Le code postal doit être renseigné");
isValidTxt(Vform,"usr_ville","","La ville doit être renseignée");
isValidTxt(Vform,"usr_pays","","Le pays doit être renseigné");
isValidTxt(Vform,"usr_telephone","","Le téléphone doit être renseigné");
isValidTxt(Vform,"usr_email","^[a-zA-Z0-9\-_]+[a-zA-Z0-9\.\-_]*@[a-zA-Z0-9\-_]+\.[a-zA-Z\.\-_]{1}[a-zA-Z\-_]+","L\'email doit être renseigné et se présenter sous la forme (adresse@domaine.xxx)");

if (Valert == "")
	{
	Vform.submit();
	}
else
	{
	alert(Valert);
	return false;
	}
}
	
// Fin du cache -->