/* 
	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.babyyourbaby.org/";		// 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  = 148;				// 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 = true;
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   = '#663366';	// Tooltips content background color	#ffffcc


// 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 = [	
				[
					["Financial Help","#","Financial Help","_self","Financial Help","Baby Your Baby can help finance a pregnancy through a form of Prenatal Medicaid."],
					["Overview", "financial/financial.htm", "Overview", "_self", "Overview", ""],
					["Qualifications","financial/qualifications.htm","qualifications","_self","How to qualify for financial help", "Find out what you need to qualify for Baby Your Baby financial help."],
					["Eligibility", "financial/eligibility_chart.htm", "Eligibility Chart", "_self", "Eligibility Chart", "This chart provides information on eligibility for financial assistance."],
					["Where to Apply", "financial/where.htm", "Where to Apply", "_self", "Where to Apply", "Addresses and contact information in Utah where you can apply for Baby Your Baby."],
					["Choosing a Health Care Provider", "financial/choosing_hcp.htm", "Choosing a Health Care Provider", "_self", "Choosing a Health Care Provider", "This information may help you choose a health care provider that accepts the Baby Your Baby pink card and Medicaid insurance."]
				],

				[
					["Before Pregnancy","#","Before Pregnancy","_self","Before Pregnancy","The best start for your baby begins right now, before you are pregnant."],
					["Overview", "beforepregnancy/beforepregnancy.htm", "Overview", "_self", "Overview", ""],
					["Preconception Health","beforepregnancy/precon_health.htm", "Preconception Health", "_self", "Preconception Health", "Women who are in their best health before pregnancy have the best chance of having a healthy baby."],
					["Folic Acid &amp; Vitamins","beforepregnancy/folic_acid.htm","Folic Acid &amp; Vitamins","_self","Folic Acid &amp; Vitamins", "While the causes of most birth defects are not known, there are ways women can reduce the risks."],
					["Where to Find Help","beforepregnancy/findhelp.htm","Where to Find Help","_self","Where to Find Help", "Several agencies in Utah will help pregnant women with pregnancy, childbirth and infant care."],
					["Choosing a Health Care Provider", "beforepregnancy/choosing_hcp.htm", "Choosing a Health Care Provider", "_self", "Choosing a Health Care Provider", "Baby Your Baby will help you learn how Utahs Health Management Organizations can help with your special needs."],
					["When to see your Health Care Provider", "beforepregnancy/when_see_md.htm", "When to see your Health Care Provider", "_self", "When to see your Health Care Provider", " You can lower the risk of birth defects and pregnancy problems by making good health choices before and during your pregnancy."]
				],
				
				[
					["During Pregnancy","#","During Pregnancy","_self","During Pregnancy","What to expect in the months to come."],
					["Overview", "duringpregnancy/duringpregnancy.htm", "Overview", "_self", "Overview", ""],
					["13 Steps to a Healthy Pregnancy","duringpregnancy/13steps.htm", "13 Steps to a Healthy Pregnancy ", "_self", "13 Steps to a Healthy Pregnancy ", "This is a general list of topics that are important to discuss with your provider."],
					["What to Expect", "duringpregnancy/what_to_expect.htm", "What to Expect", "_self", "What to Expect", "Friends and family will be quick to tell you what to expect over the next few months."],
					["Exercise and Pregnancy", "duringpregnancy/exercise_pregnancy.htm", "Exercise and Pregnancy", "_self", "Exercise and Pregnancy", "Regular exercise is just as important when you are pregnant as when you are not."],
					["Eating for Two", "duringpregnancy/eating_for2.htm", "Eating for Two", "_self", "Eating for Two", "A well-balanced choice of foods in the proper portions will help you and you baby grow healthy and strong."],
					["Taking Care of Your Teeth", "duringpregnancy/pregnancy_teeth.htm", "Taking Care of Your Teeth", "_self", "Taking Care of Your Teeth", "Learn why dental care is especially important for expecting mothers."]

				], 
				
				[
					["After Pregnancy","#","After Pregnancy","_self","After Pregnancy","Tips for taking care of your new baby and yourself after your baby is born."],
					["Overview", "afterpregnancy/afterpregnancy.htm", "Overview", "_self", "Overview", ""],
					["Breastfeeding - Getting Started", "afterpregnancy/bf_getstarted.htm", "Breastfeeding - Getting Started", "_self", "Breastfeeding - Getting Started", "This link will help answer your questions about breastfeeding so you can help give your baby a healthy start."],
					["Breastfeeding - At Work or at School", "afterpregnancy/bf_work.htm", "Breastfeeding - At Work or at School", "_self", "Breastfeeding - At Work or at School", "Learn how you can still give your baby the best nutrition possible after you return to work or school."],
					["Breastfeeding and Your Nutrition", "afterpregnancy/nutrition_after.htm", "Breastfeeding and Your Nutrition ", "_self", "Breastfeeding and Your Nutrition ", "Use this information as a guide when planning your menu and grocery list each week."],
					["Exercise After Pregnancy ", "afterpregnancy/exercise_after.htm", "Exercise After Pregnancy ", "_self", "Exercise After Pregnancy ", "Daily moderate exercise will help you sleep better, feel better, get into your “regular” clothes faster..."],
					["Emotional Reactions", "afterpregnancy/emotional_react.htm", "Emotional Reactions", "_self", "Emotional Reactions", "As your body changes during pregnancy and birth, your emotions are bound to be “topsy-turvy” at times."]
				],
				
				[
					["Infant Information","#","Infant Information","_self","Infant Information","Tips to help you take care of your new baby"],
					["Overview", "infantinfo/infantinfo.htm", "Overview", "_self", "Overview", ""],
					["Breastfeeding", "afterpregnancy/bf_getstarted.htm", "Breastfeeding", "_self", "Breastfeeding", "Learn about the many health benefits for both you and the baby."],
					["Dental Care", "infantinfo/baby_teeth.htm", "Dental Care", "_self", "Dental Care", "Learn about taking care of your baby's mouth and teeth."],
					["Infant Nutrition", "infantinfo/infant_nutrition.htm", "Infant Nutrition", "_self", "Infant Nutrition", "Breast milk is the best food for your baby during the first year."],
					["Car Seats", "infantinfo/carseats.htm", "Car Seats", "_self", "Car Seats", "One of the easiest ways to protect our children is to buckle them up every time they are in the car."],
					["Immunizations & Checkups", "infantinfo/imms.htm", "Immunizations & Checkups", "_self", "Immunizations & Checkups", "The Center for Disease Control (CDC) offers a Parents Guide to Childhood Immunization."],
					["SIDS", "infantinfo/sids.htm", "SIDS (Sudden Infant Death Syndrome)", "_self", "SIDS (Sudden Infant Death Syndrome)", "Learn what can be done to reduce the risk of SIDS."]
				], 
				
				[
					["Mind Your Mouth","duringpregnancy/pregnancy_teeth.htm","Mind Your Mouth","_self","Mind Your Mouth","Learn about the connection between the health of your mouth and the health of your baby."]
				], 
				
				[
					["Get Expert Advice","#","Get Expert Advice","_self","Get Expert Advice","Learn from the BYB experts you see on KUTV 2News Fresh Air"],
					["Expert Advice", "expert_advice/expertadvice.htm", "Expert Advice", "_self", "Expert Advice", "Mary and her guest share helpful information on healthy pregnancies and delivery."],
					["Frequently Asked Questions", "expertadvice/faqs.htm", "Frequently Asked Questions", "_self", "Frequently Asked Questions", "List of frequently asked Questions."]
				], 
				
				[
					["Helpful Links","#","Helpful Links","_self","Helpful Links","Links to more organizations to help you and your family"],
					["Overview", "links/links.htm", "Overview", "_self", "Overview", ""],
					["Women, Infants, and Children Program (WIC)", "http://health.utah.gov/wic/", "Women, Infants, and Children Program (WIC)", "_new", "Women, Infants, and Children Program (WIC)", "The Utah WIC Program is committed to providing quality nutrition and breastfeeding education to Utah families."],
					["Pregnancy RiskLine", "http://health.utah.gov/prl/", "Pregnancy RiskLine", "_new", "Pregnancy RiskLine", "Telephone service designed to provide accurate and current information about the effects of environmental exposures on pregnancy..."],
					["Immunization Program", "http://www.immunize-utah.org/", "Immunization Program", "_new", "Immunization Program", "The Immunization Program is designed to inform Utah residents of the importance of timely childhood immunizations and the availability of services in their community."],
					["Reproductive Health Program", "http://www.health.utah.gov/rhp/", "Reproductive Health Program", "_new", "Reproductive Health Program", " The Reproductive Health Program educates women, families, health care providers, and the community about reproductive health issues."],
					["Child Adolescent School Health Program", "http://health.utah.gov/cash/", "Child Adolescent School Health Program", "_new", "Child Adolescent School Health Program", "The Child Adolescent School Health Program the health and well being of Utah&rsquo;s children from birth and 21 years of age."],
					["Children&rsquo;s Health Insurance Program (CHIP) ", "http://www.utahchip.org/", "Children&rsquo;s Health Insurance Program (CHIP) ", "_new", "Children&rsquo;s Health Insurance Program (CHIP)", "CHIP provides health insurance for Utah children up to age 19 who do not have health insurance..."],
					["March of Dimes ", "http://www.marchofdimes.com/home.asp", "March of Dimes ", "_new", "March of Dimes ", "Dedicated to improving the health of babies by preventing birth defects, premature births and infant mortality."]
				], 
				
				[
					["Hotline","hotline/hotline.htm","Hotline","_self","Hotline","No question is too simple and the hotline operators are friendly and helpful. Call us today!"]
				], 
				
				[
					["Materials","materials/keepsake_info.htm","Materials","_self","Materials","Learn about your health and that of your growing baby with a Baby Your Baby Keepsake Book"]
				],
				
				[
					["Ordering","#","Ordering","_self","Ordering","Order Keepsakes, newsletters and more"],
					["Overview", "ordering/ordering.htm", "Overview", "_self", "Overview", ""],
					["Individual Orders", "ordering/indv_form.htm", "Individual Orders", "_self", "Individual Orders", ""],
					["Health Care Professionals Orders", "ordering/prof_form.htm", "Health Care Professionals Orders", "_self", "Health Care Professionals Orders", ""]
				],
				
				[
					["About Us","#","About Us","_self","About Us","Learn more about the Baby Your Baby program"],
					["About Us","links/about_us.htm","About Us","_self","About Us","Learn more about the history of the Baby Your Baby program"],
					["Contact Us","links/contact_us.htm","Contact Us","_self","Contact Us","Contact the Baby Your Baby program"]
				]
				
			];
