 var edgea = new Image;
 edgea.src = "/applis/eci/wwwECEP.nsf/vwFiles/diversimg/$File/angle_menu_or_or.gif";
 var edgeb = new Image;
 edgea.src = "/applis/eci/wwwECEP.nsf/vwFiles/diversimg/$File/angle_menu_bleu_or.gif";
 var edgeb = new Image;
 edgea.src = "/applis/eci/wwwECEP.nsf/vwFiles/diversimg/$File/angle_menu_or_bleu.gif";

 if(document.layers)
  document.write('<link rel="stylesheet" type="text/css" href="/applis/eci/wwwECEP.nsf/vwFiles/css/$File/special_nn.css">');
 else
  document.write('<link rel="stylesheet" type="text/css" href="/applis/eci/wwwECEP.nsf/vwFiles/css/$File/special_ie.css">');
 
 var _menuinf = new Array();
 var rid = -1;
 var _mid = -1;
 var _off = true;
 
 function _add_rub(lib, link){
  _mid = _menuinf.length;
  _menuinf[_mid] = new Array(lib, link);
 }
 
 function _reload(){
  window.location.reload();
 }

 function _build_menu(){
  var _menu = '<table cellpadding="0" cellspacing="0" border="0" height="18"><tr>';
  
  if(_build_menu.arguments.length>0)
   rid = _build_menu.arguments[0];
   
  if(document.layers){
   for(i=0;i<_menuinf.length;i++){
    firsttd = firstlay = firstdiv = '';
    classsrc = "moff";
    imgsrc = lastimgsrc = "angle_menu_or_or.gif";
    colorsrc = "";
    if(i==rid){
     classsrc = "mon";
     imgsrc = "angle_menu_or_bleu.gif";
     lastimgsrc = "angle_menu_bleu_or.gif";
     colorsrc = "#8CC5F4";
    }
    if(i==(rid+1))
     imgsrc = "angle_menu_bleu_or.gif";
    light = 'off';
    if(i>0)
     _menu += '<td><img src="/applis/eci/wwwECEP.nsf/vwFiles/diversimg/$File/'+imgsrc+'" width="6" height="18" border="0" alt="" title="" name="int'+i+'"></td>';
    else{
     firsttd = ' width="155" align="center"';
     firstlay = ' width="100%"';
     firstdiv = ' align="center"';
    }
    if(i==rid)
     light = 'on';
     /* Modification sur la ligne suivante 
     href="#" devient href="'+_menuinf[i][1]+'"
     */
    _menu += '<td nowrap'+firsttd+'><ilayer name="m'+i+'" height="18"'+firstlay+'><layer height="18" align="center" bgcolor="'+colorsrc+'"'+firstlay+'><div class="'+classsrc+'"'+firstdiv+'><img src="/applis/eci/wwwECEP.nsf/vwFiles/diversimg/$File/p.gif" width="1" height="17" align="left" hspace="0"><a href="'+_menuinf[i][1]+'" class="m'+light+'">&nbsp;&nbsp;'+_menuinf[i][0]+'&nbsp;&nbsp;</a></div></layer></ilayer></td>';
   }
   _menu += '<td><img src="/applis/eci/wwwECEP.nsf/vwFiles/diversimg/$File/'+lastimgsrc+'" width="6" height="18" border="0" alt="" title="" name="int'+i+'"></td>';
   setTimeout('window.onresize = _reload', 1000);
  }
  else{
   for(i=0;i<_menuinf.length;i++){
    firsttd = '';
    classsrc = "moff";
    imgsrc = lastimgsrc = "angle_menu_or_or.gif";
    if(i==rid){
     classsrc = "mon";
     imgsrc = "angle_menu_or_bleu.gif";
     lastimgsrc = "angle_menu_bleu_or.gif";
    }
    if(i==(rid+1))
     imgsrc = "angle_menu_bleu_or.gif";
    if(i>0)
     _menu += '<td><img src="/applis/eci/wwwECEP.nsf/vwFiles/diversimg/$File/'+imgsrc+'" width="6" height="18" border="0" alt="" title="" name="int'+i+'"></td>';
    else
     firsttd = ' width="155" align="center"';
    _menu += '<td id="m'+i+'" nowrap class="'+classsrc+'"'+firsttd+'>&nbsp;&nbsp;'+_menuinf[i][0]+'&nbsp;&nbsp;</td>';
   }
   _menu += '<td><img src="/applis/eci/wwwECEP.nsf/vwFiles/diversimg/$File/'+lastimgsrc+'" width="6" height="18" border="0" alt="" title="" name="int'+i+'"></td>';
   window.onresize = _reload;
  }
  _menu += '</tr></table>';
  document.write(_menu);
  
  for(i=0;i<_menuinf.length;i++){
   if(document.layers)
    mymenucol.add(document.layers['m'+i].layers[0]);
   else if(document.getElementById)
    mymenucol.add(document.getElementById('m'+i));
   else if(document.all)
    mymenucol.add(document.all['m'+i]);
  }
 }

 function _menucol(){
  this.col = new Array();
  this.last = -1;
  this.add = col_add;
  this.add_nn = col_add_nn;
  this.hide = col_hide;
  this.init = col_init;
 }

 function col_add(prt){
  this.col[this.col.length] = new _menuitem(this, this.col.length, prt);
 }

 function col_add_nn(prt){
  this.col[this.col.length] = new _menuitem_nn(this, this.col.length, prt);
 }

 function col_hide(){
  if(this.last>=0)
   this.col[this.last].hide();
 }
 
 function col_init(){
  for(i=0;i<this.col.length;i++){
   if(document.layers)
    document.layers['m'+i].clip.height = document.layers['m'+i].layers[0].clip.height = 18;
   this.col[i].init();
  }
 }

 var mymenucol = new _menucol();

 function _menuitem(colo, colid, prt){
  this.colo = colo;
  this.colid = colid;
  this.prt = prt;
  this.initend = false;
  this.init = _init;

  this.prt.ho = this;
  if(rid==colid)
   this.prt.show = this.prt.hide = _true;
  else{
   if(document.layers){
    this.prt.show = prt_show_nn;
    this.prt.hide = prt_hide_nn;
   }
   else{
    this.prt.show = prt_show;
    this.prt.hide = prt_hide;
   }
  }
  this.prt.onclick = _go;
  this.prt.onmouseover = _show;
  this.prt.onmouseout = _hide;
 }

 function _init(){
  if(this.colid>0){
   this.prt._align = '';
   this.prt.lint = document.images["int"+this.colid];

   if(rid==(this.colid-1)){
    this.prt.lint.src = this.prt.lintsrcoff = '/applis/eci/wwwECEP.nsf/vwFiles/diversimg/$File/angle_menu_bleu_or.gif';
    this.prt.lintsrcon = '/applis/eci/wwwECEP.nsf/vwFiles/diversimg/$File/angle_menu_bleu_bleu.gif';
   }
   else if(rid==this.colid){
    this.prt.lint.src = this.prt.lintsrcoff = this.prt.lintsrcon = '/applis/eci/wwwECEP.nsf/vwFiles/diversimg/$File/angle_menu_or_bleu.gif';
   }
   else{
    this.prt.lint.src = this.prt.lintsrcoff = '/applis/eci/wwwECEP.nsf/vwFiles/diversimg/$File/angle_menu_or_or.gif';
    this.prt.lintsrcon = '/applis/eci/wwwECEP.nsf/vwFiles/diversimg/$File/angle_menu_or_bleu.gif';
   }
  }
  else{
   this.prt._align = ' align="center"';
   if(document.layers)
    this.prt.clip.width = 155;
   this.prt.lint = null;
  }
 
  this.prt.rint = document.images["int"+(this.colid+1)];
  if(rid==this.colid){
   this.prt.rint.src = this.prt.rintsrcoff = this.prt.rintsrcon = '/applis/eci/wwwECEP.nsf/vwFiles/diversimg/$File/angle_menu_bleu_or.gif';
  }
  else if(rid==(this.colid+1)){
   this.prt.rint.src = this.prt.rintsrcoff = '/applis/eci/wwwECEP.nsf/vwFiles/diversimg/$File/angle_menu_or_bleu.gif';
   this.prt.rintsrcon = '/applis/eci/wwwECEP.nsf/vwFiles/diversimg/$File/angle_menu_bleu_bleu.gif';
  }
  else{
   this.prt.rint.src = this.prt.rintsrcoff = '/applis/eci/wwwECEP.nsf/vwFiles/diversimg/$File/angle_menu_or_or.gif';
   this.prt.rintsrcon = '/applis/eci/wwwECEP.nsf/vwFiles/diversimg/$File/angle_menu_bleu_or.gif';
  }
 }

 function _true(){
  return true;
 }

 function _go(){
  location.href = _menuinf[this.ho.colid][1];
 }

 function _show(){
  if(!this.ho.initend)
   this.ho.init();
  if(this.ho.colo.last>=0){
   if(this.ho.colo.last != this.ho.colid){
    mymenucol.hide();
   }
  }
  this.ho.colo.last = this.ho.colid;
  this.show();
 }

 function _hide(){
  this.hide();
  this.ho.colo.last = -1;
 }

 function prt_show(){
  this.className = 'mon';
  if(this.lint!=null)
   this.lint.src = this.lintsrcon;
  this.rint.src = this.rintsrcon;
 }

 function prt_hide(){
  this.className = 'moff';
  if(this.lint!=null)
   this.lint.src = this.lintsrcoff;
  this.rint.src = this.rintsrcoff;
 }

 function prt_show_nn(){
  this.bgColor = '#8CC5F4';
  this.document.open();
  /* Modification sur la ligne suivante 
  href="#" devient href="'+_menuinf[this.ho.colid][1]+'"
  */
  this.document.write('<div class="mon"'+this._align+'><img src="/applis/eci/wwwECEP.nsf/vwFiles/diversimg/$File/p.gif" width="1" height="17" align="left" hspace="0"><a href="'+_menuinf[this.ho.colid][1]+'" class="mon">&nbsp;&nbsp;'+_menuinf[this.ho.colid][0]+'&nbsp;&nbsp;</a></div>');
  this.document.close();
  if(this.lint!=null)
   this.lint.src = this.lintsrcon;
  this.rint.src = this.rintsrcon;
 }

 function prt_hide_nn(){
  this.bgColor = '#FF9700';
  this.document.open();
  /* Modification sur la ligne suivante 
  href="#" devient href="'+_menuinf[this.ho.colid][1]+'"
  */
  this.document.write('<div class="moff"'+this._align+'><img src="/applis/eci/wwwECEP.nsf/vwFiles/diversimg/$File/p.gif" width="1" height="17" align="left" hspace="0"><a href="'+_menuinf[this.ho.colid][1]+'" class="moff">&nbsp;&nbsp;'+_menuinf[this.ho.colid][0]+'&nbsp;&nbsp;</a></div>');
  this.document.close();
  if(this.lint!=null)
   this.lint.src = this.lintsrcoff;
  this.rint.src = this.rintsrcoff;
 }
 
 function _write_close(){
 if(document.layers)
  document.write("<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" height=\"18\"><tr><td><img src=\"/applis/eci/wwwECEP.nsf/vwFiles/diversimg/$File/angle_menu_or_or.gif\" width=\"6\" height=\"18\" border=\"0\" alt=\"\" title=\"\" name=\"close\"></td><td nowrap><ilayer height=\"18\" name=\"close\"><layer height=\"18\" align=\"center\" bgcolor=\"#FF9700\" onmouseover=\"_show_close_nn()\" onmouseout=\"_hide_close_nn()\"><div class=\"moff\"><img src=\"/applis/eci/wwwECEP.nsf/vwFiles/diversimg/$File/p.gif\" width=\"1\" height=\"17\" align=\"left\" hspace=\"0\"><a href=\"javascript:self.close()\" class=\"moff\">&nbsp;&nbsp;Close&nbsp;&nbsp;</a></div></layer></ilayer></td></tr></table>");
 else
  document.write("<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" height=\"18\"><tr><td><img src=\"/applis/eci/wwwECEP.nsf/vwFiles/diversimg/$File/angle_menu_or_or.gif\" width=\"6\" height=\"18\" border=\"0\" alt=\"\" title=\"\" name=\"close\"></td><td title=\"Close window\" id=\"mclose\" nowrap class=\"moff\" onmouseover = \"this.className = 'mon';document.images['close'].src = '/applis/eci/wwwECEP.nsf/vwFiles/diversimg/$File/angle_menu_or_bleu.gif';\" onmouseout = \"this.className = 'moff';document.images['close'].src = '/applis/eci/wwwECEP.nsf/vwFiles/diversimg/$File/angle_menu_or_or.gif';\" onclick = \"self.close()\">&nbsp;&nbsp;Close&nbsp;&nbsp;</td></tr></table>");
 }
 
  function _show_close_nn(){
  theobj = document.layers['close'].layers[0];
  theobj.bgColor = '#8CC5F4';
  theobj.document.open();
  theobj.document.write('<div class="mon"><img src="/applis/eci/wwwECEP.nsf/vwFiles/diversimg/$File/p.gif" width="1" height="17" align="left" hspace="0"><a href="javascript:self.close()" class="mon">&nbsp;&nbsp;Close&nbsp;&nbsp;</a></div>');
 theobj.document.close();
  document.images['close'].src = '/applis/eci/wwwECEP.nsf/vwFiles/diversimg/$File/angle_menu_or_bleu.gif';
 }

 function _hide_close_nn(){
  theobj = document.layers['close'].layers[0];
  theobj.bgColor = '#FF9700';
  theobj.document.open();
  theobj.document.write('<div class="moff"><img src="/applis/eci/wwwECEP.nsf/vwFiles/diversimg/$File/p.gif" width="1" height="17" align="left" hspace="0"><a href="javascript:self.close()" class="moff">&nbsp;&nbsp;Close&nbsp;&nbsp;</a></div>');
  theobj.document.close();
  document.images['close'].src = '/applis/eci/wwwECEP.nsf/vwFiles/diversimg/$File/angle_menu_or_or.gif';
 }