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)};

if(navigator.appVersion.indexOf("MSIE 6.0")>0)
{
effect = "Fade(duration=0.8);Alpha(style=0,opacity=100);Shadow(color=777777, Direction=135, Strength=0)"
}
else
{
effect = "" // Stop IE5.5 bug when using more than one filter
}

timegap=200		// The time delay for menus to remain visible
followspeed=5		// Follow Scrolling speed
followrate=40		// Follow Scrolling Rate
suboffset_top=5;		// 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.
"ffffff",			// Mouse Off Font Color
"954535",		// Mouse Off Background Color
"ffffff",			// Mouse On Font Color
"950000",		// Mouse On Background Color
"aa6655",		// Menu Border Color 
10,			// Font Size in pixels
"normal",			// Font Style (italic or normal)
"normal",			// Font Weight (bold or normal)
"Tahoma",		// Font Name
4,			// Menu Item Padding
"images/arrow.gif",		// Sub Menu Image (Leave this blank if not needed)
,			// 3D Border & Separator bar
"657F9B",		// 3D High Color
"657F9B",		// 3D Low Color
"ffffff",			// Current Page Item Font Color (leave this blank to disable)
"954535",		// Current Page Item Background Color (leave this blank to disable)
,			// Top Bar image (Leave this blank to disable)
"ffff00",			// Menu Header Font Color (Leave blank if headers are not needed)
"000000",		// Menu Header Background Color (Leave blank if headers are not needed)
]

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
120,			// Menu Top - The Top position of the menu in pixels
"center",			// Menu Left - The Left position of the menu in pixels
100,			// 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
effect,			// 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)
,			// Reserved for future use
,			// Reserved for future use
,			// Reserved for future use
			// "O FIRMIE","index.pl","Powrót do strony głównej",1 
			// "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"


style2=[		// 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
"954535",		// Mouse Off Background Color
"ffffff",		// Mouse On Font Color
"950000",		// Mouse On Background Color
"aa6555",		// Menu Border Color 
10,			// Font Size in pixels
"normal",		// Font Style (italic or normal)
"normal",		// Font Weight (bold or normal)
"Tahoma",		// Font Name
4,			// Menu Item Padding
"images/arrow.gif",	// Sub Menu Image (Leave this blank if not needed)
,			// 3D Border & Separator bar
"657F9B",		// 3D High Color
"657f9B",		// 3D Low Color
"ffffff",		// Current Page Item Font Color (leave this blank to disable)
"a06555",		// Current Page Item Background Color (leave this blank to disable)
,			// Top Bar image (Leave this blank to disable)
"ffff00",		// Menu Header Font Color (Leave blank if headers are not needed)
"000000",		// Menu Header Background Color (Leave blank if headers are not needed)
]
,"STRONA GŁÓWNA","index.php",,"Powrót do strony głównej",1
,"INFORMACJE","show-menu=informacje",,"informacje",1
,"OZNACZNIKI","show-menu=oznaczniki",,"Oznaczniki",1
,"WĘŻE I KOSZULKI","show-menu=weze_koszulki",,"Węże i koszulki",1
,"INNE PRODUKTY","show-menu=inne",,"Inne produkty (osłony krawędzi, opaski)",1
,"KONTAKT","show-menu=kontakt",,"Kontakt",1
,"LINKI","linki.html",,"Linki",1
])
addmenu(menu=["informacje",
	,,120,1,"",style2,,"left",effect,,,,,,,,,,,, 
	,"O FIRMIE ","o_firmie.html",,"O firmie",1
	,"TARGI","targi.html",,"Targi",1
	,"ATESTY i CERTYFIKATY ","certyfikaty.html",,"Atesty i certyfikaty",1
	,"ARTYKUŁY","artykuly.html",,"Napisali o nas...",1
])
	addmenu(menu=["oznaczniki",
	,,200,1,"",style2,,"left",effect,,,,,,,,,,,, 
	,"TYP MZ","show-menu=oznaczniki_mz",,"Oznaczniki Typu MZ",1
	,"TYP DK","oznaczniki_dk.html",,"Oznaczniki Typu DK",1
	,"TYP MZ-E Z ETYKIET&#260; DO OPISU","oznaczniki_mz-e.html",,"Oznaczniki Typu MZ-E",1
	,"TYP MZ-DE Z DUŻ&#260; ETYKIET&#260; DO SAMODZIELNEGO OPISU","oznaczniki_mzde.html",,"Oznaczniki Typu MZ-DE",1	
	,"TYP MZ-AS DO ADRESOWANIA SAMODZIELNEGO","oznaczniki_mz-as.html",,"Oznaczniki Typu MZ/AS",1
    ,"TYP MZ-MO DO NADRUKOWANIA DRUKARKAMI TERMOTRANSFEROWYMI","oznaczniki_mo.html",,"Oznaczniki Typu MO",1
	,"TYP MZ-T TERMOKURCZLIWE","oznaczniki_mz_t.html",,"Oznaczniki Typu MZ/T",1
	,"TYP PCC ZATRZASKOWE","oznaczniki_pcc.html",,"Oznaczniki Typu PCC",1
	,"TABLICZKI IDENTYFIKACYJNE","tabliczki.html",,"Tabliczki Identyfikacyjne",1
])
	addmenu(menu=["oznaczniki_mz",
	,,180,1,"",style2,,"left",effect,,,,,,,,,,,, 
	,"MZ WYKONANIE STANDARDOWE","oznaczniki_mz.html",,"Oznaczniki Typu MZ Standard",1
	,"MZ/W W&#260;SKIE DO ZŁ&#260;CZEK WAGO","oznaczniki_mz-w.html",,"Oznaczniki Typu MZ/W",1
	,"MZ/K KRÓTKIE","oznaczniki_mz-k.html",,"Oznaczniki Typu MZ/K",1
	,"MZ-KA KOŃCÓWKI ADRESOWE","oznaczniki_mz-ka.html",,"Oznaczniki Typu MZ-KA",1
	,"MZ-MKK MIĘDZYNARODOWY KOD KOLORÓW","oznaczniki_mz_mkk.html",,"Oznaczniki Typu MZ/MKK",1
	,"SYSTEM ADRESOWANIA","system.html",,"System Adresowania",1	
	,"ZESTAWY INSTALACYJNE","zestawy_mz.html",,"Zestawy Instalacyjne",1	
])
	addmenu(menu=["oznaczniki_dk",
	,,180,1,"",style2,,"left",effect,,,,,,,,,,,, 
	,"WYKONANIE STANDARDOWE","szablon.html",,"Oznaczniki Typu DK",1
	,"DO SAMODZIELNEGO OPISU","szablon.html",,"Oznaczniki Typu DK - czyste",1
])
	addmenu(menu=["weze_koszulki",
	,,160,1,"",style2,,"left",effect,,,,,,,,,,,, 
	,"STANDARDOWE PCV","weze_pcv.html",,"Węże i koszulki z PCV",1
	,"TERMOODPORNE PCV","weze_termo.html",,"Węże i koszulki z PCV - termoodporne",1
	,"TERMOODPORNE PCV<br> DO +125*C ","weze_termo125.html",,"Węże i koszulki z PCV - termoodporne",1	
	,"POLIETYLENOWE PE","weze_pe.html",,"Węże polietylenowe PE",1
	,"SPIRALNE WS","weze_ws.html",,"Węże Spiralne WS",1

])
	addmenu(menu=["inne",
	,,160,1,"",style2,,"left",effect,,,,,,,,,,,, 
	,"OSŁONY KRAWĘDZI OKB","oslony_okb.html",,"Osłony krawędzi OKB",1
	,"OSŁONY KRAWĘDZI NACIĘTE OKB-N","oslony_okbn.html",,"Osłony Krawędzi OKB-N",1
	,"TA&#346;MY KABLOWE","tasmy.html",,"Ta&#347;my (opaski) kablowe",1
])
	addmenu(menu=["kontakt",
	,,102,1,"",style2,,"left",effect,,,,,,,,,,,,
	,"NASZ ADRES","adres.html",,"Nasz adres",1
	,"MAPKA","mapka.html",,"Mapka dojazdowa do naszej firmy",1
])

	addmenu(menu=["str_bud",
	,,162,1,"",style2,,"left",effect,,,,,,,,,,,,
	,"Strona 1","str3.htm",,,1
	,"Strona 2","str4.htm",,,1
	,"Strona 3","str5.htm",,,1
	,"Strona 4","str6.htm",,,1
	,"Strona 5","str7.htm",,,1
	,"Strona 6","str8.htm",,,1
	,"Strona 7","str9.htm",,,1
])
dumpmenus()


