fixMozillaZIndex=true; //Fixes Z-Index problem  with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps
	_menuCloseDelay=600;
_menuOpenDelay=150;
_subOffsetTop=25;
_subOffsetLeft=-95;

with(submenuStyle=new mm_style()){
bordercolor="#ACABAB";
borderstyle="solid";
borderwidth=1;
fontfamily="Verdana, Tahoma, Arial";
fontsize="8pt";
fontstyle="normal";
fontweight="normal";
headercolor="#000000";
offbgcolor="#ffffff";
offcolor="#ACABAB";
onbgcolor="#FFCC33";
oncolor="#990000";
outfilter="randomdissolve(duration=0.5)";
overfilter="Blinds( Bands=1,direction=down, duration=0.3)";
padding=3;
pagecolor="black";
separatorcolor="#ACABAB";
separatorsize=1;
subimagepadding=8;
}

with(submenuStyle_lang=new mm_style()){
bordercolor="#ACABAB";
borderstyle="solid";
borderwidth=1;
fontfamily="Tahoma, Verdana, Arial";
fontsize="8pt";
fontstyle="normal";
fontweight="normal";
headercolor="#000000";
offbgcolor="#ffffff";
offcolor="#ACABAB";
onbgcolor="#ffffff";
oncolor="#666666";
outfilter="randomdissolve(duration=0.5)";
overfilter="Blinds( Bands=1,direction=down, duration=0.3)";
padding=3;
pagecolor="black";
separatorcolor="#ACABAB";
separatorsize=1;
imagepadding=3;
}

with(menuStyle_main=new mm_style()){
styleid=1;
bordercolor="#ACABAB";
borderstyle="solid";
borderwidth=1;
fontfamily="Tahoma, Verdana Arial";
fontsize="9pt";
fontstyle="normal";
fontweight="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
subimage="images/downarrow1_grey.gif";
imagepadding=6;
offbgcolor="#ffffff";
offcolor="#ACABAB";
onbgcolor="#ffffff";
oncolor="#990000";
outfilter="Fade(Overlap=1.00)";
padding=3;
pagecolor="black";
separatorcolor="#FFCC33";
separatorsize=1;
separatorpadding=5;
separatorheight=10;
subimagepadding=6;
itemwidth="115";
}

with(menuStyle4=new mm_style()){
styleid=1;
bordercolor="#ffffff";
borderstyle="solid";
borderwidth=1;
fontfamily="Tahoma, Verdana, Arial";
fontsize="8pt";
fontstyle="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#ffffff";
offcolor="#666666";
onbgcolor="#ffffff";
oncolor="#666666";
outfilter="Fade(Overlap=1.00)";
pagecolor="black";
separatorcolor="#990000";
separatorsize=1;
separatorpadding=5;
}

with(menuStyle_linie=new mm_style()){
styleid=1;
fontfamily="Tahoma, Verdana, Arial";
fontsize="7pt";
fontstyle="normal";
menubgimage="images/top.jpg";
}

with(edak=new menuname("LANG")){
openstyle="down";
style=submenuStyle_lang;
aI("text=English;image=images/flag/en.gif;url=index.html;");
aI("text=Latvian;image=images/flag/lv.gif;url=lv.html;");
aI("text=Russian;image=images/flag/ru.gif;url=ru.html;");
}

with(edak=new menuname("topbar")){
alwaysvisible=1;
menuwidth="750";
menuheight="5";
menualign="center";
openstyle="up";
orientation="horizontal";
style=menuStyle_linie;
top=0;
aI("text= ;")
}
drawMenus();
