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()){
bordercolor="#999999";
borderstyle="solid";
borderwidth=1;
fontfamily="Verdana, Tahoma, Arial";
fontsize="75%";
fontstyle="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#eeeeee";
offcolor="#000000";
onbgcolor="#ddffdd";
oncolor="#000099";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=95);Shadow(color=#777777', Direction=135, Strength=3)";
padding=4;
pagebgcolor="#82B6D7";
pagecolor="black";
separatorcolor="#999999";
separatorsize=1;
subimage="arrow.gif";
subimagepadding=2;
}

with(BigTransparent=new mm_style()){
bordercolor="#FF2525";
borderstyle="solid";
borderwidth=0;
fontfamily="Arial,Verdana,Tahoma";
fontsize="99%";
fontstyle="normal";
fontweight="bold";
offcolor="#363434";
onbgcolor="#DCE9F0";
offbgcolor="transparent";
onborder="1px dotted #ffffff";
oncolor="#000000";
ondecoration="underline";
padding=5;
separatorcolor="#000000";
separatorsize=1;
subimagepadding=3;
onsubimage="on_arrow.gif";
}

with(milonic=new menuname("Main Menu")){
screenposition="top;center"
alwaysvisible=1;
orientation="horizontal";
style=BigTransparent;
top=1;
aI("text=Home;url=index.html;");
aI("text=Photo Pages;showmenu=photos;");
aI("text=Couplings;url=switchyard.html");
aI("text=Audio & Video Clips;showmenu=clips");
aI("text=Feedback Form;url=trainform.html");
}

with(milonic=new menuname("photos")){
overflow="scroll";
style=menuStyle;
aI("text=Engines;url=engines.html;")
aI("text=Cars;url=cars.html;")
aI("text=Buildings;url=buildings.html;")
aI("text=Prior Home Page;url=OldHomePage.html;")
}

with(milonic=new menuname("clips")){
overflow="scroll";
style=menuStyle;
aI("text=Steam Engine MP3 Audio;url=steamengine.mp3;")
aI("text=Realmedia Video 1;url=CLIP01.rm;")
aI("text=Realmedia Video 2;url=CLIP02.rm;")
}



drawMenus();


