

//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
"white",			// Mouse Off Background Color
"002666",			// Mouse On Font Color
"DEE6F2",			// Mouse On Background Color
"000000",			// 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
"/newsroom/themes/default/images/menu/yellow_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)
"99A8C2",			// 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
"white",			// 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
"/newsroom/themes/default/images/menu/yellow_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)
"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;Newsroom","/newsroom/",,,1
//,"&nbsp;&nbsp;&nbsp;For Journalists","show-menu=Journalists","/Journalists/ suboverimage=/newsroom/themes/default/images/menu/yellow_arrow.gif;",,1
,"&nbsp;&nbsp;&nbsp;News Releases","show-menu=releases","/newsroom/releases/ suboverimage=/newsroom/themes/default/images/menu/yellow_arrow.gif;",,1
,"&nbsp;&nbsp;&nbsp;News Release Archive","show-menu=archives","/newsroom/releases/archives/ suboverimage=/newsroom/themes/default/images/menu/yellow_arrow.gif;",,1
,"&nbsp;&nbsp;&nbsp;Feature Stories","/welcome/features/",,,1
,"&nbsp;&nbsp;&nbsp;Publications","show-menu=publications","/newsroom/publications/ suboverimage=/newsroom/themes/default/images/menu/yellow_arrow.gif;",,1
,"&nbsp;&nbsp;&nbsp;Facts and Figures","show-menu=facts","/newsroom/facts_figures/ suboverimage=/newsroom/themes/default/images/menu/yellow_arrow.gif;",,1
,"&nbsp;&nbsp;&nbsp;Community Calendar","/healthconsumers/calendar/",,,1
//,"&nbsp;&nbsp;&nbsp;Faculty Experts","/facultyexperts/",,,1
//,"&nbsp;&nbsp;&nbsp;In the News","/inthenews/",,,1
,"&nbsp;&nbsp;&nbsp;Contact Us","/newsroom/contactus/",,,1
,"&nbsp;&nbsp;&nbsp;Health System","show-menu=medhome","http://www.ucdmc.ucdavis.edu suboverimage=/newsroom/themes/default/images/menu/yellow_arrow.gif;",,1
,"&nbsp;","# onbackcolor=white;",,,1
])


//	addmenu(menu=["Journalists",
//	,,150,1,,substyle,,"left",effect,,,,,,,,,,,,
//	,"&nbsp;&nbsp;&nbsp;News Releases","/newsroom/journalists/",,,1
//	,"&nbsp;&nbsp;&nbsp;Media Policies","/newsroom/journalists/",,,1
//	,"&nbsp;&nbsp;&nbsp;Photos & Graphics","/newsroom/journalists/",,,1
//	,"&nbsp;&nbsp;&nbsp;Subscription Services","/newsroom/journalists/",,,1
//	])

	addmenu(menu=["releases",
	,,480,1,,substyle,,"left",effect,,,,,,,,,,,,
	,"&nbsp;&nbsp;&nbsp;<b>June 7, 2007 &mdash; </b>UC Davis School of Medicine graduates 35th class","/newsroom/releases/archives/som/2007/commencement6-2007.html",,,1
	,"&nbsp;&nbsp;&nbsp;<b>June 6, 2007 &mdash; </b>UC Davis wins state approval for stem cell research facility funding","/newsroom/releases/archives/Research/2007/stem_cell_facility.html",,,1
	,"&nbsp;&nbsp;&nbsp;<b>June 4, 2007 &mdash; </b>USAid grant funds UC Davis partnership to improve TB diagnosis in Pakistan","/newsroom/releases/archives/infectiousdiseases/2007/tb_pakistan6-2007.html",,,
	,"&nbsp;&nbsp;&nbsp;More News Releases","/newsroom/releases/",,,1
])

	addmenu(menu=["archives",
	,,170,1,,substyle,,"left",effect,,,,,,,,,,,,
	,"&nbsp;&nbsp;&nbsp;Burn Center","/newsroom/releases/archives/burncenter/",,,1
	,"&nbsp;&nbsp;&nbsp;Cancer Center","/newsroom/releases/archives/cancer/",,,1
	,"&nbsp;&nbsp;&nbsp;Children's Hospital","/newsroom/releases/archives/childrenshospital/",,,1
	,"&nbsp;&nbsp;&nbsp;Clinical Trials","/newsroom/releases/archives/clinicaltrials/",,,1
        ,"&nbsp;&nbsp;&nbsp;Emergency Medicine","/newsroom/releases/archives/emergencymedicine/",,,1
	,"&nbsp;&nbsp;&nbsp;Healthy Aging","/newsroom/releases/archives/aging/",,,1
        ,"&nbsp;&nbsp;&nbsp;Health Disparities","/newsroom/releases/archives/healthdisparities/",,,1
	,"&nbsp;&nbsp;&nbsp;Heart Center","/newsroom/releases/archives/heartcenter/",,,1
        ,"&nbsp;&nbsp;&nbsp;Infectious Diseases","/newsroom/releases/archives/infectiousdiseases/",,,1 
	,"&nbsp;&nbsp;&nbsp;Internal Medicine","/newsroom/releases/archives/internalmed/",,,1
	,"&nbsp;&nbsp;&nbsp;M.I.N.D. Institute","/newsroom/releases/archives/mind/",,,1
        ,"&nbsp;&nbsp;&nbsp;Neurology","/newsroom/releases/archives/neurology/",,,1
	,"&nbsp;&nbsp;&nbsp;Nursing","/newsroom/releases/archives/nursing/",,,1
        ,"&nbsp;&nbsp;&nbsp;Ophthalmology","/newsroom/releases/archives/ophthalmology/",,,1
	,"&nbsp;&nbsp;&nbsp;Pain Medicine","/newsroom/releases/archives/painmed/",,,1
	,"&nbsp;&nbsp;&nbsp;Psychiatry","/newsroom/releases/archives/psychiatry/",,,1
	,"&nbsp;&nbsp;&nbsp;Research","/newsroom/releases/archives/research/",,,1
	,"&nbsp;&nbsp;&nbsp;School of Medicine","/newsroom/releases/archives/som/",,,1
        ,"&nbsp;&nbsp;&nbsp;Spine Center","/newsroom/releases/archives/spine/",,,1
	,"&nbsp;&nbsp;&nbsp;Transplant Center","/newsroom/releases/archives/transplant/",,,1
	,"&nbsp;&nbsp;&nbsp;Trauma Prevention Center","/newsroom/releases/archives/trauma/",,,1
	,"&nbsp;&nbsp;&nbsp;Vascular Center","/newsroom/releases/archives/vascular/",,,1
	,"&nbsp;&nbsp;&nbsp;Women's Center for Health","/newsroom/releases/archives/womenscenter/",,,1
	,"&nbsp;&nbsp;&nbsp;General News","/newsroom/releases/archives/other/",,,1
//	,"&nbsp;&nbsp;&nbsp;Cancer Center","show-menu=cancer","/newsroom/releases/archives/cancer/ suboverimage=/newsroom/themes/default/images/menu/yellow_arrow.gif;",,1
])

	addmenu(menu=["cancer",
	,,150,1,,substyle,,"left",effect,,,,,,,,,,,,
	,"&nbsp;&nbsp;&nbsp;2004","/newsroom/releases/cancer/2004/",,,1
])

	
	addmenu(menu=["publications",
	,,170,1,,substyle,,"left",effect,,,,,,,,,,,,
	,"&nbsp;&nbsp;&nbsp;Synthesis",'javascript:window.open("http://www.ucdmc.ucdavis.edu/synthesis/","launch");history.go(0)',,,1
	,"&nbsp;&nbsp;&nbsp;UC Davis Medicine",'javascript:window.open("http://www.ucdmc.ucdavis.edu/ucdavismedicine/","launch");history.go(0)',,,1
	,"&nbsp;&nbsp;&nbsp;Annual Report",'javascript:window.open("http://www.ucdmc.ucdavis.edu/aboutus/pdf/annual_report.pdf","launch");history.go(0)',,,1
])

	addmenu(menu=["facts",
	,,170,1,,substyle,,"left",effect,,,,,,,,,,,,
	,"&nbsp;&nbsp;&nbsp;General Facts and Figures","/newsroom/facts_figures/",,,1
	,"&nbsp;&nbsp;&nbsp;Health System Leadership","show-menu=leadership", "JavaScript: void(0) suboverimage=/newsroom/themes/default/images/menu/yellow_arrow.gif;",,1	
])

		addmenu(menu=["leadership",
		,,300,1,,substyle,,"left",effect,,,,,,,,,,,,
		,"&nbsp;&nbsp;&nbsp;Claire Pomeroy, M.D., M.B.A., Vice Chancellor and Dean","/newsroom/leadership/pomeroy.html",,,1
                ,"&nbsp;&nbsp;&nbsp;Ann Bonham, Ph.D., Executive Associate Dean","/dean/ourteam/bonham.html",,,1
                ,"&nbsp;&nbsp;&nbsp;Tom Nesbitt, M.D., M.P.H., Executive Associate Dean","/dean/ourteam/nesbitt.html",,,1 
		,"&nbsp;&nbsp;&nbsp;William McGowan, CFO","/newsroom/leadership/mcgowan.html",,,1
                ,"&nbsp;&nbsp;&nbsp;Ann Madden Rice, CEO","/newsroom/leadership/madden_rice.html",,,1
	])

		addmenu(menu=["medhome",
	,,170,1,,substyle,,"left",effect,,,,,,,,,,,,
	,"&nbsp;&nbsp;&nbsp;For Health Consumers","show-menu=patients","/healthconsumers/ suboverimage=/newsroom/themes/default/images/menu/yellow_arrow.gif;",,1
	,"&nbsp;&nbsp;&nbsp;For Health Professionals","/healthprofessionals/",,,1	
	,"&nbsp;&nbsp;&nbsp;For Students & Residents","http://som.ucdavis.edu/",,,1
	//	,"&nbsp;&nbsp;&nbsp;For Researchers","researchers/",,,1
])

	addmenu(menu=["patients",
	,,150,1,,substyle,,"left",effect,,,,,,,,,,,,
	,"&nbsp;&nbsp;&nbsp;Specialties","/healthconsumers/specialties/",,,1
	,"&nbsp;&nbsp;&nbsp;Support Services","/healthconsumers/pss/",,,1
	,"&nbsp;&nbsp;&nbsp;Our Team","/healthconsumers/ourteam",,,1
	,"&nbsp;&nbsp;&nbsp;Research","/research",,,1
	,"&nbsp;&nbsp;&nbsp;Newsroom","/newsroom/",,,1
	,"&nbsp;&nbsp;&nbsp;Calendar","/healthconsumers/calendar/",,,1
	,"&nbsp;&nbsp;&nbsp;Health Information","/healthconsumers/health/",,,1
	,"&nbsp;&nbsp;&nbsp;Patient Information","/healthconsumers/aboutyourstay/",,,1
	,"&nbsp;&nbsp;&nbsp;Visitor Information","/healthconsumers/aboutyourstay/visitors/",,,1
	,"&nbsp;&nbsp;&nbsp;Appointments","/healthconsumers/appointments",,,1
	,"&nbsp;&nbsp;&nbsp;Maps & Directions","/healthconsumers/maps/",,,1
	,"&nbsp;&nbsp;&nbsp;Contact Us","/contactus/",,,1
	,"&nbsp;&nbsp;&nbsp;Giving to UC Davis","/giving/",,,1
])

dumpmenus()