fixMozillaZIndex=true; //Fixes Z-Index problem with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps _menuCloseDelay=100; _menuOpenDelay=150; _subOffsetTop=0; _subOffsetLeft=3; with(menuStyle=new mm_style()){ itemwidth="97"; borderstyle="solid"; borderwidth=0; align="center"; fontfamily="Arial"; fontsize="13px"; fontstyle="bold"; headerbgcolor="red"; headercolor="#ffffff"; offbgcolor="#b2dcf5"; offcolor="#000000"; onbgcolor="#00a0e2"; oncolor="#ffffff"; outfilter="randomdissolve(duration=0.3)"; overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=0)"; padding=0; pagebgcolor="#7c98ae"; pagecolor="#ffffff"; separatorcolor="#ffffff"; separatorsize=1; } with(menuStyle2=new mm_style()){ itemwidth="111"; align="center" bordercolor="#FFFFFF"; // borderstyle="solid"; borderwidth=1; fontfamily="Arial"; fontsize="70%"; fontstyle="normal"; // headerbgcolor="#FF00FF"; // headercolor="#FF00FF"; offbgcolor="#B4B4B4"; //submenu off offcolor="#ffffff"; // submenu text off onbgcolor="#555B5E"; // submenu on oncolor="#ffffff"; // submenu text on outfilter="randomdissolve(duration=0.3)"; // overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=20)"; padding=14; // pagebgcolor="#FF00FF"; // pagecolor="black"; // separatorcolor="red"; separatorsize=1; // subimage="arrow.gif"; // subimagepadding=2; } with(subStyle2=new mm_style()){ itemwidth="159"; itemheight="25"; bordercolor="#ffffff"; borderstyle="solid"; borderwidth=0; fontfamily="Arial"; fontsize="13px"; align="center"; fontstyle="normal"; headerbgcolor="#FFFF00"; headercolor="#FFFF00"; offbgcolor="#3399FF"; offcolor="#ffffff"; onbgcolor="#FFFF00"; oncolor="#000000"; outfilter="randomdissolve(duration=0.3)"; overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=3)"; padding=0; pagebgcolor="#999999"; pagecolor="#ffffff"; separatorcolor="#ffffff"; separatorsize=1; } with(milonic=new menuname("Main Menu")){ alwaysvisible=1; zindex=10; position="relative"; left=7; orientation="horizontal"; style=menuStyle; aI("text=About Us;showmenu=about;"); aI("text=Manufacturing;showmenu=manu;"); aI("text=Services;showmenu=service;"); aI("text=Improvements;url=improve.htm;"); aI("text=Elite USA;url=usa.htm;"); aI("text=Contact;showmenu=contact;"); } drawMenus();