<!--
/*   Barre de Navigation       */
/*   Version 1.5 - 2003-02-25  */
/*                             */
/*   Cross Systems             */
/*                             */

function MM_reloadPage(init) {
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function MM_preloadImages() {
  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_swapImage() {
  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]; }
}
function affichePuce(cible) {
	  MM_swapImage(cible,'',imgBdnPath+'/fleche_blc.gif',1);
}

function MM_swapImgRestore() {
  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) {
  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;
}

var agt=navigator.userAgent.toLowerCase();
var nav=((agt.indexOf('mozilla')!=-1)&&(agt.indexOf('spoofer')==-1)&&(agt.indexOf('compatible')==-1)&&(agt.indexOf('opera')==-1)&&(agt.indexOf('webtv')==-1));
var ie=(agt.indexOf("msie")!=-1);
if (ie) ver=parseInt(agt.substring(agt.indexOf("msie")+5,agt.indexOf("msie")+9));
else ver=parseInt(navigator.appVersion);

function posY(elt) {
  if (document.layers) yPos=eval(elt).style.top; else {
    yPos = eval(elt).offsetTop;
    tempEl = eval(elt).offsetParent;
    while (tempEl != null) { yPos += tempEl.offsetTop; tempEl = tempEl.offsetParent; }
    return yPos;
  }
}

function posX(elt) {
  if (document.layers) xPos=eval(elt).style.left; else {
    xPos = eval(elt).offsetLeft;
    tempEl = eval(elt).offsetParent;
    while (tempEl != null) { xPos += tempEl.offsetLeft; tempEl = tempEl.offsetParent; }
    return xPos;
  }
}

function LienContact(Adresse) {
  this.Adresse = Adresse;
}

function BarreTitre(coulBarre,coulLiseret,Nom_Image, coulNousContacter, coulNousContacterOver) {
  this.coulBarre = coulBarre;
  this.coulLiseret = coulLiseret;
  this.Nom_Image = Nom_Image;
  this.Rep = getRep(this.Nom_Image);
}

function rev(text){
var backwards="";
for(count=text.length; count >= 0; count--)
backwards+=text.substring(count,count-1);
return backwards;
}

function getRep(text){
text = rev(text);
return rev(text.substring(text.indexOf('/'),text.length));
}

function AfficherBarreTitre() {
    t="";
    t+="<tr bgcolor=\""+barreTitre.coulBarre+"\">";
    t+="<td COLSPAN=\"2\" width=\"770\" height=\"14\">";
    t+="<table width=\"760\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">";
    t+="<tr>";
    t+="<td><img SRC=\""+imgSitePath+barreTitre.Nom_Image+"\" height=\"14\" ></td>";
    t+="<td align='right'><a href='" + lienContact.Adresse +"' onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('imgContact','','"+imgSitePath + barreTitre.Rep+"boutoncontact_on.gif',1);\"><img name='imgContact' SRC='"+imgSitePath + barreTitre.Rep+"boutoncontact_off.gif' border=0 height=\"14\"></a></td>";
    t+="<td width='10' align='right'></td></tr></table>";
    t+="</td><td align=\"left\" valign=\"top\"><img src=\""+imgBdnPath+"/shim.gif\" width=\"1\" height=\"1\"></td></tr>";
    t+="<tr>";
    t+="<td COLSPAN='2' height='1' bgcolor='"+barreTitre.coulLiseret+"'></td>";
    t+="</tr>";
    document.write(t);
}

var menu = null;
var selectedMenu=0;
if (activeMenu) selectedMenu=activeMenu;

if (document.layers) window.captureEvents(Event.MOUSECLICK); // listener pour NS4
if ((nav)&&(ver<5)) document.onclick=effMenusNS4; else document.onclick=effMenusDOM;

var menuBar = null;
var menuItem = null;

function Menu() {
	this.ListeMenuBar = new Array;
	this.AjouterMenuBar = AjouterMenuBar;
}

function CreateMenu() {
	var m = new Menu();
	return(m);
}

function AjouterMenuBar(NewMenuBar) {
    this.ListeMenuBar[this.ListeMenuBar.length] = NewMenuBar;
}

function MenuBar(Type,Rep,Nom,Extension,Adresse) {
	this.Nom = Nom;
	this.Type = Type;
	this.Rep = Rep;
	this.Adresse = Adresse;
	this.Extension = Extension;
	this.ListeMenuItem = new Array;
	this.CreateMenuItem = CreateMenuItem;
	this.MTimer = null;
}

function CreateMenuBar(menu,Type,Rep,Nom,Extension,Adresse) {
	var mb = new MenuBar(Type,Rep, Nom,Extension,Adresse);
	menu.AjouterMenuBar(mb);
	return(mb);
}

function CreateMenuItem(pnom, padresse) {
    var NewMenuItem = new MenuItem(pnom, padresse);
    this.ListeMenuItem[this.ListeMenuItem.length] = NewMenuItem;
    return(NewMenuItem);
}

function MenuItem(Nom,Adresse) {
	this.Nom = Nom;
	this.Adresse = Adresse;
	this.ListeMenuItem2 = new Array;
	this.CreateMenuItem2 = CreateMenuItem2;
	this.active = false;
	this.SMTimer = null;
}

function MenuItem2(Nom,Adresse) {
	this.Nom = Nom;
	this.Adresse = Adresse;
	this.active = false;
}

function CreateMenuItem2(pnom, padresse) {
    var NewMenuItem2 = new MenuItem2(pnom, padresse);
    this.ListeMenuItem2[this.ListeMenuItem2.length] = NewMenuItem2;
}

var AllSousMenu = new Array;
var AllSousMenu2 = new Array;

function effMenusNS4() {
  for (i=0;i<AllSousMenu.length;i++) effCalqNS4(AllSousMenu[i]);
  effSsMenusNS4();
}

function effSsMenusNS4() {
  for (i=0;i<AllSousMenu2.length;i++) effCalqNS4(AllSousMenu2[i]);
}

function effMenusDOM() {
  for (i=0;i<AllSousMenu.length;i++) { 	effCalqDOM(AllSousMenu[i]); }
  effSsMenusDOM();
}

function effSsMenusDOM() {
  for (i=0;i<AllSousMenu2.length;i++) effCalqDOM(AllSousMenu2[i]);
}

function effCalqNS4(n) {
	nomCalq="m"+n;
  document.layers[nomCalq].visibility='hide';
}

function effCalqDOM(i) {
  nomCalq="m"+i;
  if ((ie)&&(ver<5))
    eval(nomCalq+".style.visibility='hidden';");
  else
    document.getElementById(nomCalq).style.visibility='hidden';
}

function effSCalqDOM(i,j) {
  nomCalq="m"+i+"_"+j;
  if ((ie)&&(ver<5))
    eval(nomCalq+".style.visibility='hidden';");
  else
    document.getElementById(nomCalq).style.visibility='hidden';
}

function effSCalqNS4(i,j) {
  nomCalq="m"+i+"_"+j;
  document.layers[nomCalq].visibility='hide';
}

function affPosCalqNS4(nomCalque,x,y,offsetX,offsetY) {
  document.layers[nomCalque].left=x+offsetX;
  document.layers[nomCalque].top=y+offsetY;
  document.layers[nomCalque].visibility='show';
}

function affPosCalqDOM(nomCalque,x,y,offsetX,offsetY) {
  if ((ie)&&(ver<5)) {
    eval(nomCalque+".style.left="+(x+offsetX)+";");
    eval(nomCalque+".style.top="+(y+offsetY)+";");
    eval(nomCalque+".style.visibility='visible';");
  } else {
    document.getElementById(nomCalque).style.left=x+offsetX;
    document.getElementById(nomCalque).style.top=y+offsetY;
    document.getElementById(nomCalque).style.visibility='visible';
  }
}

function affCalqNS4(n,nomElt,typeElt) {
  nomCalque="m"+n;
  if (typeElt=='img')
    affPosCalqNS4(nomCalque,document.images[nomElt].x,document.images[nomElt].y,0,document.images[nomElt].height+10);
  else
    affPosCalqNS4(nomCalque,document.images[nomElt].x,document.images[nomElt].y,-6,11);
}

function affSsCalqNS4(n,m) {
  calqueParent="m"+n;
  nomCalque=calqueParent+"_"+m;
  nomElt="fl"+n+"_"+m;
  offsetX=10;
  offsetY=0;
  affPosCalqNS4(nomCalque,document.layers[calqueParent].document.images[nomElt].x,document.layers[calqueParent].document.images[nomElt].y,document.layers[calqueParent].x+offsetX,document.layers[calqueParent].top+offsetY);
}

function affCalqDOM(n,typeElt) {
  nomElt=menu.ListeMenuBar[n].Nom;
  nomCalque="m"+n;
  if (typeElt=='img')
    if ((ie)&&(ver<5))
      affPosCalqDOM(nomCalque,eval("posX("+nomElt+")"),eval("posY("+nomElt+")"),0,eval(nomElt+".height")+10);
    else
      affPosCalqDOM(nomCalque,posX(document.getElementById(nomElt)),posY(document.getElementById(nomElt)),0,document.getElementById(nomElt).height+10);
  else {
    if (ie)
      if (ver<5)
        affPosCalqDOM(nomCalque,eval("posX("+nomElt+")"),eval("posY("+nomElt+")"),-6,25);
      else
        if (ver<6)
          affPosCalqDOM(nomCalque,posX(document.getElementById(nomElt)),posY(document.getElementById(nomElt)),-7,25);
        else
          affPosCalqDOM(nomCalque,posX(document.getElementById(nomElt)),posY(document.getElementById(nomElt)),-7,20);
    else
    if (nav)
      affPosCalqDOM(nomCalque,posX(document.getElementById(nomElt)),posY(document.getElementById(nomElt)),-7,21);
  }
}

function affSsCalqDOM(n,m) {
  offsetX=6;
  offsetY=0;
  calqueParent="m"+n;
  nomCalque=calqueParent+"_"+m;
  nomElt="fl"+n+"_"+m;
  if ((ie)&&(ver<5))
    affPosCalqDOM(nomCalque,eval("posX("+nomElt+")"),eval("posY("+nomElt+")"),offsetX,offsetY);
  else
    affPosCalqDOM(nomCalque,posX(document.getElementById(nomElt)),posY(document.getElementById(nomElt)),offsetX,offsetY);
}

function affM(n,type) {
  menu.ListeMenuBar[n].active=true;
  if (menu.ListeMenuBar[n].ListeMenuItem.length>0) {
    clearTimeout(menu.ListeMenuBar[n].MTimer);
    effMenusDOM();
    affCalqDOM(n,type);
  }
}

function effM(n) {
  menu.ListeMenuBar[n].active='afermer';
  if (menu.ListeMenuBar[n].ListeMenuItem.length>0) {
    menu.ListeMenuBar[n].MTimer=setTimeout('effaceM()',500);
  }
}

function entreM(n) {
  clearTimeout(menu.ListeMenuBar[n].MTimer);
  menu.ListeMenuBar[n].active=true;
}

function sortM(n) {
  if (menu.ListeMenuBar[n].ListeMenuItem.length>0) {
    menu.ListeMenuBar[n].active='afermer';
    menu.ListeMenuBar[n].MTimer=setTimeout('effaceM()',500);
  }
  else
    menu.ListeMenuBar[n].active=false;
}

function affSM(m,n) {
  menu.ListeMenuBar[m].ListeMenuItem[n].active=true;
  if (menu.ListeMenuBar[m].ListeMenuItem[n].ListeMenuItem2.length>0) {
    clearTimeout(menu.ListeMenuBar[m].ListeMenuItem[n].SMTimer);
    effSsMenusDOM();
    affSsCalqDOM(m,n);
  }
}

function effSM(m,n) {
  menu.ListeMenuBar[m].ListeMenuItem[n].active='afermer';
  if (menu.ListeMenuBar[m].ListeMenuItem[n].ListeMenuItem2.length>0) {
    menu.ListeMenuBar[m].ListeMenuItem[n].SMTimer=setTimeout('effaceSM()',500);
  }
}

function entreSM(m,n) {
  menu.ListeMenuBar[m].ListeMenuItem[n].active=true;
  clearTimeout(menu.ListeMenuBar[m].MTimer);
  clearTimeout(menu.ListeMenuBar[m].ListeMenuItem[n].SMTimer);
  if (ie) {
    if (ver<5)
      eval("a"+m+"_"+n+".className='BMitemHilighted';");
    else 
      document.getElementById("a"+m+"_"+n).className="BMitemHilighted";	
  } else
    if (nav)
      document.getElementById("a"+m+"_"+n).className="BMitemHilighted";
}

function sortSM(m,n) {
  menu.ListeMenuBar[m].ListeMenuItem[n].active='afermer';
  menu.ListeMenuBar[m].ListeMenuItem[n].SMTimer=setTimeout('effaceSM()',500);
  menu.ListeMenuBar[m].active='afermer';
  menu.ListeMenuBar[m].MTimer=setTimeout('effaceM()',500);
  if (ie) {
    if (ver<5)
      eval("a"+m+"_"+n+".className='BMitemIE';");
    else 
      document.getElementById("a"+m+"_"+n).className="BMitemIE";	
  } else
    if (nav)
      document.getElementById("a"+m+"_"+n).className="BMitemDOM";
}

function effaceM() {
  for (var i=0;i<menu.ListeMenuBar.length;i++) {
    if (menu.ListeMenuBar[i].active=='afermer') {
      if (menu.ListeMenuBar[i].ListeMenuItem.length>0) effCalqDOM(i);
      menu.ListeMenuBar[i].active=false;
    }
  }
}

function effaceSM() {
  for (var i=0;i<menu.ListeMenuBar.length;i++) {
    for (var j=0;j<menu.ListeMenuBar[i].ListeMenuItem.length>0;j++) {
      if (menu.ListeMenuBar[i].ListeMenuItem[j].active=='afermer') {
        if (menu.ListeMenuBar[i].ListeMenuItem[j].ListeMenuItem2.length>0) effSCalqDOM(i,j);
      }
    }
  }
}

function AfficherMenu() {
	if (nav&&ver<5)
	  AfficherMenuNetscape4();
	else
	  AfficherMenuDOM();
}

function AfficherBarreMenu() {
	if (nav&&ver<5)
	  AfficherBarreMenuNetscape4();
	else
	  AfficherBarreMenuDOM();
}

// Cette fonction construit le code html afin d'afficher le menu pour Netscape
function AfficherBarreMenuNetscape4() {

    var MenuBar = null;
    var MenuItem = null;
    var iter2 = 0;
    var iter3 = 0;
b="";

    for (var iter=0;iter<menu.ListeMenuBar.length;iter++) {

        MenuBar = menu.ListeMenuBar[iter];
        
        if (MenuBar.Type=='img') {
            if (iter==0)
              b+="&nbsp;<img src=\""+imgSitePath+MenuBar.Rep+"/m_sep_g.gif\">";
            b+="<a href=\""+MenuBar.Adresse+"\" onMouseOver=\"effMenusNS4();";
            if (iter!=selectedMenu)
              b+="MM_swapImage('"+MenuBar.Nom+"','','"+imgSitePath+MenuBar.Rep+MenuBar.Nom+"_on"+MenuBar.Extension+"',1);";
            if (MenuBar.ListeMenuItem.length>0)
              b+="affCalqNS4("+iter+",'"+MenuBar.Nom+"','img')";
            b+="\" onMouseOut=\"MM_swapImgRestore()\">";
            if (iter!=selectedMenu)
              b+="<img src=\""+imgSitePath+MenuBar.Rep+MenuBar.Nom+"_off"+MenuBar.Extension+"\" ";
            else
              b+="<img src=\""+imgSitePath+MenuBar.Rep+MenuBar.Nom+"_on"+MenuBar.Extension+"\" ";
            b+="name=\""+MenuBar.Nom+"\" height=\"10\" border=\"0\" ";
            b+="></a>"; 
            b+="<img src=\""+imgSitePath+MenuBar.Rep+"/m_sep.gif\">";

        } else {


            if (iter==0)
              b+="&nbsp;<font class=\"BMtitreMenuNS4\">|</font>&nbsp;";
            b+="<a onMouseOver=\"effMenusNS4();";
            if (MenuBar.ListeMenuItem.length>0)
              b+="affCalqNS4("+iter+",'"+MenuBar.Nom+"','txt')";
            b+="\""; 
            if (iter==selectedMenu)
              b+=" class=\"BMtitreMenuSelNS4\"";
            else
              b+=" class=\"BMtitreMenuNS4\"";
            if (MenuBar.Adresse!="")
              b+=" href=\""+MenuBar.Adresse+"\"";
              else b+=" href=\"#\"";
            b+="><img src=\""+imgSitePath+"/tr_ns4.gif\" border=\"0\" name=\""+MenuBar.Nom+"\" width=\"1\" Height=\"1\">";
            b+=MenuBar.Nom;
            b+="</a>"; 
            b+="&nbsp;<font class=\"BMtitreMenuNS4\">|</font>&nbsp;";
        }
    }
document.write(b);
}


function AfficherMenuNetscape4() {


    var MenuBar = null;
    var MenuItem = null;
    var iter2 = 0;
    var iter3 = 0;

    for (var iter=0;iter<menu.ListeMenuBar.length;iter++) {
      MenuBar = menu.ListeMenuBar[iter];
      m="";
      n="";
      if (MenuBar.ListeMenuItem.length>0) {
        AllSousMenu[AllSousMenu.length] = iter;

n+="    <div name=\"m"+iter+"\" style=\"position:absolute; z-index:1; visibility: hidden;\">";
n+="      <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\">";
n+="        <tr>";
n+="          <td align=\"left\" valign=\"top\">";
n+="            <table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">";
n+="              <tr>";
n+="                <td width=\"1\" align=\"left\" valign=\"top\" bgcolor=\"#0D5674\"><img src=\""+imgBdnPath+"/shim.gif\" width=\"1\" height=\"1\"></td>";
n+="                <td align=\"left\" valign=\"top\" bgcolor=\"#00B1C1\">";
n+="                  <table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">";

for (iter2 = 0;iter2<MenuBar.ListeMenuItem.length;iter2++) {
MenuItem = MenuBar.ListeMenuItem[iter2];

n+="                    <tr>";
n+="                      <td align=\"center\" valign=\"middle\"><img src=\""+imgBdnPath+"/shim.gif\" name=\"puce"+iter+"_"+iter2+"\" width=\"6\" height=\"9\"></td>";
n+="                      <td align=\"left\" valign=\"top\">";
n+="		            <div>";
if (MenuItem.ListeMenuItem2.length>0)
n+="			      <a href=\""+MenuItem.Adresse+"\" onMouseOver=\"affichePuce('puce"+iter+"_"+iter2+"'); effSsMenusNS4(); affSsCalqNS4("+iter+","+iter2+");\" onMouseOut=\"MM_swapImgRestore();\" class=\"BMitemNS4\">";
else
n+="			      <a href=\""+MenuItem.Adresse+"\" onMouseOver=\"affichePuce('puce"+iter+"_"+iter2+"'); effSsMenusNS4();\" onMouseOut=\"MM_swapImgRestore();\" class=\"BMitemNS4\">";
n+=MenuItem.Nom;
n+="                          </a>";
n+="   			    </div>";
n+="	                  </td>";
n+="		          <td>";
if (MenuItem.ListeMenuItem2.length>0)
n+="		            <img src=\""+imgBdnPath+"/submenu2.gif\" border=\"0\" align=\"bottom\" name=\"fl"+iter+"_"+iter2+"\">";
else
n+="		            <img src=\""+imgBdnPath+"/shim.gif\" border=\"0\" align=\"bottom\">";
n+="		          </td>";
n+="                    </tr>";
}

n+="                  </table>";
n+="                </td>";
n+="                <td width=\"1\" align=\"left\" valign=\"top\" bgcolor=\"#0D5674\"><img src=\""+imgBdnPath+"/shim.gif\" width=\"1\" height=\"1\"></td>";
n+="                <td width=\"2\" align=\"left\" valign=\"top\" bgcolor=\"#cccccc\"><img src=\""+imgBdnPath+"/shim.gif\" width=\"2\" height=\"1\"></td>";
n+="              </tr>";
n+="            </table>";
n+="          </td>";
n+="        </tr>";
n+="        <tr>";
n+="          <td height=\"3\" align=\"left\" valign=\"top\">";
n+="            <table width=\"100%\" height=\"3\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">";
n+="              <tr>";
n+="                <td width=\"100%\" height=\"1\" align=\"right\" valign=\"top\" bgcolor=\"#0D5674\"><img src=\""+imgBdnPath+"/shim_gris_ombre.gif\" width=\"2\" height=\"1\"></td>";
n+="              </tr>";
n+="              <tr>";
n+="                <td width=\"100%\" height=\"2\" align=\"left\" valign=\"top\" bgcolor=\"#cccccc\"><img src=\""+imgBdnPath+"/shim_blanc.gif\" width=\"1\" height=\"2\"></td>";
n+="              </tr>";
n+="            </table>";
n+="          </td>";
n+="        </tr>";
n+="      </table>";
n+="    </div>";

      }
      document.write(n);
    }

    for (var iter=0;iter<menu.ListeMenuBar.length;iter++) {
      MenuBar = menu.ListeMenuBar[iter];
      n="";
      if (MenuBar.ListeMenuItem.length>0) {
        for (iter2 = 0;iter2<MenuBar.ListeMenuItem.length;iter2++) {
          MenuItem = MenuBar.ListeMenuItem[iter2];
          AllSousMenu2[AllSousMenu2.length] = iter+"_"+iter2;
n+="<div name=\"m"+iter+"_"+iter2+"\" style=\"position:absolute; z-index:1; visibility: hidden;\">";

n+="      <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\">";
n+="        <tr>";
n+="          <td height=\"1\" align=\"left\" valign=\"top\">";
n+="            <table width=\"100%\" height=\"1\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">";
n+="              <tr>";
n+="                <td width=\"100%\" height=\"1\" align=\"right\" valign=\"top\" bgcolor=\"#0D5674\"><img src=\""+imgBdnPath+"/shim_gris_ombre.gif\" width=\"2\" height=\"1\"></td>";
n+="              </tr>";
n+="            </table>";
n+="          </td>";
n+="        </tr>";
n+="        <tr>";
n+="          <td align=\"left\" valign=\"top\">";
n+="            <table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">";
n+="              <tr>";
n+="                <td width=\"1\" align=\"left\" valign=\"top\" bgcolor=\"#0D5674\"><img src=\""+imgBdnPath+"/shim.gif\" width=\"1\" height=\"1\"></td>";
n+="                <td align=\"left\" valign=\"top\" bgcolor=\"#00B1C1\">";
n+="                  <table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">";
for (iter3 = 0;iter3<MenuItem.ListeMenuItem2.length;iter3++) {
MenuItem2 = MenuItem.ListeMenuItem2[iter3];
n+="                    <tr>";
n+="                      <td align=\"center\" valign=\"middle\"><img src=\""+imgBdnPath+"/shim.gif\" name=\"puce"+iter+"_"+iter2+"_"+iter3+"\" width=\"6\" height=\"9\"></td>";
n+="                      <td align=\"left\" valign=\"top\">";
n+="                        <div>";
n+="                          <a href=\""+MenuItem2.Adresse+"\" onMouseOver=\"affichePuce('puce"+iter+"_"+iter2+"_"+iter3+"\');\" onMouseOut=\"MM_swapImgRestore();\" class=\"BMitemNS4\">"+MenuItem2.Nom+"&nbsp;</a>";
n+="                        </div>";
n+="                      </td>";
n+="                    </tr>";
}
n+="                  </table>";
n+="                </td>";
n+="                <td width=\"1\" align=\"left\" valign=\"top\" bgcolor=\"#0D5674\"><img src=\""+imgBdnPath+"/shim.gif\" width=\"1\" height=\"1\"></td>";
n+="                <td width=\"2\" align=\"left\" valign=\"top\" bgcolor=\"#cccccc\"><img src=\""+imgBdnPath+"/shim.gif\" width=\"2\" height=\"1\"></td>";
n+="              </tr>";
n+="            </table>";
n+="          </td>";
n+="        </tr>";
n+="        <tr>";
n+="          <td height=\"3\" align=\"left\" valign=\"top\">";
n+="            <table width=\"100%\" height=\"3\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">";
n+="              <tr>";
n+="                <td width=\"100%\" height=\"1\" align=\"right\" valign=\"top\" bgcolor=\"#0D5674\"><img src=\""+imgBdnPath+"/shim_gris_ombre.gif\" width=\"2\" height=\"1\"></td>";
n+="              </tr>";
n+="              <tr>";
n+="                <td width=\"100%\" height=\"2\" align=\"left\" valign=\"top\" bgcolor=\"#cccccc\"><img src=\""+imgBdnPath+"/shim_blanc.gif\" width=\"1\" height=\"2\"></td>";
n+="              </tr>";
n+="            </table>";
n+="          </td>";
n+="        </tr>";

n+="      </table>";

n+="    </div>";
        }
      }
      document.write(n);
    }
}

function AfficherBarreMenuDOM() {

    var MenuBar = null;
    var MenuItem = null;
    var iter2 = 0;
    var iter3 = 0;
b="";

    for (var iter=0;iter<menu.ListeMenuBar.length;iter++) {

        MenuBar = menu.ListeMenuBar[iter];
        
        if (MenuBar.Type=='img') {
            if (iter==0)
            b+="&nbsp;<img src=\""+imgSitePath+MenuBar.Rep+"/m_sep_g.gif\">";

            b+="<a href=\""+MenuBar.Adresse+"\" ";
            b+="onMouseOver=\"affM("+iter+",'img');";
            if (iter!=selectedMenu)
              b+="MM_swapImage('"+MenuBar.Nom+"','','"+imgSitePath+MenuBar.Rep+MenuBar.Nom+"_on"+MenuBar.Extension+"',1);";
            b+="\" onMouseOut=\"effM("+iter+");MM_swapImgRestore()\">";
            if (iter!=selectedMenu)
              b+="<img src=\""+imgSitePath+MenuBar.Rep+MenuBar.Nom+"_off"+MenuBar.Extension+"\" ";
            else
              b+="<img src=\""+imgSitePath+MenuBar.Rep+MenuBar.Nom+"_on"+MenuBar.Extension+"\" ";
            b+="id=\""+MenuBar.Nom+"\" height=\"10\" border=\"0\" ";
            b+="></a>"; 
            b+="<img src=\""+imgSitePath+MenuBar.Rep+"/m_sep.gif\">";

        } else {

            if (iter==0)
              b+="&nbsp;<font class=\"BMtitreMenuIE\">|</font>&nbsp;";
            if (iter==selectedMenu)
              b+="<a class=\"BMtitreMenuSelIE\"";
            else
              b+="<a class=\"BMtitreMenuIE\"";
            if (MenuBar.Adresse!="") 
              b+=" id=\""+MenuBar.Nom+"\" href=\""+MenuBar.Adresse+"\" ";
              else b+=" href=\"#\" ";
            if (MenuBar.ListeMenuItem.length>0)
              b+="onMouseOver=\"affM("+iter+",'txt');\"";
            b+=" onMouseOut=\"effM("+iter+");";
            if (iter!=selectedMenu)
              b+=" this.className='BMtitreMenuIE';";
            b+="\">";
            b+=MenuBar.Nom;
            b+="</a>"; 
            b+="&nbsp;<font class=\"BMtitreMenuIE\">|</font>&nbsp;";
        }
    }
document.write(b);

}

function AfficherMenuDOM() {

    var MenuBar = null;
    var MenuItem = null;
    var iter2 = 0;
    var iter3 = 0;

    for (var iter=0;iter<menu.ListeMenuBar.length;iter++) {
      MenuBar = menu.ListeMenuBar[iter];
      n="";
      if (MenuBar.ListeMenuItem.length>0) {
        AllSousMenu[AllSousMenu.length] = iter;

n+="    <div id=\"m"+iter+"\" style=\"position:absolute; z-index:1; visibility: hidden;\" onMouseOver=\"entreM("+iter+");\" onMouseOut=\"sortM("+iter+");\">";
n+="      <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\">";
n+="        <tr>";
n+="          <td align=\"left\" valign=\"top\">";
n+="            <table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">";
n+="              <tr>";
n+="                <td width=\"1\" align=\"left\" valign=\"top\" bgcolor=\"#0D5674\"><img src=\""+imgBdnPath+"/shim.gif\" width=\"1\" height=\"1\"></td>";
n+="                <td align=\"left\" valign=\"top\" bgcolor=\"#00B1C1\">";
n+="                  <table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">";

for (iter2 = 0;iter2<MenuBar.ListeMenuItem.length;iter2++) {
MenuItem = MenuBar.ListeMenuItem[iter2];

n+="                    <tr>";
n+="                      <td align=\"center\" valign=\"middle\"><img src=\""+imgBdnPath+"/shim.gif\" id=\"puce"+iter+"_"+iter2+"\" width=\"6\" height=\"9\"></td>";
n+="                      <td align=\"left\" valign=\"top\">";
n+="		            <div>";
n+="			      <a id=\"a"+iter+"_"+iter2+"\" href=\""+MenuItem.Adresse+"\" onMouseOver=\"affichePuce('puce"+iter+"_"+iter2+"');";
if (MenuItem.ListeMenuItem2.length>0)
  n+="affSM("+iter+","+iter2+");";
else
  n+="effSsMenusDOM();";
n+="\" onMouseOut=\"MM_swapImgRestore();";
if (MenuItem.ListeMenuItem2.length>0)
n+="effSM("+iter+","+iter2+");";
n+="\"";
if (ie)
  n+=" class=\"BMitemIE\">";
else
  n+=" class=\"BMitemDOM\">";
n+=MenuItem.Nom;
n+="                          </a>";
n+="   			    </div>";
n+="	                  </td>";
n+="		          <td>";
if (MenuItem.ListeMenuItem2.length>0)
n+="		            <img src=\""+imgBdnPath+"/submenu2.gif\" border=\"0\" align=\"bottom\" id=\"fl"+iter+"_"+iter2+"\">";
else
n+="		            <img src=\""+imgBdnPath+"/shim.gif\" border=\"0\" align=\"bottom\">";
n+="		          </td>";
n+="                    </tr>";
}
n+="                  </table>";
n+="                </td>";
n+="                <td width=\"1\" align=\"left\" valign=\"top\" bgcolor=\"#0D5674\"><img src=\""+imgBdnPath+"/shim.gif\" width=\"1\" height=\"1\"></td>";
n+="                <td width=\"2\" align=\"left\" valign=\"top\" bgcolor=\"#cccccc\"><img src=\""+imgBdnPath+"/shim.gif\" width=\"2\" height=\"1\"></td>";
n+="              </tr>";
n+="            </table>";
n+="          </td>";
n+="        </tr>";
n+="        <tr>";
n+="          <td height=\"3\" align=\"left\" valign=\"top\">";
n+="            <table width=\"100%\" height=\"3\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">";
n+="              <tr>";
n+="                <td width=\"100%\" height=\"1\" align=\"right\" valign=\"top\" bgcolor=\"#0D5674\"><img src=\""+imgBdnPath+"/shim_gris_ombre.gif\" width=\"2\" height=\"1\"></td>";
n+="              </tr>";
n+="              <tr>";
n+="                <td width=\"100%\" height=\"2\" align=\"left\" valign=\"top\" bgcolor=\"#cccccc\"><img src=\""+imgBdnPath+"/shim_blanc.gif\" width=\"1\" height=\"2\"></td>";
n+="              </tr>";
n+="            </table>";
n+="          </td>";
n+="        </tr>";
n+="      </table>";
n+="    </div>";

      }
      document.write(n);
    }

    for (var iter=0;iter<menu.ListeMenuBar.length;iter++) {
      MenuBar = menu.ListeMenuBar[iter];
      n="";
      if (MenuBar.ListeMenuItem.length>0) {
        for (iter2 = 0;iter2<MenuBar.ListeMenuItem.length;iter2++) {
          MenuItem = MenuBar.ListeMenuItem[iter2];
          AllSousMenu2[AllSousMenu2.length] = iter+"_"+iter2;
n+="<div id=\"m"+iter+"_"+iter2+"\" style=\"position:absolute; z-index:1; visibility: hidden;\" onMouseOver=\"entreSM("+iter+","+iter2+");\" onMouseOut=\"sortSM("+iter+","+iter2+");\">";

n+="      <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\">";
n+="        <tr>";
n+="          <td height=\"1\" align=\"left\" valign=\"top\">";
n+="            <table width=\"100%\" height=\"1\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">";
n+="              <tr>";
n+="                <td width=\"100%\" height=\"1\" align=\"right\" valign=\"top\" bgcolor=\"#0D5674\"><img src=\""+imgBdnPath+"/shim_gris_ombre.gif\" width=\"2\" height=\"1\"></td>";
n+="              </tr>";
n+="            </table>";
n+="          </td>";
n+="        </tr>";
n+="        <tr>";
n+="          <td align=\"left\" valign=\"top\">";
n+="            <table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">";
n+="              <tr>";
n+="                <td width=\"1\" align=\"left\" valign=\"top\" bgcolor=\"#0D5674\"><img src=\""+imgBdnPath+"/shim.gif\" width=\"1\" height=\"1\"></td>";
n+="                <td align=\"left\" valign=\"top\" bgcolor=\"#00B1C1\">";
n+="                  <table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">";
for (iter3 = 0;iter3<MenuItem.ListeMenuItem2.length;iter3++) {
MenuItem2 = MenuItem.ListeMenuItem2[iter3];
n+="                    <tr>";
n+="                      <td align=\"center\" valign=\"middle\"><img src=\""+imgBdnPath+"/shim.gif\" id=\"puce"+iter+"_"+iter2+"_"+iter3+"\" width=\"6\" height=\"9\"></td>";
n+="                      <td align=\"left\" valign=\"top\">";
n+="                        <div>";
n+="                          <a href=\""+MenuItem2.Adresse+"\" onMouseOver=\"affichePuce('puce"+iter+"_"+iter2+"_"+iter3+"\');\" onMouseOut=\"MM_swapImgRestore();\"";
if (ie)
  n+=" class=\"BMitemIE\">"
else
  n+=" class=\"BMitemDOM\">"
n+=MenuItem2.Nom+"&nbsp;</a>";
n+="                        </div>";
n+="                      </td>";
n+="                    </tr>";
}
n+="                  </table>";
n+="                </td>";
n+="                <td width=\"1\" align=\"left\" valign=\"top\" bgcolor=\"#0D5674\"><img src=\""+imgBdnPath+"/shim.gif\" width=\"1\" height=\"1\"></td>";
n+="                <td width=\"2\" align=\"left\" valign=\"top\" bgcolor=\"#cccccc\"><img src=\""+imgBdnPath+"/shim.gif\" width=\"2\" height=\"1\"></td>";
n+="              </tr>";
n+="            </table>";
n+="          </td>";
n+="        </tr>";
n+="        <tr>";
n+="          <td height=\"3\" align=\"left\" valign=\"top\">";
n+="            <table width=\"100%\" height=\"3\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">";
n+="              <tr>";
n+="                <td width=\"100%\" height=\"1\" align=\"right\" valign=\"top\" bgcolor=\"#0D5674\"><img src=\""+imgBdnPath+"/shim_gris_ombre.gif\" width=\"2\" height=\"1\"></td>";
n+="              </tr>";
n+="              <tr>";
n+="                <td width=\"100%\" height=\"2\" align=\"left\" valign=\"top\" bgcolor=\"#cccccc\"><img src=\""+imgBdnPath+"/shim_blanc.gif\" width=\"1\" height=\"2\"></td>";
n+="              </tr>";
n+="            </table>";
n+="          </td>";
n+="        </tr>";

n+="      </table>";

n+="    </div>";
        }
      }
      document.write(n);
    }
}

//-->
