
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 = ""
}
else
{
effect = "" // Stop IE5.5 bug when using more than one filter
}
timegap=500	// 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=-1	// Sub menu offset Left position
style1=[		// style1 is an array of properties. You can have as many property arrays as you need.
"ffffff",		// Mouse Off Font Color
"374D78",		// Mouse Off Background Color
"820448",		// Mouse On Font Color
"9E9E9E",		// Mouse On Background Color
,			// Menu Border Color
9,			// Font Size in pixels
"normal",		// Font Style (italic or normal)
"normal",		// Font Weight (bold or normal)
"Verdana",		// Font Name
7,			// Menu Item Padding
"images/arrow.gif",// Sub Menu Image (Leave this blank if not needed)
"ffffff",		// 3D Border & Separator bar
,			// 3D High Color
"ffffff",		// 3D Low Color
"#ffffff",		// Current Page Item Font Color (leave this blank to disable)
"#800000",		// 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)
]

style3=[		// style1 is an array of properties. You can have as many property arrays as you need.
"ffffff",		// Mouse Off Font Color
"000000",		// Mouse Off Background Color
"940351",		// Mouse On Font Color
"999999",		// Mouse On Background Color
"ffffff",		// Menu Border Color
9,			// Font Size in pixels
"normal",		// Font Style (italic or normal)
"normal",		// Font Weight (bold or normal)
"Verdana",		// Font Name
5,			// Menu Item Padding
,			// Sub Menu Image (Leave this blank if not needed)
,			// 3D Border & Separator bar
,			// 3D High Color
,			// 3D Low Color
"#ffffff",		// Current Page Item Font Color (leave this blank to disable)
"#800000",		// 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
240,			// Menu Top - The Top position of the menu in pixels
10,			// Menu Left - The Left position of the menu in pixels
159,			// Menu Width - szrokosc klocka glownwgo
0,			// Menu Border Width
"left",		// 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)
0,			// 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"


,"STRONA GŁÓWNA","index.php?art=0",,,1
,"O NAS","show-menu=menu2",,,1
,"PUBLIKACJE","show-menu=menu45",,,1
,"INAUGURACJA","index.php?art=124",,,1
,"FILM","index.php?art=76",,,1
,"FOTOGALERIE","http://www.phils.uj.edu.pl/psc/index.php?art=gal",,,1
,"KONTAKT","index.php?art=47",,,1
,"OBÓZ NAUKOWY","index.php?art=123",,,1
,"WYDARZENIA","show-menu=menu120",,,1
,"DLA STUDENTÓW","show-menu=menu34",,,1
,"DLA KANDYDATÓW","show-menu=menu39",,,1
,"USOS","show-menu=menu90",,,1
,"ERAZMUS","show-menu=menu84",,,1
,"WYNIKI REKRUTACJI","index.php?art=89",,,1
,"<b>KOMUNIKATY KPSC</b>","http://www.phils.uj.edu.pl/psc/index.php?art=ogl",,,1
,"<b>KOMUNIKATY USOS</b>","http://www.phils.uj.edu.pl/psc/index.php?art=ogl1",,,1
])
addmenu(menu=["menu2",,,160,0,"",style1,,"left",,,,,,,,,,,,,
,"HISTORIA KATEDRY","index.php?art=28",,,1
,"DYŻURY","index.php?art=33",,,1
,"BADANIA","index.php?art=30",,,1
,"WIDOK Z NASZEGO OKNA","index.php?art=59",,,1
,"PRACOWNICY","index.php?art=29",,,1
])
addmenu(menu=["menu45",,,160,0,"",style1,,"left",,,,,,,,,,,,,
,"KSIĄŻKI","index.php?art=72",,,1
,"ARTYKUŁY","index.php?art=73",,,1
,"WYKŁADY","index.php?art=112",,,1
])
addmenu(menu=["menu120",,,160,0,"",style1,,"left",,,,,,,,,,,,,
,"SPOTKANIE PANELOWE - ENGAGING IRAN","index.php?art=125",,,1
,"SEMINAR","index.php?art=121",,,1
,"NASI GOŚCIE","index.php?art=122",,,1
])
addmenu(menu=["menu34",,,160,0,"",style1,,"left",,,,,,,,,,,,,
,"STUDIA DZIENNE I WIECZOROWE","index.php?art=35",,,1
,"STUDIA  EKSTERNISTYCZNE","index.php?art=37",,,1
,"POMOC MATERIALNA","index.php?art=103",,,1
])
addmenu(menu=["menu39",,,160,0,"",style1,,"left",,,,,,,,,,,,,
,"WARUNKI REKRUTACJI","index.php?art=40",,,1
,"STUDIA DOKTORANCKIE","index.php?art=118",,,1
,"PSC JAKO II KIERUNEK","index.php?art=119",,,1
])
addmenu(menu=["menu90",,,160,0,"",style1,,"left",,,,,,,,,,,,,
,"LOGOWANIE DO USOS","index.php?art=92",,,1
,"USOS w KPSC","index.php?art=94",,,1
])
addmenu(menu=["menu84",,,160,0,"",style1,,"left",,,,,,,,,,,,,
,"INFORMACJE","index.php?art=85",,,1
,"ERASMUS UJ","index.php?art=86",,,1
,"ERASMUS KPSC","index.php?art=87",,,1
])
dumpmenus();