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=2; _subOffsetLeft=-2; with(menuStyle=new mm_style()){ styleid=1; itemheight=40; bordercolor="#ffffff"; borderstyle="solid"; borderwidth=0; fontfamily="Verdana, Tahoma, Arial"; fontsize="13px"; fontstyle="normal"; fontweight="bold"; headerbgcolor="#ffffff"; headercolor="#000000"; image="images/spacer.gif"; imagepadding=7; offbgcolor="#727B84"; offcolor="#ffffff"; onbgcolor="#ffffff"; oncolor="#727B84"; outfilter="randomdissolve(duration=0.3)"; overfilter="Fade(duration=0.2);Alpha(opacity=90);"; overimage=""; padding=4; pagebgcolor="#82B6D7"; pagecolor="black"; separatorcolor="#ffffff"; separatorsize=0; subimage="images/menu_dot.gif"; subimagepadding=7; } with(submenuStyle=new mm_style()){ bordercolor="#ffffff"; borderstyle="solid"; borderwidth=1; fontfamily="Verdana, Tahoma, Arial"; fontsize="8pt"; fontstyle="normal"; headerbgcolor="#ffffff"; headercolor="#000000"; offbgcolor="#727B84"; offcolor="#ffffff"; onbgcolor="#ffffff"; oncolor="#727B84"; outfilter="randomdissolve(duration=0.3)"; overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=5)"; padding=4; pagebgcolor="#82B6D7"; pagecolor="black"; separatorcolor="#ffffff"; separatorsize=1; subimage="http://www.milonic.com/menuimages/arrow.gif"; subimagepadding=2; } with(milonic=new menuname("Main Menu")){ alwaysvisible=1; orientation="horizontal"; style=menuStyle; aI("showmenu=Home;text=Home;url=index.asp;"); aI("showmenu=About Us;text=About Us;url=about_company.asp;"); aI("showmenu=Factory;text=Factory;url=factory_information.asp;"); aI("showmenu=Cooperation;text=Cooperation;url=customer.asp;"); aI("showmenu=Product;text=Product;url=product.asp;"); aI("showmenu=News;text=News;url=news_advertisement.asp;"); aI("showmenu=Career;text=Career;url=career.asp;"); } with(milonic=new menuname("About Us")){ margin=7; style=submenuStyle; aI("text=Company Profile;url=about_company.asp;"); aI("text=People;url=about_people.asp;"); aI("text=Management;url=about_management.asp;"); aI("text=Corporate Milestone;url=about_milestone.asp;"); } with(milonic=new menuname("Factory")){ margin=7; style=submenuStyle; aI("text=Information;url=factory_information.asp;"); aI("text=Video Tour;url=factory_tour.asp;"); aI("text=Location;url=factory_location.asp;"); aI("text=Accreditation;url=factory_accreditation.asp;"); } with(milonic=new menuname("Cooperation")){ margin=7; style=submenuStyle; aI("text=Customer;url=customer.asp;"); aI("text=Partners;url=partner.asp;"); } with(milonic=new menuname("Product")){ margin=7; style=submenuStyle; aI("text=Switching Mode Power Supply (SMPS);url=product.asp?id=101;"); aI("text=Electronics Manufacturing Services (EMS);url=product.asp?id=102;"); aI("text=Linear;url=product.asp?id=103;"); aI("text=Energy Saving Products;url=product.asp?id=104;"); } with(milonic=new menuname("News")){ margin=7; style=submenuStyle; aI("text=Products and Business Advertisement;url=news_advertisement.asp;"); aI("text=Exhibition News;url=news_exhibition.asp;"); aI("text=Useful Link;url=news_link.asp;"); } /* with(milonic=new menuname("Contact Us")){ margin=7; style=submenuStyle; aI("text=Contact Info;url=contact_information.asp;"); aI("text=Inquiry;url=contact_inquiry.asp;"); } */