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;

if (document.all.apppath.value != null)
{_applicationPath = document.all.apppath.value;}
else
{_applicationPath = "/bfw";}



with(menuStyle=new mm_style()){
bordercolor="#e06f6f";
borderstyle="solid";
borderwidth=0;
fontfamily="Helvetica,Verdana, Tahoma, Arial";
fontsize="75%";
fontstyle="normal";
headerbgcolor="#ffffff";
headercolor="#ffffff";
offbgcolor="#845c85";
offcolor="#fff";
onbgcolor="#845c85";
oncolor="#c2aec2";
padding=2;
pagebgcolor="#845c85";
pagecolor="#ffffff";
separatorcolor="#845c85";
separatorsize=1;
separatorwidth=165;
subimage="";
subimagepadding=2;
valign='top';
}

with(books=new menuname("Main")){
alwaysvisible=1;
left=21;
orientation="horizontal";
style=menuStyle;
top=97;
aI("image=" + _applicationPath + "/images/nav-biologytop.gif;overimage=" + _applicationPath + "/images/nav-biologytop-on.gif;showmenu=courses;url=" + _applicationPath + "/newcatalog.aspx?disc=Biology&show=yes&header=New;");
}

with(milonic=new menuname("courses")){
style=menuStyle;
aI("image=" + _applicationPath + "/images/arrow2ctop-biology-off.gif;");
aI("image=" + _applicationPath + "/images/arrow2-biology-off.gif;overimage=" + _applicationPath + "/images/arrow2-biology-on.gif;text=Astronomy & Physics;url=" + _applicationPath + "/newcatalog.aspx?disc=Astronomy+and+Physics&show=yes&header=New;");
aI("image=" + _applicationPath + "/images/arrow2-biology-off.gif;overimage=" + _applicationPath + "/images/arrow2-biology-on.gif;text=Biochemistry;url=" + _applicationPath + "/newcatalog.aspx?disc=Biochemistry&show=yes&header=New;");
//aI("image=" + _applicationPath + "/images/arrow2-biology-off.gif;overimage=" + _applicationPath + "/images/arrow2-biology-on.gif;text=Biology;url=" + _applicationPath + "/newcatalog.aspx?disc=Biology&show=yes&header=New;");
aI("image=" + _applicationPath + "/images/arrow2-biology-off.gif;overimage=" + _applicationPath + "/images/arrow2-biology-on.gif;text=Chemistry;url=" + _applicationPath + "/newcatalog.aspx?disc=Chemistry&show=yes&header=New;");
aI("image=" + _applicationPath + "/images/arrow2-biology-off.gif;overimage=" + _applicationPath + "/images/arrow2-biology-on.gif;text=Geography;url=" + _applicationPath + "/newcatalog.aspx?disc=Geography&show=yes&header=New;");
aI("image=" + _applicationPath + "/images/arrow2-biology-off.gif;overimage=" + _applicationPath + "/images/arrow2-biology-on.gif;text=Geology;url=" + _applicationPath + "/newcatalog.aspx?disc=Geology&show=yes&header=New;");
aI("image=" + _applicationPath + "/images/arrow2-biology-off.gif;overimage=" + _applicationPath + "/images/arrow2-biology-on.gif;text=Mathematics;url=" + _applicationPath + "/newcatalog.aspx?disc=Mathematics&show=yes&header=New;");
aI("image=" + _applicationPath + "/images/arrow2-biology-off.gif;overimage=" + _applicationPath + "/images/arrow2-biology-on.gif;text=Statistics;url=" + _applicationPath + "/newcatalog.aspx?disc=Statistics&show=yes&header=New;");
aI("image=" + _applicationPath + "/images/arrow2c-biology-off.gif;");
}

drawMenus();

