// ** BEFORE EDITING THIS FILE !!!

// Make sure you download the latest version from the NYGH live server



// Adding a parent? Note that unlike children and grandchildren, there

// is a hardcoded list of parents in header.js This list tells the pages

// which parent to display. Make sure you add any new parents to that list

// or the wrong parents will be highlighted. 



switch (NavType) {

	case 'foundation':

		
		

	// About Us Section

	AddParent("About Us","");

		AddChild("Fundraising Priorities","foundation/priorities.html");

		AddChild("Mission, 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



	// Embracing Health Section - changed from Making A Difference, July 28, 2009, slr.

	AddParent("Embracing Health","http://www.nygh.on.ca/embracinghealth");

	// Removed as per request Aug-25-09 dmr             	AddChild("Current Annual Appeals","foundation/fundappeals_dev.htm");

	

	// Your Stories Section - 05/14/08, slr.

	// Changed to 'Special People and Stories' as per client request, March 5, 2009, slr.

	AddParent("Special People and<br>&nbsp;&nbsp;&nbsp;Stories","foundation/fundtestimonials.htm");

		

	// Media/Publications Section

	AddParent("Media/Publications","");

		AddChild("Video Library","foundation/fundvideo.htm");

		AddChild("Heritage Newsletter","foundation/heritage_circle.htm");

		AddChild("Health E-News","foundation/fundhealthconnections.htm");

		AddChild("Annual Report","foundation/fund_annualreport.html");

		AddChild("Embracing Health Newsletter","foundation/embracinghealth_newsletters.htm");

		

	// Ways To Give Section

	AddParent("Ways To Give","");

		AddChild("Gifts of Shares","foundation/waysofgiving/gifts_of_shares.htm");

		AddChild("Annual","foundation/waysofgiving/annual_giving_dev.htm");

		AddChild("Major Gifts","foundation/waysofgiving/major_gifts.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("Volunteering","foundation/fund_volunteer.htm"); 
		// Moved from Making A Difference as per dp request, July 28, 2009, slr.

		AddChild("Privacy Statement","foundation/fundprivacy.htm");

		//AddChild("FAQs","redesign/foundation/faqs.htm");

	

	// Donor Care Centre - 05/26/08, slr.

	AddParent("Donor Care Centre","foundation/donorcentre");

	

	// Events Section

	AddParent("Events","");

		AddChild("Upcoming Events","foundation/specialevents");

		AddChild("Community 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","redesign/foundation/donorwall");

		

	// Donor Recognition Section

	AddParent("Home","foundation/index.html");

		

	break;

	case 'main':



	

// Programs & Services

AddParent("Programs & Services","");

	AddChild("Cancer Care","programs/cancer_care.html");

	AddChild("Child & Teen Program","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("Diagnostic Services","programs/diagnostic.html");

AddChild("Elder 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("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("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("Medicine Program","programs/medical.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("Pharmacy Services","programs/pharmacy_services.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 Clinical & Health Services","programs/other_clinical_services.html");



	

// Patients & Visitors Section		

AddParent("Patient & Visitor<br>&nbsp;&nbsp;&nbsp;Information","");

	AddChild("Maps & Directions","patient-visitors/maps.html");

	AddChild("Virtual Tour","http://www.bluelemonclient.com/nygh/");

        AddChild("Visiting","patient-visitors/visiting-nygh.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("Pay Your Hospital Bill Online","https://www.e-comunity.ca/unp/UNPFrontControllerServlet?LANG=en&OPCODE=FormInfo&APP_ID=100053&BRAND=site");

	AddChild("Your Health Information","patient-visitors/your_health-information.html");

	AddChild("Protecting Patient Privacy","patient-visitors/privacy.html");			

	
AddChild("Useful Phone Numbers","about_us/contact_us.html");


// Quality and Safety Section
AddParent("Quality & Safety","");


        AddChild("Performance Indicators","quality_safety/performance_indicators.html");

	AddChild("Critical Care Surge Management","quality_safety/surge_management.html");

 	AddChild("Accessibility Plan","downloads/Accessibility-Plan-2009-2010.pdf");




// 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("Financial Statements","about_us/financial_statements.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("Accountability Agreement","downloads/Central_LHIN_Hospital_Service_Accountability_Agreement_2008-10.pdf");

	AddChild("Our Visual Identity","about_us/identity.html");

	//AddChild("Accreditation","about_us/accreditation.html");

	AddChild("Privacy","about_us/privacy.html");

	//AddChild("Privacy of Personal and Health &nbsp;&nbsp;&nbsp;Information","about_us/privacyprinc.html");

	AddChild("Awards & Recognition","about_us/awards.html");

	AddChild("Our History","about_us/history.html");

       

	//AddChild("Facts & Figures","about_us/facts.html");

	

	


AddParent("Careers","");

	
AddChild("Why Choose NYGH?","careers/index.html");

	
AddChild("Career Opportunities","careers/join_our_team.html");

	AddChild("FAQs","http://works.workopolis.com/customers/nygh/faq.html");

	AddChild("Job Fairs","careers/job_fairs.html");



// Health Professionals Section		

AddParent("Health Professionals","");		

	AddChild("Physician Referrals","health-prof/patient_referral.html");
       AddChild("Genetics Program Referrals","health-prof/referrals_genetics.html");


	

// Our Volunteers Section		

AddParent("Volunteer","");

	AddChild("Welcome","volunteer/welcome.html");

	AddChild("Adult Program","volunteer/become.html");

	AddChild("Student Program","volunteer/student_program.html");

AddChild("Benefits of Volunteering","volunteer/benefits.html");

	AddChild("Frequently Asked Questions","volunteer/faqs.html");

	AddChild("Vendor Program","volunteer/vendor_program.html");
          
        AddChild("Internationally Trained Professionals","downloads/Volunteer_Internationally_Trained_Professionals.pdf");	

	AddChild("Contact Us","volunteer/welcome.html#contact");

			

// Teaching & Learning Section		

AddParent("Teaching & Learning","");

	AddChild("Consumer Health Education Library","education/che_library.html");				

	AddChild("Library","Library/Library.html");	

	AddChild("Continuing Medical Education","education/medical.html");	

	AddChild("Nursing Student Education","education/nursing_student_placement.html");	

	AddChild("Research","education/research.html");	

	AddChild("Dietetic Internship Program","education/dietetic_internship.html");	

	

// Our Serving OUr Community 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 What's Happening 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 Publications Section		

AddParent("Publications","");

	AddChild("Annual Report","publications/annual_report.html");

	AddChild("Strategic Document","about_us/strategic.html");

	AddChild("Community Newsletter","publications/index.html");

	AddChild("Privacy Policy","about_us/privacy.html");

	AddChild("Accessibility Plan","downloads/Accessibility-Plan-2009-2010.pdf");


// For Staff Section

AddParent("For Staff","For_staff/links.html");



// Foundation Section

AddParent("Foundation","foundation");

	

	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:///R:/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 = "F5BF7F"



TopBarText = "F09933"

TopBarTextHighlight = "00AFAD"







RightBarStarts = 350

UnderConstruction = "Under Construction. Please check back later."

// Advanced Specs



YDistanceFromTop = 98



TemplateType = "sub2" // Default template type

