_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=-100              // Sub menu left offset

with(mainmenu=new mm_style()){
separatorsize="";
separatorwidth="";
// bgimage="/images/bouton.jpg";
// overbgimage="/images/bouton2.jpg";
separatorcolor="";
borderwidth="0";
bordercolor="";
padding="2 15";
fontsize="11px";
fontstyle="normal";
fontfamily="Verdana,Geneva,Sans-serif";
itemwidth="";
itemheight="";
align="center";
fontweight="bold";
align="center";
offcolor="#000000";
oncolor="#324c53";
offbgcolor="#dad6d1";
onbgcolor="#dad6d1";
}


with(menuStyle2=new mm_style()){
separatorcolor="white";
separatorsize="1";
borderstyle="solid";
padding="4";
fontsize="10px";
fontstyle="normal";
fontfamily="Verdana,arial, Helvetica, Geneva, Swiss, sans-serif";
itemheight="18px";
itemwidth="200px";
borderwidth="1";
bordercolor="white";
offbgcolor="#cfc9c0";
onbgcolor="#324c53";
subimage="/data/CHARTE/mflec/8d/67/269f0f2549c50899b61197cfaf5e7574";
subimagepadding="2";
oncolor="white";
offcolor="white";
}

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

function myAM(m) {mySubmenus_name[mySubmenus_name.length]=m;mySubmenus[m]=new Array();}
function myAI(m,action) {s=new String(action);s=s.replace(/&amp;/g,'&');mySubmenus[m][mySubmenus[m].length]=s;return mySubmenus[m].length-1;}

myAM('main');
mname='main';
myAI(mname,'text=Accueil;url=/home.html;');
mname='main';
myAI(mname,'text=Ressources;url=/ressources.html;');
mname='main';
myAI(mname,'text=Contact;url=/contact.html;');

with(milonic=new menuname('main')){
style=mainmenu;
alwaysvisible=1;
orientation="horizontal";
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]);
}
}
} 