fixMozillaZIndex=true; //Fixes Z-Index problem  with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps
_menuCloseDelay=100;
_menuOpenDelay=0;
_subOffsetTop=10;
_subOffsetLeft=-2;
/*position="relative";
buildAfterLoad=true; */

// Wspolrzedne pozycjonujace menu na ekranie (tylko w wersji absolutnej) 
// sa dostepne w czesci with( menu = new menuname( "Main Menu" ) ) ponizej

with( MainMenuStyle = new mm_style() ) {
	styleid = 1;
	bordercolor = "#1CBE42";
	borderstyle = "dotted";
	borderwidth = 0;
	fontfamily = "Verdana, Helvetica";
	fontsize = "14px";
	fontstyle = "normal";
	fontweight = "bold";
	headerbgcolor = "#3399CC";
	headercolor = "#FFFF33";
	offbgcolor = "#ffffff";
	offcolor = "#808080";
	onbgcolor = "#ffffff";
	oncolor = "#808080";
	padding = 6;
/*	separatoralign = "left";
	separatorcolor = "#1CBE42";
	separatorwidth = "30%";*/
}

with( menuStyle = new mm_style() ) {
	styleid = 2;
	bordercolor = "#808080";
	borderstyle = "solid";
	borderwidth = 1;
	fontfamily = "Arial, Verdana, Tahoma";
	fontsize = "80%";
	fontstyle = "normal";
	headerbgcolor = "#ffffff";
	headercolor = "#000000";
	offbgcolor = "#FFFFFF";
	offcolor = "#515151";
	onbgcolor = "#BA9082";
	oncolor = "#ffffff";
	onitalic = 0;
	outfilter="Fade(overlap=0.30, duration=0.8)";
//	outfilter = "randomdissolve(duration=0.3)";
	overfilter = "Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=5)";
	padding = 8;
//	pagebgcolor = "#82B6D7";
//	pagecolor = "black";
	separatorcolor = "#DBDDDD";
	separatorpadding = 1;
	separatorsize = 1;
	separatorwidth = "95%";
	subimage = "/images/arrow.gif";
	subimagepadding = 2;
}

/*with( menu = new menuname( "Main Menu" ) ) {
//	top=0;
//	left=230;
	orientation="horizontal";
	style=MainMenuStyle;
	alwaysvisible=1;
	aI("showmenu=Solutions;text=Rozwi1zania;url=solutions.html;status=Test;");
	aI("showmenu=Products;text=Produkty;url=products.html;");
//	aI("showmenu=Customers;text=Klienci;url=cutomers.html;");
	aI("showmenu=Services;text=Us3ugi;url=services.html;");
	aI("showmenu=Resources;text=Wiedza;url=resources.html;");
//	aI("showmenu=Case Studies;text=Case studies;url=case_studies.html;");
	aI("showmenu=About;text=O nas;url=about.html;");
//	aI("showmenu=Contact;text=Kontakt;url=contact.html;");
} */

with( menu = new menuname( "Solutions" ) ) {
	itemwidth=200;
	style=menuStyle;
	aI("text=Przegląd;url=/solutions/;");
	aI("text=Zarządzanie procesem dostarczania aplikacji;url=/solutions/software-delivery-management/;");
	aI("text=Zarządzanie wymaganiami;url=/solutions/requirements-definition-management/;");
	aI("text=Zarządzanie jakością;url=/solutions/lifecycle-quality-management/;");
	aI("text=Zarządzanie zmianą;url=/solutions/change-management/;");
	aI("text=Modelowanie;url=/products/together/;");
}

with( menu = new menuname( "Products" ) ) {
	itemwidth=200;
	style=menuStyle;
	aI("text=Przegląd;url=/products/;");
	aI("text=Borland Management Suite;url=/products/team/;showmenu=BMS");
	aI("text=Tempo;url=/products/tempo/;");
	aI("text=Caliber;url=/products/caliber/;showmenu=RDM;");
	aI("text=Together;url=/products/together/");
	aI("text=Silk;url=/products/silk/;showmenu=LQM;");
	aI("text=StarTeam;url=/products/starteam/;");
//	aI("text=Programowanie (IDE);url=/products/ide/;showmenu=IDE;");
}

with( submenu = new menuname( "RDM" ) ) {
	margin=3;
	style=menuStyle;
	aI("text=Definiowanie - TeamDefine;url=/products/teamdefine/;");
	aI("text=Zarządzanie - CaliberRM;url=/products/caliberrm/;");
}

with( submenu = new menuname( "LQM" ) ) {
	margin=3;
	style=menuStyle;
	aI("text=SilkTest;url=/products/silktest/;");
	aI("text=SilkPerformer;url=/products/silkperformer/;");
//	aI("text=Gauntlet;url=/products/gauntlet/;");
	aI("text=SilkCentral Test Manager;url=/products/silkcentral/;");
}

with( submenu = new menuname( "BMS" ) ) {
	margin=3;
	style=menuStyle;
	aI("text=TeamDemand;url=/products/team/team-demand/;");
	aI("text=TeamFocus;url=/products/team/team-focus/;");
	aI("text=TeamAnalytics;url=/products/team/team-analytics/;");
}

with( submenu = new menuname( "IDE" ) ) {
	margin=3;
	style=menuStyle;
	aI("text=C++Builder;url=http://www.borland.pl/produkty.shtml;");
	aI("text=C#Builder;url=http://www.borland.pl/produkty.shtml;");
	aI("text=Delphi;url=http://www.borland.pl/produkty.shtml;");
	aI("text=Delphi 2007;url=http://www.borland.pl/produkty.shtml;");
	aI("text=Delphi for PHP;url=http://www.borland.pl/produkty.shtml;");
	aI("text=JBuilder;url=http://www.borland.pl/produkty.shtml;");
	aI("text=JGear;url=http://www.borland.pl/produkty.shtml;");
	aI("text=Turbo;url=http://www.borland.pl/produkty.shtml;");
	aI("text=InterBase;url=http://www.borland.pl/produkty.shtml;");
}


with( menu = new menuname( "Services" ) ) {
	itemwidth=160;
	style=menuStyle;
	aI("text=Przegląd;url=/services/index.html;");
	aI("text=Usprawnienie procesów;url=http://www.borland.com/us/services/process-optimization/index.html;");
	aI("text=Wdrożenia rozwiązań;url=http://www.borland.com/us/services/technology-implementation/index.html;");
	aI("text=Szkolenia;url=/services/training/index.html;showmenu=TRAIN;");
	aI("text=Wsparcie;url=/services/support/index.html;");
}

with( submenu = new menuname( "TRAIN" ) ) {
	margin=3;
	style=menuStyle;
	aI("text=Oferta szkoleniowa;url=http://www.borland.pl/services/training/index.html;");
	aI("text=Szkolenia On-Line - Nowość;url=http://www.borland.pl/services/training/online/index.html;");
}

with( menu = new menuname( "Resources" ) ) {
	itemwidth=230;
	style=menuStyle;
	aI("text=Przegląd;url=/resources/;");
	aI("text=Artykuły;url=/resources/articles/;");
	aI("text=Open ALM;url=http://www.borland.com/us/rc/open-application-lifecycle-management/index.html;");
	aI("text=Zarządzanie portfelem projektów;url=http://www.borland.com/us/rc/project-and-portfolio-management/index.html;");
	aI("text=Definiowanie i zarządzanie wymaganiami;url=http://www.borland.com/us/rc/requirements-definition-management/index.html;");
	aI("text=Modelowanie jako baza programistyczna;url=http://www.borland.com/us/rc/model-driven-development/index.html;");
	aI("text=Zarządzanie jakością;url=http://www.borland.com/us/rc/lifecycle-quality-management/index.html;");
	aI("text=Zarządzanie zmianą;url=http://www.borland.com/us/rc/change-management/index.html;");
	aI("text=Case studies;url=http://www.borland.com/us/customers/;");
}

with( menu = new menuname( "About" ) ) {
	itemwidth=200;
	style=menuStyle;
	aI("text=Borland;url=/company/index.html;");
	aI("text=Wizja firmy Borland;url=/company/vision/index.html;");
	aI("text=Prasa;url=http://www.borland.com/us/company/news/index.html;");
	aI("text=Opinie;url=/company/comments/index.html;");
	aI("text=BSC Polska;url=/o_firmie.shtml;");
	aI("text=Kariera w BSC Polska;url=/praca.shtml;");
	aI("text=Kontakt z nami;url=/contact/index.html;");
}

drawMenus();