//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(menuStyle=new mm_style()){
bordercolor="#3B5A6F";
borderstyle="solid";
borderwidth=0;
fontfamily="Century Gothic, Verdana, Tahoma, Arial";
fontsize=12;
fontstyle="normal";
//fontweight="bold";
headerbgcolor="#FFFFFF";
headercolor="#FFFFFF";
offbgcolor="#3B5A6F";
offcolor="#FFFFFF";
//onbgcolor="#3B5A6F";
oncolor="#DADA56";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=100);";
padding=0;
pagebgcolor="#3B5A6F";
pagecolor="#DADA56";
separatorcolor="#3B5A6F";
//separatorsize=35;
//separatorimage="images/navsplitter.gif";
//separatorpadding=0;
//subimage="arrow.gif";
//subimagepadding=2;
//itemheight=20;
}

with(menuStyle2=new mm_style()){
bordercolor="#585858";
borderstyle="solid";
borderwidth=1;
fontfamily="Century Gothic, Verdana, Tahoma, Arial";
fontsize=12;
fontstyle="normal";
//fontweight="bold";
headerbgcolor="#FFFFFF";
headercolor="#FFFFFF";
offbgcolor="#3B5A6F";
offcolor="#FFFFFF";
onbgcolor="#3B5A6F";
oncolor="#DADA56";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=100);";
padding=0;
pagebgcolor="#3B5A6F";
pagecolor="#DADA56";
separatorcolor="#585858";
separatorsize=1;
subimage="arrow.gif";
subimagepadding=0;
}

with(milonic=new menuname("Main Menu")){
screenposition="center";
position="relative";
alwaysvisible=1;
left="offset=0"; 
orientation="horizontal";
style=menuStyle;
//top=142;
//left=310;

aI("showmenu=Aboutus;image=images/aboutus_btn.gif");
aI("showmenu=Countries;image=images/eastern_btn.gif");
}

with(milonic=new menuname("Aboutus")){
overflow="scroll";
style=menuStyle2;

aI("image=images/ourvision_btn.gif;url=ourvision.asp;");
aI("image=images/ourvalues_btn.gif;url=ourvalues.asp;");
aI("image=images/leadership_btn.gif;url=leadershipteam.asp;");
aI("image=images/background_btn.gif;url=background.asp;");

}

with(milonic=new menuname("Countries")){
overflow="scroll";
style=menuStyle2;

aI("image=images/armenia_drop.gif;url=yfccountries.asp?countryID=4;");
aI("image=images/belarus_drop.gif;url=yfccountries.asp?countryID=9;");
aI("image=images/moldova_drop.gif;url=yfccountries.asp?countryID=2;");
aI("image=images/moscow_drop.gif;url=yfccountries.asp?countryID=8;");
aI("image=images/samara_drop.gif;url=yfccountries.asp?countryID=6");
aI("image=images/sochi_drop.gif;url=yfccountries.asp?countryID=7;");
aI("image=images/stpetersburg_drop.gif;url=yfccountries.asp?countryID=5;");
aI("image=images/ukraine_drop.gif;url=yfccountries.asp?countryID=3;");
}

drawMenus();

