_menuCloseDelay=300;
_menuOpenDelay=50;
_subOffsetTop=0;
_subOffsetLeft=0;

with(menuStyleMain=new mm_style()){
bordercolor="transparent";
borderstyle="solid";
borderwidth=0;
fontfamily="Verdana, Tahoma";
fontsize="11";
fontstyle="normal";
fontweight="bold";
headerbgcolor="#0041A5";
headercolor="transparent";
offbgcolor="#0040a5";
offcolor="#ffffff";
onbgcolor="#0041A5";
oncolor="#ffffff";
padding=3;
pagebgcolor="#7098cc";
pagecolor="transparent";
separatorcolor="#ffffff";
separatorheight=12;
itemwidth=110;
align="center";
separatorsize=1;
//subimage="../menu/arrow.gif";
subimagepadding=2;
zindex=10;

}


with(menuStyle=new mm_style()){
bordercolor="#ffffff";
borderstyle="solid";
borderwidth=1;
fontfamily="Verdana, Tahoma";
fontsize="12";
fontstyle="normal";
fontweight="bold";
headerbgcolor="#ffffff";
headercolor="transparent";
offbgcolor="#ffffff";
offcolor="#7198cc";
onbgcolor="#ffffff";
oncolor="#0041a5";
/*outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777, Direction=135, Strength=5)";*/
overfilter="Shadow(color=#777777, Direction=135, Strength=5)";
padding=5;
pagebgcolor="#82B6D7";
pagecolor="black";
separatorcolor="#2D729D";
separatorsize=1;
subimage="../menu/arrow.gif";
subimagepadding=2;
//itemwidth=220;
zindex=20;
}

with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
left=10;
style=menuStyleMain;
top=150;
height=400;
orientation="horizontal";
aI("showmenu=АГЕНТСТВО;text=АГЕНТСТВО;url=;");
aI("showmenu=УСЛУГИ;text=УСЛУГИ;url=;");
aI("showmenu=БАЗА ДАННЫХ;text=БАЗА ДАННЫХ;url=;");
aI("showmenu=ИПОТЕКА;text=ИПОТЕКА;url=;");
aI("showmenu=СПРАВОЧНИК;text=СПРАВОЧНИК;url=;");
aI("showmenu=СОВЕТЫ;text=СОВЕТЫ;url=;");
aI("showmenu=ВАКАНСИИ;text=ВАКАНСИИ;url=;");
}


with(milonic=new menuname("АГЕНТСТВО")){
style=menuStyle;
aI("text=Новости;url=../users/news.php?1;");
aI("text=История;url=../users/index.php?3;");
aI("text=Руководитель;url=../users/index.php?4;");
aI("text=Контакты;url=../users/index.php?7;");
aI("text=Дисконт;url=../users/index.php?27;");
}


with(milonic=new menuname("УСЛУГИ")){
style=menuStyle;
aI("text=Аренда квартир;url=../users/index.php?9;");
aI("text=Продажа квартир;url=../users/index.php?10;");
aI("text=Регистрация сделок;url=../users/index.php?319;");
aI("text=Эквайринг;url=../users/index.php?396;");
aI("text=Преимущества эксклюзива;url=../users/index.php?300;");
}


with(milonic=new menuname("БАЗА ДАННЫХ")){
style=menuStyle;
aI("text=0% для покупателя;url=../users/exl.php?393;");
aI("text=Квартиры (продажа);url=../users/flats.php?15;");
aI("text=Квартиры (аренда);url=../users/flats_a.php?16;");
aI("text=Коммерческая;url=../users/index.php?343;");
aI("text=Цены on-line;url=../users/flats_stat.php?321;");
}


with(milonic=new menuname("ИПОТЕКА")){
style=menuStyle;
aI("text=ИПОТЕЧНЫЙ  БРОКЕР;url=../users/index.php?295;");
aI("text=СПЕЦИАЛЬНЫЕ ПРЕДЛОЖЕНИЯ;url=../users/index.php?245;");
aI("text=ИПОТЕКА или АРЕНДА? Выбор за Вами.;url=../users/index.php?284;");
aI("text=Приобретение недвижимости в кредит на докризисных условиях.;url=../users/index.php?244;");
}


with(milonic=new menuname("СПРАВОЧНИК")){
style=menuStyle;
aI("text=Наши партнеры;url=../users/index.php?25;");
aI("text=Город Запорожье;url=../users/index.php?28;");
aI("text=Полезные ссылки;url=../users/index.php?31;");
aI("text=Телефонный справочник;url=../users/index.php?329;");
aI("text=Законодательство;url=../users/index.php?344;");
}


with(milonic=new menuname("СОВЕТЫ")){
style=menuStyle;
aI("text=Аренда квартир;url=../users/index.php?337;");
aI("text=Продавцу квартиры;url=../users/index.php?339;");
aI("text=Покупателю квартиры;url=../users/index.php?340;");
aI("text=Перекредитование ипотеки;url=../users/index.php?408;");
aI("text=Выбрать риэлтора;url=../users/index.php?404;");
}


with(milonic=new menuname("ВАКАНСИИ")){
style=menuStyle;
aI("text=Руководитель;url=../users/index.php?434;");
aI("text=Специалист;url=../users/index.php?435;");
aI("text=Агент;url=../users/index.php?436;");
}


drawMenus();


