// Milonic DHTML Menu version 3.3.11
// If you are having difficulty with the menu please read the FAQ at http://www.milonic.co.uk/menu/faq.php 
//before contacting us.


// 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(duration=0.3);Alpha(style=0,opacity=95);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=250			// 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
closeOnClick = false;

// have to do a whole bunch of tweaks to cater to browser discrepancies for menu position
if (is_ie) {
   menutop = 45+58; //add offset for UBC toolbar
   offsetVal = 239+50;
};
if (is_ie5up && (is_minor=="5.5" || is_minor=="6")) {
   menutop = 45+58; //add offset for UBC toolbar
   offsetVal = 239+50;
};
if (is_ie6) {
   menutop = 45+58; //add offset for UBC toolbar
   offsetVal = 245+50;
};
if (is_nav) {
   menutop = 43+58;
   offsetVal = 300;
};
if (is_nav6 || is_nav7) {
   menutop = 45+55;
   offsetVal = 300;
};
if ((!is_ie) && (!is_nav)) {
   menutop = 45+58;
   offsetVal = 245;
};
if (is_opera) {
	menutop = 62+58;
	offsetVal = 245;
};


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.
"beige",				// Mouse Off Font Color
"669966",				// Mouse Off Background Color
"ffebdc",				// Mouse On Font Color
"66cc66",				// Mouse On Background Color
"green",				// Menu Border Color 
10,					// Font Size in pixels
"normal",				// Font Style (italic or normal)
"bold",					// Font Weight (bold or normal)
"Trebuchet, Verdana, Arial, sans-serif",		// Font Name
6,					// Menu Item Padding
"images/arrow.gif",			// Sub Menu Image 
0,					// 3D Border & Separator bar
"66ffff",				// 3D High Color
"000099",				// 3D Low Color
"white",				// Current Page Item Font Color (leave this blank to disable)
"",					// Current Page Item Background Color (leave this blank to disable)
"images/arrowdn.gif",			// Top Bar image 
"ffffff",				// Menu Header Font Color (Leave blank if headers are not needed)
"000099",				// 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
menutop,			// Menu Top - The Top position of the menu in pixels
offsetVal,			// Menu Left - The Left position of the menu in pixels
1,				// Menu Width - Menus width in pixels
1,				// 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
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)
1,				// 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
,				// ..Now Obsolete..
,				// 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
//MAIN MENU
,"Home&nbsp;&nbsp;","index.htm",,,1
,"About&nbsp;&nbsp;","about.htm",,,1
,"What&nbsp;We&nbsp;Do&nbsp;&nbsp;","show-menu=WhatWeDo",,"",1
,"Publications/Products&nbsp;&nbsp;","pubs_prods_index.htm",,"",1
,"Contact/FindUs&nbsp;&nbsp;","contact_find.htm",,"",1
,"Glossary&nbsp;&nbsp;","glossary.htm",,"",1
,"News/Events&nbsp;&nbsp;","news_events.htm",,"",1
,"Related&nbsp;Links&nbsp;&nbsp;","links.htm",,,1
])
	
	addmenu(menu=["WhatWeDo",,,200,1,"",style1,,"",effect,,,,,,,,,,,,
	,"&nbsp;Research","research_index.htm",,,1
	,"&nbsp;Forest Management","mgt_index.htm",,,1
	,"&nbsp;Education and Demonstration","edu_demo_index.htm",,,1
	])

	

dumpmenus()

