// write me if you have questions: web.master@male.net

// constants
var initX       = 60; // x-coordinate of top left corner of dropdown menu 
var initY       = 120; // y-coordinate of top left corner of dropdown menu 
var backColor   = '#FFFFFF'; // the background color of dropdown menu, set empty '' for transparent
var borderColor = '#105c11'; // the color of dropdown menu border
var borderSize  = '1'; // the width of dropdown menu border
var itemHeight  = 20;
var xOverlap    = 5;
var yOverlap    = 10;
//


menuContent     = new Array ();

menuContent [0] = new Array ( 
-1, // the id of parent menu, -1 if this is a first level menu
-1, // the number of line in parent menu, -1 if this is a first level menu
150, // the width of current menu list 
((screen.width/2)-330), // x coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent x-coordinate
125, // y coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent y-coordinate
new Array (
'&nbsp;Kto sme? ', 'rada.htm',
'&nbsp;Naše poslanie ', 'poslanie.htm',
'&nbsp;Podporované oblasti ', 'oblasti.htm',
'&nbsp;Strategické zámery > ', '#',
'&nbsp;Výročné správy > ', '#'
));

menuContent [1] = new Array ( 
-1, 
-1,
220,
((screen.width/2)-230), // x coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent x-coordinate
130, // y coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent y-coordinate
new Array (
'&nbsp;Program Občianska voľba ', 'ov8.htm',
'&nbsp;Projekt Vybudovanie systému opatrovateľských služieb... ', 'opatrovanie.htm',
'&nbsp;Program Klub darcov ', 'klub.htm',
'&nbsp;Program Mladí filantropi ', 'filantropi.htm',
'&nbsp;Projekt Návrat osôb s rodin... ', 'esf.htm',
'&nbsp;Projekt Návrat osôb dlhodobo... ', 'fsr.htm',
'&nbsp;Projekt Úprava nábrežia ', 'uprava.htm',
'&nbsp;Iné uskutočnené projekty > ', '#'
));

menuContent [2] = new Array ( 
-1, 
-1,
120,
((screen.width/2)-90), // x coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent x-coordinate
125, // y coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent y-coordinate
new Array (
'&nbsp;Dialóg 2008 > ', '#',
'&nbsp;Dialóg 2007 > ', '#',
'&nbsp;Dialóg 2006 > ', '#',
'&nbsp;Dialóg 2005 > ', '#',
'&nbsp;Dialóg 2004 > ', '#'
));

menuContent [3] = new Array ( 
-1, 
-1,
180,
((screen.width/2)+40), // x coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent x-coordinate
125, // y coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent y-coordinate
new Array (
'&nbsp;Darujte nám 2% dane ', '2percenta.htm',
'&nbsp;Účelové fondy nadácie ', 'fondya5.pdf'
));

menuContent [4] = new Array ( 
-1, 
-1,
140,
((screen.width/2)+210), // x coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent x-coordinate
125, // y coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent y-coordinate
new Array (
'&nbsp;Adresa ', 'address.htm',
'&nbsp;Pošlite nám e-mail ', 'mail.htm'
));

menuContent [5] = new Array ( 
0, 
3,
180,
-1, // x coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent x-coordinate
-1, // y coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent y-coordinate
new Array (
'&nbsp;Cesta umenia ', 'cumenia.htm',
'&nbsp;Záchrana hradu Šariš ', 'hrad.htm',
'&nbsp;Rozvoj mesta Veľký Šariš ', 'strateg.htm'
));

menuContent [6] = new Array ( 
0, 
4,
100,
-1, // x coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent x-coordinate
-1, // y coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent y-coordinate
new Array (
'&nbsp;Rok 2010 ', 'spravy/sprava10.pdf',
'&nbsp;Rok 2009 ', 'spravy/sprava09.pdf',
'&nbsp;Rok 2008 ', 'spravy/sprava08.pdf',
'&nbsp;Rok 2007 ', 'spravy/sprava07.pdf',
'&nbsp;Rok 2006 ', 'spravy/sprava06.pdf',
'&nbsp;Rok 2005 ', 'spravy/sprava05.pdf',
'&nbsp;Rok 2004 ', 'spravy/sprava04.pdf',
'&nbsp;Rok 2003 ', 'spravy/sprava03.pdf',
'&nbsp;Rok 2002 ', 'spravy/sprava02.pdf',
'&nbsp;Rok 2001 ', 'spravy/sprava01.pdf',
'&nbsp;Rok 2000 ', 'spravy/sprava00.pdf'
));

menuContent [7] = new Array ( 
1, 
7,
170,
-1, // x coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent x-coordinate
-1, // y coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent y-coordinate
new Array (
'&nbsp;Prieskum názorov občanov ', 'anketa.htm',
'&nbsp;Sochárske sympózium ', 'sympozium.htm',
'&nbsp;Náučný chodník na hrad ', 'chodnik.htm',
'&nbsp;Rozvoj filantrópie ', 'filantropia.htm',
'&nbsp;Advokačné aktivity mládeže ', 'aam.htm'
));

menuContent [8] = new Array ( 
2, 
3,
100,
-1, // x coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent x-coordinate
-1, // y coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent y-coordinate
new Array (
'&nbsp;Dialóg 1 ', 'dialog20051/dialog_1_05.pdf',
'&nbsp;Dialóg 2 ', 'dialog20051/dialog_2.pdf',
'&nbsp;Dialóg 3 ', 'dialog20051/dialog_3.pdf',
'&nbsp;Dialóg 4 ', 'dialog20051/dialog_4_05.pdf'
));

menuContent [9] = new Array ( 
2, 
4,
100,
-1, // x coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent x-coordinate
-1, // y coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent y-coordinate
new Array (
'&nbsp;Dialóg 1 ', 'dialog2004/dialog_1.pdf',
'&nbsp;Dialóg 2 ', 'dialog2004/dialog_2.pdf',
'&nbsp;Dialóg 3 ', 'dialog2004/dialog_3.pdf',
'&nbsp;Dialóg 4 ', 'dialog2004/dialog_4.pdf'
));


menuContent [10] = new Array ( 
2, 
2,
100,
-1, // x coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent x-coordinate
-1, // y coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent y-coordinate
new Array (
'&nbsp;Dialóg 1 ', 'dialog2006/dialog1.pdf',
'&nbsp;Dialóg 2 ', 'dialog2006/dialog2.pdf',
'&nbsp;Dialóg 3 ', 'dialog2006/dialog3.pdf',
'&nbsp;Dialóg 4 ', 'dialog2006/dialog4.pdf'
));

menuContent [11] = new Array ( 
0, 
4,
200,
-1, // x coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent x-coordinate
-1, // y coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent y-coordinate
new Array (
'&nbsp;Súbor MS Office (.doc) [41kB] ', 'formular.doc',
'&nbsp;RAR súbor [6kB] ', 'formular.rar'
));

menuContent [12] = new Array ( 
2, 
1,
100,
-1, // x coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent x-coordinate
-1, // y coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent y-coordinate
new Array (
'&nbsp;Dialóg 1 ', 'dialog2007/dialog1.pdf',
'&nbsp;Dialóg 2 ', 'dialog2007/dialog2.pdf',
'&nbsp;Dialóg 3 ', 'dialog2007/dialog3.pdf',
'&nbsp;Dialóg 4 ', 'dialog2007/dialog4.pdf'
));

menuContent [13] = new Array ( 
2, 
0,
150,
-1, // x coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent x-coordinate
-1, // y coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent y-coordinate
new Array (
'&nbsp;Dialóg 1 ', 'dialog2008/dialog2008_1.pdf',
'&nbsp;Dialóg 1 - príloha ', 'dialog2008/zrkadlo_poslancov_2007.pdf',
'&nbsp;Dialóg 2 ', 'dialog2008/dialog2008_2.pdf',
'&nbsp;Dialóg 2 - príloha ', 'dialog2008/aam_sprava_final.pdf',
'&nbsp;Dialóg 3 ', 'dialog2008/dialog2008_3.pdf'
));
