
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(topMenuStyle=new mm_style()){
offclass="topItemNormal";
onclass="topItemOver";
offcolor=normalColor;
oncolor=overColor;
offbgcolor=normalBgColor;
onbgcolor=overBgColor;
}

with(menuStyle=new mm_style()){
offclass="itemNormal";
onclass="itemOver";
offcolor=normalColor;
oncolor=overColor;
offbgcolor=normalBgColor;
onbgcolor=overBgColor;
headerbgcolor="#ffffff";
headercolor="#000000";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color='#777777', Direction=135, Strength=3)";
pagebgcolor="#82B6D7";
pagecolor="black";
bordercolor="#CCCCCC";
borderstyle="solid";
borderwidth=1;
separatorcolor="#ddeedd";
separatorsize=2;
separatorimage=dmImagePath + separatorImageFile;
subimage=dmImagePath + arrowImageFile;
onsubimage=dmImagePath + hoverAarrowImageFile;
subimagepadding=8;
}

with(topLangMenuStyle=new mm_style()){
offclass="topLangNormal";
onclass="topLangOver";
offcolor=topLangNormalColor;
oncolor=topLangOverColor;
}

with(langMenuStyle=new mm_style()){
offclass="langNormal";
onclass="langOver";
offcolor=normalColor;
oncolor=overColor;
offbgcolor=normalBgColor;
onbgcolor=overBgColor;
headerbgcolor="#ffffff";
headercolor="#000000";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color='#777777', Direction=135, Strength=3)";
pagebgcolor="#FFFFFF";
bgcolor="#FFFFFF";
pagecolor="black";
separatorcolor="#ffffff";
separatorsize=2;
separatoralign="center";
separatorimage=dmImagePath + langSeparatorImageFile;
subimagepadding=0;
imagepadding=0;
}

with(milonic=new menuname("Lang Menu")){
alwaysvisible=1;
orientation="horizontal";
style=topLangMenuStyle;
screenposition="center";
top=0;
left="offset=350";
aI("showmenu=Languages;text=Мови&nbsp;&nbsp;»");
}

with(milonic=new menuname("Languages")){
overflow="scroll";
style=langMenuStyle;
openstyle="rtl";
align="center";


aI("text=Англійська;url=http://www.divineshows.com;");
aI("text=繁體;url=http://hant.divineshows.com;");
aI("text=简体;url=http://hans.divineshows.com;");
aI("image=//flags/ca.png;text=Français;url=http://qc.divineshows.com;");
aI("image=//flags/da.png;text=Данська;url=http://da.divineshows.com;");
aI("image=//flags/fr.png;text=Français;url=http://fr.divineshows.com;");
aI("image=//flags/he.png;text=Єврейська;url=http://he.divineshows.com;");
aI("image=//flags/nb.png;text=Норвежський Bokmål;url=http://nb.divineshows.com;");
aI("image=//flags/sv.png;text=Svenska;url=http://sv.divineshows.com;");
aI("image=//flags/uk.png;text=Українська;url=http://ua.divineshows.com;");
aI("image=//flags/vi.png;text=В'єтнамська;url=http://vi.divineshows.com;");
aI("image=//flags/ja.png;text=日本语;url=http://www.ntdtv.jp/divineshows/;");
}
drawMenus();

with(milonic=new menuname("City Menu")){
alwaysvisible=1;
orientation="horizontal";
style=menuStyle;
top=146;
screenposition="center";
screenposition="center";
aI("showmenu=Cities;text=--- Виберіть своє місто ---");
}
with(milonic=new menuname("Cities")){
overflow="scroll";
style=menuStyle;


  aI("showmenu=City 11;text=Північна Америка;");
  aI("showmenu=City 10;text=Азіатсько-тихоокеанський регіон;url=/node/");
  aI("showmenu=City 13;text=Европа;");
}

with(milonic=new menuname("City 11")){
  overflow="scroll";
  style=menuStyle;
  aI("showmenu=City 16;text=США;");
  aI("showmenu=City 17;text=Канада;");
}
with(milonic=new menuname("City 16")){
  overflow="scroll";
  style=menuStyle;
  aI("showmenu=City 405;text=Арканзас;url=/node/");
  aI("showmenu=City 297;text=Флоріда;");
  aI("showmenu=City 506;text=Maine;url=/node/");
  aI("showmenu=City 303;text=Масачусетс;");
  aI("showmenu=City 537;text=Nebraska;url=/node/");
  aI("showmenu=City 308;text=Нью-Джерсі;url=/node/");
  aI("showmenu=City 314;text=Північна Кароліна;url=/node/");
  aI("showmenu=City 310;text=Огайо;");
  aI("showmenu=City 458;text=Род-Айленд;url=/node/");
  aI("showmenu=City 410;text=Тенессі;url=/node/");
  aI("showmenu=City 312;text=Техас;");
  aI("showmenu=City 529;text=Virginia;url=/node/");
  aI("text=Вашингтон,О.К.;url=/dc;tooltip=<span class='tooltip'>Shen Yun Performing Arts<br/>Вашингтон,О.К.<br/>Січ 19 to 24</span>;");
}
with(milonic=new menuname("City 405")){
  overflow="scroll";
  style=menuStyle;
  aI("text=Літл-Рок;url=/littlerock;tooltip=<span class='tooltip'>Shen Yun Performing Arts<br/>Літл-Рок<br/>Січ 20</span>;");
}
with(milonic=new menuname("City 297")){
  overflow="scroll";
  style=menuStyle;
aI("text=Shen Yun Performing Arts;url=/tickets-2009-florida-event;tooltip=<span class='tooltip'>Shen Yun Performing Arts<br/>Флоріда<br/>Січ 26 to 31</span>;");
  aI("text=Джексонвіл;url=/jacksonville;tooltip=<span class='tooltip'>Shen Yun Performing Arts<br/>Джексонвіл<br/>Січ 30, 31</span>;");
}
with(milonic=new menuname("City 506")){
  overflow="scroll";
  style=menuStyle;
  aI("text=Portland;url=/portlandme;tooltip=<span class='tooltip'>Shen Yun Performing Arts<br/>Portland<br/>Травень 15, 16</span>;");
}
with(milonic=new menuname("City 303")){
  overflow="scroll";
  style=menuStyle;
  aI("text=Worcester;url=/worcester;tooltip=<span class='tooltip'>Shen Yun Performing Arts<br/>Worcester<br/>Лют 6, 7</span>;");
}
with(milonic=new menuname("City 537")){
  overflow="scroll";
  style=menuStyle;
  aI("text=Omaha;url=/omaha;tooltip=<span class='tooltip'>Shen Yun Performing Arts<br/>Omaha<br/>Кві 20</span>;");
}
with(milonic=new menuname("City 308")){
  overflow="scroll";
  style=menuStyle;
aI("text=Shen Yun Performing Arts;url=/node/20055;tooltip=<span class='tooltip'>Shen Yun Performing Arts<br/>Нью-Джерсі<br/>Чер 20</span>;");
aI("text=Shen Yun Performing Arts;url=/node/20054;tooltip=<span class='tooltip'>Shen Yun Performing Arts<br/>Нью-Джерсі<br/>Травень 22, 23</span>;");
}
with(milonic=new menuname("City 314")){
  overflow="scroll";
  style=menuStyle;
  aI("text=RTP, NC;url=/rtp;tooltip=<span class='tooltip'>Shen Yun Performing Arts<br/>RTP, NC<br/>Січ 16</span>;");
}
with(milonic=new menuname("City 310")){
  overflow="scroll";
  style=menuStyle;
  aI("text=Цинцинаті;url=/cincinnati;tooltip=<span class='tooltip'>Shen Yun / Chinese Spectacular<br/>Цинцинаті<br/>Бер 6</span>;");
  aI("text=Toledo;url=/toledo;tooltip=<span class='tooltip'>Shen Yun / Chinese Spectacular<br/>Toledo<br/>Травень 14</span>;");
}
with(milonic=new menuname("City 458")){
  overflow="scroll";
  style=menuStyle;
  aI("text=Провіден;url=/providence;tooltip=<span class='tooltip'>Shen Yun Performing Arts<br/>Провіден<br/>Чер 26, 27</span>;");
}
with(milonic=new menuname("City 410")){
  overflow="scroll";
  style=menuStyle;
  aI("text=Мемфіс;url=/memphis;tooltip=<span class='tooltip'>Shen Yun Performing Arts<br/>Мемфіс<br/>Січ 19</span>;");
}
with(milonic=new menuname("City 312")){
  overflow="scroll";
  style=menuStyle;
  aI("text=Fort Worth;url=/fortworth;tooltip=<span class='tooltip'><br/>Fort Worth<br/>Сер 4, 5</span>;");
  aI("text=Хьюстон;url=/houston;tooltip=<span class='tooltip'>Shen Yun Performing Arts<br/>Хьюстон<br/>Лип 2, 3</span>;");
}
with(milonic=new menuname("City 529")){
  overflow="scroll";
  style=menuStyle;
  aI("text=Norfolk;url=/norfolk;tooltip=<span class='tooltip'>Shen Yun Performing Arts<br/>Norfolk<br/>Лют 27</span>;");
}
with(milonic=new menuname("City 17")){
  overflow="scroll";
  style=menuStyle;
  aI("showmenu=City 682;text=Ontario;");
}
with(milonic=new menuname("City 682")){
  overflow="scroll";
  style=menuStyle;
  aI("text=Hamilton, Ontario;url=/hamilton;tooltip=<span class='tooltip'>Shen Yun Performing Arts<br/>Hamilton, Ontario<br/>Січ 19, 20</span>;");
}
with(milonic=new menuname("City 10")){
  overflow="scroll";
  style=menuStyle;
}
with(milonic=new menuname("City 13")){
  overflow="scroll";
  style=menuStyle;
  aI("showmenu=City 400;text=Норвегія;url=/node/");
}
with(milonic=new menuname("City 400")){
  overflow="scroll";
  style=menuStyle;
  aI("text=Осло;url=/oslo;tooltip=<span class='tooltip'>Shen Yun Performing Arts<br/>Осло<br/>Кві 10, 11</span>;");
}
 drawMenus();
