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=0; with(menuStyle=new mm_style()){ align="center"; bordercolor="#999999"; borderstyle="solid"; borderwidth=0; fontfamily="Verdana, Tahoma, Arial"; fontsize="10px"; fontstyle="normal"; fontweight="bold"; imagepadding=0; oncolor="#58585a"; offcolor="#58585a"; //outfilter="randomdissolve(duration=0.3)"; //outfilter="Fade(duration=0.3)"; //overfilter="Fade(duration=0.2);Alpha(opacity=90);)"; //overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=3)"; separatorcolor="#999999"; separatorsize=1; rawcss="margin-left:10px;margin-right:10px;" itemheight=15; } with(submenuStyle=new mm_style()){ align="left"; bordercolor="#999999"; borderstyle="solid"; borderwidth=1; fontfamily="Verdana, Tahoma, Arial"; fontsize="7pt"; fontstyle="normal"; fontweight="bold"; imagepadding=0; offbgcolor="#FFFFFF"; onbgcolor="#939598"; offcolor="#58585a"; oncolor="#FFFFFF"; outfilter="randomdissolve(duration=0.3)"; //outfilter="Fade(duration=0.3)"; //overfilter="Fade(duration=0.2);Alpha(opacity=90);)"; overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=3)"; rawcss="padding-left:5px;" itemwidth=180; itemheight=20; subimage="/images/menu/arrow.gif"; subimagepadding=2; } with(milonic=new menuname("Main Menu")){ alwaysvisible=1; orientation="horizontal"; style=menuStyle; aI("text=Home;url=/uk/knowledgebase/indexKnowledgeBase.jsp"); aI("text=About Knowledge Base;url=/uk/knowledgebase/aboutKB.jsp"); aI("text=Register;url=/uk/knowledgebase/register.jsp"); aI("text=Newsletter;url=http://www.tpgacademy.com/uk/newsletter/" ); aI("text=Contact Us;url=/uk/knowledgebase/contactUs.jsp"); } drawMenus();