/*****************************************************************************
Copyright (c) 2001 Thomas Brattli (webmaster@dhtmlcentral.com)

DHTML coolMenus - Get it at coolmenus.dhtmlcentral.com
Version 4.0_beta
This script can be used freely as long as all copyright messages are
intact.

Extra info - Coolmenus reference/help - Extra links to help files ****
CSS help: http://coolmenus.dhtmlcentral.com/projects/coolmenus/reference.asp?m=37
General: http://coolmenus.dhtmlcentral.com/reference.asp?m=35
Menu properties: http://coolmenus.dhtmlcentral.com/properties.asp?m=47
Level properties: http://coolmenus.dhtmlcentral.com/properties.asp?m=48
Background bar properties: http://coolmenus.dhtmlcentral.com/properties.asp?m=49
Item properties: http://coolmenus.dhtmlcentral.com/properties.asp?m=50
******************************************************************************/

/***
This is the menu creation code - place it right after you body tag
Feel free to add this to a stand-alone js file and link it to your page.
**/

//Menu object creation
oCMenu = new makeCM("oCMenu") //Making the menu object. Argument: menuname

oCMenu.frames = 0

//Menu properties
oCMenu.pxBetween = 0
oCMenu.fromLeft = 0
oCMenu.fromTop = 50
oCMenu.rows = 1
oCMenu.menuPlacement = "center"

oCMenu.offlineRoot = ""
oCMenu.onlineRoot = ""
oCMenu.resizeCheck = 1
oCMenu.wait = 250
oCMenu.fillImg = "/images/blank.gif"
oCMenu.zIndex = 0

//Background bar properties
oCMenu.useBar = 0
oCMenu.barWidth = "0"
oCMenu.barHeight = "menu"
oCMenu.barClass = "clBar"
oCMenu.barX = 0
oCMenu.barY = 0
oCMenu.barBorderX = 0
oCMenu.barBorderY = 0
oCMenu.barBorderClass = ""

//Level properties - ALL properties have to be spesified in level 0
oCMenu.level[0] = new cm_makeLevel() //Add this for each new level
oCMenu.level[0].width = 0
oCMenu.level[0].height = 0
oCMenu.level[0].regClass = "clLevel0"
oCMenu.level[0].overClass = "clLevel0over"
oCMenu.level[0].borderX = 0
oCMenu.level[0].borderY = 0
oCMenu.level[0].borderClass = "clLevel0border"
oCMenu.level[0].offsetX = 3
oCMenu.level[0].offsetY = 0
oCMenu.level[0].rows = 0
oCMenu.level[0].arrow = 0
oCMenu.level[0].arrowWidth = 0
oCMenu.level[0].arrowHeight = 0
oCMenu.level[0].align = "bottom"

//EXAMPLE SUB LEVEL[1] PROPERTIES - You have to specify the properties you want different from LEVEL[0] - If you want all items to look the same just remove this
oCMenu.level[1] = new cm_makeLevel() //Add this for each new level (adding one to the number)
oCMenu.level[1].width = oCMenu.level[0].width-2
oCMenu.level[1].height = 22
oCMenu.level[1].regClass = SiteImagePrefix + "clLevel1"
oCMenu.level[1].overClass = SiteImagePrefix + "clLevel1over"
oCMenu.level[1].borderX = 0
oCMenu.level[1].borderY = 0
oCMenu.level[1].align = "left"
oCMenu.level[1].offsetX = 2-(oCMenu.level[0].width-2)/2
oCMenu.level[1].offsetY = 0
oCMenu.level[1].borderClass = "clLevel1border"

//EXAMPLE SUB LEVEL[2] PROPERTIES - You have to spesify the properties you want different from LEVEL[1] OR LEVEL[0] - If you want all items to look the same just remove this
oCMenu.level[2] = new cm_makeLevel() //Add this for each new level (adding one to the number)
oCMenu.level[2].width = 150
oCMenu.level[2].height = 20
oCMenu.level[2].offsetX = 0
oCMenu.level[2].offsetY = 0
oCMenu.level[2].regClass = "clLevel2"
oCMenu.level[2].overClass = "clLevel2over"
oCMenu.level[2].borderClass = "clLevel2border"


/******************************************
Menu item creation:
myCoolMenu.makeMenu(name, parent_name, text, link, target, width, height, regImage, overImage, regClass, overClass , align, rows, nolink, onclick, onmouseover, onmouseout)
*************************************/


strUserAgent = new String(navigator.userAgent)
strUserAgent = strUserAgent.toLowerCase()
intBlankWidthPad = strUserAgent.indexOf("gecko") > 0 ? 164 : 190

oCMenu.makeMenu('top00','','','','',intBlankWidthPad,1,'/images/nav/spacer.gif','/images/nav/spacer.gif')

oCMenu.makeMenu('top0','','','','',86,29,buttonhospitals,'/images/nav/' + SiteImagePrefix + 'button_hospitals_on.gif',"","","","","","","OVER()","OUT()")
	oCMenu.makeMenu('sub01','top0','Fairview Lakes Medical Center','http://www.lakes.fairview.org/','',200,22,'','')
	oCMenu.makeMenu('sub02','top0','Fairview Maple Grove Medical <br /> Center','http://www.maplegrove.fairview.org/','',200,34,'','')
	oCMenu.makeMenu('sub03','top0','Fairview Northland Medical <br />Center','http://www.northland.fairview.org/','',200,34,'','','','','left')
	oCMenu.makeMenu('sub04','top0','Fairview Red Wing Medical<br /> Center','http://www.redwing.fairview.org/','',200,34,'','')
	oCMenu.makeMenu('sub05','top0','Fairview Ridges Hospital','http://www.ridges.fairview.org/','',200,22,'','')
	oCMenu.makeMenu('sub06','top0','Fairview Southdale Hospital','http://www.southdale.fairview.org/','',200,22,'','')
	oCMenu.makeMenu('sub07','top0','Maple Grove Hospital','http://www.maplegrovehospital.org/','',200,22,'','')
	oCMenu.makeMenu('sub08','top0','University of Minnesota<br /> Amplatz Children' + unescape("%u2019") + 's Hospital','http://www.uofmchildrenshospital.org/','',200,34,'','')
	oCMenu.makeMenu('sub09','top0','University of Minnesota<br />Medical Center','http://www.uofmmedicalcenter.org/','',200,34,'','')
	oCMenu.makeMenu('sub10','top0','Fairview-University Medical<br />Center - Mesabi','http://www.range.fairview.org/','',200,34,'','')


oCMenu.makeMenu('top1','','','','',71,29,buttonclinics,'/images/nav/' + SiteImagePrefix + 'button_clinics_on.gif',"","","","","","","OVER()","OUT()")
	oCMenu.makeMenu('sub11','top1','About Our Clinics','http://www.fairview.org/clinics/','',135,22,'','')
	oCMenu.makeMenu('sub12','top1','Clinic Search','http://www.fairview.org/ceii/provider/search/default.asp','',135,22,'','')
	oCMenu.makeMenu('sub13','top1','Primary Care Clinics','http://www.fairview.org/clinics/primary/index.asp','',135,22,'','')
	oCMenu.makeMenu('sub14','top1','Specialty Clinics','http://www.fairview.org/clinics/specialty/index.asp','',135,22,'','')
	oCMenu.makeMenu('sub15','top1','Fairview Sports and Orthopedic Care','http://www.fairview.org/fsoc/','',135,34,'','')
	oCMenu.makeMenu('sub16','top1','Urgent Care','http://www.fairview.org/urgentcare/index.asp','',135,22,'','')
	oCMenu.makeMenu('sub17','top1','Express Care','http://www.fairview.org/Clinics/Express_Care/index.asp','',135,22,'','')
	oCMenu.makeMenu('sub18','top1','International Travel<br /> Clinics','http://www.fairview.org/clinics/travel/index.asp','',135,34,'','')


oCMenu.makeMenu('top2','','','','',85,29,buttonproviders,'/images/nav/' + SiteImagePrefix + 'button_providers_on.gif',"","","","","","","OVER()","OUT()")
	oCMenu.makeMenu('sub21','top2','Provider search','http://www.fairview.org/ceii/provider/default.asp','',225,22,'','')
	oCMenu.makeMenu('sub22','top2','Fairview Physician Associates','http://www.fpanetwork.org/','',225,22,'','')
	oCMenu.makeMenu('sub23','top2','University of Minnesota Physicians','http://www.umphysicians.umn.edu/','',225,22,'','')
	oCMenu.makeMenu('sub24','top2','Behavioral Healthcare Providers','http://www.bhpcare.com/','',225,22,'','')
	oCMenu.makeMenu('sub25','top2','Provider Employment Opportunities','http://www.fairview.org/recruitment/explore_careers/physicians/','',225,22,'','')
	oCMenu.makeMenu('sub26','top2','Credentialing','http://www.fairview.org/credentialing/index.asp','',225,22,'','')
	oCMenu.makeMenu('sub27','top2','Secured Provider Portal','http://portal.fairview.org/','',225,22,'','')


oCMenu.makeMenu('top3','','','','',76,29,buttonservices,'/images/nav/' + SiteImagePrefix + 'button_services_on.gif',"","","","","","","OVER()","OUT()")
	oCMenu.makeMenu('sub31','top3','Pharmacy','http://www.fairview.org/pharmacy/','',210,22,'','')
	oCMenu.makeMenu('sub32','top3','Ebenezer','http://www.fairviewebenezer.org/','',210,22,'','')
	oCMenu.makeMenu('sub33','top3','Home Care and Hospice','http://www.fairview.org/homecare/','',210,22,'','')
	oCMenu.makeMenu('sub34','top3','Rehabilitation Services','http://www.fairview.org/rehab/','',210,22,'','')
	oCMenu.makeMenu('sub35', 'top3', 'Care Management', 'http://www.fairview.org/CareManagement/', '', 210, 22, '', '')
	oCMenu.makeMenu('sub36', 'top3', 'Case Management', 'http://www.fairview.org/casemanagement/', '', 210, 22, '', '')
	oCMenu.makeMenu('sub37', 'top3', 'Chemical Dependency', 'http://www.uofmmedicalcenter.org/Services/BehavioralHealth/index.asp', '', 210, 22, '', '')
	oCMenu.makeMenu('sub38','top3','Counseling Centers','http://www.uofmmedicalcenter.org/Services/BehavioralHealth/ClinicalServices/c_496289.asp','',210,22,'','')
	oCMenu.makeMenu('sub39','top3','Compulsive Gambling','http://www.uofmmedicalcenter.org/Services/BehavioralHealth/ClinicalServices/index.asp','',210,22,'','')
	oCMenu.makeMenu('sub40','top3','Mental Health','http://www.uofmmedicalcenter.org/Services/BehavioralHealth/ClinicalServices/c_496307.asp','',210,22,'','')
	oCMenu.makeMenu('sub391','top3','Fairview Partners','http://www.fairviewpartners.org/','',210,22,'','')
	oCMenu.makeMenu('sub392','top3','Minnesota Sports Medicine','http://www.fairview.org/fsoc/c_688832.asp','',210,22,'','')
	oCMenu.makeMenu('sub393','top3','Home Medical Equipment','http://www.fairview.org/hme/','',210,22,'','')
	oCMenu.makeMenu('sub394','top3','Institute for Athletic Medicine','http://www.athletic-medicine.org/','',210,22,'','')
	oCMenu.makeMenu('sub395','top3','Diagnostic Laboratories','http://labguide.fairview.org/','',210,22,'','')
	oCMenu.makeMenu('sub396','top3','Diabetes Care','http://www.fairview.org/diabetes_care/','',210,22,'','')
	oCMenu.makeMenu('sub397','top3','Palliative Care (TLC)','http://www.fairview.org/tlc/','',210,22,'','')
	oCMenu.makeMenu('sub398','top3','Urgent Care','http://www.fairview.org/urgentcare/','',210,22,'','')
	oCMenu.makeMenu('sub399','top3','Spiritual Health Services','http://www.fairview.org/spiritual/index.asp','',210,22,'','')
	oCMenu.makeMenu('sub3991','top3','Fairview Sports and Orthopedic Care','http://www.fairview.org/fsoc/','',210,34,'','')
	oCMenu.makeMenu('sub3992','top3','Fairview Purchasing Network','http://www.fairview.org/purchasing/','',210,22,'','')
	oCMenu.makeMenu('sub3993','top3','Clinical Pastoral Education Center','http://www.fairview.org/cpe/index.asp','',210,22,'','')
	oCMenu.makeMenu('sub3994','top3','Injury Prevention Services','http://www.fairview.org/rehab/Services/c_099416.asp','',210,22,'','')	
	oCMenu.makeMenu('sub3995','top3','Click for more' + unescape("%u2026"),'http://www.fairview.org/services/','',210,22,'','')

oCMenu.makeMenu('top4','','','','',108,29,buttonlibrary,'/images/nav/' + SiteImagePrefix + 'button_library_on.gif',"","","","","","","OVER()","OUT()")
	oCMenu.makeMenu('sub41','top4','Search','http://www.fairview.org/healthlibrary/content/aha_index.htm','',160,22,'','')
	oCMenu.makeMenu('sub42','top4','Adult Advisor','http://www.fairview.org/healthlibrary/content/aha_index.htm','',160,22,'','')
	oCMenu.makeMenu('sub43','top4','Behavioral Advisor','http://www.fairview.org/healthlibrary/content/bha_indexa.htm','',160,22,'','')
	oCMenu.makeMenu('sub44','top4','Cardiology Advisor','http://www.fairview.org/healthlibrary/content/ca_index.htm','',160,22,'','')
	oCMenu.makeMenu('sub45','top4','Eye Advisor','http://www.fairview.org/healthlibrary/content/ea_index.htm','',160,22,'','')
	oCMenu.makeMenu('sub46','top4','Medication Advisor','http://www.fairview.org/healthlibrary/content/ma_index.htm','',160,22,'','')
	oCMenu.makeMenu('sub47','top4','Pediatric Advisor','http://www.uofmchildrenshospital.org/Library/index.asp','',160,22,'','')
	oCMenu.makeMenu('sub48','top4','Senior Health Advisor','http://www.fairview.org/healthlibrary/content/sha_index.htm','',160,22,'','')
	oCMenu.makeMenu('sub49','top4','Sports Medicine Advisor','http://www.fairview.org/healthlibrary/content/sma_index.htm','',160,22,'','')
	oCMenu.makeMenu('sub410','top4','Women' + unescape("%u2019") + 's Health Advisor','http://www.fairview.org/healthlibrary/content/wha_index.htm','',160,22,'','')
	oCMenu.makeMenu('sub411','top4','Assessments, Quizzes<br />and Calculators','http://www.fairview.org/staywell/','',160,34,'','')

oCMenu.makeMenu('top5','','','','',114,29,buttonabout,'/images/nav/' + SiteImagePrefix + 'button_about_on.gif',"","","","","","","OVER()","OUT()")
	oCMenu.makeMenu('sub51','top5','Letter from CEO','http://www.fairview.org/about_fairview/index.asp','',150,22,'','')
	oCMenu.makeMenu('sub52','top5','Mission, Promise,<br />Vision, Values','http://www.fairview.org/About_Fairview/Our_Commitment/index.asp','',150,34,'','')
	oCMenu.makeMenu('sub53','top5','Medical Milestones','http://www.fairview.org/About_Fairview/Milestones/index.asp','',150,22,'','')
	oCMenu.makeMenu('sub54','top5','Patient Safety and<br />Clinical Quality','http://www.fairview.org/patient_safety/index.asp','',150,34,'','')	
	oCMenu.makeMenu('sub55','top5','Patient Billing','http://www.fairview.org/billing/index.asp','',150,22,'','')	
	oCMenu.makeMenu('sub56','top5','Our Team','http://www.fairview.org/About_Fairview/team/index.asp','',150,22,'','')
	oCMenu.makeMenu('sub57','top5','Community Commitment','http://www.fairview.org/About_Fairview/CommunityCommitment/index.asp','',150,34,'','')
	oCMenu.makeMenu('sub58','top5','Innovations in Care Delivery','http://www.fairview.org/Innovation/','',150,34,'','')
	oCMenu.makeMenu('sub59','top5','Newsroom','http://www.fairview.org/About_Fairview/Newsroom/index.asp','',150,22,'','')
	oCMenu.makeMenu('sub510','top5','Locations','http://www.fairview.org/About_Fairview/Locations/index.asp','',150,22,'','')
	oCMenu.makeMenu('sub511','top5','Staff Phone Directory','http://www.fairview.org/phonedirectory/','',150,22,'','')
	oCMenu.makeMenu('sub512','top5','Vendor Certification','http://www.fairview.org/vendor/index.asp','',150,22,'','')
	oCMenu.makeMenu('sub513','top5','Community Care','http://www.fairview.org/About_Fairview/comm_care/index.asp','',150,22,'','')
	oCMenu.makeMenu('sub514','top5','Contact Fairview','http://www.fairview.org/website/c_100338.asp','',150,22,'','')
 	oCMenu.makeMenu('sub515','top5','Service & Procedure Pricing', 'http://www.fairview.org/website/c_615726.asp','',150,34,'','')


//Leave this line - it constructs the menu
oCMenu.construct()
