

/*
	 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 //
////////////////////////////////////

timegap=500                  // The time delay for menus to remain visible
followspeed=5                // Follow Scrolling speed
followrate=50                // Follow Scrolling Rate
suboffset_top=0              // Sub menu offset Top position
suboffset_left=0             // Sub menu offset Left position



ScrollingSampStyle=[   // ScrollingSampStyle is an array of properties. You can have as many property arrays as you need
"black",				// Mouse Off Font Color
"669966",				// Mouse Off Background Color
"yellow",				// Mouse On Font Color
"black",				// Mouse On Background Color
"white",				// Menu Border Color 
12,						// Font Size in pixels
"normal",				// Font Style (italic or normal)
"bold",					// Font Weight (bold or normal)
"arial",				// Font Name
5,					// Menu Item Padding
"../images/icons/arrow.gif",		// Sub Menu Image (Leave this blank if not needed)
,					// 3D Border & Separator bar
"black",				// 3D High Color
"white",				// 3D Low Color
"",					// Current Page Item Font Color (leave this blank to disable)
"",					// Current Page Item Background Color (leave this blank to disable)
"../images/icons/arrowdn.gif",		// 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)
,                       		// Menu Item Separator Color
]


addmenu(menu=[
"FollowMain",           		// Menu Name - This is needed in order for this menu to be called
0,                      		// Menu Top - The Top position of this menu in pixels
20,                     		// Menu Left - The Left position of this menu in pixels ****old value was 0
125,					// 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"
ScrollingSampStyle,       		// 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)
,                             		// Alignment - sets this menu elements text alignment, values valid here are: left, right or center
"Fade(duration=0.2);Shadow(color=777777, Direction=135, Strength=5)",// Filter - Text variable for setting transitional effects on menu activation - see above for more info
1,                            		// 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

//////////////////////////////////////////////////////////////////////////////////////////////
//  MAIN MENU													  //
//////////////////////////////////////////////////////////////////////////////////////////////

,"About SALVIAS","show-menu=home",,"",1
,"Data&nbsp&nbsp","show-menu=Data",,"",1
,"Participants&nbsp&nbsp","show-menu=participants",,"",1
,"Research&nbsp&nbsp","show-menu=research",,"",1
,"Application info&nbsp&nbsp","show-menu=applications",,"",1
,"Links and Sources&nbsp&nbsp","show-menu=links",,"",1
])


//////////////////////////////////////////////////////////////////////////////////////////////
//  About salvias MENU													  //
//////////////////////////////////////////////////////////////////////////////////////////////
	addmenu(menu=["home",,,180,1,,ScrollingSampStyle,0,,"Fade(duration=0.2);Shadow(color=	777777, Direction=135, Strength=5)",0,0,0,,,0,0,,,0,,
		,"Home","../pages/index.html",,"Back to the SALVIAS home page",1
		,"What is SALVIAS?","../pages/whatissalvias.html",,"What is SALVIAS?",1
		,"Mission Statement","../pages/mission.html",,"View the SALVIAS Mission Statement",1
		,"Outline and Goals","../pages/proposal.html",,"View the Outline and Goals of the SALVIAS Project",1
		,"SALVIAS News","../pages/salvias_news.html",,"View the latest SALVIAS developments",1
		])
//////////////////////////////////////////////////////////////////////////////////////////////
//  DATA MENU													  //
//////////////////////////////////////////////////////////////////////////////////////////////
	addmenu(menu=["Data",,,180,1,,ScrollingSampStyle,0,,"Fade(duration=0.2);Shadow	(color=777777, Direction=135, Strength=5)",0,0,0,,,0,0,,,0,,

		,"Data Access and Sharing Policy","../eula/eula1.html",,,1
		,"Database Information","../pages/database_info.php",,,1
		,"Login to SALVIAS database","../Plots/login.php",,"Log in to database",1
		])

//////////////////////////////////////////////////////////////////////////////////////////////
//  PARTICIPANTS MENU												  //
//////////////////////////////////////////////////////////////////////////////////////////////
	addmenu(menu=["participants",,,180,1,,ScrollingSampStyle,0,,"Fade(duration=0.2);Shadow	(color=777777, Direction=135, Strength=5)",0,0,0,,,0,0,,,0,,
		,"by NAME","../pages/participants.html#byname",,,1
		,"by Affiliations","../pages/participants.html#byinstitution",,,1
		,"Institutions","../pages/participants.html#institutions",,,0
		])


//////////////////////////////////////////////////////////////////////////////////////////////
//  RESEARCH MENU												  //
//////////////////////////////////////////////////////////////////////////////////////////////
	addmenu(menu=["research",,,180,1,,ScrollingSampStyle,0,,"Fade(duration=0.2);Shadow	(color=777777, Direction=135, Strength=5)",0,0,0,,,0,0,,,0,,						
		,"Research Results","show-menu=results",,,1
		])
	

//////////////////////////////////////////////////////////////////////////////////////////////
//  RESULTS MENU												  //
//////////////////////////////////////////////////////////////////////////////////////////////
	addmenu(menu=["results",,,180,1,,ScrollingSampStyle,0,,"Fade(duration=0.2);Shadow	(color=777777, Direction=135, Strength=5)",0,0,0,,,0,0,,,0,,						
		,"Papers","../pages/results.html",,"Papers related to the SALVIAS project",1
		,"Presentations","../pages/results.html",,"Presentations about projects related to the SALVIAS 			project",1
		,"Poster Presentations","../pages/results.html",,"Poster presentations about projects related to the 			SALVIAS project",1
		,"Manuscripts","../pages/results.html",,"Manuscripts related to the SALVIAS project",1
		])



//////////////////////////////////////////////////////////////////////////////////////////////
//  LINKS MENU												  //
//////////////////////////////////////////////////////////////////////////////////////////////
	addmenu(menu=["links",,,180,1,,ScrollingSampStyle,0,,"Fade(duration=0.2);Shadow	(color=777777, Direction=135, Strength=5)",0,0,0,,,0,0,,,0,,	
		,"SALVIAS related links","../pages/links.html",,"SALVIAS Related Links",1
		,"Sources Cited","../pages/references.html",,"Citations, References, etc",1

		,"Menu source code","http://www.milonic.co.uk/menu",,"Milonic DHTML Menu Site",1
		])

//////////////////////////////////////////////////////////////////////////////////////////////
//  APPLICATIONS MENU												  //
//////////////////////////////////////////////////////////////////////////////////////////////
	addmenu(menu=["applications",,,180,1,,ScrollingSampStyle,0,,"Fade(duration=0.2);Shadow	(color=777777, Direction=135, Strength=5)",0,0,0,,,0,0,,,0,,				
	,"Specimen.DQ","../pages/howtospecdq.html",,,1
	,"Taxonomy Scrubber","../pages/taxonscrubber.html",,,1
	])


dumpmenus();
	
