
var menu = new Array();
var defOver = '#FEE483', defBack = '#FFFFCC', defBorder = '#000000';
var defHeight = 22;

menu[0] = new Array();
menu[0][0] = new Menu('rootMenu', 0, 0, 80, '', '', defBorder);
menu[0][1] = new Item('rootMenu1', '#', defHeight, 1);
menu[0][2] = new Item('rootMenu2', '#', defHeight, 2);
menu[0][3] = new Item('rootMenu3', '#', defHeight, 3);
menu[0][4] = new Item('rootMenu4', '#', defHeight, 4);
menu[0][5] = new Item('rootMenu5', '#', defHeight, 5);
menu[0][6] = new Item('rootMenu6', '#', defHeight, 6);
menu[0][7] = new Item('rootMenu7', '#', defHeight, 7);



menu[1] = new Array();
menu[1][0] = new Menu('PripojteseMenu', 0, 22, 285, defOver, defBack, defBorder);
menu[1][1] = new Item('Benchmarkingová iniciativa 2005', 'index.php?p_menu=pripojeni&hl_sloupec=pripojeni&detail=iniciativa', defHeight, 0);
menu[1][2] = new Item('Organizační struktura BI 2005', 'index.php?p_menu=pripojeni&hl_sloupec=pripojeni&detail=struktura', defHeight, 0);
menu[1][3] = new Item('Oblasti porovnávání a příklady využití výsledků', 'index.php?p_menu=pripojeni&hl_sloupec=pripojeni&detail=porovnavani', defHeight, 0);
menu[1][4] = new Item('Seznam členů', 'index.php?p_menu=pripojeni&hl_sloupec=pripojeni&detail=seznamclenu', defHeight, 0);
menu[1][5] = new Item('Poplatky, práva a povinnosti členů', 'index.php?p_menu=pripojeni&hl_sloupec=pripojeni&detail=poplatky', defHeight, 0);
menu[1][6] = new Item('Přihlášení', 'index.php?p_menu=pripojeni&hl_sloupec=pripojeni&detail=prihlaseni', defHeight, 0);



menu[2] = new Array();
menu[2][0] = new Menu('ProjektyMenu', 0, 22, 140, defOver, defBack, defBorder);
menu[2][1] = new Item('Aktuální projekty', 'index.php?p_menu=projekty&hl_sloupec=pripojeni&detail=iniciativa', defHeight, 8);
menu[2][2] = new Item('Dokončené projekty', 'index.php?p_menu=projekty&hl_sloupec=projekty&detail=strategickybenchmarking', defHeight, 9);

menu[3] = new Array();
menu[3][0] = new Menu('ObenchMenu', 0, 22, 250, defOver, defBack, defBorder);
menu[3][1] = new Item('Proč právě benchmarking?', 'index.php?p_menu=obench&hl_sloupec=benchmarking&detail=proc', defHeight, 0);
menu[3][2] = new Item('Podstata a smysl benchmarkingu?', 'index.php?p_menu=obench&hl_sloupec=benchmarking&detail=podstata', defHeight, 0);
menu[3][3] = new Item('Proč je Benchmarking tak důležitý?', 'index.php?p_menu=obench&hl_sloupec=benchmarking&detail=dulezitost', defHeight, 0);
menu[3][4] = new Item('Dobré praxe z benchmarkingu', 'index.php?p_menu=obench&hl_sloupec=benchmarking&detail=dobrepraxe', defHeight, 0);
menu[3][5] = new Item('Benchmarkingový cyklus', 'index.php?p_menu=obench&hl_sloupec=benchmarking&detail=cyklus', defHeight, 0);

menu[4] = new Array();
menu[4][0] = new Menu('DiskuzeMenu', 0, 22, 210, defOver, defBack, defBorder);

menu[5] = new Array();
menu[5][0] = new Menu('KontaktMenu', 0, 22, 150, defOver, defBack, defBorder);

menu[6] = new Array();
menu[6][0] = new Menu('NovinkyMenu', 0, 22, 150, defOver, defBack, defBorder);

menu[7] = new Array();
menu[7][0] = new Menu('ClenumMenu', 0, 22, 185, defOver, defBack, defBorder);
menu[7][1] = new Item('Novinky', 'index.php?p_menu=clenum&hl_sloupec=clenum&filtr=1', defHeight, 0);
menu[7][2] = new Item('Diskuze (jen pro členy)', 'index.php?p_menu=clenum&hl_sloupec=clenum&filtr=2', defHeight, 0);
menu[7][3] = new Item('Zápisy z jednání', 'index.php?p_menu=clenum&hl_sloupec=clenum&filtr=3', defHeight, 0);
menu[7][4] = new Item('Kalendář aktivit', 'index.php?p_menu=clenum&hl_sloupec=clenum&filtr=4', defHeight, 0);
menu[7][5] = new Item('Adresář, kontakty', 'index.php?p_menu=clenum&hl_sloupec=clenum&filtr=5', defHeight, 0);
menu[7][6] = new Item('Soubory ke stažení', 'index.php?p_menu=clenum&hl_sloupec=clenum&filtr=6', defHeight, 0);
menu[7][7] = new Item('Software k porovnávání', 'index.php?p_menu=clenum&hl_sloupec=clenum&filtr=7', defHeight, 0);
menu[7][8] = new Item('Vyhlášky a předpisy', 'index.php?p_menu=clenum&hl_sloupec=clenum&filtr=8', defHeight, 0);
menu[7][9] = new Item('Dobrá praxe', 'index.php?p_menu=clenum&hl_sloupec=clenum&filtr=9', defHeight, 0);
menu[7][10] = new Item('Fotogalerie', 'index.php?p_menu=clenum&hl_sloupec=clenum&filtr=10', defHeight, 0);

menu[8] = new Array();
menu[8][0] = new Menu('Projekty1Menu', 142, 0, 300, defOver, defBack, defBorder);
menu[8][1] = new Item('Benchmarkingová iniciativa 2005', 'index.php?p_menu=projekty&hl_sloupec=pripojeni&detail=iniciativa', defHeight, 0);
menu[8][2] = new Item('Benchmarking sociálních služeb v Královéhradeckém kraji (2006 - 2008)', 'index.php?p_menu=projekty&hl_sloupec=projekty&detail=kralovehradecky', defHeight, 0);

menu[9] = new Array();
menu[9][0] = new Menu('Projekty2Menu', 142, 0, 319, defOver, defBack, defBorder);
menu[9][1] = new Item('Strategický benchmarking absorpční kapacity veřejného sektoru v Olomouckém kraji (2006 - 2007)', 'index.php?p_menu=projekty&hl_sloupec=projekty&detail=strategickybenchmarking', 35, 0);
menu[9][2] = new Item('Benchmarking obcí s rozšířenou působností v kraji Vysočina (2005 - 2006)', 'index.php?p_menu=projekty&hl_sloupec=projekty&detail=benchmarkingsrozsirenou', 35, 0);
menu[9][3] = new Item('Kvalita života v krajích (2005)', 'index.php?p_menu=projekty&hl_sloupec=projekty&detail=kvalitazivota', defHeight, 0);
menu[9][4] = new Item('Benchmarking vybraných veřejných služeb (2005)', 'index.php?p_menu=projekty&hl_sloupec=projekty&detail=benchmarkingsluzeb', defHeight, 0);
menu[9][5] = new Item('Benchmarking nákladů na výkon přenesené působnosti (2005)', 'index.php?p_menu=projekty&hl_sloupec=projekty&detail=benchmarkingnakladu', 35, 0);
menu[9][6] = new Item('Benchmarking výkonu přenesené působnosti obcí III. typu (2003 - 2004)', 'index.php?p_menu=projekty&hl_sloupec=projekty&detail=benchmarkingvykonu', 35, 0);
menu[9][7] = new Item('Cena a Výkon (2000 - 2002)', 'index.php?p_menu=projekty&hl_sloupec=projekty&detail=cenaavykon', defHeight, 0);

menu[10] = new Array();
menu[10][0] = new Menu('Projekty3Menu', 142, 0, 300, defOver, defBack, defBorder);
menu[10][1] = new Item('Benchmarking přenesené působnosti obcí III. typu', 'index.php?p_menu=projekty&hl_sloupec=projekty&filtr=1&filtr2=kontext', defHeight, 0);
menu[10][2] = new Item('Cena a výkon', 'index.php?p_menu=projekty&hl_sloupec=projekty&filtr=2&filtr2=cile', defHeight, 0);

newRoot = startDL('rootMenu', 200, 83, '652', 15, 'hidden', '', null, 100, '');
newRoot += startDL('rootMenu3', 0, 0, 116, 15, 'inherit', '', null, 100, mouseProps(0, 3));
newRoot += '<span class="Item">&nbsp;<img src="obrazky/ball03e.gif"> <a href="index.php?p_menu=obench&hl_sloupec=obench&filtr=1" style="color: black;">O Benchmarkingu</a></span>' + endDL;
newRoot += startDL('rootMenu6', 124, 0, 61, 15, 'inherit', '', null, 100, mouseProps(0, 6));
newRoot += '<span class="Item">&nbsp;<img src="obrazky/ball03h.gif"> <a href="index.php?p_menu=novinky&hl_sloupec=novinky" style="color: black;">Novinky</a></span>' + endDL;
newRoot += startDL('rootMenu1', 192, 0, 136, 15, 'inherit', '', null, 100, mouseProps(0, 1));
newRoot += '<span class="Item">&nbsp;<img src="obrazky/ball03b.gif"> <a href="index.php?p_menu=pripojeni&hl_sloupec=pripojeni&detail=iniciativa" style="color: black;">BI 2005 - připojte se</a></span>' + endDL;
newRoot += startDL('rootMenu2', 337, 0, 63, 15, 'inherit', '', null, 100, mouseProps(0, 2));
newRoot += '<span class="Item">&nbsp;<img src="obrazky/ball03d.gif"> <a href="index.php?p_menu=projekty&hl_sloupec=pripojeni&detail=iniciativa" style="color: black;">Projekty</a></span>' + endDL;
newRoot += startDL('rootMenu5', 411, 0, 66, 15, 'inherit', '', null, 100, mouseProps(0, 5));
newRoot += '<span class="Item">&nbsp;<img src="obrazky/ball03g.gif"> <a href="index.php?p_menu=kontakt&hl_sloupec=kontakt" style="color: black;">Kontakty</a></span>' + endDL;
newRoot += startDL('rootMenu4', 488, 0, 60, 15, 'inherit', '', null, 100, mouseProps(0, 4));
newRoot += '<span class="Item">&nbsp;<img src="obrazky/ball03a.gif"> <a href="index.php?p_menu=diskuze&hl_sloupec=diskuze" style="color: black;">Diskuze</a></span>' + endDL;
newRoot += startDL('rootMenu7', 554, 0, 98, 15, 'inherit', '', null, 100, mouseProps(0, 7));
newRoot += '<span class="Item">&nbsp;<img src="obrazky/ball03f.gif"> <a href="index.php?p_menu=clenum&hl_sloupec=clenum&filtr=1" style="color: black;">Pouze členům</a></span>' + endDL;
newRoot += endDL;

writeMenus(newRoot, '>');

if (isNS4) document.captureEvents(Event.CLICK);
document.onclick = clickHandle;
function clickHandle(evt) {
if (isNS4) document.routeEvent(evt);
hideAllBut(0);
}

eval(docObj + menu[0][0].id + styObj + '.visibility = "visible"');

function moveRoot() {
rM = eval(docObj + menu[0][0].id + styObj);
if (parseInt(rM.top) < 40) rM.top = 40;
else rM.top = 0;
}


