var winW=955; var winH=10; if (parseInt(navigator.appVersion)>3) { if (navigator.appName=="Netscape") { winW = window.innerWidth-20; winH = window.innerHeight; } if (navigator.appName.indexOf("Microsoft")!=-1) { winW = document.body.offsetWidth-20; winH = document.body.offsetHeight; } } _menuCloseDelay=500 // The time delay for menus to remain visible on mouse out _menuOpenDelay=150 // The time delay before menus open on mouse over _followSpeed=5 // Follow scrolling speed _followRate=40 // Follow scrolling Rate _subOffsetTop=4 // Sub menu top offset _subOffsetLeft=0 // Sub menu left offset _scrollAmount=3 // Only needed for Netscape 4.x _scrollDelay=20 // Only needed for Netcsape 4.x with(menuStyleRoot=new mm_style()){ // menu actif pagecolor="#ffffff"; pagebgcolor="#191919"; //roll over onbgcolor="#006699"; oncolor="#FFFFFF"; // menu inactif offbgcolor="#191919"; offcolor="#FFFFFF"; bordercolor="#CCCCCC"; borderstyle="solid"; borderwidth=0; separatorcolor="#969696"; separatorsize="1"; padding=2; fontsize="15px"; fontstyle=""; fontweight="normal"; fontfamily="arial"; headercolor="#000000"; headerbgcolor="#ffffff"; subimage=""; subimagepadding="5"; overfilter="Fade(duration=0.5);Alpha(opacity=100);"; //outfilter="randomdissolve(duration=0.2)"; outfilter=""; separatorimage=""; } with(menuStyleSub=new mm_style()){ // menu actif pagecolor="#ffffff"; pagebgcolor="#006699"; //roll over onbgcolor="#ffffff"; oncolor="#9eb215"; // menu inactif offbgcolor="#9eb215"; offcolor="#FFFFFF"; bordercolor="#969696"; borderstyle="solid"; borderwidth=1; separatorcolor=""; separatorsize="0"; padding=4; fontsize="12px"; fontstyle=""; fontweight="normal"; fontfamily="arial"; headercolor="#000000"; headerbgcolor="#ffffff"; subimage="/images/contenu/layout/right.gif"; subimagepadding="5"; overfilter="Fade(duration=0.5);Alpha(opacity=100);"; //outfilter="randomdissolve(duration=0.2)"; outfilter=""; } with(milonic=new menuname("Main Menu")){ style=menuStyleRoot; top=352; if (winW>955) { left = Math.round((winW-955)/2) + 1; } else left = 1; alwaysvisible=1; orientation="horizontal"; itemheight='30px';} drawMenus();