/* 
	Dynamic Menu 3.0.1

	Written By:  AA
	Created on:  July 14 2000.
	
	Last Modified on:
	
	April 1, 2004		-- Fixed a bug for extrnal Links. 
	March 30, 2004		-- Added support for subfolders and resolved the issue with menu images not found. 
						   Also, added was the better way to suppor for the hanging menu on <img name="menu".....> property.
	October 9, 2003		-- Added a place holder for the menu. a blank image with name of "menu" must be present in the page.
	May 5, 2003			-- Separated Menu attributes and settings from nav.js
	May 1, 2003			-- Improving the Tooltip positioning.
	April 7, 2003		-- Added more flexibility for design and ToolTip.
	April 2, 2003		-- Added Tooltip Layer capability
	October 23, 2001	-- Added support for Netscape 6.0
*/				 

// Program URL, Indicates the ROOT of your web page.
//var progURL = "";		// Make sure that there is a '/' at the end of the URL.
var progURL = "http://www.health.utah.gov/cfhs/bhp/";		// Make sure that there is a '/' at the end of the URL.

// Navigation's physical atributes
var toolbarTop    = 0;			// Top position of Menu reletive to the top of the web page.
var toolbarLeft   = 0;				// Left postion of Menu reletive to the left of the web page.\
var toolbarHeight = 300;				// Height of the layer that encapsualtes the Navigation		
var toolbarWidth  = 155;				// Width of the same layer as above.

// colors for toolbar navigation menu
var navlinkbg    = '#CCCCCC';		// Main Head link bgcolor
var navsublinkbg = '#CCCCCC';		// sub links bgcolor
var navbarbg     = '#FFFFFF';		// Separating bars between navigation selections.
var navbarHeight = 1;				// Height of the seperating bars.

// tooltip physical Attributes
// if Top and Left are 'null' then the tool tip will move up and down 10 px away from the left hand side of the nav bar.
// if Top and left have a value but Pos is 'abs' then the Top and Left values used to place the tool tip at that position. (absolute)
// if Top and Left have a value but Pos is 'rel' then the Top and Left values are used to offset the Position from the mouse location. (relative)

var tooltipEnabled = true;		// Turns tooltip on or off. true = on, false = off.
var tooltipTop   = 270;			// Tooltip's Top position; set to 'null' if want to be same line as toolbar
var tooltipLeft  = null;			// Tooltip's Left position; set to 'null' if want to be 10px away from toolbar
var tooltipPos	 = 'abs';		// Tooltip's Positioning, "abs" and "rel"; abs = absolute, rel = relative;
var tooltipWidth = 130;			// Tooltips overall width.

// colors for tooltips
var tooltipborderwidth = 1;				// Tooltips border thickness
var tooltipborderbg = '#333333';		// Tooltips border color  
var tooltipbodybg   = '#CCCCCC';		// Tooltips content background color

// Menu content First element is the Heading and the rest is the subheading.
// 1st quotaion = "Link's title", this is what is going to be shown as a link on the web page.
// 2nd quotaion = "Location", This is where the link referes to, either an HTML page or a remote link as in "http://www.yahoo.com/"
// 3rd Quotaion = "Status bar caption", when the mouse is hoverd over the link this caption is shown on the status bar of the web browser.
// 4th Quotaion = "Target", If a link needs to open a seperate browser window, then "_blank" is used, otherwise "_self" would refer to the same browser
// 5th Quotation = "Tooltip Title", Title of the tooltip box.
// 6th Quotation = "Tooltip Body", Tooltip box's body, where it breifly explains what that link is about.

var menu = [   
				[
				 	["A Healthier You Legacy Awards","http://health.utah.gov/ahy/","A Healthier You Legacy Awards Program","_blank","A Healthier You Legacy Awards","A Healthier You Legacy Awards (AHY) was originally developed in conjunction with the 2002 Olympic Winter Games. Post-Olympics, AHY continues to help campuses, communities, schools, and worksites reach their goals in promoting, protecting, and improving the health and well-being of individuals in five areas: Healthy Behaviors, Nutrition, Physical Activity, Preventive Services,and Safety"]
				],
				
				[
				 	["Arthritis","http://health.utah.gov/arthritis/","Arthritis Program","_blank","Arthritis Program","The Arthritis Program provides information on local programs and services including free Arthritis Seminars, Arthritis Aquatics, People with Arthritis Can Exercise (PACE), and Arthritis Self-Help Courses."]
				],
				
				[ 
					["Asthma","http://health.utah.gov/asthma/","Asthma Program","_blank","Asthma Program","The Asthma Program seeks to promote asthma-friendly communities and to provide resources to the public, patients, and providers."]
				],
				
				[
					["Baby Your Baby","http://www.babyyourbaby.org/","Baby Your Baby Program","_blank","Baby Your Baby Program","Baby Your Baby provides expecting mothers and their families with information, referrals, help paying for prenatal care, and access to community services."]
				],
				
				[
					["Cancer Control","http://www.health.utah.gov/utahcancer/","Cancer Program","_blank","Cancer Program","The Utah Cancer Control Program offers free and low cost breast and cervical cancer screening statewide.  The program also collaborates with agencies that provide services directed toward comprehensive cancer prevention and control."]
				],
				
				[
					["Check Your Health","http://www.checkyourhealth.org/","Check Your Health","_blank","Check Your Health","Check Your Health works to improve the overall health of Utahns by encouraging physical activity and good nutrition."]
				],
				
				[
					["Chronic Disease Genomics","http://health.utah.gov/genomics/","Chronic Disease Genomics","_blank","Chronic Disease Genomics","With the completion of the Human Genome Project, the genomic era is expected to bring about a tidal wave of information that promises to revolutionize medicine and public health as we know it today. Explore our web site to learn more about what genomics is and how it applies to disease prevention and health promotion."]
				],
				
				[
					["Diabetes Prevention and Control","http://health.utah.gov/diabetes/","Diabetes Prevention & Control","_blank","Diabetes Prevention & Control","The Diabetes Prevention & Control Program works in partnerships to improve the quality of life of all Utahns at risk for, or affected by, diabetes."]
				],
				
				[
					["Healthy Utah","http://www.healthyutah.org/","Healthy Utah","_blank","Healthy Utah","Healthy Utah is a health and wellness program offered to all State of Utah employees, other PEHP subscribers and their spouses."]
				],

				[
					["Heart Disease & Stroke Prevention","http://www.hearthighway.org/","Heart Disease & Stroke Prevention","_blank","Heart Disease & Stroke Prevention","The Heart Disease & Stroke Prevention Program is dedicated to improving blood pressure, cholesterol, the nutrition and physical activity levels, in order to prevent cardiovascular disease and improve overall quality of life."]
				],
				
				[
					["Physical Activity, Nutrition, and Obesity","http://www.health.utah.gov/obesity/","Physical Activity, Nutrition, and Obesity Program","_blank","Physical Activity, Nutrition, and Obesity Program","The aim of the Physical Activity, Nutrition, and Obesity Program is to reduce the number of Utahns who are overweight and obese, and to finally slow the rate of growth of obesity in Utah. This goal can be reached through a combination of system and environmental changes to prevent obesity and promote healthy weight."]
				],
				
				[
					["Tobacco Prevention &amp; Control","http://www.tobaccofreeutah.org/","Tobacco Prevention &amp; Control Program","_blank","Tobacco Prevention &amp; Control Program","The Tobacco Prevention &amp; Control Program focuses on eliminating exposure to environmental tobacco smoke, preventing youth from starting tobacco use, promoting cessation among adults and youth, and eliminating disparities."]
				],
				
				[
					["Utah Cancer Action Network (UCAN)","http://www.ucan.cc/","Utah Cancer Action Network (UCAN)","_blank","Utah Cancer Action Network (UCAN)","The mission of UCAN is to reduce cancer incidence and mortality in Utah through collaborative efforts that provide services and programs directed toward comprehensive cancer prevention and control. It is the hope of the UCAN that through a collaborative effort, the plan’s goals and objectives will be achieved, and the burden of cancer among Utahns will be reduced. These efforts are considered high priority activities that encompass the spectrum of cancer care including Prevention, Early Detection, Treatment, and Quality of Life."]
				],
				
				[
					["Utah Council for Worksite Health Promotion","http://health.utah.gov/worksitewellness","Utah Council for Worksite Health Promotion","_blank","Utah Council for Worksite Health Promotion","The Utah Council for Worksite Health Promotion is your local connection to worksite health promotion and wellness information in the state of Utah."]
				],
				
				[
					["Violence &amp; Injury Prevention","http://www.health.utah.gov/vipp/","Violence &amp; Injury Prevention","_blank","Violence &amp; Injury Prevention Program","The Violence and Injury Prevention Program works with many community partners to help reduce injury and violence.  We analyze data and report injury trends, provide prevention information, teach safe behaviors, and promote policies to help people be safe and well."]
				],
				
				[
					["Bureau Reports","http://ibis.health.utah.gov/publications/BHP.html","Link to Bureau reports on the IBIS Web site","_blank","Bureau reports on the IBIS Web site","Link to Bureau reports on the IBIS Web site"]
				]
			];
