parent.document.title = document.title;
window.preim = new Image();
window.preim.src = '../../img/lnav_bkg.jpg';

function sniffer() {
    var agent = navigator.userAgent.toLowerCase();
    this.major = parseInt(navigator.appVersion);
    this.minor = parseFloat(navigator.appVersion);
    this.ns  = ((agent.indexOf('mozilla')!=-1) && ((agent.indexOf('spoofer')==-1) && (agent.indexOf('compatible') == -1)));
    this.ns2 = (this.ns && (this.major == 2));
    this.ns3 = (this.ns && (this.major == 3));
    this.ns4b = (this.ns && (this.minor < 4.04));
    this.ns4 = (this.ns && (this.major == 4));
    this.ns6 = (this.ns && (this.major >= 5));
    this.ie   = (agent.indexOf("msie") != -1);
    this.ie3  = (this.ie && (this.major == 2));
    this.ie5  = (this.ie && (this.major >= 4) && (document.getElementById) ) ? true : false ;
    this.ie6  = (this.ie5 && (agent.indexOf('msie 6')!=-1) ) ? true : false ;
    this.ie4  = (this.ie && (this.major >= 4) && !(this.ie5));
    this.op3 = (agent.indexOf("opera") != -1);
    this.win   = (agent.indexOf("win")!=-1);
    this.mac   = (agent.indexOf("mac")!=-1);
    this.unix  = (agent.indexOf("x11")!=-1);
    this.dom = (this.ns6 || this.ie5 );
}

var clientIs = new sniffer();
/*
function BW_reload()
{
alert("reload");

}

if (clientIs.ns && !clientIs.ns6)
{
        alert(window.parent.name );
        window.parent.onresize = BW_reload;
}
*/
function openWin(URL,w,h,resize,scroll)
{
lAttributes = '';
lAttributes += 'toolbar=0,';
lAttributes += 'Location=0,';
lAttributes += 'directory=0,';
lAttributes += 'status=0,';
lAttributes += 'menubar=0,';
lAttributes += 'scrollbars='+scroll+',';
lAttributes += 'resizable='+resize+',';
lAttributes += 'width='+w+',';
lAttributes += 'height='+h+'';

winId = window.open(URL,"",lAttributes);
}

function openPrint(URL,w,h,resize,scroll)
{
lAttributes = '';
lAttributes += 'toolbar=1,';
lAttributes += 'Location=0,';
lAttributes += 'directory=0,';
lAttributes += 'status=0,';
lAttributes += 'menubar=1,';
lAttributes += 'scrollbars='+scroll+',';
lAttributes += 'resizable='+resize+',';
lAttributes += 'width='+w+',';
lAttributes += 'height='+h+'';

winId = window.open(URL,"",lAttributes);
}

function openInst(URL)
{
lAttributes = '';
lAttributes += 'toolbar=1,';
lAttributes += 'Location=0,';
lAttributes += 'directory=0,';
lAttributes += 'status=0,';
lAttributes += 'menubar=1,';
lAttributes += 'scrollbars=0,';
lAttributes += 'resizable=0,';
lAttributes += 'width=470,';
lAttributes += 'height=410';

winId = window.open(URL,"",lAttributes);
}

function timeRedirection()
{
        zonesDefinitions = timeRedirection.arguments;
        timeZoneList = new Array();

        counter=0;
        for(i=0;i<zonesDefinitions.length;i+=3)
                {
                        timeZoneList[counter] = new timeZone(zonesDefinitions[i] , zonesDefinitions[i+1] ,zonesDefinitions[i+2], zonesDefinitions[i+3])
                        timeZoneList[counter].checkTime()
                        counter++;
                }

}

function timeZone(timeMin , timeMax , URL)
{
        /* Parse des valeurs limites de la timezone */

        offsetMin = timeMin.indexOf(':');
        if(offsetMin < 0) {offsetMin=0;}

        offsetMax = timeMax.indexOf(':');
        if(offsetMax < 0) {offsetMax=0;}

        this.minHours = parseInt(timeMin.substring(0,offsetMin));
        this.minMinutes = parseInt(timeMin.substring(offsetMin+1,timeMin.length));
        this.maxHours = parseInt(timeMax.substring(0,offsetMax));
        this.maxMinutes = parseInt(timeMax.substring(offsetMax+1,timeMax.length));

        this.timeLimitMin = this.minHours * 60 +         this.minMinutes ;
        this.timeLimitMax = this.maxHours * 60 +         this.maxMinutes ;
        this.url = URL;
        this.checkTime = f_checkTime;
}

function f_checkTime()
{
        theDate = new Date();
        hours = theDate.getHours();
        minutes = theDate.getMinutes();
        currentTime = hours * 60 + minutes;

        if(this.timeLimitMin<=currentTime && currentTime<=this.timeLimitMax )
        {
                document.location = this.url;
                return;
        }
}

function checkForEmailValidity(emailAdress)
{
        var arobasIndex = emailAdress.indexOf("@");

        if(arobasIndex!=-1)
        {
                // on recherche la présence d'un point après le arobace
                if((emailAdress.substring(arobasIndex+1,emailAdress.length).indexOf(".")) !=-1)
                {
                        // succes, on soumet le formulaire

                        return true;
                }

        }
return false;
}

function formCheckEmailAlertAG()
{
        // message d'erreur en cas d'adresse email invalide
        var lang = getLanguage();
        var msgError;

        if(lang=="fr") msgError = 'Vous devez saisir votre adresse e-mail.';
        if(lang=="en") msgError = 'You must enter a valid e-mail address.';
        if(lang=="es") msgError = 'Deben entrar su correo electrónico.';

        args = formCheckEmailAlertAG.arguments;

        var formName = args[0];
        var fieldName = args[1];


        // on cherche la présence d'un arobace
        var fieldValue = eval("document." + formName + "." + fieldName + ".value" );

                // on recherche la présence d'un point après le arobace
        if(checkForEmailValidity(fieldValue ))
        {
                // succes, on soumet le formulaire
                eval("document."+formName+".submit()");
                //window.close();
                return true;
        }


        // on affiche le message d'erreur
        alert(msgError);

}
function formCheckEmailAlert()
{
        // message d'erreur en cas d'adresse email invalide
        var lang = getLanguage();
        var msgError;

        if(lang=="fr") msgError = 'Vous devez sélectionner une date et ne pas oublier de saisir votre adresse e-mail, ou cliquer sur " Annuler " pour annuler votre demande.';
        if(lang=="en") msgError = 'You must select a date and enter a valid e-mail address, or you can click on " Close " to cancel your request.';
        if(lang=="es") msgError = 'Deben seleccionar una fecha y no olvidar entrar su correo electrónico, o tecleandar sobre " Cerrar " para cancelar su envía.';

        args = formCheckEmailAlert.arguments;

        var formName = args[0];
        var fieldName = args[1];


        // on cherche la présence d'un arobace
        var fieldValue = eval("document." + formName + "." + fieldName + ".value" );

                // on recherche la présence d'un point après le arobace
        if(checkForEmailValidity(fieldValue ))
        {
                // succes, on soumet le formulaire
                eval("document."+formName+".submit()");
                //window.close();
                return true;
        }


        // on affiche le message d'erreur
        alert(msgError);

}

function formCheckContact(prefixe) {
    var lang = getLanguage();

    var msgError;
	var mail;
	var msg;
    
	if(lang=="fr") msgError = 'Vous devez saisir votre message ou cliquer sur « Fermer » pour annuler votre envoi.';
    if(lang=="en") msgError = 'Your must enter a message, or click on « Close » to cancel your request.';
    if(lang=="es") msgError = 'Deben entrar su e-mail o tecleandar sobre « Cerrar » para cancelar su envía.';

    var msgError01;

    if(lang=="fr") msgError01 = 'Merci de préciser le sujet de votre message avant de valider votre envoi.';
    if(lang=="en") msgError01 = 'Please clarify the subject of your message before validating your request.';
    if(lang=="es") msgError01 = 'Por favor, clarifique el sujeto de su mensaje antes de la validez de su petición.';

	founderrors = false;
	erreurs = '';
	
	switch (prefixe){
		case "_jo" :
		mail = document.contact_jo.mail_jo.value;
		msg = document.contact_jo.message_jo.value;
		break;
		
		case "_ac" :
		mail = document.contact_ac.mail_ac.value;
		msg = document.contact_ac.message_ac.value;
		break;
		
		case "_ai" :
		mail = document.contact_ai.mail_ai.value;
		msg = document.contact_ai.message_ai.value;
		break;
		
		case "" :
		mail = document.contact.mail.value;
		msg = document.contact.message.value;
		break;
		
	}
	if (mail== '') {
		founderrors = true;
		erreurs = msgError01 + "\n"
	}


	if (msg == '') {
		founderrors = true;
		erreurs = erreurs+ msgError
	}

	if (founderrors == true) {
	        window.alert(erreurs);
	        return false;
	}else {
	 	document.forms[0].submit();
		window.close();
	}
}

function formCheckPressRelease()
{
        // message d'erreur en cas d'adresse email invalide
        var lang = getLanguage();
        var msgError;

        if(lang=="fr") var msgError = 'Vous devez saisir au moins une adresse e-mail d'+ "'" +'un destinataire ou cliquer sur « Annuler » pour annuler votre envoi.';
        if(lang=="en") var msgError = 'You must enter at least one recipient'+ "'" +'s e-mail address, or you can click on « Close » to cancel your request.';
        if(lang=="es") var msgError = 'Deben entrar al menos un correo electrónico de un destinatario o tecleandar sobre « Cerrar » para cancelar su envío.';

        args = formCheckPressRelease.arguments;

        var formName = args[0];
        var fieldName ;


        // on cherche la présence d'un arobace
        for(i=1;i<args.length;i++)
        {
                fieldName = args[i];
                var fieldValue = eval("document." + formName + "." + fieldName + ".value" );

                // on recherche la présence d'un point après le arobace
                if(checkForEmailValidity(fieldValue ))
                {
                        // succes, on soumet le formulaire
                        eval("document."+formName+".submit()");
                        //window.close();
                        return true;
                }
        }

        // on affiche le message d'erreur
        alert(msgError);
}
function formCheckMailingList()
{
        // message d'erreur en cas d'adresse email invalide
        var lang = getLanguage();
        var msgError;

        if(lang=="fr") var msgError = 'Merci de remplir tous les champs obligatoires avant de valider votre demande';
        if(lang=="en") var msgError = 'Please type in all the required fields before validating your request';
        if(lang=="es") var msgError = 'Por favor teclee toda la información requerida antes de que Ud valide su petición';

        var nom = eval("document.mailing_gp.nom.value" );
        var prenom = eval("document.mailing_gp.prenom.value" );
        var email = eval("document.mailing_gp.email.value" );
        var pays = eval("document.mailing_gp.pays.value" );
        var lang = eval("document.mailing_gp.lang_fr.checked" );
        var lang1 = eval("document.mailing_gp.lang_es.checked" );
        var lang2 = eval("document.mailing_gp.lang_en.checked" );
        var module = eval("document.mailing_gp.Module.checked" );
        var topic = eval("document.mailing_gp.t_finances[0].checked" );
        var topic1 = eval("document.mailing_gp.t_finances[1].checked" );
        var topic2 = eval("document.mailing_gp.t_finances[2].checked" );
        var topic3 = eval("document.mailing_gp.t_enbref.checked" );
        var topic4 = eval("document.mailing_gp.t_strategie.checked" );
        var topic5 = eval("document.mailing_gp.t_techno.checked" );
        var topic6 = eval("document.mailing_gp.t_production.checked" );
        var topic7 = eval("document.mailing_gp.t_expansion.checked" );
        var topic8 = eval("document.mailing_gp.t_environnement.checked" );
        var topic9 = eval("document.mailing_gp.t_innovation.checked" );
        var topic10 = eval("document.mailing_gp.t_industriel.checked" );
        var topic11 = eval("document.mailing_gp.t_tendances.checked" );
        var topic12 = eval("document.mailing_gp.t_oxygene.checked" );
        var topic13 = eval("document.mailing_gp.t_chronoscope.checked" );
        var topic14 = eval("document.mailing_gp.t_autoart.checked" );



        if (nom.length>0 && prenom.length>0 && email.length>0  && pays.length>0 && (lang==true || lang1==true || lang2==true) && (module==true || topic1==true || topic2==true || topic3==true || topic4==true || topic5==true || topic6==true || topic7==true || topic8==true || topic9==true || topic10==true || topic11==true || topic12==true || topic13==true || topic14==true) )

        {
                // succes, on soumet le formulaire
                eval("document.mailing_gp.submit()");
                //window.close();
                return true;
        }

        // on affiche le message d'erreur
        alert(msgError);
}
function formCheckMailingListJ()
{
        //alert("hello");



        // message d'erreur en cas d'adresse email invalide
        var lang = getLanguage();
        var msgError;

        if(lang=="fr") var msgError = 'Merci de remplir tous les champs obligatoires avant de valider votre demande';
        if(lang=="en") var msgError = 'Please type in all the required fields before validating your request';
        if(lang=="es") var msgError = 'Por favor teclee toda la información requerida antes de que Ud valide su petición';


        args = formCheckMailingListJ.arguments;
        var formName = args[0];

                //alert("hello2");

        var nom = eval("document."+formName+".nom.value" );
        var prenom = eval("document."+formName+".prenom.value" );
        var email = eval("document."+formName+".email.value" );
        var fonction= eval("document."+formName+".fonction.value" );
        //var lang = eval("document."+formName+".lang.value" );
        var lang = eval("document."+formName+".lang_fr.checked" );
        var lang1 = eval("document."+formName+".lang_en.checked" );
        var lang2 = eval("document."+formName+".lang_es.checked" );

        var telecopie = eval("document."+formName+".telecopie.value" );
        var telephone = eval("document."+formName+".telephone.value" );
        //var topic = eval("document."+formName+".Topic.value" );
        var topic = eval("document."+formName+".t_finances.checked" );
        var topic1 = eval("document."+formName+".t_innovation.checked" );
        var topic2 = eval("document."+formName+".t_industriel.checked" );
        var mailing = eval("document."+formName+".mailing[0].checked" );
        var mailing1 = eval("document."+formName+".mailing[1].checked" );

 /*
        sbuff = "";

        sbuff += nom ; sbuff += " ";
        sbuff += prenom ; sbuff += " ";
        sbuff += email ; sbuff += " ";
        sbuff += fonction ; sbuff += " ";

        sbuff += lang ;        sbuff += " ";
        sbuff += lang1 ; sbuff += " ";
        sbuff += lang2 ; sbuff += " ";
        sbuff += telecopie ; sbuff += " ";
        sbuff += telephone ; sbuff += " ";
        sbuff += topic ; sbuff += " ";
        sbuff += topic1 ; sbuff += " ";
        sbuff += topic2 ; sbuff += " ";
        sbuff += mailing ; sbuff += " ";
        sbuff += mailing1 ; sbuff += " ";
*/
//        alert(sbuff);
//        if (nom.length>0 && prenom.length>0 && email.length>0  && formName.length>0 && telecopie.length>0 && telephone.length>0)
//        if (nom.length>0 && prenom.length>0 && email.length>0  && formName.length>0 && lang.length>0 && topic.length>0 && telecopie.length>0 && telephone.length>0)
        if (nom.length>0 && prenom.length>0 && email.length>0  && formName.length>0 && (lang==true || lang1==true || lang2==true )&& (topic==true || topic1==true || topic2==true ) && telecopie.length>0 && telephone.length>0)

        {
                // succes, on soumet le formulaire
                if (mailing==true) {
                eval("document."+formName+".submit()");
                return false;
                } else { eval("document."+formName+".submit()");
                         //window.close();
                return false; }

        }

        // on affiche le message d'erreur
        alert(msgError);

}

function formCheckMailingListBis()
{
        // message d'erreur en cas d'adresse email invalide
        var lang = getLanguage();
        var msgError;

        if(lang=="fr") var msgError = 'Merci de remplir tous les champs obligatoires avant de valider votre demande';
        if(lang=="en") var msgError = 'Please type in all the required fields before validating your request';
        if(lang=="es") var msgError = 'Por favor teclee toda la información requerida antes de que Ud valide su petición';

        var nom = eval("document.mailing_gp.nom.value" );
        var prenom = eval("document.mailing_gp.prenom.value" );
        var email = eval("document.mailing_gp.email.value" );
        var pays = eval("document.mailing_gp.pays.value" );
        var lang = eval("document.mailing_gp.lang_fr.checked" );
        var lang1 = eval("document.mailing_gp.lang_es.checked" );
        var lang2 = eval("document.mailing_gp.lang_en.checked" );
        var module = eval("document.mailing_gp.Module.checked" );
        var topic = eval("document.mailing_gp.t_finances[0].checked" );
        var topic1 = eval("document.mailing_gp.t_finances[1].checked" );
        var topic3 = eval("document.mailing_gp.t_enbref.checked" );
        var topic4 = eval("document.mailing_gp.t_strategie.checked" );
        var topic5 = eval("document.mailing_gp.t_techno.checked" );
        var topic6 = eval("document.mailing_gp.t_production.checked" );
        var topic7 = eval("document.mailing_gp.t_expansion.checked" );
        var topic8 = eval("document.mailing_gp.t_environnement.checked" );
        var topic11 = eval("document.mailing_gp.t_tendances.checked" );
        var topic12 = eval("document.mailing_gp.t_oxygene.checked" );
        var topic13 = eval("document.mailing_gp.t_chronoscope.checked" );
        var topic14 = eval("document.mailing_gp.t_autoart.checked" );



        if (nom.length>0 && prenom.length>0 && email.length>0  && pays.length>0 && (lang==true || lang1==true || lang2==true) && (module==true || topic1==true || topic3==true || topic4==true || topic5==true || topic6==true || topic7==true || topic8==true || topic11==true || topic12==true || topic13==true || topic14==true) )

        {
                // succes, on soumet le formulaire

                eval("document.mailing_gp.submit()");
                //window.close();
                return true;
        }

        // on affiche le message d'erreur
        alert(msgError);
}


function getLanguage()
{
var url = document.location.href;
if (url.indexOf("/fr/")!=-1) return "fr";
if (url.indexOf("/en/")!=-1) return "en";
if (url.indexOf("/es/")!=-1) return "es";
}

function directAccess(URL)
{
        var pageNameIndex = URL.lastIndexOf("/");
        pageName = URL.substring(pageNameIndex+1,URL.length);

        if(pageName=="index.php")
        {
                parent.location.href = URL;
        }
        else
        {
                location.href = URL;
        }
}

function directAccess2(URL)
{
 window.open (URL);
}


var xtest=screen.width/2-225;
var ytest=screen.height/2-180;

/* remplacee le 25 11 2004
function rerout(URL)
{
lien='http://www.psa-peugeot-citroen.com/candidat/'+URL;
window.location.href=lien;
}
*/

function rerout(URL)
{
lien='http://www.psa-peugeot-citroen.com/candidat/'+URL;
top.window.location.href=lien;
}


function openrecrutement(URL)
{
lien = 'http://www.psa-peugeot-citroen.com/candidat/'+URL;

lAttributes = '';
lAttributes += 'toolbar=0,';
lAttributes += 'Location=0,';
lAttributes += 'directory=0,';
lAttributes += 'status=0,';
lAttributes += 'menubar=0,';
lAttributes += 'scrollbars=0,';
lAttributes += 'resizable=0,';
lAttributes += 'top='+ytest+',';
lAttributes += 'left='+xtest+',';
lAttributes += 'width=450,';
lAttributes += 'height=360';

winId = window.open(lien,"",lAttributes);
}

// deploiement nav gauche
function lnshow(o){
 o.blur();
 p = o.parentNode;
 obj = p.parentNode.getElementsByTagName("DIV")[0].style;
 if(obj.display!='block'){
  p.className = "d";
  obj.display = 'block';
 }
 else{
  p.className = "u";
  obj.display = 'none';
 }
 rbinit();
 return false;
}

var IE = (document.all)?1:0;
var spd = 0.3;
var ilog = null, hdo = null;

// deploiement nav haut
function hdinit(){
 ilog = document.getElementById("logo");
 if(IE&&(arguments.length==0)){
  if(document.body.onload!=null)
	 document.onreadystatechange = function(){ if(document.readyState=="complete"){ rbinit();IErefill();}}
	else
	 document.onreadystatechange = function(){ if(document.readyState=="complete"){ IErefill();}}
  document.body.onload = function(){ hdinit(0);}
  return;
 }
 hdo = document.getElementById("hrubs");
 licol = hdo.getElementsByTagName("LI");
 for(i=0;i<licol.length;i++){
  if((licol[i].parentNode!=hdo)||(licol[i].className=='on'))
   continue;
  lio = licol[i];
  lio.evt = lievt = lio.getElementsByTagName("IMG")[0];
  lievt.prt = lio;
  lievt.chld = lio.getElementsByTagName("DIV")[0];
  if(lievt.chld.getElementsByTagName("DIV").length==0)
   continue;
  lievt.chld.prt = lievt;
  lievt.chld.H = parseInt(lievt.chld.offsetHeight);
  lievt.chld.id = "chld"+i;
  lievt.chld.reft = 139 - lievt.chld.H - 2;
  lievt.chld.v = lievt.chld.refb = 113;
  lievt.onmouseover = lievt.over = function(){
   if(this.id=="logz"){
    hdo.style.zIndex = lievt.chld.style.zIndex = 2;
   }
   this.chld.onmouseover = function(){ this.hdout = 0;};
   this.chld.onmouseout = function(){ hdtmout(this.id);}
   hdup(this.chld.id);
  }
 }
}

// timer de masquage
function hdtmout(oid){
 o = document.getElementById(oid);
 if(IE){
  if(o.contains(event.toElement)){
   return;
  }
 }
 o.hdout = 1;
 window.setTimeout("hdout('"+oid+"')", 1000);
}

// fonction de masquage
function hdout(oid){
 o = document.getElementById(oid);
 if(o.hdout==0)
  return;
 else{
// 	o.prt.onmouseover = o.prt.over;
  if(o.prt.id=="logz"){
   hdo.style.zIndex = o.style.zIndex = 0;
  }
  hddown(oid);
 }
}

// Deplacement menu vers le haut
function hdup(oid){
 o = document.getElementById(oid);
 window.clearTimeout(o.tmd);
 o.style.top = Math.round(o.v) + 'px';
 o.v += (o.reft - o.v)*spd;
 if(Math.round(o.v)<=o.reft){
  o.v = o.reft;
  o.style.top = o.v + 'px';
  return;
 }
 o.tmu = window.setTimeout("hdup('"+oid+"')", 10);
}

// Deplacement menu vers le haut
function hddown(oid){
 o = document.getElementById(oid);
 window.clearTimeout(o.tmu);
 o.style.top = Math.round(o.v) + 'px';
 o.v += (o.refb - o.v)*spd;
 if(Math.round(o.v)>=o.refb){
 	o.v = o.refb;
  o.style.top = o.v + 'px';
  return;
 }
 o.tmd = window.setTimeout("hddown('"+oid+"')", 10);
}

// fonction impression
function PSA_print(){
 if(window.print)
  window.print();
 return false;
}

// deploiement nav haut
function rbinit(){
	if(document.getElementById("PSAright")==null)
	 return;
	hinc = (IE)?30:0;
	po = document.getElementById("PSAright");
	pa = po.getElementsByTagName("DIV")[0];
	pb = document.getElementById("bborder");
	pb.style.height = 0;
	pb.style.height = (parseInt(po.offsetHeight)-parseInt(pa.offsetHeight)-hinc) + 'px';
}

/* Effacement automatique des champs de saisie */
function auto_fill(o, i){
 if(i){
  if(o.refv==null)
   o.refv = o.value;
  o.value = '';
 }
 else{
  if(o.value=='')
   o.value=o.refv;
 }
}

/* Recherche bandeau haut */
function PSAsearch(l){
	texte = document.forms[0].texte.value;
	window.location.replace('../'+l+'fonctionnelle/resultat_recherche.php?texte='+escape(texte)+'&form=1');
	return false;
}

function IErefill(){
 document.getElementById("PSAbody").style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../../img/main_left_bkg.png',sizingMethod='scale');";
 document.getElementById("PSAbody").style.height = parseInt(document.getElementById("PSAbody").offsetHeight) + 'px';
}

/* Bandeau bas */
function switchSelect(select) {
	if(document.getElementById(select).style.display == 'block') {
		closeSelect("options_other_sites");
		closeSelect("options_fast_access");
	} else {
		closeSelect("options_other_sites");
		closeSelect("options_fast_access");
		openSelect(select);
	}
}
function openSelect(select) {
	document.getElementById(select).style.display = 'block';
	IErefill();
	var heightOptions = document.getElementById(select).offsetHeight;
	document.getElementById(select).style.top = -heightOptions+25-((document.all)?2:0);
}
function closeSelect(select) {
	document.getElementById(select).style.display = 'none';
}


function contact (lg) {
	if (!lg || lg == '') {
		openWin('../fonctionnelle/contact.php','595','345','0','1');
	} else {
		openWin('../' + lg + 'fonctionnelle/contact.php','595','345','0','1');
	}
}
function mailingList (lg) {
	if (!lg || lg == '') {
		openWin('../fonctionnelle/mailing_list.php','595','345','0','1')
	} else {
		openWin('../' + lg + 'fonctionnelle/mailing_list.php','595','345','0','1');
	}

}