/* 
	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 = "/meth/";		// Make sure that there is a '/' at the end of the URL.
var zIndexValue = 25;

// 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  = 178;				// 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     = '';		// 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 = true;
var tooltipTop   = 10;			// Tooltip's Top position; set to 'null' if want to be same line as toolbar
var tooltipLeft  = 10;			// 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 = '';		// 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 "_self" 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 =	[		
		   		[
					["What is Meth","index.html","_self","What is meth","Description and demographics of meth"], 
					["What is Meth","html/Whatismeth/index.html","_self","",""],
					["Environment","html/Whatismeth/environment.html","_self","",""],
					["Methods of Use","html/Whatismeth/methodsofuse.html","_self","",""] 					 					
									
				], 
				
				[
					["Property Decontamination","index.html","_self","Property Decontamination","Information on decontamination"],
					["Decontamination Standard","html/Decontamination/index.html","_self","",""],
					["Decontamination Details","html/Decontamination/Decondetails.html","_self","",""],
					["Decontamination Specialists","html/Decontamination/decontaminationspecialists.html","_self","",""],
					["Meth and Your Property","html/Decontamination/PropertyTransactions/PropertyTransactions.html","_self","",""],
					["Additional Resources","html/Decontamination/AdditionalResources.html","_self","",""]
										
				], 
				
				[
					["Regulations and Legislation", "index.html", "_self", "", "Utah Rule 392-600 and other legislation-Federal regulatory agencies, " ],
					["Utah Rules and Regulations", "html/RegulationsandLegislation/StateRuleIndex.html", "_self", "", "" ],
					["Rule 392-600", "html/RegulationsandLegislation/392-600.html", "_self", "", "" ]
						
				],
				
				[
					["Health Concerns", "#", "_self", "", "Information on acute and chronic health effects for adults and children and emergency response protocols " ],
					["General Health Concerns", "html/Healthconcerns/index.html", "_self", "", "" ],
					["Adults", "html/Healthconcerns/AdultEffects.html", "_self", "", "" ],
					["Children", "html/Healthconcerns/Children.html", "_self", "", "" ],
					["Animals", "html/Healthconcerns/Animals.html", "_self", "", "" ],
					["Therapeutic Uses", "html/Healthconcerns/TherapeuticUse.html", "_self", "", "" ],
					["References", "html/Healthconcerns/HealthConcernsReferences.html", "_self", "", "" ]
					
				],
				
				[
					["Emergency and First Responders", "#", "_self", "", "Suggested Clandestine Meth Lab and Use Response Protocol for Utah Emergency Services, Social Services, and Public Health Responders" ],
					["Emergency and First Responders", "html/EMS/index.html", "_self", "", "" ],
					["What is known", "html/EMS/Whatisknown.html", "_self", "", "" ],
					["Child Protection Procedures", "html/EMS/ChildProtectionProcedures.html", "_self", "", "" ],
					["Entry Recommendations", "html/EMS/EntryRecommendations.html", "_self", "", "" ],
					["Decontamination Procedures", "html/EMS/DecontaminationProcedures.html", "_self", "", "" ],
					["References", "html/EMS/References.html", "_self", "", "" ]
					
				],

				[
					["Toxicology of Meth", "#", "_self", "", "Breakdown of chemicals associated with meth " ],
					["Acetic Anhydride", "html/ToxicologyofMeth/AceticAnhydride.html", "_self", "", "" ],
					["Anhydrous Ammonia", "html/ToxicologyofMeth/AnydrousAmmonia.html", "_self", "", "" ],
					["Hydrogen Chloride", "html/ToxicologyofMeth/HydrogenChloride.html", "_self", "", "" ],
					["Hypophosphorous Acid", "html/ToxicologyofMeth/HypophosphorousAcid.html", "_self", "", "" ],
					["Iodine", "html/ToxicologyofMeth/iodine.html", "_self", "", "" ],
					["Lead", "html/ToxicologyofMeth/lead.html", "_self", "", "" ],
					["Lithium", "html/ToxicologyofMeth/Lithium.html", "_self", "", "" ],
					["Mercury", "html/ToxicologyofMeth/Mercury.html", "_self", "", "" ],
					["Methamphetamine", "html/ToxicologyofMeth/methamphetamine.html", "_self", "", "" ],
					["Methanol", "html/ToxicologyofMeth/methanol.html", "_self", "", "" ],
					["Phenyl 2 Propanone", "html/ToxicologyofMeth/Phenyl2Propanone.html", "_self", "", "" ],
					["Phenyl Acetic Acid.", "html/ToxicologyofMeth/PhenylAceticAcid.html", "_self", "", "" ],
					["Phosphine", "html/ToxicologyofMeth/phosphine.html", "_self", "", "" ],
					["Pseudoephedrine", "html/ToxicologyofMeth/Pseudoephedrine.html", "_self", "", "" ],
					["Red Phosphorous", "html/ToxicologyofMeth/Redphosphorous.html", "_self", "", "" ],
					["Sodium Acetate", "html/ToxicologyofMeth/SodiumAcetate.html", "_self", "", "" ],
					["Sodium Hydroxide", "html/ToxicologyofMeth/SodiumHydroxide.html", "_self", "", "" ],
					["Solvents", "html/ToxicologyofMeth/Solvents.html", "_self", "", "" ]
					
					
				],
				
				
				
				[
					["Meth in Other States", "#", "_self", "", "Legislation- regulations- and programs from various states" ],
					["Meth, Utah, and the Nation", "html/Resources/OtherStates/index.html", "_self", "", "" ],
					["California", "html/Resources/OtherStates/California.html", "_self", "", "" ],
					["Colorado", "html/Resources/OtherStates/Colorado.html", "_self", "", "" ],
					["Connecticut", "html/Resources/OtherStates/Connecticut.html", "_self", "", "" ],
					["Georgia", "html/Resources/OtherStates/Georgia.html", "_self", "", "" ],
					["Hawaii", "html/Resources/OtherStates/Hawaii.html", "_self", "", "" ],
					["Kentucky", "html/Resources/OtherStates/Kentucky.html", "_self", "", "" ],
					["Maine", "html/Resources/OtherStates/Maine.html", "_self", "", "" ],
					["Maryland", "html/Resources/OtherStates/Maryland.html", "_self", "", "" ],
					["Michigan", "html/Resources/OtherStates/Michigan.html", "_self", "", "" ],
					["Minnesota", "html/Resources/OtherStates/Minnesota.html", "_self", "", "" ],
					["Nebraska", "html/Resources/OtherStates/Nebraska.html", "_self", "", "" ],
					["North Carolina", "html/Resources/OtherStates/NorthCarolina.html", "_self", "", "" ],
					["Tennesse", "html/Resources/OtherStates/Tennesse.html", "_self", "", "" ],
					["Tribal Nations", "http://www.ncai.org/meth/", "_self", "", "" ],
					["Virginia", "html/Resources/OtherStates/Virginia.html", "_self", "", "" ],
					["Washington", "html/Resources/OtherStates/Washington.html", "_self", "", "" ],
					["National Comparison", "docs/pdfs/Statebystatefinal.pdf", "_self", "", "" ]
					
				]
			];
			