
/// EXAMPLE MENU ///

_menuCloseDelay=500;
_menuOpenDelay=150;
_subOffsetTop=0;
_subOffsetLeft=0;


/// Style Definitions ///

with(menuStyle=new mm_style()){
onbgcolor="#CFE2D1";
oncolor="#407348";
offbgcolor="#579b63";
offcolor="#ebf3ec";
bordercolor="#66a26a";
borderstyle="outset";
borderwidth=1;
separatorcolor="#CFE2D1";
separatorsize=1;
padding=3;
fontsize=12;
fontstyle="normal";
fontfamily="Verdana, Tahoma, Arial";
pagecolor="#ffffff";
pagebgcolor="#83ba8c";
headercolor="#000000";
headerbgcolor="#ffffff";
subimage="arrow.gif";
subimagepadding=3;
high3dcolor="#c4d8e6";
low3dcolor="#579b63";
swap3d=1;
}

// Main

with(milonic=new menuname("mainMenu")){
style=menuStyle;
top=80;
left=30;
orientation="horizontal";
alwaysvisible=1;
aI("text=Test 1;url=page1-1.htm");
aI("text=Test 2;showmenu=test2;");
aI("text=Test 3;showmenu=test3;");
}

/// Submenu Definitions ///


// 2

with(milonic=new menuname("test2")){
style=menuStyle;
aI("text=test2.1;url=page2-1.htm");
aI("text=test2.2;url=page2-2.htm");
aI("text=test2.3;url=page2-3.htm");
aI("text=test2.4;url=page2-4.htm");
aI("text=test2.5;showmenu=test2.5;");
}

with(milonic=new menuname("test2.5")){
style=menuStyle;
aI("text=test2.5.1;url=page2-5-1.htm;");
}




// 3

with(milonic=new menuname("test3")){
style=menuStyle;
aI("text=test3.1;url=page3-1.htm;");
aI("text=test3.2;url=page3-2.htm;");

}


drawMenus();



