


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.3);Alpha(style=0,opacity=88);Shadow(color='#777777', Direction=135, Strength=0)"
}
else
{
	effect = "Shadow(color='#777777', Direction=135, Strength=5)" 
}


timegap=200				// The time delay for menus to remain visible
followspeed=5			// Follow Scrolling speed
followrate=40			// Follow 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.
"white",				// Mouse Off Font Color
"005CB0",				// Mouse Off Background Color
"30d8ff",				// Mouse On Font Color
"005CB0",				// Mouse On Background Color
"CCCCCC",				// Menu Border Color 
11,						// Font Size in pixels
"normal",				// Font Style (italic or normal)
"bold",					// Font Weight (bold or normal)
"Verdana, Arial",		// Font Name
2,						// Menu Item Padding
,						// Sub Menu Image (Leave this blank if not needed)
,						// 3D Border & Separator bar
"66ffff",				// 3D High Color
"red",					// 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)
]


style2=[				// style2 is an array of properties. You can have as many property arrays as you need. This means that menus can have their own style.
"182048",				// Mouse Off Font Color
"B3C2D9",				// Mouse Off Background Color
"white",				// Mouse On Font Color
"005cb0",				// Mouse On Background Color
"B3C2D9",				// Menu Border Color 
11,						// Font Size in pixels
"normal",				// Font Style (italic or normal)
"bold",					// Font Weight (bold or normal)
"Verdana, Arial",		// Font Name
2,						// 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)
]

// menus declarations

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
1,					// Menu Top - The Top position of the menu in pixels
120,				// Menu Left - The Left position of the menu in pixels
180,				// 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)
"left",				// 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
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)
,					// 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

,"| Klasy I - podręczniki","show-menu=klasa1","plan.html","",1 
])

addmenu(menu=["klasa1",,,180,0,"",style2,0,"left",effect,,,,,,,,,,,,
,"&raquo;&nbsp;religia","../ksiazki/religia1.html",,,1
,"&raquo;&nbsp;język polski","../ksiazki/polski1.html",,,1
,"&raquo;&nbsp;historia","../ksiazki/historia1.html",,,1
,"&raquo;&nbsp;wiedza o społeczenstwie","../ksiazki/wos1.html",,,1
,"&raquo;&nbsp;plastyka","../ksiazki/plastyka1.html",,,1
,"&raquo;&nbsp;język angielski","../ksiazki/angielski1.html",,,1
,"&raquo;&nbsp;język niemiecki","../ksiazki/niemiecki1.html",,,1
,"&raquo;&nbsp;język hiszpański","../ksiazki/hiszpanski1.html",,,1
,"&raquo;&nbsp;matematyka","../ksiazki/matematyka1.html",,,1
,"&raquo;&nbsp;fizyka","../ksiazki/fizyka1.html",,,1
,"&raquo;&nbsp;chemia","../ksiazki/chemia1.html",,,1
,"&raquo;&nbsp;biologia","../ksiazki/biologia1.html",,,1
,"&raquo;&nbsp;geografia","../ksiazki/geografia1.html",,,1


])


addmenu(menu=["mainmenu",1,300,180,1,,style1,1,"left",effect,,1,,,,,,,,,,
,"| Klasa II - podręczniki","show-menu=klasa2","plan.html","",1
])

addmenu(menu=["klasa2",,,180,0,"",style2,0,"left",effect,,,,,,,,,,,,
,"&raquo;&nbsp;religia","../ksiazki/religia2.html",,,1
,"&raquo;&nbsp;język polski","../ksiazki/polski2.html",,,1
,"&raquo;&nbsp;historia","../ksiazki/historia2.html",,,1
,"&raquo;&nbsp;wiedza o społeczenstwie","../ksiazki/wos2.html",,,1
,"&raquo;&nbsp;język hiszpański","../ksiazki/hiszpanski2.html",,,1
,"&raquo;&nbsp;język angielski","../ksiazki/angielski2.html",,,1
,"&raquo;&nbsp;język niemiecki","../ksiazki/niemiecki2.html",,,1
,"&raquo;&nbsp;matematyka","../ksiazki/matematyka2.html",,,1
,"&raquo;&nbsp;fizyka","../ksiazki/fizyka2.html",,,1
,"&raquo;&nbsp;chemia","../ksiazki/chemia2.html",,,1
,"&raquo;&nbsp;biologia","../ksiazki/biologia2.html",,,1
,"&raquo;&nbsp;geografia","../ksiazki/geografia2.html",,,1
])

addmenu(menu=["mainmenu",1,480,180,1,,style1,1,"left",effect,,1,,,,,,,,,,	
,"| Klasa III - podręczniki","show-menu=klasa3","plan.html","",1
])

addmenu(menu=["klasa3",,,180,0,"",style2,0,"left",effect,,,,,,,,,,,,
,"&raquo;&nbsp;religia","../ksiazki/religia3.html",,,1
,"&raquo;&nbsp;język polski","../ksiazki/polski3.html",,,1
,"&raquo;&nbsp;historia","../ksiazki/historia3.html",,,1
,"&raquo;&nbsp;wiedza o społeczenstwie","../ksiazki/wos3.html",,,1
,"&raquo;&nbsp;język angielski","../ksiazki/angielski3.html",,,1
,"&raquo;&nbsp;język niemiecki","../ksiazki/niemiecki3.html",,,1
,"&raquo;&nbsp;matematyka","../ksiazki/matematyka3.html",,,1
,"&raquo;&nbsp;fizyka","../ksiazki/fizyka3.html",,,1
,"&raquo;&nbsp;chemia","../ksiazki/chemia3.html",,,1
,"&raquo;&nbsp;biologia","../ksiazki/biologia3.html",,,1
,"&raquo;&nbsp;geografia","../ksiazki/geografia3.html",,,1


])

	
dumpmenus()
