
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()) {
  fontfamily="Arial;";
  fontsize="12px";
  fontweight="normal";
  offbgcolor="transparent";
  offcolor="#202020";
  onbgcolor="#D1D7E2";
  oncolor="#0D2C66";
  padding="0 10px 0 10px";
  separatorcolor="transparent";
  separatorsize=0;
  subimagepadding="4px";
  subimage="/img/menu_arrow.gif";
  onsubimage="/img/menu_arrowdn.gif";
}

with(libraryMenuStyle=new mm_style()) {
  bordercolor="#0D2C66"
  fontfamily="Arial;";
  fontsize="11px";
  fontweight="normal";
  offcolor="#202020";
  offbgcolor="#ffffff";
  onbgcolor="#D1D7E2";
  oncolor="#0D2C66";
  padding="3px 3px 4px 10px";
  separatorcolor="transparent";
  menubgimage="/img/menu_librarybg_"+browser+".jpg";
  separatorsize=0;
}

with(milonic=new menuname("Main Menu")) {
  alwaysvisible=1;
  orientation="horizontal";
  position="relative";
  zindex=80;
  style=menuStyle;
  itemheight=29;
  rawcss="border-bottom:1px solid #0D2C66;margin-left: 60px;"
  aI("text=Who we are;url=/who_we_are.php;align=center;itemwidth=70;");
  aI("text=What we do;url=/what_we_do.php;align=center;itemwidth=67;");
  aI("text=Products;align=center;url=/products/;itemwidth=51;");
  aI("text=Blog;url=/blog/;align=center;itemwidth=27;");
  aI("text=Library;showmenu=Library;url=#;align=center;itemwidth=50;");
  aI("text=Projects;url=/projects/;align=center;itemwidth=47;");
  aI("text=Support;url=/support.php;align=center;itemwidth=46;");
  aI("text=Contact Us;url=/contact.php;align=center;itemwidth=63;");
}

with(milonic=new menuname("Library")) {
  style=libraryMenuStyle;
  overflow="scroll";
  itemwidth="100px";
  rawcss="border-top: 0; border-right:1px solid #0D2C66; border-left:1px solid #0D2C66; border-bottom:1px solid #0D2C66;"
  aI("text=RevMedia;url=/library/revmedia/;");
  aI("text=SENL;url=/library/senl.php;");
  aI("text=White Papers;url=/library/whitepapers.php;");
}

drawMenus();

