//---------- menu poziome --------------

//menu Aktualnosci

MG_Akt=new TPodMenu(1,'PodMenu',true);
MG_Akt.DodajElement(new TElement('Nowości','index.php?dzial=news','',null));
MG_Akt.DodajElement(new TElement('Archiwum','index.php?dzial=archiwum','',null));
MG_Akt.Pokaz(0,0,1,'none');

//menu Program loj

MG_Program=new TPodMenu(1,'PodMenu',true);
MG_Program.DodajElement(new TElement('Regulamin','index.php?dzial=program_regulamin','',null));
MG_Program.DodajElement(new TElement('Załącznik','index.php?dzial=program_zalacznik','',null));
MG_Program.DodajElement(new TElement('Katalog prezentów','index.php?dzial=program_katalog','',null));
MG_Program.DodajElement(new TElement('Gazetka','index.php?dzial=program_gazetka','',null));
MG_Program.Pokaz(0,0,1,'none');

//menu Sklepy

MG_Sklepy=new TPodMenu(1,'PodMenu',true);
MG_Sklepy.DodajElement(new TElement('Adresy','index.php?dzial=sklepy_adresy','',null));
MG_Sklepy.Pokaz(0,0,1,'none');

//menu Produkty
MG_Produkty=new TPodMenu(1,'PodMenu',true);
//MG_Produkty.DodajElement(new TElement('Podział asortymentowy','index.php?dzial=produkty_podzial','',null));
MG_Produkty.DodajElement(new TElement('Pliki','index.php?dzial=produkty_pliki','',null));
MG_Produkty.DodajElement(new TElement('Atesty','index.php?dzial=produkty_atesty','',null));
MG_Produkty.Pokaz(0,0,1,'none');

//menu Promocje
MG_Promocje=new TPodMenu(1,'PodMenu',true);
MG_Promocje.DodajElement(new TElement('Gazetki stobud','index.php?dzial=promocje_gazetki','',null));
MG_Promocje.DodajElement(new TElement('Targi','index.php?dzial=promocje_targi','',null));
MG_Promocje.DodajElement(new TElement('U operatorów','index.php?dzial=promocje_promocje','',null));
MG_Promocje.Pokaz(0,0,1,'none');

//menu Porady - banzowe
MG_Porady_Br=new TPodMenu(1,'PodMenu',true);
MG_Porady_Br.DodajElement(new TElement('Farby','index.php?dzial=porady_branzowe_farby','',null));
MG_Porady_Br.DodajElement(new TElement('Produkty','index.php?dzial=porady_branzowe_produkty','',null));
MG_Porady_Br.Pokaz(0,0,2,'none');


//menu Porady
MG_Porady=new TPodMenu(1,'PodMenu',true);
MG_Porady.DodajElement(new TElement('Branżowe','#','',MG_Porady_Br));
//MG_Porady.DodajElement(new TElement('Finansowe','index.php?dzial=porady_finansowe','',null));
MG_Porady.Pokaz(0,0,1,'none');

//menu Dla Prasy
MG_DlaPrasy=new TPodMenu(1,'PodMenu',true);
MG_DlaPrasy.DodajElement(new TElement('Komunikaty','index.php?dzial=dlaprasy_komunikaty','',null));
MG_DlaPrasy.DodajElement(new TElement('Do pobrania','index.php?dzial=dlaprasy_dopobrania','',null));
MG_DlaPrasy.DodajElement(new TElement('Kontakt dla prasy','index.php?dzial=dlaprasy_kontakt','',null));
MG_DlaPrasy.Pokaz(0,0,1,'none');

//menu Partnerzy
MG_Partnerzy=new TPodMenu(1,'PodMenu',true);
//MG_Partnerzy.DodajElement(new TElement('Uczestnicy konsorcjum','index.php?dzial=partnerzy_uczestnicy','',null));
MG_Partnerzy.DodajElement(new TElement('Producenci branżowi','index.php?dzial=partnerzy_producenci','',null));
//MG_Partnerzy.DodajElement(new TElement('Dodatkowi','index.php?dzial=partnerzy_dodatkowi','',null));
MG_Partnerzy.Pokaz(0,0,1,'none');

//menu Konsorcjum
MG_Ospolce=new TPodMenu(1,'PodMenu',true);
MG_Ospolce.DodajElement(new TElement('O spółce','index.php?dzial=ospolce_ospolce','',null));
MG_Ospolce.DodajElement(new TElement('Władze spółki','index.php?dzial=ospolce_wladze','',null));
MG_Ospolce.DodajElement(new TElement('Akcjonariusze','index.php?dzial=ospolce_akcjonariusze','',null));
MG_Ospolce.Pokaz(0,0,1,'none');

//menu Praca
MG_Praca=new TPodMenu(1,'PodMenu',true);
MG_Praca.DodajElement(new TElement('Oferty','index.php?dzial=praca_oferty','',null));
//MG_Praca.DodajElement(new TElement('Kontakt','index.php?dzial=praca_kontakt','',null));
MG_Praca.Pokaz(0,0,1,'none');

//MG_Forum=new TPodMenu(1,'PodMenu',true);
//MG_Forum.DodajElement(new TElement('Ogólne','../forum','',null));
//MG_Forum.DodajElement(new TElement('Specjalistyczne','../forum_spec','',null));
//MG_Forum.Pokaz(0,0,1,'none');

//------------------- menu pionowe --------------------

MB=new TPodMenu(1,'BoczneMenu',false);
MB.DodajElement(new TElement('Aktualności','#','',MG_Akt));
//MB.DodajElement(new TElement('Galeria','index.php?dzial=galeria','',null));
MB.DodajElement(new TElement('Program lojalnościowy','#','',MG_Program));
MB.DodajElement(new TElement('Sklepy','#','',MG_Sklepy));
MB.DodajElement(new TElement('Produkty','#','',MG_Produkty));
MB.DodajElement(new TElement('Promocje','#','',MG_Promocje));
MB.DodajElement(new TElement('Porady','#','',MG_Porady));
MB.DodajElement(new TElement('Dla Prasy','#','',MG_DlaPrasy));
MB.DodajElement(new TElement('Partnerzy','#','',MG_Partnerzy));
//MB.DodajElement(new TElement('O spółce','#','',MG_Ospolce));
MB.DodajElement(new TElement('Praca','#','',MG_Praca));
//MB.DodajElement(new TElement('Forum','#','',MG_Forum));
//MB.DodajElement(new TElement('E-commers','http://83.16.123.138','',null));
MB.DodajElement(new TElement('Kontakt - mapa','index.php?dzial=kontakt','',null));


//------- tworzymy menu ----------	
//Menu.Rejestruj(MG);
//Menu.Rejestruj(MG_Forum);
Menu.Rejestruj(MG_Akt);
Menu.Rejestruj(MG_Program);
Menu.Rejestruj(MG_Sklepy);
Menu.Rejestruj(MG_Produkty);
Menu.Rejestruj(MG_Promocje);
Menu.Rejestruj(MG_Porady_Br);
Menu.Rejestruj(MG_Porady);
Menu.Rejestruj(MG_DlaPrasy);
Menu.Rejestruj(MG_Partnerzy);
//Menu.Rejestruj(MG_Ospolce);
Menu.Rejestruj(MG_Praca);
Menu.Rejestruj(MB);

