
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=Språk&nbsp;&nbsp;»");
}

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


aI("text=Engelsk;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=Dansk;url=http://da.divineshows.com;");
aI("image=//flags/fr.png;text=Français;url=http://fr.divineshows.com;");
aI("image=//flags/he.png;text=Hebraisk;url=http://he.divineshows.com;");
aI("image=//flags/nb.png;text=Norsk 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=Ukrainsk;url=http://ua.divineshows.com;");
aI("image=//flags/vi.png;text=Vietnamesisk;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=--- Velg din by ---");
}
with(milonic=new menuname("Cities")){
overflow="scroll";
style=menuStyle;


  aI("showmenu=City 11;text=North America;");
  aI("showmenu=City 10;text=Asia - Pacific;url=/node/");
  aI("showmenu=City 13;text=Europe;");
}

with(milonic=new menuname("City 11")){
  overflow="scroll";
  style=menuStyle;
  aI("showmenu=City 16;text=US;");
  aI("showmenu=City 17;text=Canada;");
}
with(milonic=new menuname("City 16")){
  overflow="scroll";
  style=menuStyle;
  aI("showmenu=City 405;text=Arkansas;url=/node/");
  aI("showmenu=City 297;text=Florida;");
  aI("showmenu=City 506;text=Maine;url=/node/");
  aI("showmenu=City 303;text=Massachusetts;");
  aI("showmenu=City 537;text=Nebraska;url=/node/");
  aI("showmenu=City 308;text=New Jersey;url=/node/");
  aI("showmenu=City 314;text=North Carolina;url=/node/");
  aI("showmenu=City 310;text=Ohio;");
  aI("showmenu=City 458;text=Rhode Island;url=/node/");
  aI("showmenu=City 410;text=Tennessee;url=/node/");
  aI("showmenu=City 312;text=Texas;");
  aI("showmenu=City 529;text=Virginia;url=/node/");
  aI("text=Washington, DC;url=/dc;tooltip=<span class='tooltip'>Shen Yun Performing Arts<br/>Washington, DC<br/>jan 19 to 24</span>;");
}
with(milonic=new menuname("City 405")){
  overflow="scroll";
  style=menuStyle;
  aI("text=Little Rock;url=/littlerock;tooltip=<span class='tooltip'>Shen Yun Performing Arts<br/>Little Rock<br/>jan 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/>Florida<br/>jan 26 to 31</span>;");
  aI("text=Jacksonville;url=/jacksonville;tooltip=<span class='tooltip'>Shen Yun Performing Arts<br/>Jacksonville<br/>jan 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/>mai 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/>feb 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/>apr 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/>New Jersey<br/>jun 20</span>;");
aI("text=Shen Yun Performing Arts;url=/node/20054;tooltip=<span class='tooltip'>Shen Yun Performing Arts<br/>New Jersey<br/>mai 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/>jan 16</span>;");
}
with(milonic=new menuname("City 310")){
  overflow="scroll";
  style=menuStyle;
  aI("text=Cincinnati;url=/cincinnati;tooltip=<span class='tooltip'>Shen Yun / Chinese Spectacular<br/>Cincinnati<br/>mar 6</span>;");
  aI("text=Toledo;url=/toledo;tooltip=<span class='tooltip'>Shen Yun / Chinese Spectacular<br/>Toledo<br/>mai 14</span>;");
}
with(milonic=new menuname("City 458")){
  overflow="scroll";
  style=menuStyle;
  aI("text=Providence;url=/providence;tooltip=<span class='tooltip'>Shen Yun Performing Arts<br/>Providence<br/>jun 26, 27</span>;");
}
with(milonic=new menuname("City 410")){
  overflow="scroll";
  style=menuStyle;
  aI("text=Memphis;url=/memphis;tooltip=<span class='tooltip'>Shen Yun Performing Arts<br/>Memphis<br/>jan 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/>aug 4, 5</span>;");
  aI("text=Houston;url=/houston;tooltip=<span class='tooltip'>Shen Yun Performing Arts<br/>Houston<br/>jul 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/>feb 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/>jan 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=Norway;url=/node/");
}
with(milonic=new menuname("City 400")){
  overflow="scroll";
  style=menuStyle;
  aI("text=Oslo;url=/oslo;tooltip=<span class='tooltip'>Shen Yun Performing Arts<br/>Oslo<br/>apr 10, 11</span>;");
}
 drawMenus();
