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(ScrollingSampStyle=new mm_style()){
bordercolor="#CCCCCC";
borderstyle="transparent";
borderwidth=1;
fontfamily="Verdana, Tahoma, Arial";
fontsize="12px";
fontstyle="normal";
offcolor="#FFFFFF";
onbgcolor="#F7D783";
offbgcolor="transparent";
oncolor="#2B3772";
padding=3;
}

with(submenuStyle=new mm_style()){
bordercolor="#296488";
borderstyle="solid";
borderwidth=1;
fontfamily="Verdana, Tahoma, Arial";
fontsize="12px";
fontstyle="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#B6D0EB";
offcolor="#515151";
onbgcolor="#C7E2FF";
oncolor="#2B3772";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=100);Shadow(color=#777777', Direction=135, Strength=5)";
padding=5;
pagebgcolor="#16518E";
pagecolor="white";
separatorcolor="#F9C94D";
separatorsize=2;
subimage="http://img.milonic.com/arrow.gif";
subimagepadding=2;
}


with(milonic=new menuname("Main Menu")){
alwaysvisible=1;



orientation="horizontal";
style=ScrollingSampStyle;
top=105;
menuwidth="100%";
menualign="center";

aI("text=Home &nbsp &nbsp;url=http://www.semlab.com/;");
aI("text=About Us &nbsp &nbsp;url=/staff.html;");
aI("showmenu=Papers;text=Papers &nbsp &nbsp;");
aI("showmenu=Examples;text=Examples &nbsp &nbsp;url=/examples.html");
aI("text=Links &nbsp &nbsp;url=/links.html;");
aI("text=Contact Us;url=/help.html;");
}



with(milonic=new menuname("Papers")){
overflow="scroll";
style=submenuStyle;
aI("text=Failure Analysis of BGAs ;url=/FailureAnalysisofBGAs.html;");
aI("text=Failure Analysis of LEDs ;url=/FailureAnalysisofLEDs.html;");
aI("text=Diffusion Barrier Plating in Electronics ;url=/DiffusionBarrierPlatinginElectronics.html;");
aI("text=Gold Embrittlement of Solder Joints ;url=/GoldEmbrittlementofSolderJoints.html;");
aI("text=Failure Analysis of PCBAs ;url=/FailureAnalysisofPCBAs.html;");
aI("text=Images of Failures in Microelectronics Packaging ;url=/ImagesofFailuresinMicroelectronics.html;");
}

with(milonic=new menuname("Examples")){
overflow="scroll";
style=submenuStyle;
aI("text=Device Images;url=/examples.html;");
aI("text=Materials Images;url=/examples2.html;");
aI("text=Miscellaneous Images;url=/examples3.html");
}



drawMenus();


