var winW=950; 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="#33373a"; pagebgcolor="#f4f4f4"; //roll over onbgcolor="#ffffff"; oncolor="#740806"; // menu inactif offbgcolor="transparent"; offcolor="#33373a"; bordercolor="#cccccc"; borderstyle="solid"; borderwidth=0; separatorcolor=""; separatorsize="1"; padding=5; fontsize="14px"; 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="/images/contenu/layout2011/separator.png"; } with(menuStyleSub=new mm_style()){ // menu actif pagecolor="#740806"; pagebgcolor="#f4f4f4"; //roll over onbgcolor="#ffffff"; oncolor="#740806"; // menu inactif offbgcolor="#f4f4f4"; offcolor="#333333"; bordercolor="#cccccc"; borderstyle="solid"; borderwidth=1; separatorcolor=""; separatorsize="0"; padding=4; fontsize="12px"; 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=""; } with(milonic=new menuname("Main Menu")){ style=menuStyleRoot; top=245; if (winW>950) { left = Math.round((winW-950)/2) + 350; } else left = 350; alwaysvisible=1; orientation="horizontal"; itemheight='33px';style.pagebgcolor="#f4f4f4"; style.offbgcolor="#f4f4f4"; aI("text= Accueil ;align='center';valign='middle';url=/page.asp?langue=FR&id=1204;status=Accueil;"); style.pagebgcolor="#f4f4f4"; style.offbgcolor="#f4f4f4"; aI("text= Stationnement ;align='center';valign='middle';url=/page.asp?langue=FR&id=5880;status=Stationnement;"); style.pagebgcolor="#f4f4f4"; style.offbgcolor="#f4f4f4"; aI("text= Adresses utiles ;align='center';valign='middle';url=/page.asp?langue=FR&id=5882;status=Adresses utiles;"); style.pagebgcolor="#f4f4f4"; style.offbgcolor="#f4f4f4"; aI("text= Coordonneés ;align='center';valign='middle';url=/page.asp?langue=FR&id=2811;status=Coordonneés;"); style.pagebgcolor="#f4f4f4"; style.offbgcolor="#f4f4f4"; aI("text= Chantiers ;align='center';valign='middle';url=/page.asp?langue=FR&id=6195;status=Chantiers;"); } drawMenus();