function Oerr(){return true;}
self.onerror=Oerr
 
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)}

timegap=500		// The time delay for menus to remain visible
followspeed=50		// Follow Scrolling speed
followrate=40		// Follow Scrolling Rate
suboffset_top=10;	// Sub menu offset Top position 
suboffset_left=10;	// Sub menu offset Left position
closeOnClick = true

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.
"ffffff",			// Mouse Off Font Color
"70899F",			// Mouse Off Background Color
"70899F",			// Mouse On Font Color
"ffffff",			// Mouse On Background Color
"607382",			// Menu Border Color 
9,				// Font Size in pixels
"normal",			// Font Style (italic or normal)
"bold",				// Font Weight (bold or normal)
"Verdana, Arial",		// Font Name
4,				// Menu Item Padding
//"images/menu/arrow.gif",	// 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)
"ffff99",			// Menu Header Background Color (Leave blank if headers are not needed)
"607382",			// 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
,				// Menu Top - The Top position of the menu in pixels
,				// Menu Left - The Left position of the menu in pixels
,				// Menu Width - Menus width in pixels
1,				// Menu Border Width 
,				// 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)
,				// 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
0,				// 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)
0,				// Right To Left - Used in Hebrew for example. (1=on/0=off)
0,				// Open the Menus OnClick - leave blank for OnMouseover (1=on/0=off)
,				// ID of the div you want to hide on MouseOver (useful for hiding form elements)
,				// Background image for menu when BGColor set to transparent.
0,				// Scrollable Menu
,				// Reserved for future use
 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"

,"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;O&nbsp;KLUBU&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;","show-menu=o_klubu",,"O KLUBU",1
,"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;INFORMACE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;","show-menu=informace",,"INFORMACE",1
,"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SPORTOVNÍ&nbsp;TŘÍDY&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;","show-menu=sport-tridy",,"SPORTOVNÍ TŘÍDY",1
,"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SPORTOVNÍ&nbsp;GYMNÁZIUM&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;","show-menu=sport-gym",,"SPORTOVNÍ GYMNÁZIUM",1
,"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;KURZY&nbsp;PLAVÁNÍ&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;","show-menu=kurzy",,"KURZY PLAVÁNÍ",1
,"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;KE&nbsp;STAŽENÍ&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;","modules.php?name=Downloads",,"KE STAŽENÍ",1
,"&nbsp&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ODKAZY&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;","modules.php?name=Web_Links",,"ODKAZY",1
,"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;KONTAKT&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;","show-menu=kontakt",,"KONTAKT",1
])

	addmenu(menu=["o_klubu",,,120,1,"",style1,,"left","",0,,,,,,,,,,,
	,"HOME","index.php",,"HOME",1
	,"HISTORIE","html.php?filnavn=html/historie.html",,"HISTORIE",1
	,"TRENÉŘI","html.php?filnavn=html/treneri.html",,"TRENÉŘI",1
	,"KONTAKT","html.php?filnavn=html/kontakt.html",,"KONTAKT",1
	])

	addmenu(menu=["informace",,,120,1,"",style1,,"left","",0,,,,,,,,,,,
	,"TERMÍNOVÁ LISTINA","html.php?filnavn=html/term_listina.html",,"TERMÍNOVÁ LISTINA",1
	,"ČLÁNKY","/modules.php?name=News",,"ČLÁNKY",1	
	,"SKUPINY","html.php?filnavn=html/skupiny.html",,"SKUPINY",1		
	,"REKORDY KLUBU","downloads/rekordy.pdf",,"REKORDY KLUBU",1			
	])

	addmenu(menu=["sport-tridy",,,120,1,"",style1,,"left","",0,,,,,,,,,,,
	,"O ŠKOLE","html.php?filnavn=html/o_skole.html",,"O KOLE",1
	,"4.STUPEŇ","html.php?filnavn=html/4st.html",,"4.STUPEŇ",1
	,"5.STUPEŇ","html.php?filnavn=html/5st.html",,"5.STUPEŇ",1
	,"6.STUPEŇ","html.php?filnavn=html/6st.html",,"6.STUPEŇ",1
	,"7.STUPEŇ","html.php?filnavn=html/7st.html",,"7.STUPEŇ",1
	,"8.STUPEŇ","html.php?filnavn=html/8st.html",,"8.STUPEŇ",1
	,"9.STUPEŇ","html.php?filnavn=html/9st.html",,"9.STUPEŇ",1
	])

	addmenu(menu=["sport-gym",,,120,1,"",style1,,"left","",0,,,,,,,,,,,
	,"O GYMNÁZIU","html.php?filnavn=html/o_gymnaziu.html",,"O GYMNÁZIU",1
	,"PROJEKT","downloads/projekt.pdf",,"PROJEKT",1
	,"TRÉNINKOVÉ SKUPINY","html.php?filnavn=html/treninkove_skupiny.html",,"TRÉNINKOVÉ SKUPINY",1
	])

	addmenu(menu=["kurzy",,,120,1,"",style1,,"left","",0,,,,,,,,,,,
	,"O KURZECH","html.php?filnavn=html/o_kurzech.html",,"O KURZECH",1
	,"PŘIHLÁŠKY","html.php?filnavn=html/prihlasky.html",,"PŘIHLÁŠKY",1
	])

	addmenu(menu=["kontakt",,,120,1,"",style1,,"left","",0,,,,,,,,,,,
	,"E-MAIL KONTAKT","mailto:kpsostrava@kpsostrava.cz",,"E-MAIL KONTAKT",1				  
	,"REGISTRACE","/modules.php?name=Your_Account&op=new_user",,"REGISTRACE",1
//	,"SÍDLO","html.php?filnavn=html/sidlo.html",,"SÍDLO",1
//	,"INTERAKTIVNÍ MAPA","http://mapy.atlas.cz/aquariusnet/frm_map.asp?ds=AtlasCR&CX=1101725&CY=470008&SC=64000&NAME=Garfield%20a.s.&PTR=1011&LAY=SN&ID=14023",,"INTERAKTIVNÍ MAPA",1
	,"ORIENTAČNÍ MAPA","html.php?filnavn=html/mapa.html",,"ORIENTAČNÍ MAPA",1
//	,"ODKAZY","html.php?filnavn=html/odkazy.html",,"ODKAZY",1
	])

	dumpmenus();
