_menuCloseDelay=500           // The time delay for menus to remain visible on mouse out
_menuOpenDelay=150            // The time delay before menus open on mouse over
_subOffsetTop=10               // Sub menu top offset
_subOffsetLeft=-5              // Sub menu left offset

with(mainmenu=new mm_style()){
separatorsize="";
separatorwidth="";
separatorcolor="#194b7f";
padding="0 10 0 10";
fontsize="11px";
fontstyle="normal";
fontfamily="Verdana,Geneva,Sans-serif";
itemwidth="";
align="right";
fontweight="bold";
offcolor="#194b7f";
oncolor="#ab1925";
offbgcolor="";
onbgcolor="";
}


with(menuStyle2=new mm_style()){
separatorcolor="black";
separatorsize="1";
borderstyle="solid";
padding="2";
fontsize="10px";
fontstyle="normal";
fontfamily="Verdana,arial, Helvetica, Geneva, Swiss, sans-serif";
itemheight="18px";
itemwidth="200px";
borderwidth="1";
bordercolor="black";
offbgcolor="#163A6D";
onbgcolor="#ECE5D9";
subimage="";
//subimage="/tzr/templates/images/fleche-orange.gif";
subimagepadding="2";
oncolor="#545457";
offcolor="#ECE5D9";
}

mySubmenus=new Array();
mySubmenus_name=new Array();

function myAM(m) {mySubmenus_name[mySubmenus_name.length]=m;mySubmenus[m]=new Array();}
function myAI(m,action) {mySubmenus[m][mySubmenus[m].length]=action;return mySubmenus[m].length-1;}

myAM('main');
mname='main';
myAI(mname,'text=Moteur de recherche;url=`/home.html`;');
mname='main';
myAI(mname,'text=Contexte/Objectifs;url=`/objectifs.html`;');
mname='main';
myAI(mname,'text=Méthode;showmenu=T00323efhr4xdfg1s945sbpq8lrgdc;');
myAM('T00323efhr4xdfg1s945sbpq8lrgdc');
mname='T00323efhr4xdfg1s945sbpq8lrgdc';
myAI(mname,'text=Bases de données recensées;url=`/Bases.html`;');
mname='T00323efhr4xdfg1s945sbpq8lrgdc';
myAI(mname,'text=Procédure de validation adoptée;url=`/valid.html`;');
mname='main';
myAI(mname,'text=En savoir plus;showmenu=T00323efhr4xdfg1s9ez8dc2qgahx;');
myAM('T00323efhr4xdfg1s9ez8dc2qgahx');
mname='T00323efhr4xdfg1s9ez8dc2qgahx';
myAI(mname,'text=Actualisation;url=`/actualisation.html`;');
mname='T00323efhr4xdfg1s9ez8dc2qgahx';
myAI(mname,'text=Fiches de lecture (par base de données);url=`/fiches.html`;');
mname='T00323efhr4xdfg1s9ez8dc2qgahx';
myAI(mname,'text=Informations spécifiques à l\'OMS et la base RAIS;url=`/bases-de-donnees.html`;');
mname='T00323efhr4xdfg1s9ez8dc2qgahx';
myAI(mname,'text=Synopsis des VTR;url=`/vtr_tableaux.html`;');
mname='main';
myAI(mname,'text=Cancérogénicité;url=`/cancer.html`;');
mname='main';
myAI(mname,'text=Outils;showmenu=T00323efhr4xdfg1s945sbpmkoiatl;');
myAM('T00323efhr4xdfg1s945sbpmkoiatl');
mname='T00323efhr4xdfg1s945sbpmkoiatl';
myAI(mname,'text=Convertir;url=`/convertir.html`;');
mname='T00323efhr4xdfg1s945sbpmkoiatl';
myAI(mname,'text=Traduire;url=`/trad.html`;');
mname='T00323efhr4xdfg1s945sbpmkoiatl';
myAI(mname,'text=Glossaire des sigles;url=`/glossaire-des-sigles.html`;');
mname='main';
myAI(mname,'text=Documents utiles;url=`/documents-utiles.html`;');

with(milonic=new menuname('main')){
style=mainmenu;
alwaysvisible=1;
orientation="horizontal";
itemheight="23px";
position="relative";
 for(j=0;j<mySubmenus['main'].length;j++) aI(mySubmenus['main'][j]);
}

for(i=0;i<mySubmenus_name.length;i++) {
if(mySubmenus_name[i]!='main') {
with(milonic=new menuname(mySubmenus_name[i])){
 overflow="scroll";
 style=menuStyle2;
 var aname=mySubmenus_name[i]; 
 for(j=0;j<mySubmenus[aname].length;j++) milonic.aI(mySubmenus[aname][j]);
}
}
} 