//The following line is critical for menu operation, and must appear only once.
menunum=0;menus=new Array();_d=document;function addmenu(){menunum++;menus[menunum]=menu;}function dumpmenus(){mt="<scr"+"ipt language=javascript>";for(a=1;a<menus.length;a++){mt+=" menu"+a+"=menus["+a+"];"}mt+="<\/scr"+"ipt>";_d.write(mt)}
//effect = "Fade(duration=0.2);Alpha(style=0,opacity=88);Shadow(color='#777777', Direction=135, Strength=5)"
effect = "Fade(duration=0.2);Alpha(style=0,opacity=88);"
timegap=500			// The time delay for menus to remain visible
followspeed=5		// Follow Scrolling speed
followrate=40		// Follow Scrolling Rate
suboffset_top=4;	// Sub menu offset Top position 
suboffset_left=6;	// 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.
"navy",				// Mouse Off Font Color
"505050",			// Mouse Off Background Color
"ffebdc",			// Mouse On Font Color
"505050",			// Mouse On Background Color
"000000",			// Menu Border Color 
12,					// Font Size in pixels
"normal",			// Font Style (italic or normal)
"bold",				// Font Weight (bold or normal)
"Verdana, Tahoma",	// Font Name
0,					// Menu Item Padding
"",					// Sub Menu Image (Leave this blank if not needed)
,					// 3D Border & Separator bar
"66ffff",			// 3D High Color
"000099",			// 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)
"ffffff",			// Menu Header Font Color (Leave blank if headers are not needed)
"000099",			// Menu Header Background Color (Leave blank if headers are not needed)
"000000",			// Menu Item Separator Color
]
addmenu(menu=[		// This is the array that contains your menu properties and details
"menus",			// Menu Name - This is needed in order for the menu to be called
72,					// Menu Top - The Top position of the menu in pixels
200,				// Menu Left - The Left position of the menu in pixels
,					// 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)
"left",				// 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)
,					// 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)
,					// 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
,"<img src=gfx/mnt01n.gif width=058 height=020 border=0>","mains.php swapimage=gfx/mnt01h.gif",,"Home",0 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"<img src=gfx/mnt02n.gif width=073 height=020 border=0>","show-menu=zespol","mains.php?act=biografie swapimage=gfx/mnt02h.gif","Zespół",0
,"<img src=gfx/mnt03n.gif width=070 height=020 border=0>","mains.php?act=newsy swapimage=gfx/mnt03h.gif",,"Newsy",0
,"<img src=gfx/mnt04n.gif width=100 height=020 border=0>","mains.php?act=koncerty swapimage=gfx/mnt04h.gif",,"Koncerty",0
//,"<img src=gfx/mnt05n.gif width=068 height=020 border=0>","mains.php?act=forum swapimage=gfx/mnt05h.gif",,"Forum",0
,"<img src=gfx/mnt06n.gif width=053 height=020 border=0>","mains.php?act=chat swapimage=gfx/mnt06h.gif",,"Chat",0
,"<img src=gfx/mnt07n.gif width=086 height=020 border=0>","mains.php?act=kontakt swapimage=gfx/mnt07h.gif",,"Kontakt",0
,"<img src=gfx/mnt08n.gif width=050 height=020 border=0>","mains.php?act=linki swapimage=gfx/mnt08h.gif",,"Linki",0
])
	addmenu(menu=["zespol",
	,,130,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"<img src=gfx/mnv01n.gif width=128 height=020 border=0>","mains.php?act=galeria swapimage=gfx/mnv01h.gif",,"Galeria",1
	,"<img src=gfx/mnv02n.gif width=128 height=020 border=0>","mains.php?act=biografie swapimage=gfx/mnv02h.gif",,"Biografie",1
//	,"<img src=gfx/mnv03n.gif width=128 height=020 border=0>","mains.php?act=teksty swapimage=gfx/mnv03h.gif",,"Teksty",1
	,"<img src=gfx/mnv04n.gif width=128 height=020 border=0>","mains.php?act=recenzje swapimage=gfx/mnv04h.gif",,"Recenzje",1
	,"<img src=gfx/mnv05n.gif width=128 height=020 border=0>","mains.php?act=wywiady swapimage=gfx/mnv05h.gif",,"Wywiady",1
	,"<img src=gfx/mnv06n.gif width=128 height=020 border=0>","mains.php?act=teledyski swapimage=gfx/mnv06h.gif",,"Teledyski",1
	,"<img src=gfx/mnv07n.gif width=128 height=020 border=0>","mains.php?act=dyskografia swapimage=gfx/mnv07h.gif",,"Dyskografia",0
	])
dumpmenus()
