

/*
	 Milonic DHTML Website Navigation Menu
	 Written by Andy Woolley - Copyright 2003 (c) Milonic Solutions Limited. All Rights Reserved
	 Please visit http://www.milonic.co.uk/ for more information

	 Although this software may have been freely downloaded, you must obtain a license before using it in any production environment
	 The free use of this menu is only available to Non-Profit, Educational & Personal Web Sites who have obtained a license to use 
	 
	 Free, Commercial and Corporate Licenses are available from our website at http://www.milonic.co.uk/menu/supportcontracts.php
	 You also need to include a link back to http://www.milonic.co.uk/ if you use the free license
	 
	 All Copyright notices MUST remain in place at ALL times
	 If you cannot comply with all of the above requirements, please contact us to arrange a license waiver
*/



//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)}
//Please leave the above line intact. The above also needs to be enabled if it not already enabled unless you have more than one _array.js file


////////////////////////////////////
// Editable properties START here //
////////////////////////////////////

// Special effect string for IE5.5 or above please visit http://www.milonic.co.uk/menu/filters_sample.php for more filters
if(navigator.appVersion.indexOf("MSIE 6.0")>0)
{
	effect = "randomdissolve(duration=0.5);Shadow(color='#999999', Direction=135, Strength=5)"
	//effect = "Fade(duration=0.2);Alpha(style=0,opacity=98);Shadow(color='#777777', Direction=135, Strength=5)"
}
else
{
	effect = "Shadow(color='#777777', Direction=135, Strength=5)" // 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=50                 // Follow Scrolling Rate
suboffset_top=5               // Sub menu offset Top position
suboffset_left=10             // Sub menu offset Left position



main_style=[                         // HLF is an array of properties. You can have as many property arrays as you need
"000000",                     // Mouse Off Font Color
"",                           // Mouse Off Background Color (use zero for transparent in Netscape 6)
"000000",                     // Mouse On Font Color
"",                           // Mouse On Background Color
"",                           // Menu Border Color
"11",                         // Font Size (default is px but you can specify mm, pt or a percentage)
"normal",                     // Font Style (italic or normal)
"normal",                     // Font Weight (bold or normal)
"Verdana",                    // Font Name
8,                            // Menu Item Padding or spacing
,                             // Sub Menu Image (Leave this blank if not needed)
0,                            // 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)
,                             // Menu Header Background Color (Leave blank if headers are not needed)
,                             // Menu Item Separator Color
]


sub_style=[                         // HLF is an array of properties. You can have as many property arrays as you need
"000000",                     // Mouse Off Font Color
"dddddd",                           // Mouse Off Background Color (use zero for transparent in Netscape 6)
"000000",                     // Mouse On Font Color
"ffea6b",                           // Mouse On Background Color
"000000",                           // Menu Border Color
"11",                         // Font Size (default is px but you can specify mm, pt or a percentage)
"normal",                     // Font Style (italic or normal)
"normal",                     // Font Weight (bold or normal)
"Verdana",                    // Font Name
6,                            // Menu Item Padding or spacing
,                             // Sub Menu Image (Leave this blank if not needed)
0,                            // 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)
,                             // Menu Header Background Color (Leave blank if headers are not needed)
,                             // Menu Item Separator Color
]


addmenu(menu=[
"mainmenu",                   // Menu Name - This is needed in order for this menu to be called
44,                           // Menu Top - The Top position of this menu in pixels
200,                          // Menu Left - The Left position of this menu in pixels
103,                          // Menu Width - Menus width in pixels
0,                            // Menu Border Width
,                             // Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
main_style,                          // Properties Array - this array is declared higher up as you can see above
1,                            // Always Visible - allows this menu item to be visible at all time (1=on or 0=off)
"center",                             // Alignment - sets this 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 Top Position - Tells this menu to follow the user down the screen on scroll placing the menu at the value specified.
1,                            // Horizontal Menu - Tells this menu to display horizontaly instead of top to bottom style (1=on or 0=off)
0,                            // Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on or 0=off)
,                             // Position of TOP sub image left:center:right
,                             // Set the Overall Width of Horizontal Menu to specified width or 100% and height to a specified amount
0,                            // Right To Left - Used in Hebrew for example. (1=on or 0=off)
0,                            // Open the Menus OnClick - leave blank for OnMouseover (1=on or 0=off)
,                             // ID of the div you want to hide on MouseOver (useful for hiding form elements)
,                             // Background image for menu Color must be set to transparent for this to work
0,                            // Scrollable Menu
,                             // Miscellaneous Menu Properties
,"About us","show-menu=aboutus","# backimage=/menu/links_off.gif;overbackimage=/menu/links_over.gif;",,0
,"Programs","show-menu=programs","# backimage=/menu/mitte_off.gif;overbackimage=/menu/mitte_over.gif;",,0
,"Activities","show-menu=activities","# backimage=/menu/mitte_off.gif;overbackimage=/menu/mitte_over.gif;",,0
,"Home","show-menu=home","# backimage=/menu/rechts_off.gif;overbackimage=/menu/rechts_over.gif;",,0
])


		addmenu(menu=["aboutus",
		74,,200,1,"",sub_style,,"left",effect,,,,,,,,,,,,
		,"<img src=/images/shim_15_5.gif border=0>About us ...","/_en/1000/about",,,0

		])


		addmenu(menu=["programs",
		74,,200,1,"",sub_style,,"left",effect,,,,,,,,,,,,
		,"<img src=/images/shim_15_5.gif border=0>5-Year Program (HLF)","/_en/2000/hlf",,,0
		,"<img src=/images/shim_15_5.gif border=0>3-Year Program (HFS)","/_en/2000/hfs",,,0
		,"<img src=/images/shim_15_5.gif border=0>College (2-Year Program)","/_en/2000/kolleg",,,0
		])
		
		
		addmenu(menu=["activities",
		74,,200,1,"",sub_style,,"left",effect,,,,,,,,,,,,
		,"<img src=/images/shim_15_5.gif border=0>School Magazine","/_en/3000/magazin",,,0
		,"<img src=/images/shim_15_5.gif border=0>Languages","/_en/3000/sprachen",,,0
		,"<img src=/images/shim_15_5.gif border=0>Certificates","/_en/3000/zertifikate",,,0
		])
		
		addmenu(menu=["home",
		74,,200,1,"",sub_style,,"left",effect,,,,,,,,,,,,
		,"<img src=/images/shim_15_5.gif border=0>German","/index.asp",,,0
		,"<img src=/images/shim_15_5.gif border=0>English","/_en/index.asp",,,0
		,"<img src=/images/shim_15_5.gif border=0>French","/_fr/index.asp",,,0
		,"<img src=/images/shim_15_5.gif border=0>Russian","/_rs/index.asp",,,0
		,"<img src=/images/shim_15_5.gif border=0>Italian","/_it/index.asp",,,0
		,"<img src=/images/shim_15_5.gif border=0>Spanish","/_sp/index.asp",,,0
		,"<img src=/images/shim_15_5.gif border=0>Czech","/_cz/index.asp",,,0
		])


dumpmenus();
	