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(submenuStyle=new mm_style()){
fontfamily="Verdana, Tahoma, Arial";
fontsize="8pt";
fontweight="normal";
headercolor="#000000";
offcolor="#747A75";
oncolor="#000000";
onbgcolor="#FFFFFF"; 
offbgcolor="#FFFFFF";
pagecolor="red";
padding=5;
subimage="11x9_dotted_green.gif";
subimagepadding=8;
onborder="#000000";
}

with(menuStyle=new mm_style()){
styleid=1;
align="right";
fontfamily="Verdana, Tahoma, Arial";
fontsize="10pt";
fontweight="bold";
headerbgcolor="#ffffff";
headercolor="#000000";
image="location.gif";
imageposition="right";
offcolor="#B6B6B6";
oncolor="#003333";
pagecolor="red";
pagebgcolor="#FFFFFF";
overimage="location_on.gif";
}

with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
top=250;
left=10;
orientation="vertical";
style=menuStyle;
aI("text=Home;showmenu=index;");
aI("text=Chinese Writing;showmenu=Chinese;");
aI("text=Japanese Writing;showmenu=Japanese;");
aI("text=Vietnamese Writing;showmenu=Vietnamese;");
aI("text=Other;showmenu=Other;");
aI("text=Other Pages;showmenu=OP;");
}

with(milonic=new menuname("index")){
style=submenuStyle;
aI("text=Home;url=index.html;");
aI("text=Log of Updates;url=updatewriting.html;");
}

with(milonic=new menuname("Chinese")){
style=submenuStyle;
aI("text=Intro;url=writchin.html;");
aI("text=(1) What Do Characters Represent?;url=writchin/writchin1.html;");
aI("text=(2) Is Each Character a Monosyllabic Word?;url=writchin/ciandzi.html;");
aI("text=(3) The Form of Characters;url=writchin/writchin3.html;");
aI("text=(4) A Bridge between Dialects?;url=writchin/dial.html;");
aI("text=(5) How Characters Have Moulded Chinese;url=writchin/writchinmould.html;");
aI("text=Polysyllabic characters;url=writchin/polychar.html;");
aI("text=Pseudo-independent characters;url=writchin/splitmorphs.html;");
aI("text=The adding of radicals to show meaning;url=writchin/radical.html;");
aI("text=Where amalgamated characters mislead;url=writchin/amalg.html;");
}

with(milonic=new menuname("Japanese")){
style=submenuStyle;
aI("text=The Japanese writing system;url=writjpn.html;");
aI("text=Hiragana and Katakana;url=writjpn/hiragkatak.html;");
aI("text=Examples of kana づ;url=writjpn/du.html;");
aI("text=Orthographic variation as seen in signs;url=writjpn/signs.html;");
}

with(milonic=new menuname("Vietnamese")){
style=submenuStyle;
aI("text=The Vietnamese writing system;url=writviet.html;");
aI("text=Writing of foreign authors' names;url=writviet/vnbooks.html;");
}

with(milonic=new menuname("Other")){
style=submenuStyle;
aI("text=Transliterations used on this site;url=pronunc.html;");
aI("text=Foreign names in CJV;url=fornames.html;");
aI("text=Acknowledgements;url=acknol.html;");
aI("text=Links;url=writlinks.html;");
}

with(milonic=new menuname("OP")){
style=submenuStyle;
aI("text=How characters are used to write Japanese bird names;url=http://www.sibagu.com/kanji.html;");
aI("text=Year of the Sheep or Year of the Goat?;url=http://www.cjvlang.com/Spicks/sheepgoat.html;");
}

drawMenus();


