/* 
	Dynamic Menu 4.0

	Written By:  AA
	Created on:  July 14 2000.
	
	Last Modified on:
	
	April 29, 2005		-- Added a better support for contextual CSS on the <a> tag. Must use dhtmlMenu ID, see "menu_style.css"
						   Changed the Menu Structure, there are 5 items in each array, insted of 6.
	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 = "/arthritis/";		// Make sure that there is a '/' at the end of the URL.
var zIndexValue = 25;

// Navigation's physical atributes
var toolbarTop    = 1;			// Top position of Menu reletive to the top of the web page.
var toolbarLeft   = 1;				// Left postion of Menu reletive to the left of the web page.\
var toolbarHeight = 550;				// Height of the layer that encapsualtes the Navigation		
var toolbarWidth  = 154;				// Width of the same layer as above.

// Background colors for toolbar navigation menu
var navlinkbg    = '';		// Main Head link bgcolor
var navsublinkbg = '';		// sub links bgcolor
var navbarbg     = '#FFFFFF';		// Separating bars between navigation selections.
var navbarHeight = 0;				// 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 = false;
var tooltipTop   = null;			// 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	 = 'rel';		// 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 = '#000000';		// Tooltips border color  			#1274b1
var tooltipbodybg   = '';				// Tooltips content background color	#DCDCAA


// 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/"
// 3th Quotaion = "Target", If a link needs to open a seperate browser window, then "_blank" is used, otherwise "_self" would refer to the same browser
// 4th Quotation = "Tooltip Title", Title of the tooltip box.
// 5th Quotation = "Tooltip Body", Tooltip box's body, where it breifly explains what that link is about.

var menu = [	
				[
					["HOME","index.html","_self","",""]
				],
				
				[
					["Classes","classes/index.html","_self","",""]
				],
								
				[
					["Managing Arthritis","#","_self","",""],
					["Managing your Arthritis","manage/index.html","_self","",""],
					["Self help","manage/highlights/selfHelp.html","_self","",""],
					["Regular exercise","manage/highlights/exercise.html","_self","",""],
					["Talking with your doctor","manage/highlights/doctorVisit.html","_self","",""],
					["Relaxation","manage/highlights/relax.html","_self","",""],
					["Fatigue","manage/highlights/fatigue.html","_self","",""],
					["Diagnosis","manage/highlights/diagnosis.html","_self","",""],
					["Pace yourself","manage/highlights/paceYourself.html","_self","",""],
					["Healthy living","manage/highlights/HealthyLiving.html","_self","",""],
					["Make a SPLASH!","manage/highlights/pool.html","_self","",""],
					["Vacation","manage/highlights/vacation.html","_self","",""],
					["Heat and cold","manage/highlights/heatCold.html","_self","",""]
				],
				
				[
					["Medical Providers","#","_self","",""],
					["What to Know & Ask","providers/knowthis.html","_self","",""],
					["Info for Physicians - <i>PDF</i>","pdf/Validation_Intervention_Programs.pdf","_self","",""]
				],
				
				[
					["Arthritis Facts","#","_self","",""],
					["Arthritis 101","facts/arthritis101.html","_self","",""],
					["Who has arthritis","facts/localnational.html","_self","",""],
					["Osteoarthritis","facts/osteoarthritis.htm","_self","",""],
					["Rheumatoid Arthritis","facts/rhuematoid.htm","_self","",""]
				],
				
				[
					["Resources","#","_self","",""],
					["Partners","resources/partners.html","_self","",""],
					["Utah Dept of Health","resources/udoh.htm","_self","",""],
					["What is going on in your area?","resources/lhd.html","_self","",""],
					["Reports","reports/index.html","_self","",""]
				],
				
				[
					["About Us","aboutus/index.htm","_self","",""]
				]
				
			];
