function Declare_bMenu(o){with(o){

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

// Wzory globalne dla panela i pozycji
globalPanel={bgColor:'orange', bgImage:0, width:0, borderClass:'brdp', marginH:0, marginV:0, opacity:90, filterIE:'blendTrans(duration=0.6)'}
globalItem={fontClass:'wFont', fontClassOver:'wFontOv', bgColor:'black', bgColorOver:0, bgImage:0, bgImageOver:0, height:23, align:'left', alignOver:'left', valign:'middle', valignOver:'middle', borderClass:'brd', borderClassOver:'brdo', cursor:'default', filterIE:'blendTrans(duration=0.4)shadow(color=white,strength=2,direction=135)shadow(color=dimgray,strength=2,direction=315)'}

// Wzory indywidualne dla paneli
// brak

// Wzory indywidualne dla pozycji
var cprt={fontClassOver:'wFont', bgColorOver:'#dfdfff', borderClassOver:'brd'}

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

// Deklaracja struktury menu

 with(Panel('Panel1')){
  Item("#",'Link1')
  Item("#",'Link2')
  Item("#",'Link3')
  Item("#",'Link4')
  Item(0,'Rozwin &raquo;').expand('Panel1_1')
  Item(0,'Rozwin &raquo;').expand('Panel1_2')
 }
 with(Panel('Panel1_1')){
  Item("#",'Link1')
  Item("#",'Link2')
  Item("#",'Link3')
  Item("#",'Link4')
 }
 with(Panel('Panel1_2')){
  Item("#",'Link1')
  Item("#",'Link2')
  Item("#",'Link3')
  Item("#",'Link4')
 }

 with(Panel('Panel2')){
  Item(0,'Nauczyciele &raquo;').expand('Panel2_1')
  Item(0,'Uczniowie &raquo;').expand('Panel2_2')
  Item("index.php?Link=info&nagl=info",'Informacje o szkole')
  Item("index.php?Link=kronika&nagl=kronika",'Imprezy szkolne')
  Item("index.php?Link=historia&nagl=historia",'Historia gimnazjum')
  Item("index.php?Link=patron&nagl=patron",'Patron szkoły')
  Item("index.php?Link=osiagniecia&nagl=osiagniecia",'Osiągnięcia szkoły')
  Item("index.php?Link=sport&nagl=sport",'Sport')
  Item("index.php?Link=dokumenty&nagl=dokumenty",'Dokumenty szkole')
  Item("index.php?Link=gal_szk&nagl=gal_szk",'Zdjęcia szkoły')
  Item("index.php?Link=plan&nagl=plan",'Plan dojazdu')

 }
 with(Panel('Panel2_1')){
  Item("index.php?Link=dyrekcja&nagl=dyrekcja",'Dyrekcja')
  Item("index.php?Link=grono&nagl=grono",'Grono pedagogiczne')
  Item("index.php?Link=publikacje&nagl=publikacje",'Publikacje nauczycieli')
 }
 with(Panel('Panel2_2')){
  Item("index.php?Link=samorzad&nagl=samorzad",'Samorząd szkolny')
  Item("index.php?Link=klasy&nagl=klasy",'Klasy')
 }

 with(Panel('Panel3')){
  Item("index.php?Link=kola&nagl=kola",'Koła zainteresowań')
  Item("index.php?Link=klub/matekol",'Koło matematyczne')
  Item("index.php?Link=rekrut&nagl=rekrut",'Rekrutacja')
  Item("index.php?Link=podr&nagl=podr",'Wykaz podręczników')
  Item("index.php?Link=dzwonki&nagl=dzwonki",'Rozkład dzwonków')
  Item("index.php?Link=rok_szkolny&nagl=rok_szkolny",'Rok szkolny')
  Item("index.php?Link=radarodzicow&nagl=radarodzicow",'Rada rodziców')
  Item("planlek/index.html",'Plan lekcji')
  Item("index.php?Link=wynegz06&nagl=wynegz06",'Wyniki egzaminu gimnazjalnego 2008/2009')
  Item("files/ped.doc",'Pedagog szkolny')

 }

with(Panel('Panel4')){
  Item("index.php?Link=goscie&nagl=goscie",'Ksiega gości')
  Item("index.php?Link=czat&nagl=czat",'Czat')
  Item("index.php?Link=bramki&nagl=bramki",'Bramki komunikacyjne')
  Item("index.php?Link=linki&nagl=linki",'Ciekawe adresy')
 }
with(Panel('Panel5')){
  Item("#",'Link1')
  Item("#",'Link2')
  Item("#",'Link3')
  Item("#",'Link4')
  Item(0,'Rozwin &raquo;').expand('Panel5_1')
  Item(0,'Rozwin &raquo;').expand('Panel5_2')
 }
 with(Panel('Panel5_1')){
  Item("#",'Link1')
  Item("#",'Link2')
  Item("#",'Link3')
  Item("#",'Link4')
 }
 with(Panel('Panel5_2')){
  Item("#",'Link1')
  Item("#",'Link2')
  Item("#",'Link3')
  Item("#",'Link4')
 }
}}
