
switch (NavType) {
	case 'foundation':
		
		
	// About Us Section
	AddParent("About Us","");
		AddChild("Fundraising Priorities","foundation/priorities.html");
		//AddChild("Mision, Vision, Values","");//foundation/mision.html
		AddChild("Board of Directors","foundation/governors_board.htm");
		AddChild("Privacy Statement","foundation/fundprivacy.htm");
		AddChild("Donor Bill of Rights","foundation/fundrights.htm");
		AddChild("Contact Us","foundation/contact_us.htm");//foundation/contact_us.htm

	// Making a Difference Section
	AddParent("Making a Difference","");
		AddChild("Current Annual Appeals","foundation/fundappeals.htm");
		AddChild("Volunteering","foundation/fund_volunteer.htm");
		AddChild("Your Stories","foundation/fundtestimonials.htm");
		
	// Media/Publications Section
	AddParent("Media/Publications","");
		AddChild("Video Library","foundation/fundvideo.htm");
		AddChild("Health E-News","foundation/fundhealthconnections.htm");
		AddChild("Annual Report","foundation/fund_annualreport.html");
		
	// Ways To Give Section
	AddParent("Ways To Give","");
		AddChild("Annual","foundation/waysofgiving/annual_giving.htm");
		AddChild("Tribute and Cards","foundation/tributes");
		AddChild("Monthly Giving","foundation/waysofgiving/monthlygiving.htm");	
		AddChild("Matching Gifts","foundation/waysofgiving/matching_gifts.htm");	
		AddChild("Endowment","foundation/waysofgiving/endowment_fund.htm");	
		AddChild("Planned Giving","foundation/waysofgiving/gifts_of_assets.htm");	
		AddChild("Baby Wall","foundation/babywall");	
		AddChild("Privacy Statement","foundation/fundprivacy.htm");
		//AddChild("FAQs","foundation/faqs.htm");
	
	// Events Section
	AddParent("Events","");
		AddChild("Upcoming Events","foundation/specialevents");
		AddChild("Third Party Events","foundation/specialevents/se_thirdparty.html");	
		AddChild("Past Events","foundation/specialevents/past.htm");
		AddChild("Volunteering","foundation/fund_volunteer.htm");
		
	// Donor Recognition Section
	AddParent("Donor Recognition","");
		AddChild("Donor Acknowledgement","foundation/donorwall");
		AddChild("Donor Clubs","foundation/donorwall/clubs.html");
		AddChild("Donor Spotlight","foundation/donorwall/spotlight.html");	
		AddChild("Baby Wall","foundation/babywall");	
		
	// Campaign Section
	//AddParent("Campaign","");
		//AddChild("Donor Acknowledgement","foundation/donorwall");
		
	// Donor Recognition Section
	AddParent("Home","foundation/index.html");
		
	break;
	case 'main':


// About Us Section
AddParent("About Us","");
	AddChild("About Us","about_us/index.html");
		//AddGrandChild("About HHS","about_hhs_hhs.php");
	AddChild("President’s Message","about_us/president.html");
	AddChild("Our Sites","about_us/sites.html");
	AddChild("Mission, Vision & Values","about_us/mvv.html");
	AddChild("Board of Directors","about_us/board-directors.html");
	AddChild("Leadership Team","about_us/leadership.html");
	AddChild("Strategy & Leadership Plan","about_us/strategic.html");
	AddChild("Our New Visual Identity","about_us/identity.html");
	//AddChild("Accreditation","about_us/accreditation.html");
	AddChild("Privacy Policy","about_us/privacy.html");
	//AddChild("Privacy of Personal and Health &nbsp;&nbsp;&nbsp;Information","about_us/privacyprinc.html");
	AddChild("Accessibility Plan","downloads/Accessibility_Plan_04-05.pdf");
	//AddChild("Recognition & Awards","about_us/recognition.html");
	//AddChild("History Milestones","about_us/history.html");
	//AddChild("Facts & Figures","about_us/facts.html");
	
// Programs & Services
AddParent("Programs & Services","");
	//AddChild("A-Z Index","programs/list.html");
	AddChild("Diagnostic Services","programs/diagnostic.html");
	AddChild("Emergency & Urgent Care","programs/emergency.html");
	AddChild("Family & Community Medicine","programs/family.html");
		AddGrandChild("Family Practice Teaching Unit","programs/family_teachingunit.html");
		AddGrandChild("Undergraduate Program","programs/family_undergraduate.html");			
		AddGrandChild("Postgraduate Program","programs/family_postgraduate.html");
		AddGrandChild("After-Hours Clinic","programs/family_afterhours.html");
		AddGrandChild("Community-Based Research","programs/family_community.html");
		AddGrandChild("Looking for a Family Physician","programs/family_physician.html");
	AddChild("Genetics","programs/genetics.html");
		AddGrandChild("Labs","programs/genetics_labs.html");
		AddGrandChild("Genetics","programs/genetics_clinical.html");
		AddGrandChild("Regional","programs/genetics_regional.html");
	AddChild("Laboratory Medicine","programs/laboratory.html");
		AddGrandChild("Clinical Laboratory","programs/laboratory_clinical.html");
		AddGrandChild("Our Facilties","programs/laboratory_clinical.html#facilities");
		AddGrandChild("Teaching Role and Partnerships","programs/laboratory_teaching.html");
	AddChild("Long-Term Care","programs/long-term.html");
		AddGrandChild("Long-Term Care Home","programs/long-term_home.html");
		AddGrandChild("Our Caring Philosophy","programs/long-term_philosophy.html");
		AddGrandChild("Celebrating Diversity","programs/long-term_diversity.html");
		AddGrandChild("Frequently Asked Questions","programs/long-term_faqs.html");
		//AddGrandChild("Take a Video Tour","");
	AddChild("Medical Program","programs/medical.html");
	AddChild("Maternal Newborn Care","programs/maternal.html");
		AddGrandChild("Prenatal Classes","programs/maternal_classes.html");
		AddGrandChild("Pregnancy Clinics","programs/maternal_clinics.html");
		AddGrandChild("Prenatal Genetic Testing","programs/genetics.html");
		AddGrandChild("Labour and Delivery","programs/maternal_labour.html");
		AddGrandChild("Mother and Baby Unit ","programs/maternal_unit.html");
	AddChild("Mental Health","programs/mental.html");
		AddGrandChild("Child and Adolescent Mental Health","programs/mental_child.html");
		AddGrandChild("Adult Mental Health","programs/mental_adult.html");
		AddGrandChild("Geriatric Mental Health","programs/mental_geriatric.html");
		AddGrandChild("Eating Disorders","programs/mental_eating.html");
		AddGrandChild("Addiction Program","programs/mental_addiction.html");
	AddChild("Paediatrics","programs/paediatrics.html");
		AddGrandChild("Inpatient Paediatric Unit","programs/paediatrics_inpatient-unit.html");
		AddGrandChild("Inpatient Support Clinic","programs/paediatrics_inpatient-unit.html");
		AddGrandChild("Neonatal Intensive Care","programs/paediatrics_inpatient-unit.html#neonatal");
		//AddGrandChild("Emergency and Urgent Care","programs/");
		AddGrandChild("Paediatric Surgery","programs/paediatrics_inpatient-unit.html#surgery");
		AddGrandChild("Specialized Outpatient Services","programs/paediatrics_specialized.html");
		AddGrandChild("After-Hours Clinics ","programs/paediatrics_afterhours.html");
	AddChild("Surgery","programs/surgery.html");
		AddGrandChild("Inpatient and Outpatient Surgery","programs/surgery_inpatient.html");
		AddGrandChild("Surgical Specialties","programs/surgery_specialties.html");
		AddGrandChild("Cancer Surgery","programs/surgery_cancer.html");
		AddGrandChild("Paediatric Surgery","programs/surgery_paediatric.html");
	AddChild("Additional Health Services","programs/other.html");
	
// Patients & Visitors Section		
AddParent("Patient & Visitor<br>&nbsp;&nbsp;&nbsp;Information","");
	AddChild("Maps & Directions","patient-visitors/maps.html");
	AddChild("Visiting","patient-visitors/visiting.html");
	AddChild("For Your Safety","patient-visitors/safety.html");
	AddChild("Hospital Amenities & Services","patient-visitors/services.html");		
	AddChild("Planning Your Hospital Stay","patient-visitors/plan-your-stay.html");
	AddChild("During Your Hospital Stay","patient-visitors/during-your-stay.html");		
	AddChild("Your Health Care Team","patient-visitors/team.html");
	AddChild("Leaving the Hospital After Your Stay","patient-visitors/leaving.html");
	AddChild("Pastoral Services","programs/other_pastoral.html");
	AddChild("Protecting Patient Privacy","patient-visitors/privacy.html");			
	AddChild("Useful Phone Numbers","about_us/contact_us.html");
	
// Programs & Services Section
AddParent("Foundation","foundation");
	
		
// Our Foundations Section		
AddParent("Careers","");
	AddChild("Why Choose NYGH?","careers");
	AddChild("Career Opportunities","http://jobs.workopolis.com/jobshome/db/nygh.featured_joblist?pi_employer=361340");
	AddChild("FAQs","http://works.workopolis.com/customers/nygh/faq.html");

// Our Volunteers Section		
//AddParent("Health Professionals","");		
	
// Our Volunteers Section		
AddParent("Volunteer Opportunities","");
	AddChild("Volunteer Services Profile","volunteer/profile.html");
	AddChild("Become a Volunteer","volunteer/become.html");
	AddChild("Frequently Asked Questions","volunteer/faqs.html");	
	AddChild("Contact Us","profile.html#contact");
			
// Our Volunteers Section		
AddParent("Teaching & Learning","");
	//AddChild("Our Teaching Role","");
	//AddChild("&nbsp;&nbsp; Medical Education","education/medical.html");				
	AddChild("Library","Library/Library.html");	
	AddChild("Continuing Medical Education","education/medical.html");	
	AddChild("Research","education/research.html");	
	
// Our Volunteers Section		
AddParent("Serving Our Community","");
	//AddChild("Serving Our Community","community/index.html");
	AddChild("Multicultural Services","community/multicultural.html");
	AddChild("French Language Services","community/french.html");
	AddChild("Community Newsletter","publications/index.html");
	//AddChild("Community Health & Wellness","");
	AddChild("Speakers' Bureau","community/speakers.html");
	//AddChild("Useful Links","");
				
// Our Volunteers Section		
AddParent("What’s Happening","");
	AddChild("Hospital News & Events","happening/index.html");
	AddChild("Community Health & Wellness","happening/wellness.html");
	AddChild("Foundation Events","foundation/specialevents");
			
// Our Volunteers Section		
AddParent("Publications","");
	AddChild("Strategic Document","about_us/strategic.html");
	AddChild("Annual Report","downloads/annualreport_2005.pdf");
	AddChild("Community Newsletter","publications/index.html");
	AddChild("Privacy Policy","about_us/privacy.html");
	AddChild("Accessibility Plan","downloads/Accessibility_Plan_04-05.pdf");
	
	break;
	default:
	


}

ParentWidth = 165

//* You have the option of individually setting each parents width or using the loop to set them all to the same value
	// *Note: These widths must not total more than the widtb of the nav bar when using a horizontal bar
//Parents[0].Width = ParentWidth // First Parent width
//Parents[1].Width = ParentWidth // Second Parent width
//Parents[2].Width = ParentWidth // Third Parent width
//Parents[3].Width = ParentWidth // Fourth Parent width
//Parents[4].Width = ParentWidth // Fifth Parent width
//Parents[5].Width = ParentWidth // Sixth Parent width
//Parents[6].Width = ParentWidth // Sixth Parent width
//Parents[7].Width = ParentWidth // Sixth Parent width
//Parents[8].Width = ParentWidth // Sixth Parent width
//Parents[9].Width = ParentWidth // Sixth Parent width

// Use this loop to set all Parent widths to the same value
LengthValue = Parents.length-1
for (LoopCount=0;LoopCount<LengthValue;LoopCount++){

	Parents[LoopCount].Width = ParentWidth

}

// General Specs
RMRootFolder = "file:///P:/111NYGH/html/"

HostID = window.location+" "

if ((HostID.indexOf("nygh.on.ca") != -1) || (HostID.indexOf("205.189.13.234") != -1)) {
OnLineRootFolder = "http://"+window.location.host+"/"
} else {
OnLineRootFolder = "http://www.nygh.on.ca/"
}


if (HostID.indexOf("111NYGH") != -1) {
	RootFolder = RMRootFolder
} else if (HostID.indexOf("http") != -1) {
	RootFolder = OnLineRootFolder
} else if (HostID.indexOf("home.html") != -1) {
	RootFolder = ""
} else if (HostID.indexOf("home.html") == -1) {
	RootFolder = "../"
}

LiveDomain = "www.nygh.on.ca"


PageWidth=718
ParentsHeight = 20 // Parent row height

ParentDisplayType = "vertical" // "vertical" or "horizontal"
ParentBackground = "ffffff"
ParentBackgroundCurrent = "E97E00"
ParentBackgroundHighlight = "72D4CD"
ParentText = "474747"
ParentTextHighlight = "ffffff"
ParentTextCurrent = "ffffff"
ParentBorderLeft = ""
ParentBorderRight = ""
ParentBorderLeftHighlight = ""
ParentBorderLeftCurrent = "E97E00"
ParentBorderRightHighlight = ""
ParentBorderRightCurrent = "E97E00"
ParentBorderTop = "474747"
ParentBorderBottom = ""
ParentBorderTopHighlight = "474747"
ParentBorderTopCurrent = "E97E00"
ParentBorderBottomHighlight = ""
ParentBorderBottomCurrent = "E97E00"

ChildBackground = "F2F5E3"
ChildBackgroundHighlight = ParentBackgroundHighlight
ChildText = "474747"
ChildTextHighlight = ParentTextHighlight
ChildBorderLeft = ""
ChildBorderRight = ""
ChildBorderLeftHighlight = ""
ChildBorderRightHighlight = ""
ChildBorderTop = "474747"
ChildBorderBottom = ""
ChildBorderTopHighlight = "474747"
ChildBorderBottomHighlight = ""
ChildWidth = 230 // Width of child
ChildHeight = 20 // height of child
ChildLeft = ParentWidth // Distance of child from left

GrandChildWidth = ChildWidth // width of grand child
GrandChildHeight = 20 // height of grandchild
GChildBackground = ChildBackground
GChildBackgroundHighlight = ParentBackgroundHighlight
GChildText = ChildText
GChildTextHighlight = ParentTextHighlight
GChildBorderLeft = ChildBorderLeft
GChildBorderRight = ChildBorderRight
GChildBorderLeftHighlight = ChildBorderLeftHighlight
GChildBorderRightHighlight = ChildBorderRightHighlight
GChildBorderTop = ChildBorderTop
GChildBorderBottom = ChildBorderBottom
GChildBorderTopHighlight = ChildBorderTopHighlight
GChildBorderBottomHighlight = ChildBorderBottomHighlight

DonateNowBackgroundHighlight = ParentBackgroundHighlight
DonateNowBackground = "C1CC89"

TopBarText = "F09933"
TopBarTextHighlight = "00AFAD"



RightBarStarts = 350
UnderConstruction = "Under Construction. Please check back later."
// Advanced Specs

YDistanceFromTop = 98

TemplateType = "sub2" // Default template type

