fixMozillaZIndex=true; //Fixes Z-Index problem with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps _menuCloseDelay=500; _menuOpenDelay=150; _subOffsetTop=0; _subOffsetLeft=-2; if (screen.width <= 1024){ distance = 128 } if ((screen.width > 1024) && (screen.width<1280) ){ distance = 64 } if (screen.width >= 1280){ distance = 0 } with(menuStyle=new mm_style()){ bordercolor="#000080"; borderstyle="solid"; borderwidth=1; fontfamily="Verdana, Arial"; fontsize="11"; fontstyle="bold"; headerbgcolor="#000080"; headercolor="#FFFFFF"; offbgcolor="#000080"; offcolor="#FFFFFF"; onbgcolor="#035fe3"; oncolor="#FFFFFF"; outfilter="randomdissolve(duration=0.1)"; overfilter="Fade(duration=0.1);Alpha(opacity=95)"; padding=5; pagebgcolor="#035fe3"; pagecolor="#FFFFFF"; separatorcolor="#FFFFFF"; separatorsize=1; subimage=""; subimagepadding=2; } with(milonic=new menuname("Main Menu")){ style=menuStyle; menualign="center"; alwaysvisible=1; orientation="horizontal"; position="relative"; aI("text=;"); aI("text= HOME ;url=/home.php"); aI("showmenu=OurCompany;text= OUR COMPANY ;"); aI("text= PRODUCTS & SERVICES ;url=/content.php?pgid=46;"); aI("text= STOCK ;url=/content.php?pgid=38;"); aI("text= CUSTOMER LOGIN ;url=/docu/index.php;"); aI("text= CAREER CENTER ;url=/content.php?pgid=23;"); aI("showmenu=ContactUs;text= CONTACT US ;"); } with(milonic=new menuname("OurCompany")){ overflow="scroll"; style=menuStyle; itemwidth = 150; aI("text=Company Profile;url=/content.php?pgid=13;") aI("text=Our Vision;url=/content.php?pgid=16;") aI("text=Our Mission;url=/content.php?pgid=15;") aI("text=Our Values;url=/content.php?pgid=14;") aI("text=HS&E;url=/content.php?pgid=31;") aI("text=Quality Assurance;url=/content.php?pgid=17;") } with(milonic=new menuname("ContactUs")){ overflow="scroll"; style=menuStyle; itemwidth = 150; aI("text=Contact Information;url=/content.php?pgid=24;") aI("text=Inquiry Form;url=inquiry.php;") aI("text=Help Us to Serve You Better;url=/content.php?pgid=26;") } drawMenus();