function Declare_bMenu(o){with(o){

zIndex=1
APC=1
waitDelay=4000
hideDelay=400

// Wzory globalne dla panela i pozycji
globalPanel={bgColor:'#EB3535', bgImage:0, width:0, borderClass:'b1pxblack2', marginH:0, marginV:0, opacity:100, filterIE:0}
globalItem={fontClass:'acmplFont', fontClassOver:'acmplFontOv', bgColor:0, bgColorOver:'#D0D0D0', bgImage:0, bgImageOver:0, height:15, align:'left', alignOver:'left', valign:'middle', valignOver:'middle', borderClass:'b1pxblack', borderClassOver:'b1pxblack', cursor:'default', filterIE:0}

// Wzory indywidualne dla paneli
var glownyPanel={filterIE:'blendTrans(duration=0.5)'}
var styl1Panel={bgColor:'#333333', borderClass:'b2pxblack', marginH:4, marginV:4}
var styl2Panel={bgColor:'#336699', borderClass:'insBorder', marginH:10, marginV:5, filterIE:'revealTrans(duration=0.7,transition=8)shadow(color=lightblue,direction=135,strength=10)'}
var styl3Panel={bgColor:'black', borderClass:'b4pxgold', marginH:2, marginV:2}
var Al_ValPanel={bgColor:'silver',width:130, borderClass:'b2pxblack', marginH:3, marginV:3}
var przezroczysty={bgColor:0,width:80, borderClass:'b1pxwhite', marginH:8, marginV:4}
var polprzezroczysty={opacity:70}
var cieniasty={filterIE:'progid:DXImageTransform.Microsoft.Shadow(color=black,direction=135,strength=7)'}

// Wzory indywidualne dla pozycji
var b1={filterIE:'blendTrans(duration=0.3)'}
var b2={filterIE:'revealTrans(duration=0.3,transition=19)', height:15, borderClass:'b1pxblack'}
var b2b={filterIE:'revealTrans(duration=0.3,transition=19)', height:15}

var b3={filterIE:'blendTrans(duration=0.3)shadow(color=black,direction=120,strength=8)', height:22}
var b4={fontClass:'alFontB', filterIE:'shadow(color=white,direction=120,strength=2)'}
var b5={filterIE:'revealTrans(duration=0.4,transition=13)blendTrans(duration=0.3)', align:'center', alignOver:'center'}
var b6={filterIE:'progid:DXImageTransform.Microsoft.Stretch(stretchStyle=push)'}
var s1={fontClass:'s0Font', fontClassOver:'s0FontOver', bgColor:'black', bgColorOver:'#a0a0a0', height:25, filterIE:'blendTrans(duration=0.5)'}
var s2={fontClass:'s1Font', fontClassOver:'s0FontOver', bgColor:'#336699', bgColorOver:'#336699', height:30, borderClass:'s2nBorder', borderClassOver:'s2oBorder', align:'center', alignOver:'center'}
var s3={fontClass:'winFont', fontClassOver:'winFontOv', bgColor:'yellow', bgColorOver:'#B8860B', height:20, filterIE:'revealTrans(duration=0.3,transition=12)'}
var centmid={align:'center', alignOver:'right', valign:'middle', valignOver:'top', height:30, fontClass:'winFont', fontClassOver:'winFontOv', bgColor:'#cc9966', bgColorOver:'#996633', filterIE:'blendTrans(duration=0.3)'}
var leftop={align:'left', alignOver:'right', valign:'top', valignOver:'bottom', height:30, fontClass:'winFont', fontClassOver:'winFontOv', bgColor:'#6699cc', bgColorOver:'#336699', filterIE:'blendTrans(duration=0.3)'}
var centbot={align:'center', alignOver:'center', valign:'bottom', valignOver:'top', height:30, fontClass:'winFont', fontClassOver:'winFontOv', bgColor:'#339999', bgColorOver:'#006666', filterIE:'blendTrans(duration=0.3)'}
var cur1={cursor:'help'}
var cur2={cursor:'move'}
var cur3={cursor:'e-resize'}
var cur4={cursor:'pointer'}
var cur5={cursor:'url(grafika/yellow.cur)'}
var prawy={align:'right', alignOver:'right'}
var idzwprawo={align:'center', alignOver:'right',filterIE:'blendTrans(duration=0.8)'}
var separator={bgColorOver:0}

//------------------------------

// Deklaracja struktury menu
 with(Panel('klub',glownyPanel)){
  Item('http://www.acmilan.pl/news.php','AKTUALNOCI')
  Item('http://www.acmilan.pl/klub/oklubie.php','O KLUBIE')
  Item(0,'LEGENDY &raquo;').expand('panelLegendy')
  Item('http://www.acmilan.pl/klub/historia.php','HISTORIA')
  Item('http://www.acmilan.pl/klub/sukcesy.php','SUKCESY')
  Item('http://www.acmilan.pl/klub/rekordy.php','REKORDY')
  Item('http://www.acmilan.pl/klub/hymn.php','HYMN')
  Item('http://www.acmilan.pl/klub/kapitanowie.php','KAPITANOWIE')
  Item('http://www.acmilan.pl/klub/shevcento.php','SHEVCENTO')
  Item('http://www.acmilan.pl/klub/san_siro.php','STADION')
  Item('http://www.acmilan.pl/klub/derby.php','DERBY')
  Item('http://www.acmilan.pl/klub/vs/milan_vs.php','MILAN VS...')
  Item(0,'SQUADRA AZZURRA &raquo;',idzwprawo).expand('panelSquadra')
  Item('http://www.acmilan.pl/klub/koszulki.php','KOSZULKI')
  Item('http://www.acmilan.pl/expose/galeria_koszulek.php','GALERIA KOSZULEK')
  Item('http://www.acmilan.pl/klub/milanello.php','MILANELLO')
  Item('http://www.acmilan.pl/klub/milan_w_mediach.php','MILAN W MEDIACH')
  Item('http://www.acmilan.pl/klub/milan_point.php','MILAN POINT')
 }
with(Panel('rozgrywki',glownyPanel)){
  Item(0,'SERIE A &raquo;').expand('panelSerieA')
  Item('http://www.acmilan.pl/rozgrywki/2010_11/lm_wyniki_10_11.php','LIGA MISTRZÓW')
  Item('http://www.acmilan.pl/rozgrywki/2010_11/ci_wyniki_10_11.php','PUCHAR WŁOCH')
  Item(0,'SUPERPUCHARY &raquo;').expand('panelSuperpuchar')
  Item('http://www.acmilan.pl/rozgrywki/archiwum/pint.php','PUCHAR INTERKONTYNENTALNY')
  Item('http://www.acmilan.pl/rozgrywki/2010_11/towarzyskie_10_11.php','SPARINGI')
  Item(0,'PRIMAVERA &raquo;').expand('panelPrimavera')
  Item('http://www.acmilan.pl/rozgrywki/lipiec.php','KALENDARZ')
	Item(0,'ARCHIWUM &raquo;').expand('panelArchiwum')
 }
with(Panel('kadra',glownyPanel)){
  Item('http://www.acmilan.pl/zespol/kadry_arch/kadra_10_11.php','PIERWSZY ZESPÓŁ')
  Item('http://www.acmilan.pl/zespol/kadry_arch/primavera_10_11.php','PRIMAVERA')
  Item('http://www.acmilan.pl/zespol/kadry_arch/sztab_10_11.php','SZTAB SZKOLENIOWY')
  Item('http://www.acmilan.pl/zespol/transfery.php','TRANSFERY')
  Item(0,'STATYSTYKI &raquo;').expand('panelStatystyki')
 }
with(Panel('kibice',glownyPanel)){
  Item('http://www.acmilan.pl/mcp/ultras.php','ULTRAS')
  Item('http://www.acmilan.pl/mcp/spiewnik.php','PIEWNIK')
  Item('http://www.acmilan.pl/mcp/na_wlasne_oczy.php','NA WŁASNE OCZY')
  Item('javascript:void(open("http://www.milanclubpolonia.pl"))','MILAN CLUB POLONIA')
 }
with(Panel('prasa',glownyPanel)){
  Item('http://www.acmilan.pl/prasa/artykuly/artykuly_linki.php','ARTYKUŁY')
  Item('http://www.acmilan.pl/prasa/felietony/felietony_linki.php','FELIETONY')
  Item('http://www.acmilan.pl/prasa/wywiady/wywiady_linki.php','WYWIADY')
  Item('http://www.acmilan.pl/prasa/artykuly/zdarzylosie_linki.php','ZDARZYŁO SIĘ...')
 }
with(Panel('multimedia',glownyPanel)){
  Item('http://www.acmilan.pl/multimedia/video.php','VIDEO')
  Item('http://www.acmilan.pl/komiks/milanpaint.php','MILAN PAINT')
  Item('http://www.acmilan.pl/multimedia/tapety.php','TAPETY')
  Item('http://www.acmilan.pl/multimedia/skory.php','SKÓRY')
 }
with(Panel('interaktywne',glownyPanel)){
  Item('javascript:void(open("http://www.acmilan.pl/forum/index.php"))','FORUM')
  Item('http://www.acmilan.pl/interaktywne/irc/irc.php','#MILAN.PL')
  Item('http://www.acmilan.pl/interaktywne/pilkarz_roku.php','PIŁKARZ ROKU')
  Item('http://www.acmilan.pl/typer/','TYPER')
 }
with(Panel('inne',glownyPanel)){
  Item('http://www.acmilan.pl/inne/linki.php','LINKI')
  Item('http://www.acmilan.pl/inne/reklama.php','REKLAMA')
  Item('http://www.acmilan.pl/inne/redakcja.php','REDAKCJA')
  Item('mailto:redakcja@acmilan.pl','KONT@KT')
 }


 with(Panel('panelLegendy')){
	Item('http://www.acmilan.pl/klub/legendy/carlo_ancelotti.php','ANCELOTTI',b2)
	Item('http://www.acmilan.pl/klub/legendy/franco_baresi.php','BARESI',b2)
  Item('http://www.acmilan.pl/klub/legendy/zvonimir_boban.php','BOBAN',b2)
  Item('http://www.acmilan.pl/klub/legendy/fabio_capello.php','CAPELLO',b2)
  Item('http://www.acmilan.pl/klub/legendy/roberto_donadoni.php','DONADONI',b2)
  Item('http://www.acmilan.pl/klub/legendy/ruud_gullit.php','GULLIT',b2)
  Item('http://www.acmilan.pl/klub/legendy/nils_liedholm.php','LIEDHOLM',b2)
  Item('http://www.acmilan.pl/klub/legendy/herbert_kilpin.php','KILPIN',b2)
  Item('http://www.acmilan.pl/klub/legendy/cesare_maldini.php','MALDINI C.',b2)
  Item('http://www.acmilan.pl/klub/legendy/gunnar_nordahl.php','NORDAHL',b2)
  Item('http://www.acmilan.pl/klub/legendy/pierino_prati.php','PRATI',b2)
  Item('http://www.acmilan.pl/klub/legendy/frank_rijkaard.php','RIJKAARD',b2)
  Item('http://www.acmilan.pl/klub/legendy/gianni_rivera.php','RIVERA',b2)
  Item('http://www.acmilan.pl/klub/legendy/nereo_rocco.php','ROCCO',b2)
  Item('http://www.acmilan.pl/klub/legendy/dejan_savicevic.php','SAVICEVIC',b2)
  Item('http://www.acmilan.pl/klub/legendy/arrigo_sacchi.php','SACCHI',b2)
  Item('http://www.acmilan.pl/klub/legendy/juan_schiaffino.php','SCHIAFFINO',b2)
  Item('http://www.acmilan.pl/klub/legendy/arturo_silvestri.php','SILVESTRI',b2)
  Item('http://www.acmilan.pl/klub/legendy/marco_van_basten.php','VAN BASTEN',b2)
  Item('http://www.acmilan.pl/klub/legendy/george_weah.php','WEAH',b2b)
 }
with(Panel('panelSquadra')){
	Item('http://www.acmilan.pl/klub/squadra_azzurra.php','MILANICI W SQUADRA AZZURRA',b2)
	Item('http://www.acmilan.pl/klub/squadra_azzurra2.php','MECZE 1910 - 1960',b2)
	Item('http://www.acmilan.pl/klub/squadra_azzurra3.php','MECZE 1961 - 2000',b2)
	Item('http://www.acmilan.pl/klub/squadra_azzurra4.php','MECZE OD 2001',b2b)
 }
with(Panel('panelSerieA')){
	Item('http://www.acmilan.pl/rozgrywki/2010_11/sa_wyniki_10_11.php','WYNIKI',b2)
	Item('http://www.acmilan.pl/rozgrywki/2010_11/sa_tabela_10_11.php','TABELA',b2)
	Item('http://www.acmilan.pl/rozgrywki/2010_11/sa_strzelcy_10_11.php','STRZELCY',b2b)
 }
with(Panel('panelPrimavera')){
	Item('http://www.acmilan.pl/rozgrywki/2010_11/prim_mw_wyniki.php','MISTRZOSTWA WŁOCH - WYNIKI',b2)
	Item('http://www.acmilan.pl/rozgrywki/2010_11/pmw_tabela_10_11.php','MISTRZOSTWA WŁOCH - TABELA',b2)
	Item('http://www.acmilan.pl/rozgrywki/2010_11/prim_pw_wyniki.php','PUCHAR WŁOCH',b2)
	Item('http://www.acmilan.pl/rozgrywki/2010_11/prim_spw_wyniki.php','SUPERPUCHAR WŁOCH',b2)
	Item('http://www.acmilan.pl/rozgrywki/2010_11/prim_cc_wyniki.php','COPPA CARNEVALE',b2b)
 }
with(Panel('panelSuperpuchar')){
	Item('http://www.acmilan.pl/rozgrywki/archiwum/spe.php','EUROPY',b2)
	Item('http://www.acmilan.pl/rozgrywki/archiwum/spw.php','WŁOCH',b2b)
 }
with(Panel('panelStatystyki')){
	Item('http://www.acmilan.pl/zespol/statystyki_sa_10_11.php','SERIE A',b2)
	Item('http://www.acmilan.pl/zespol/statystyki_ci_10_11.php','PUCHAR WŁOCH',b2)
	Item('http://www.acmilan.pl/zespol/statystyki_lm_10_11.php','LIGA MISTRZÓW',b2b)
 }

with(Panel('panelArchiwum')){
	Item('http://www.acmilan.pl/rozgrywki/archiwum/sezon_1997_98.php','SEZON 1997/98',b2)
	Item('http://www.acmilan.pl/rozgrywki/archiwum/sezon_1998_99.php','SEZON 1998/99',b2)
	Item('http://www.acmilan.pl/rozgrywki/archiwum/sezon_1999_00.php','SEZON 1999/00',b2)
	Item('http://www.acmilan.pl/rozgrywki/archiwum/sezon_2000_01.php','SEZON 2000/01',b2)
	Item('http://www.acmilan.pl/rozgrywki/archiwum/sezon_2001_02.php','SEZON 2001/02',b2)
	Item('http://www.acmilan.pl/rozgrywki/archiwum/sezon_2002_03.php','SEZON 2002/03',b2)
	Item('http://www.acmilan.pl/rozgrywki/archiwum/sezon_2003_04.php','SEZON 2003/04',b2)
	Item('http://www.acmilan.pl/rozgrywki/archiwum/sezon_2004_05.php','SEZON 2004/05',b2)
	Item('http://www.acmilan.pl/rozgrywki/archiwum/sezon_2005_06.php','SEZON 2005/06',b2)
	Item('http://www.acmilan.pl/rozgrywki/archiwum/sezon_2006_07.php','SEZON 2006/07',b2)
	Item('http://www.acmilan.pl/rozgrywki/archiwum/sezon_2007_08.php','SEZON 2007/08',b2)
	Item('http://www.acmilan.pl/rozgrywki/archiwum/sezon_2008_09.php','SEZON 2008/09',b2)
	Item('http://www.acmilan.pl/rozgrywki/archiwum/sezon_2009_10.php','SEZON 2009/10',b2b)
 }

 with(Panel('trzecipanel')){
  Item(0,'Tekst 1',b6)
  Item(0,'Tekst 2',b6)
  Item(0,'Tekst 3',b6)
  Item(0,'<hr>',separator)
  Item(0,'Powyżej separator<br>A tutaj tekst<br>w kilku linijkach')
  Item(0,'Next &raquo;').expand('czwartypanel')
 }

 with(Panel('czwartypanel')){
  Item(0,'Tekst pierwszy',b3)
  Item(0,'Tekst drugi',b3)
  Item(0,'Tekst trzeci',b3)
  Item(0,'Tekst czwarty',b3)
  Item(0,'Tekst',b3)
  Item(0,'Tekst',b3)
  Item(0,'Next &raquo;',b3).expand('piatypanel')
 }

 with(Panel('piatypanel')){
  Item(0,'Ilosc poziomow jest nieograniczona',b5)
  Item(0,'Tekst 2',b5)
  Item(0,'Tekst 3',b5)
  Item(0,'Tekst 4',b5)
  Item(0,'Tekst 5',b5)
 }

 with(Panel('Style',cieniasty)){
  Item(0,'Grafit &raquo;').expand('Styl_1')
  Item(0,'Steelblue &raquo;').expand('Styl_2')
  Item(0,'Desert storm &raquo;').expand('Styl_3')
  Item(0,'Styl mieszany &raquo;').expand('Styl_4')
  Item(0,'Przezroczysty &raquo;').expand('przezr')
  Item(0,'Półprzezroczysty &raquo;').expand('polprzezr')
  Item(0,'align valign &raquo;').expand('Al_Val')
  Item(0,'Zmienne kursory &raquo;').expand('Kursory')
  Item(0,'Ilość styli jakie<br>można utworzyć<br>zależy tylko od<br>wyobraźni twórcy.').expand('innestyle')
 }

 with(Panel('Styl_1',styl1Panel)){
  Item(0,'Pozycja pierwsza', s1)
  Item(0,'Druga', s1)
  Item(0,'Trzecia', s1)
  Item(0,'Czwarta', s1)
  Item(0,'Piąta', s1)
 }

 with(Panel('Styl_2',styl2Panel)){
  Item(0,'Pozycja pierwsza', s2)
  Item(0,'Druga', s2)
  Item(0,'Trzecia', s2)
  Item(0,'Czwarta', s2)
  Item(0,'Piąta', s2)
 }

 with(Panel('Styl_3',styl3Panel)){
  Item(0,'Pozycja pierwsza', s3)
  Item(0,'Druga', s3)
  Item(0,'Trzecia', s3)
  Item(0,'Czwarta', s3)
  Item(0,'Piąta', s3)
  Item(0,'Szósta', s3)
  Item(0,'Siódma', s3)
  Item(0,'Ósma', s3)
  Item(0,'Dziewiąta', s3)
  Item(0,'Dziesiąta', s3)
 }

 with(Panel('Styl_4',styl1Panel)){
  Item(0,'Pozycja pierwsza', s1)
  Item(0,'Druga', s2)
  Item(0,'Trzecia', s3)
  Item(0,'Czwarta', s3)
  Item(0,'Piąta', s2)
  Item(0,'Szósta', s1)
 }

 with(Panel('Al_Val',Al_ValPanel)){
  Item(0,'center-middle',centmid,'right-top')
  Item(0,'left-top',leftop,'right-bottom')
  Item(0,'center-bottom',centbot,'center-top')
 }

 with(Panel('Kursory')){
  Item(0,'default')
  Item(0,'help',cur1)
  Item(0,'move',cur2)
  Item(0,'e-resize',cur3)
  Item(0,'pointer',cur4)
  Item(0,'Własny kursor (IE6)',cur5)
 }

 with(Panel('przezr',przezroczysty)){
  Item(0,'Przezroczysty panel',b4)
  Item(0,'Tekst 2',b4)
  Item(0,'Tekst 3',b4)
  Item(0,'Tekst 3',b4)
 }

 with(Panel('polprzezr',polprzezroczysty)){
  Item(0,'Polprzezroczysty panel')
  Item(0,'Tekst 2')
  Item(0,'Tekst 3')
 }
 with(Panel('innestyle',cieniasty)){
  Item('szablony/index.html','Zobacz 72 inne przykłady')
  Item('graficzne.html','Zobacz menu graficzne')
  Item('zdarzenia.html','Zobacz obsługę zdarzeń')
  Item('animacje.html','Zobacz filtry IE')
 }

}}