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=10;
_subOffsetLeft=-10;




with(submenuStyle=new mm_style()){
bordercolor="#042071";
borderstyle="solid";
borderwidth=2;
itemwidth=235;
fontfamily="Verdana, Tahoma, Arial";
fontsize="80%";
fontstyle="normal";
//fontweight="bold";
offbgcolor="#396ef3";
offcolor="#ffffff";
onbgcolor="#316ac5";
oncolor="#ffffff";
subimage="menu/xp_ind.gif";
outfilter="fade(duration=0.1)";
overfilter="Fade(duration=0.1);Alpha(opacity=90);Shadow(color=#939393', Direction=145, Strength=1)";
padding=6;
separatorcolor="#969698";
subimagepadding=8;
}

with(submenuStyle1=new mm_style()){
bordercolor="#042071";
borderstyle="solid";
borderwidth=2;
itemwidth=205
fontfamily="Verdana, Tahoma, Arial";
fontsize="80%";
fontstyle="normal";
//fontweight="bold";
offbgcolor="#396ef3";
offcolor="#ffffff";
onbgcolor="#316ac5";
oncolor="#ffffff";
subimage="menu/xp_ind.gif";
outfilter="fade(duration=0.1)";
overfilter="Fade(duration=0.1);Alpha(opacity=90);Shadow(color=#939393', Direction=145, Strength=1)";
padding=6;
separatorcolor="#969698";
subimagepadding=8;
}

with(menuStyle=new mm_style()){
styleid=1;
bgimage="menu/1.gif";
bordercolor="#4D4D4D";
borderstyle="solid";
fontfamily="Verdana, Tahoma, Arial";
fontsize="85%";
fontstyle="normal";
//fontweight="bold";
align="center"
//image="menu/folder.gif";
//imagepadding=2;
itemheight=38;
itemwidth=180;
offcolor="#ffffff";
oncolor="#ffffff";
overbgimage="menu/2.gif";
//overimage="openfolder.gif";
//subimage="menu/down.gif";
subimagepadding=8;
//subimagepadding=2;
//clickbgimage="menu/baseline_button_on.gif";
outfilter="fade(duration=0.1)";
overfilter="Fade(duration=0.1);Alpha(opacity=90);Shadow(color=#939393', Direction=145, Strength=1)";
}

with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
left=1;
top=220;
orientation="horizontal";
style=menuStyle;

aI("showmenu=production;text=продукция;url=prod.shtml;");
aI("bgimage=menu/p1.gif;image=menu/transparent.gif;itemwidth=1;overimage=menu/transparent.gif;rawcss=border:1px solid #c0c0c0;type=header;");
aI("text=услуги;url=default.shtml");
aI("bgimage=menu/p1.gif;image=menu/transparent.gif;itemwidth=1;overimage=menu/transparent.gif;rawcss=border:1px solid #c0c0c0;type=header;");
aI("text=портфолио;url=photogallery/portfolio.htm");
aI("bgimage=menu/p1.gif;image=menu/transparent.gif;itemwidth=1;overimage=menu/transparent.gif;rawcss=border:1px solid #c0c0c0;type=header;");
aI("text= фотогалерея;url=prod4.shtml");
aI("bgimage=menu/p1.gif;image=menu/transparent.gif;itemwidth=1;overimage=menu/transparent.gif;rawcss=border:1px solid #c0c0c0;type=header;");
aI("showmenu=Clients;text=для клиентов;url=doc.shtml");
aI("bgimage=menu/p1.gif;image=menu/transparent.gif;itemwidth=1;overimage=menu/transparent.gif;rawcss=border:1px solid #c0c0c0;type=header;");
aI("showmenu=Company;text=о компании;url=sunpress.shtml;");

}

with(milonic=new menuname("Clients")){
left="offset=2";
style=submenuStyle;
aI("showmenu=Treb;text=требования к материалам;url=treb.shtml;");
aI("text=документы;url=doc.shtml");
}

with(milonic=new menuname("production")){
left="offset=2";
style=submenuStyle1;
aI("text=&#1082;&#1086;&#1084;&#1087;&#1072;&#1082;&#1090;-&#1076;&#1080;&#1089;&#1082;&#1080;url=prod0.shtml;");
aI("text=&#1084;&#1080;&#1085;&#1080; CD,CD-cards;url=prod1.shtml;");
aI("text=&#1082;&#1086;&#1085;&#1074;&#1077;&#1088;&#1090;&#1099;url=prod2.shtml;");
aI("text=&#1087;&#1083;&#1072;&#1089;&#1090;&#1080;&#1082;&#1086;&#1074;&#1099;&#1077; &#1073;&#1086;&#1082;&#1089;&#1099;url=prod3.shtml;;");
aI("text=&#1076;&#1080;&#1076;&#1078;&#1080;&#1087;&#1072;&#1082;&#1080;url=prod4.shtml;");
aI("text=&#1082;&#1086;&#1088;&#1086;&#1073;&#1095;&#1072;&#1090;&#1099;&#1077; &#1082;&#1086;&#1085;&#1089;&#1090;&#1088;&#1091;&#1082;&#1094;&#1080;&#1080;url=prod5.shtml;");
}

with(milonic=new menuname("Treb")){
left="offset=2";
style=submenuStyle1;
aI("text=подготовка CD-AUDIO;url=treb-audi.shtml;");
aI("text=подготовка CD-ROM ;url=treb-cd.shtml;");
aI("text=упаковка;url=treb-y.shtml;");
aI("text=диски - шелкография;url=treb-d1.shtml;");
aI("text=диски - офсетная печать;url=treb-d2.shtml");
}

with(milonic=new menuname("Company")){
left="offset=2";
style=submenuStyle1;
aI("text=наши клиенты;url=client.shtml;");
aI("text=как нас найти;url=contact.shtml;");

}

drawMenus();


