

//The following line is critical for menu operation, & MUST APPEAR ONLY ONCE. If you have more than one menu_array.js file rem out this line in subsequent files
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 this file is part of a multi pack.



////////////////////////////////////
// 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
effect = "Fade(duration=0.2);Alpha(style=0,opacity=100);Shadow(color='#777777', Direction=135, Strength=5)"


timegap=500			// The time delay for menus to remain visible
followspeed=5		// Follow Scrolling speed
followrate=40		// Follow Scrolling Rate
suboffset_top=0;	// Sub menu offset Top position 
suboffset_left=0;	// Sub menu offset Left position
closeOnClick = true


mainstyle=[			// 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.
"002666",			// Mouse Off Font Color
"FFFFFF",			// Mouse Off Background Color
"002666",			// Mouse On Font Color
"F2EBCC",			// Mouse On Background Color
"002666",			// Menu Border Color 
11,					// Font Size in pixels
"normal",			// Font Style (italic or normal)
"bold",				// Font Weight (bold or normal)
"Arial",			// Font Name
3,					// Menu Item Padding
"http://www.ucdmc.ucdavis.edu/global/themes/leftnav/images/nav-arrow.gif",	// Sub Menu Image (Leave this blank if not needed)
,					// 3D Border & Separator bar
,					// 3D High Color
,					// 3D Low Color
"002666",			// Current Page Item Font Color (leave this blank to disable)
"#F2EBCC",				// 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)
"B6C7E2",			// Menu Item Separator Color
]


substyle=[			// 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.
"002666",			// Mouse Off Font Color
"DEE6F2",			// Mouse Off Background Color
"FFFFFF",			// Mouse On Font Color
"002666",			// Mouse On Background Color
"002666",			// Menu Border Color 
11,					// Font Size in pixels
"normal",			// Font Style (italic or normal)
"normal",			// Font Weight (bold or normal)
"Arial",			// Font Name
2,					// Menu Item Padding
"http://www.ucdmc.ucdavis.edu/global/themes/leftnav/images/nav-arrow.gif",	// Sub Menu Image (Leave this blank if not needed)
,					// 3D Border & Separator bar
,					// 3D High Color
,					// 3D Low Color
"",			// Current Page Item Font Color (leave this blank to disable)
"002666",				// 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)
"white",			// Menu Item Separator Color
]

addmenu(menu=[		// This is the array that contains your menu properties & details
"mainmenu",			// Menu Name - This is needed in order for the menu to be called
120,					// Menu Top - The Top position of the menu in pixels
0,				// Menu Left - The Left position of the menu in pixels
170,				// Menu Width - Menus width in pixels
,					// Menu Border Width 
,					// Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
mainstyle,			// 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
,					// 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) (1=on/0=off)
, 					// 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% & 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)
,					// Background image for menu when BGColor set to transparent.
,					// Scrollable Menu
,					// Reserved for future use
,"&nbsp;","# onbackcolor=white;",,,1

,"&nbsp;&nbsp;&nbsp;UC Davis Health System", "/welcome/",,,1
,"&nbsp;&nbsp;&nbsp;UC Davis Medical Center", "/medicalcenter/",,,1
,"&nbsp;&nbsp;&nbsp;UC Davis Medical Group", "/cliniclocations/",,,1
,"&nbsp;&nbsp;&nbsp;School of Medicine", "/medschool/",,,1
,"&nbsp;&nbsp;&nbsp;Betty Irene Moore<br>&nbsp;&nbsp;&nbsp;School of Nursing", "/nursing/",,,1
,"&nbsp;&nbsp;&nbsp;Academic Departments", "/medschool/departments/",,,1
,"&nbsp;&nbsp;&nbsp;Research", "/research/",,,1
,"&nbsp;&nbsp;&nbsp;Advisers &amp; Friends","show-menu=advisers","/welcome/friends.html/ suboverimage=http://www.ucdmc.ucdavis.edu/global/themes/leftnav/images/nav-arrow.gif;",,1
,"&nbsp;&nbsp;&nbsp;Newsroom &amp; Publications","show-menu=news","/newsroom/ suboverimage=http://www.ucdmc.ucdavis.edu/global/themes/leftnav/images/nav-arrow.gif;",,1
,"&nbsp;&nbsp;&nbsp;About Us","show-menu=aboutus","/aboutus/ suboverimage=http://www.ucdmc.ucdavis.edu/global/themes/leftnav/images/nav-arrow.gif;",,1
,"&nbsp;&nbsp;&nbsp;Contact Us", "/contactus/",,,1
,"&nbsp;&nbsp;&nbsp;Maps &amp; Directions", "/welcome/maps_directions/",,,1
,"&nbsp;&nbsp;&nbsp;Virtual Tour", "/welcome/tour/",,,1
,"&nbsp;&nbsp;&nbsp;Jobs", "/hr/",,,1
,"&nbsp;&nbsp;&nbsp;Giving to UC Davis Health<br>&nbsp;&nbsp;&nbsp;System", "/giving/",,,1


,"&nbsp;","# onbackcolor=white;",,,1
])

	addmenu(menu=["advisers",
	,,200,1,,substyle,,"left",effect,,,,,,,,,,,,
	,"&nbsp;&nbsp;&nbsp;Board of Visitors", "/welcome/friends.html#bov",,,1
	,"&nbsp;&nbsp;&nbsp;Community Advisory Board", "/community_relations/cab.html",,,1
	,"&nbsp;&nbsp;&nbsp;Leadership Council", "/welcome/friends.html#lc",,,1
])

	addmenu(menu=["news",
	,,200,1,,substyle,,"left",effect,,,,,,,,,,,,
	,"&nbsp;&nbsp;&nbsp;News Releases","/newsroom/releases/index.html",,,1
	,"&nbsp;&nbsp;&nbsp;Feature Stories","/welcome/features/",,,1
	,"&nbsp;&nbsp;&nbsp;Magazines and Reports","show-menu=publications","/newsroom/publications/ suboverimage=http://www.ucdmc.ucdavis.edu/global/themes/leftnav/images/nav-arrow.gif;",,1
	,"&nbsp;&nbsp;&nbsp;Community Calendar","/healthconsumers/calendar/",,,1
	,"&nbsp;&nbsp;&nbsp;Facts and Figures","/newsroom/facts_figures/",,,1
	,"&nbsp;&nbsp;&nbsp;Virtual Tour","/welcome/tour/",,,1
])
		addmenu(menu=["publications",
		,,200,1,,substyle,,"left",effect,,,,,,,,,,,,
		,"&nbsp;&nbsp;&nbsp;UC Davis Medicine Magazine","/ucdavismedicine/",,,1
		,"&nbsp;&nbsp;&nbsp;Synthesis Magazine","/synthesis/",,,1
		,"&nbsp;&nbsp;&nbsp;Vice Chancellor and Dean's Annual<br />&nbsp;&nbsp;&nbsp;Report (PDF)","/aboutus/pdf/annual_report.pdf",,,1
		,"&nbsp;&nbsp;&nbsp;News Releases","/newsroom/releases/",,,1
	])


	addmenu(menu=["aboutus",
	,,200,1,,substyle,,"left",effect,,,,,,,,,,,,
	,"&nbsp;&nbsp;&nbsp;About UC Davis Health System","/aboutus/",,,1
	,"&nbsp;&nbsp;&nbsp;Facts and Figures","/newsroom/facts_figures/",,,1
	,"&nbsp;&nbsp;&nbsp;Executive Leadership","/newsroom/leadership/",,,1
	,"&nbsp;&nbsp;&nbsp;News Releases","/newsroom/releases/",,,1
	,"&nbsp;&nbsp;&nbsp;Virtual Tour","/welcome/tour/",,,1
])
dumpmenus()