

_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=5               // Sub menu top offset
_subOffsetLeft=-10            // Sub menu left offset



with(menuStyle=new mm_style()){
onbgcolor="#4F8EB6";
oncolor="#ffffff";
offbgcolor="#FFE4BE";
offcolor="#515151";
bordercolor="#296488";
borderstyle="solid";
borderwidth=1;
separatorcolor="#2D729D";
separatorsize="1";
padding=4;
fontsize="70%";
fontstyle="normal";
fontfamily="Verdana, Tahoma, Arial";
pagecolor="#000000";
pagebgcolor="#82B6D7";
headercolor="#000000";
headerbgcolor="#ffffff";
subimage="image/arrow.gif";
subimagepadding="2";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color='#777777', Direction=135, Strength=5)";
outfilter="randomdissolve(duration=0.3)";
}

with(milonic=new menuname("Main Menu")){
style=menuStyle;
screenposition="center";
top=5;
alwaysvisible=1;
followscroll="1";
orientation="horizontal";
aI("text=English;showmenu=en;");
aI("text=中文简体;showmenu=ch;");
aI("text=中文繁體;showmenu=tw;");
aI("text=日本語;showmenu=jp;");
aI("text=Tiếng Việt;showmenu=vn;");
aI("text=Notes;showmenu=contentnotes;");
aI("text=Site Search;url=search.html;");
aI("text=Log of Updates;url=updatebirds.html;");
}

with(milonic=new menuname("en")){
style=menuStyle;
aI("text=Top;url=index.html#TOP;");
aI("text=Non-Passeriformes;url=index.html#nonpasserines;");
aI("text=Passeriformes;url=index.html#passer;");
aI("text=Notes;url=index.html#notes;");
}

with(milonic=new menuname("ch")){
style=menuStyle;
aI("text=非雀形目;url=indexch.html#nonpasserines;");
aI("text=雀形目;url=indexch.html#passer;");
}

with(milonic=new menuname("tw")){
style=menuStyle;
aI("text=非燕雀目;url=indextw.html#nonpasserines;");
aI("text=燕雀目;url=indextw.html#passer;");
}

with(milonic=new menuname("jp")){
style=menuStyle;
aI("text=非スズメ目;url=indexjp.html#nonpasserines;");
aI("text=スズメ目;url=indexjp.html#passer;");
}

with(milonic=new menuname("vn")){
style=menuStyle;
aI("text=Không Bộ Sẻ;url=indexvn.html#nonpasserines;");
aI("text=Bộ Sẻ;url=indexvn.html#passer;");
}

with(milonic=new menuname("contentnotes")){
style=menuStyle;
aI("text=Guide to the Glossary;url=intro6.html;");
aI("text=The Development of Bird Names;url=intro5.html;");
aI("text=The Standardisation of Bird Names;url=intro2.html;");
aI("text=The Regularisation of Bird Names;url=intro3.html;");
aI("text=The Influence of Orthography;url=intro4.html;");
aI("text=Use of Kanji to Write Japanese Bird Names;url=http://www.sibagu.com/kanji.html;");
aI("text=How I Got Involved;url=intro1.html;");
aI("text=The Daoist Department of Flying Birds;url=feiqinsi.html;");
aI("text=SOURCES;url=sources.html;");
}

drawMenus();