// Milonic DHTML Menu version 3.3.11
// please note that major changes to this file have been made.
//
// You no longer need to number your menus as in previous versions. 
// The new menu structure allows you to name the menu instead. This means that you to remove menus and not break the system.
// The structure should also be much easier to modify, add & remove menus and menu items.
// 
// If you are having difficulty with the menu please read the FAQ at http://www.milonic.co.uk/menu/faq.php before contacting us.
//
// Please note that the above text CAN be erased if you wish.



// 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="<script language=javascript>";for(a=1;a<menus.length;a++){mt+=" menu"+a+"=menus["+a+"];"}mt+="<\/script>";_d.write(mt)}
//Please leave the above line intact

////////////////////////////////////
// Editable properties START here //
////////////////////////////////////
effect = "fade(overlap=1.00, duration=0.5);Alpha(style=0,opacity=85);Shadow(color='#999999', Direction=135, Strength=5)" // Special effect string for IE5.5 or above please visit http://www.milonic.co.uk/menu/filters_sample.php for more filters

timegap=500					// 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.
"D3D3D3",					// Mouse Off Font Color
"2B54BC",					// Mouse Off Background Color
"ffffff",					// Mouse On Font Color
"4A75E2",					// Mouse On Background Color
"1A2133",					// Menu Border Color
11,						// Font Size
"normal",					// Font Style 
"normal",					// Font Weight
"Tahoma, Arial, Helvetica, Geneva, Swiss, SunSans-Regular",	// Font Name
1,						// Menu Item Padding
"../../images/nav/item_bar_light.gif",		// Sub Menu Image (Leave this blank if not needed)
1,						// 3D Border & Separator bar
"5887FD",					// 3D High Color
"010035",					// 3D Low Color
"ff0000",					// Referer Item Font Color (leave this blank to disable)
"FFFFE0",					// Referer 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)
""]

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.
"D3D3D3",					// Mouse Off Font Color
"2B54BC",					// Mouse Off Background Color
"ffffff",					// Mouse On Font Color
"4A75E2",					// Mouse On Background Color
"1A2133",					// Menu Border Color
11,						// Font Size
"normal",					// Font Style 
"normal",					// Font Weight
"Tahoma, Arial, Helvetica, Geneva, Swiss, SunSans-Regular",		// Font Name
1,						// Menu Item Padding
"../../images/nav/item_bar_light.gif",		// Sub Menu Image (Leave this blank if not needed)
1,						// 3D Border & Separator bar
"5887FD",					// 3D High Color
"010035",					// 3D Low Color
"ff0000",					// Referer Item Font Color (leave this blank to disable)
"FFFFE0",					// Referer 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)
""]

////////////////////////////////////
// TEMPLATES			  //
////////////////////////////////////
// properties with * can be overwritten dynamically when generating menuitem

menutpl=[					// This is the array that contains your default menu properties and details
,						// *Menu Top - The Top position of the menu in pixels
,						// *Menu Left - The Left position of the menu in pixels
150,						// *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"
style2,						// *Properties Array - this is set higher up, as above
0,						// *Always Visible - allows the menu item to be visible at all time
"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)
,						// *Horizontal Menu - Tells the menu to become horizontal instead of top to bottom style
,						// *Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page
"right",					// Position of TOP sub image left:center:right
,						// Type of menu use "form" or blank
,						// Right To Left - Used in Hebrew for example.
,						// Open the Menus OnClick - leave blank for OnMouseover
""];						// Menu Header Text (only works on Vertical menus)


linktemplate = "dyn_output.html?content.void=%void%&SID="+SID;	// %void% will be overwritten with parameter void if given
linkwraper = "";				// %link% will be parsed into string linkwraper if exists
globalXOffset = 0;
globalYOffset = 0;



// define menus here
// start with: yourmenu = new menuw(id,top,left,width,borderwidth,screenPos,propAr,alwaysVis,textAlignement,filter,followScrolling,horizMenu,keepAlive);
// id : unique number or text for identification
// top, left will be automatically set if this menu is a submenu. is needed if directly opened
// all parameters are optional. if not defined the values from menutpl will be taken
// for description see above
//
// add item to menu: youritem=yourmenu.addItem(description,url,myvoid,status,target,sepbar)
// description: text that appears on menu (can contain hmtl)
// url: url to jump to
// myvoid : if void is given this will be parse to linktemplate defined above and the result will be taken as url (url will be ingnored in this case)
// target: leave blank if same frame or enter framename
// status: statusbar, default is description
// sepbar: 0 || 1 for separation bar. 1 default
//
// generate menu by entering: yourmenu.make();

