


_menuCloseDelay=500           // The time delay for menus to remain visible on mouse out
_menuOpenDelay=150            // The time delay before menus open on mouse over
_subOffsetTop=0              // Sub menu top offset  (does not work for horizontal menus)
_subOffsetLeft=0             // Sub menu left offset  (does not work for horizontal menus)



with(menuStyle=new mm_style()){
onbgcolor="#91cd32";
oncolor="#ffffff";
offbgcolor="#6b6b6b";
offcolor="#ffffff";
bordercolor="#373737";
borderstyle="solid";
borderwidth=1;
separatorcolor="#000000";
//separatorsize="1";
padding=8;
fontsize="75%";
fontstyle="normal";
fontfamily="Verdana, Tahoma, Arial";
}


with(submenuStyle0=new mm_style()){
onbgcolor="#666666"; 
oncolor="#ffffff"; 
offbgcolor="#171717"; 
offcolor="#ffffff"; 
offborder="1px none #ffffff";
onborder="1px solid #888888";
padding=3;
fontsize="75%";
fontstyle="normal";
fontfamily="Verdana, Tahoma, Arial";
separatorcolor="#171717";
separatorsize="10";
}


with(submenuStyle1=new mm_style()){
onbgcolor="#7b9351"; 
oncolor="#ffffff"; 
offbgcolor="#171717"; 
offcolor="#ffffff"; 
offborder="1px none #ffffff";
onborder="1px solid #91cd32";
padding=3;
fontsize="75%";
fontstyle="normal";
fontfamily="Verdana, Tahoma, Arial";
separatorcolor="#171717";
separatorsize="10";
}

with(submenuStyle2=new mm_style()){
onbgcolor="#5a6a84"; 
oncolor="#ffffff"; 
offbgcolor="#171717"; 
offcolor="#ffffff"; 
offborder="1px none #ffffff";
onborder="1px solid #5e80bf";
padding=3;
fontsize="75%";
fontstyle="normal";
fontfamily="Verdana, Tahoma, Arial";
separatorcolor="#171717";
separatorsize="10";
}

with(submenuStyle3=new mm_style()){
onbgcolor="#af8338"; 
oncolor="#ffffff"; 
offbgcolor="#171717"; 
offcolor="#ffffff"; 
offborder="1px none #ffffff";
onborder="1px solid #ffa814";
padding=3;
fontsize="75%";
fontstyle="normal";
fontfamily="Verdana, Tahoma, Arial";
separatorcolor="#171717";
separatorsize="10";
}


	  

with(milonic=new menuname("Main Menu")){
style=menuStyle;
screenposition="top;center";
alwaysvisible=1;
orientation="horizontal";

//aI("text=Home;showmenu=Home;url=mainmenu2.shtml;onbgcolor=#999999");
aI("image=Buttons/ninsight.gif;url=index.shtml;");
aI("image=Buttons/HomeLo.gif;overimage=Buttons/HomeHi.gif;showmenu=Home;url=index.shtml;");
aI("image=Buttons/BioLo.gif;overimage=Buttons/BioHi.gif;showmenu=Biomechanics");
aI("image=Buttons/EngLo.gif;overimage=Buttons/EngHi.gif;showmenu=Engineering");
aI("image=Buttons/ArchLo.gif;overimage=Buttons/ArchHi.gif;showmenu=Architecture");
aI("image=Buttons/ContactLo.gif;overimage=Buttons/ContactHi.gif;url=contactmenu2.shtml");
aI("image=Buttons/WideDummy.gif");
}



with(milonic=new menuname("Home")){
style=submenuStyle0;
top="offset=8";
left="offset=-10";
orientation="horizontal";
aI("text=Seminars;url=seminars.shtml");
aI("text=Awards;url=awards.shtml");
//aI("text=[Deutsche Version];url=indexDe.shtml");
}

with(milonic=new menuname("Biomechanics")){
style=submenuStyle1;
top="offset=8";
left="offset=-60";
orientation="horizontal";
aI("text=Services;url=biomenu2.shtml");
aI("text=Portfolio;url=bioSamplesDrugElutingStent.shtml");
aI("text=References;url=bioreferences.shtml");
aI("text=Publications;url=biopublications.shtml");
}

with(milonic=new menuname("Engineering")){
style=submenuStyle2;
top="offset=8";
left="offset=-40";
orientation="horizontal";
aI("text=Services;url=engineeringServices.shtml");
aI("text=Portfolio;url=engineeringSamplesHook.shtml");
aI("text=References;url=engineeringReferences.shtml");
}

with(milonic=new menuname("Architecture")){
style=submenuStyle3;
top="offset=8";
left="offset=-10";
orientation="horizontal";
aI("text=Services;url=architectureServices.shtml");
aI("text=Portfolio;url=architecturePortfolio.shtml");
}


drawMenus();


