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;

//retainClickValue = 0;



with(menuStyle=new mm_style()){
fontfamily="Verdana, Tahoma, Arial";
fontsize="11pt";
headerbgcolor="#ffffff";
headercolor="#ff0000";
offbgcolor="#ffffff";
offcolor="#000000";
onbgcolor="#ffffff";
oncolor="#a0a0a0";
onsubimage="/_images/blue_13x13_dw.gif";
onimage="/_images/blue_7x7.gif";
//onitalic=1;
//outfilter="randomdissolve(duration=0.3)";
//overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=3)";
padding=7
pagecolor="00CDE3";
separatorcolor="#ffffff";
//separatorsize=10;
subimage="/_images/blue_11x11_dot.gif";
subimagepadding=2;
//openonclick=1;

}

with(submenuStyle=new mm_style()){
fontfamily="Verdana, Tahoma, Arial";
fontsize="11pt";
fontweight ="normal";
headerbgcolor="#ffffff";
headercolor="#ff0000";
offcolor="#000000";
oncolor="#000099";
ondecoration="underline";
//outfilter="randomdissolve(duration=0.3)";
//overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=3)";
padding=7;
pagecolor='#00CDE3';
separatorcolor="#ffffff";
separatorheight=10;
separatorwidth=10;
separatorimage="/_images/blue_11x11_dot.gif";

}


with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
orientation="horizontal";
style=menuStyle;
screenposition="top;left";
left="offset=302";
top="offset=65";
aI("showmenu=Judex;text=Judex;");
aI("showmenu=Biomedical Engineering;text=Biomedical Engineering;"); 
aI("showmenu=Medical Informatics;text=Medical Informatics;");
aI("showmenu=Projects;text=Projects");
}

with(milonic=new menuname("Judex")){
orientation="horizontal";
overflow="scroll";
style=submenuStyle;
screenposition="top;left";
left="offset=302";
top="offset=96";
aI("text=About;url=/judex/about.html;");
aI("text=Expertise;url=/judex/expertise.html;");
aI("text=Business;url=/judex/business.html;");
aI("text=References;url=/judex/references.html;");
}

with(milonic=new menuname("Biomedical Engineering")){
orientation="horizontal";
style=submenuStyle;
screenposition="top;left";
left="offset=300";
top="offset=96";
aI("text=About;url=/biomedical_engineering/about.html");
aI("text=Clinical Solutions;url=/biomedical_engineering/clinical.html;");
aI("text=Biological Signals;url=/biomedical_engineering/bio_signals.html;");
aI("text=Software;url=/biomedical_engineering/software.html;");
aI("text=Hardware;url=/biomedical_engineering/hardware.html;");
}

with(milonic=new menuname("Medical Informatics")){
orientation="horizontal";
style=submenuStyle;
screenposition="top;left";
left="offset=300";
top="offset=96";
aI("text=About;url=/medical_informatics/about.html;");
aI("text=Telemedicine;url=/medical_informatics/telemedicine.html");
aI("text=Decision Support;url=/medical_informatics/decision_support_system.html;");
aI("text=Healthcare Records;url=/medical_informatics/electronic_records.html;");
aI("text=Clinical Databases;url=/medical_informatics/clinical_databases.html;");
}

with(milonic=new menuname("Projects")){
orientation="horizontal";
style=submenuStyle;
screenposition="top;left";
left="offset=300";
top="offset=96";
aI("text=About;url=/projects/about.html;");
aI("text=amPHI;url=/projects/amphi.html;");
aI("text=Viking;url=/projects/viking.html");
aI("text=Treat;url=/projects/treat.html");
aI("text=DagKir;url=/projects/dagkir.html;");
aI("text=MI-ro;url=/projects/miro.html;");
aI("text=HyskoBase;url=/projects/hyskobase.html;");
aI("text=MusicaHumana;url=/projects/musicahumana.html;");
aI("text=Stay@Home;url=/projects/stay_at_home.html;");
}

drawMenus();


