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()){
styleid=1;
bordercolor="#6666cc";
borderstyle="solid";
borderwidth=2;
fontfamily="Verdana, Tahoma, Arial";
fontsize="11px";
fontstyle="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#ffffcc";
offcolor="#000000";
onbgcolor="#99CCCC";
oncolor="#000000";
outfilter="randomdissolve(duration=0.2)";
overfilter="Fade(duration=0.5);Alpha(opacity=100);Shadow(color=#777777', Direction=135, Strength=5)";
padding=3;
pagebgcolor="#6666cc";
pagecolor="black";
separatorcolor="#6666cc";
separatorsize=1;
}  


with(screenmenuStyle=new mm_style()){	  
styleid=2;
bordercolor="#296488";
borderstyle="solid";
borderwidth=1;
fontfamily="Verdana, Tahoma, Arial";
fontsize="75%";
fontstyle="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#DCE9F0";
offcolor="#515151";
onbgcolor="#4F8EB6";
oncolor="#ffffff";
outfilter="randomdissolve(duration=0.1)";
overfilter="Fade(duration=0.1);Alpha(opacity=100);Shadow(color=#777777', Direction=135, Strength=0)";
padding=0;
pagebgcolor="#82B6D7";
pagecolor="black";
separatorcolor="#2D729D";
separatorsize=1;
}


with(milonic=new menuname("Web Menu")){
alwaysvisible=1; 
screenposition="center"
left=40;
top=110;
orientation="verticle";
style=menuStyle;
aI("align=center;separatorcolor=green;separatorsize=2;padding=6;text=great graphics by kids:;");
aI("showmenu=Smiley;text=Smiley;offbgcolor=#FFCC66;");
aI("showmenu=thedot;text=The Big Dot;");
aI("showmenu=bouncedot;text=Bouncing Dot;offbgcolor=#FFCC66;");
aI("showmenu=zachary;text=Shifting Letters;"); 
aI("showmenu=packid;text=Pac Child;offbgcolor=#FFCC66;");
aI("showmenu=pacman;text=Pac Man;");
aI("showmenu=pacwoman;text=Pac Woman;offbgcolor=#FFCC66;");	
aI("showmenu=transport;text=Active & Passive Transport;");	
aI("showmenu=fishy;text=Rainbow Fish;offbgcolor=#FFCC66;");
aI("showmenu=pyramid;text=Pyramid;offbgcolor=#FFCC66;");
}


with(milonic=new menuname("Smiley")){
left=230;
top=55;
style=screenmenuStyle;
aI("image=kids/zach/images/Smily2.gif;");
}
with(milonic=new menuname("thedot")){
left=230;
top=140;
style=screenmenuStyle;
aI("image=kids/zach/images/thedot.gif;");
}
with(milonic=new menuname("bouncedot")){
left=230;
top=140;
style=screenmenuStyle;
aI("image=kids/zach/images/bouncedot.gif;");
}
with(milonic=new menuname("zachary")){
left=230;
top=140
style=screenmenuStyle;
aI("image=kids/zach/images/zachary.gif;");
}
with(milonic=new menuname("packid")){
left=280;
top=255;
style=screenmenuStyle;
aI("image=kids/zach/images/pacman3.gif;");
}
with(milonic=new menuname("pacman")){
left=280;
top=255;
style=screenmenuStyle;
aI("image=kids/zach/images/pacman.gif;");
}  
with(milonic=new menuname("pacwoman")){
left=280;
top=255;
style=screenmenuStyle;
aI("image=kids/zach/images/pacman2.gif;");
}
with(milonic=new menuname("transport")){
left=230;
top=35;
style=screenmenuStyle;
aI("image=kids/zach/images/science-extra-credit.gif;");
}
 
with(milonic=new menuname("fishy")){
left=230;
top=140;
style=screenmenuStyle;
aI("image=kids/zach/images/color-change-fish.gif;");
}  	

with(milonic=new menuname("pyramid")){
left=230;
top=140;
style=screenmenuStyle;
aI("image=kids/zach/images/pyramid.gif;");
} 

drawMenus();



