//The following line is critical for menu operation, and MUST APPEAR ONLY ONCE. If you have more than one menu_array.js file rem out this line in subsequent files
menunum=0;menus=new Array();_d=document;function addmenu(){menunum++;menus[menunum]=menu;}function dumpmenus(){mt="<script language=javascript>";for(a=1;a<menus.length;a++){mt+=" menu"+a+"=menus["+a+"];"}mt+="<\/script>";_d.write(mt)}
//Please leave the above line intact. The above also needs to be enabled if it not already enabled unless this file is part of a multi pack.


////////////////////////////////////
// Editable properties START here //
////////////////////////////////////


if(navigator.appVersion.indexOf("MSIE 6.0")>0)
{
effect = "Fade(duration=0.5);Alpha(style=0,opacity=100);Shadow(color='#777777', Direction=135, Strength=5)"
}
else
{
effect = "Shadow(color='#777777', Direction=135, Strength=5)" // Stop IE5.5 bug when using more than one filter
}


timegap=300			// 500The time delay for menus to remain visible
followspeed=5			// 5Follow Scrolling speed
followrate=40			// 40Follow Scrolling Rate
suboffset_top=10;		// Sub menu offset Top position 
suboffset_left=10;		// Sub menu offset Left position

style1=[			// style1 is an array of properties. You can have as many property arrays as you need. This means that menus can have their own style.
"#fff",			// Mouse Off Font Color
"#3878e7",			// Mouse Off Background Color
"#fff",			// Mouse On Font Color
"#3066c5",			// Mouse On Background Color
"silver",			// Menu Border Color 
11,				// Font Size in pixels
"normal",			// Font Style (italic or normal)
"bold",				// Font Weight (bold or normal)
"Arial, Tahoma, Verdena",			// Font Name
4,				// Menu Item Padding
,				// Sub Menu Image (Leave this blank if not needed)
,				// 3D Border & Separator bar
,				// 3D High Color
,				// 3D Low Color
,				// Current Page Item Font Color (leave this blank to disable)
,				// Current Page Item Background Color (leave this blank to disable)
,				// Top Bar image (Leave this blank to disable)
,				// Menu Header Font Color (Leave blank if headers are not needed)
,				// Menu Header Background Color (Leave blank if headers are not needed)
"D9D9D9",			// Menu Item Separator Color
]


addmenu(menu=[	// This is the array that contains your menu properties and details
"mainmenu",	// Menu Name - This is needed in order for the menu to be called
89,			// Menu Top - The Top position of the menu in pixels
185,				  // Menu Left - The Left position of the menu in pixels
115,		  // Menu Width - Menus width in pixels
0,				// Menu Border Width 
"center",				  // Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
style1,		// Properties Array - this is set higher up, as above
1,				// Always Visible - allows the menu item to be visible at all time (1=on/0=off)
"center",	// Alignment - sets the menu elements text alignment, values valid here are: left, right or center
,				// Filter - Text variable for setting transitional effects on menu activation - see above for more info
,				// Follow Scrolling - Tells the menu item to follow the user down the screen (visible at all times) (1=on/0=off)
1, 			// Horizontal Menu - Tells the menu to become horizontal instead of top to bottom style (1=on/0=off)
0,			// Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on/0=off)
,				// Position of TOP sub image left:center:right
,				// Set the Overall Width of Horizontal Menu to 100% and height to the specified amount (Leave blank to disable)
,				// Right To Left - Used in Hebrew for example. (1=on/0=off)
,				// Open the Menus OnClick - leave blank for OnMouseover (1=on/0=off)
"form1",	// ID of the div you want to hide on MouseOver (useful for hiding form elements)
,				// Background image for menu when BGColor set to transparent.
,				// Scrollable Menu
,				// Reserved for future use

// "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"

//1 LEVEL
,"Home",	        "http://www.vugk.sk/index.htm",,"Home",1
,"Ústav",         	"show-menu=nymp","#","Ústav",1
,"Výskum a vývoj",	"show-menu=pap", "#","Výskum a vývoj",1
,"Produkty a služby","show-menu=pier","#","Produkty a služby",1
//,"Rez. periodiká","show-menu=saty","#","Rez. periodiká",1
,"Kontakt",	        "show-menu=hesp","#","Kontakt",1
,"Zverejnenie",		"show-menu=zmlu","#","Zverejnenie",1
//,"Linky",  		"http://www.vugk.sk/Linky/linky.html",,"Linky",1
,"English ",  		"http://www.vugk.sk/en/index.htm",,"English",1
])

//2 LEVEL
//Ústav
addmenu(menu=["nymp",,,140,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Štatút",          "http://www.vugk.sk/Ustav/Statut/statut.html",,"Štatút",1 
	,"Výročné správy a kontrakty",  "http://www.vugk.sk/Ustav/Spravy/spravy.html",,"Výročné správy a kontrakty",1 
    ,"Voľné miesta",  "http://www.vugk.sk/Ustav/Praca/praca.html",,"Voľné miesta",1 
    ,"Linky",  			"http://www.vugk.sk/Linky/linky.html",,"Linky",1

	
])


//Výskum a vývoj
addmenu(menu=["pap",,,140,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Kataster nehnutelností",	"show-menu=kat","#","Kataster nehnutelností", 1
	,"Podpora a rozvoj GZ",		"http://www.vugk.sk/Vyskum/Zaklady/zaklady.html",,"Integr. geodet. základy", 1
	,"Iné odborné aktivity",	"show-menu=ine","#","Iné odborné aktivity", 1
	,"Zrealizované projekty",   "show-menu=dig","#","Digitálna kartografia a ZB GIS", 1
	  ])

//Produkty a služby
addmenu(menu=["pier",,,140,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Programy", "show-menu=pro","#","Programy",1 
	,"Cenník", "show-menu=cen","#","Cenník",1 
	])

//Rez. periodiká
addmenu(menu=["saty",,,140,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Katastrálny bulletin", "http://www.geodesy.gov.sk/kb/riad.htm" ,,"Katastrálny bulletin",1
	,"Spravodajca ÚGKK SR",          "href",,"Spravodajca ÚGKK SR",1 
	,"GaKO",          "href",,"GaKO",1 
   ])
  
//Kontakt
addmenu(menu=["hesp",,,140,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Pracovníci", "http://www.vugk.sk/Kontakt/Pracovnici/pracovnici.html",,"Pracovníci",1 
	,"Mapa", "http://www.vugk.sk/Kontakt/Mapa/mapa.html",,"Mapa",1 
	])

//Zverejenie
addmenu(menu=["zmlu",,,140,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Zmluvy",          "http://www.vugk.sk/zverejnenie/zmluvy/zmluvy.htm",,"Zmluvy",1 
	,"Faktúry",  "http://www.vugk.sk/zverejnenie/faktury/faktury.htm",,"Faktúry",1 
    ,"Obstarávanie",  "http://www.vugk.sk/zverejnenie/obstaravanie/obstaravanie.htm",,"Obstarávanie",1 

	
])

//3 LEVEL



//Kataster
addmenu(menu=["kat",,,140,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"VUK","http://www.vugk.sk/Vyskum/Kataster/vuk.html",,"Colias alfacariensis",1
	,"W-KN","http://www.vugk.sk/Vyskum/Kataster/wkn.html",,"WKN",1 
	])

//Dig. kartografia a ZB GIS
addmenu(menu=["dig",,,140,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"NIPI","http://www.vugk.sk/Vyskum/ZBGIS/nipi.html",, "NIPI",1
	])



//Iné odborné aktivity
addmenu(menu=["ine",,,140,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Projekty EÚ", "http://www.vugk.sk/Vyskum/ine_aktivity/Projekty_EU/projekty_EU.html",,"Projekty EÚ",1
	,"Projekt ESF", "http://www.vugk.sk/Vyskum/ine_aktivity/Projekty_ESF/esf.html",,"Projekt ESF",1 
	,"Prezentácie", "http://www.vugk.sk/Vyskum/ine_aktivity/prezentacie.html",,"Prezentácie",1
//	,"Zverejnené informácie", "http://www.vugk.sk/download/zmluvy/001_2011.pdf",,"Zverejnené informácie",1
	])



//Cennik
addmenu(menu=["cen",,,140,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Informácie","http://www.vugk.sk/Produkty/Cennik/info.html",, "Informácie",1
	])

//Programy
addmenu(menu=["pro",,,140,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"WISKAN","http://www.vugk.sk/Produkty/Programy/wiskan.html",, "WISKAN",1
	,"ROEPdat","http://www.vugk.sk/Produkty/Cennik/roepdat.html",, "ROEP dat",1
	,"WPPÚ","http://www.vugk.sk/Produkty/Cennik/wpu_ceny.html",, "WPPÚ",1	
	,"DOWNLOAD","http://www.vugk.sk/Ustav/Spravy/spravy.html",, "DOWNLOAD 4.01.15",1
	])

//4 LEVEL

//SPM
dumpmenus()

