//////////////////////////////////////////////////////////////////
//																//
//	Weill Cornell Medical College								//
//	cornellsurgery.org site javascript							//
//	cornellsurgery.js											//
//	Version 1.5 												//											
//																//
//////////////////////////////////////////////////////////////////

// ::::::::::::::::::::::::::: SECTION I: preload top nav images: three state rollovers

// fill in the absolute paths for all the images
if (browser) {
	one_on= new Image; one_on.src="http://www.cornellpediatrics.org/images/header/nav1_on.gif";
	one_off= new Image; one_off.src="http://www.cornellpediatrics.org/images/header/nav1.gif";

	two_on= new Image; two_on.src="http://www.cornellpediatrics.org/images/header/nav2_on.gif";
	two_off= new Image; two_off.src="http://www.cornellpediatrics.org/images/header/nav2.gif";

	three_on= new Image; three_on.src="http://www.cornellpediatrics.org/images/header/nav3_on.gif";
	three_off= new Image; three_off.src="http://www.cornellpediatrics.org/images/header/nav3.gif";

	four_on= new Image; four_on.src="http://www.cornellpediatrics.org/images/header/nav4_on.gif";
	four_off= new Image; four_off.src="http://www.cornellpediatrics.org/images/header/nav4.gif";

	five_on= new Image; five_on.src="http://www.cornellpediatrics.org/images/header/nav5_on.gif";
	five_off= new Image; five_off.src="http://www.cornellpediatrics.org/images/header/nav5.gif";
	
	six_on= new Image; six_on.src="http://www.cornellpediatrics.org/images/header/nav6_on.gif";
	six_off= new Image; six_off.src="http://www.cornellpediatrics.org/images/header/nav6.gif";
	
	
	// include all additional section types to avoid errors. Set them to null.
	_on= new Image; _on.src=null;
	toolbar_1_on= new Image; toolbar_1_on.src=null;
	toolbar_2_on= new Image; toolbar_2_on.src=null;
	toolbar_3_on= new Image; toolbar_3_on.src=null;
	toolbar_4_on= new Image; toolbar_4_on.src=null;
	toolbar_5_on= new Image; toolbar_5_on.src=null;
	toolbar_6_on= new Image; toolbar_6_on.src=null;
	toolbar_7_on= new Image; toolbar_7_on.src=null;
	toolbar_8_on= new Image; toolbar_8_on.src=null;
	toolbar_9_on= new Image; toolbar_9_on.src=null;
}

// ::::::::::::::::::::::::::: SECTION II: set values for panos, use absolute paths for all file locations

// flash pano: use this if using different pano for each section
if (active == "home") {
	panoLoc = "http://www.cornellpediatrics.org/media/panoramas/pano_home.swf";
	//http://www.cornellpediatrics.org/media/panoramas/pano_home.swf";
} else if (active == "one") {
	panoLoc = "http://www.cornellpediatrics.org/media/panoramas/pano_" + active + ".swf";
} else if (active == "two") {
	panoLoc = "http://www.cornellpediatrics.org/media/panoramas/pano_" + active + ".swf";
} else if (active == "three") {
	panoLoc = "http://www.cornellpediatrics.org/media/panoramas/pano_" + active + ".swf";
} else if (active == "four") {
	panoLoc = "http://www.cornellpediatrics.org/media/panoramas/pano_" + active + ".swf";
} else if (active == "five") {
	panoLoc = "http://www.cornellpediatrics.org/media/panoramas/pano_" + active + ".swf";
} else if (active == "six") {
	panoLoc = "http://www.cornellpediatrics.org/media/panoramas/pano_" + active + ".swf";	
} else { //default to this just in case
	panoLoc = "http://www.cornellpediatrics.org/media/panoramas/pano.swf";
}
		
// set animation to true or false		
inAnimation			= "false";

// static pano: use this if using one pano for the whole site
//altPanoLoc = "http://images.med.cornell.edu/panoramas/pano_" + active + ".jpg";
// static pano: use this if using different pano for each section

if (active == "home") {
	altPanoLoc = "http://www.cornellpediatrics.org/images/panoramas/pano_home.jpg";
} else if (active == "one") {
	altPanoLoc = "http://www.cornellpediatrics.org/images/panoramas/pano_" + active + ".jpg";
} else if (active == "two") {
	altPanoLoc = "http://www.cornellpediatrics.org/images/panoramas/pano_" + active + ".jpg";
} else if (active == "three") {
	altPanoLoc = "http://www.cornellpediatrics.org/images/panoramas/pano_" + active + ".jpg";
} else  if (active == "four") {
	altPanoLoc = "http://www.cornellpediatrics.org/images/panoramas/pano_" + active + ".jpg";
} else  if (active == "five") {
	altPanoLoc = "http://www.cornellpediatrics.org/images/panoramas/pano_" + active + ".jpg";
} else  if (active == "six") {
	altPanoLoc = "http://www.cornellpediatrics.org/images/panoramas/pano_" + active + ".jpg";
} else { //default to this just in case
	altPanoLoc = "http://www.cornellpediatrics.org/images/panoramas/pano.jpg";
}		
		
// set xml data for pano flash here
dataLoc				= "http://global.med.cornell.edu/panoramas/cornellpediatrics/pano.xml";

// set this line to the location of the temp toolbar when working on the test server. comment it out to move to production
toolBarLoc			= "http://media.med.cornell.edu/panoramas/framework_toolbar" + homeWrapper + ".swf";
//http:/.med.cornell.edu/development/media/panoramas/framework_toolbar" + homeWrapper + ".swf";

// set loading value here: wmc or nyp
brand				= "wmc";

// setting the array, don't touch
buttonArray			= new Array ();

// set absolute paths for all the pano toolbar links [image map for static pano]
buttonArray[0]		= new createButtonObject ( 16, "#");
buttonArray[1]		= new createButtonObject ( 3, "#");
buttonArray[2]		= new createButtonObject ( 3, "http://www.cornellpediatrics.org/contact.html");
buttonArray[3]		= new createButtonObject ( 10, "#");

// setting the array, don't touch
additionalMapArray	= new Array ();

siteURL 			= "http://www.cornellpediatrics.org/";	






// ::::::::::::::::::::::::::: SECTION III: set 2nd and 3rd level navigation links here, customize according to section

// needed for 4th level links grey line, don't touch
var num4thLevelLinks = 0;

// load 2nd and 3rd level navigation here
function loadLinks() {
	
	// setting the array, don't touch this line
	var navLinks = new Array();
		
	if (active == "one") {
	    
	    var navc = 0;
	    
		//navLinks[navc++] = new LeftLink("The Komansky Center for Children's Health", 'http://www.cornellpediatrics.org/abo_us/komansky.html', '2', '', '');
		//navLinks[navc++] = new LeftLink('Affiliated Faculty', 'http://www.cornellpediatrics.org/abo_us/volunteers.html', '2', '', '');
		navLinks[navc++] = new LeftLink('News & Highlights', 'http://www.cornellpediatrics.org/news/highlights/index.shtml', '2', '', '');
		//navLinks[navc++] = new LeftLink('Publications from Our Faculty', 'http://www.cornellpediatrics.org/news/publications/index.shtml', '2', '', '');

		navLinks[navc++] = new LeftLink('Grand Rounds Schedule', 'http://www.cornellpediatrics.org/news/grandrounds/', '2', '', '');

		navLinks[navc++] = new LeftLink("Our Faculty", 'http://www.cornellpediatrics.org/abo_us/our_faculty.html', '2', '', '');
		navLinks[navc++] = new LeftLink("Voluntary Faculty", 'http://www.cornellpediatrics.org/abo_us/vol_faculty.html', '3', '', '');

		

	}  else if (active == "two") {
		
		var navc = 0;
		
		if (subdir == "up") {

		// active section is divisions, sub is in a secondary folder

		navLinks[navc++] = new LeftLink('PCCM Home', '../index.htm', '2', '', '');
		navLinks[navc++] = new LeftLink('Our Unit', '../pedsicu.htm', '2', '', '');
		navLinks[navc++] = new LeftLink('Our Faculty and Staff', '../faculty.htm', '2', '', '');
		navLinks[navc++] = new LeftLink('Referring A Patient', '../referring.htm', '2', '', '');
		navLinks[navc++] = new LeftLink('Interhospital Transport', '../itranspt.htm', '2', '', '');
		navLinks[navc++] = new LeftLink('Fellowship Applicants', '../fellowsh.htm', '2', '', '');
		navLinks[navc++] = new LeftLink('Medical Calculators', 'medcalc.htm', '2', '', '');
		navLinks[navc++] = new LeftLink('Contact Us', '../contact.htm', '2', '', '');

		}else{

		navLinks[navc++] = new LeftLink('PCCM Home', 'index.htm', '2', '', '');
		navLinks[navc++] = new LeftLink('Our Unit', 'pedsicu.htm', '2', '', '');
		navLinks[navc++] = new LeftLink('Our Faculty and Staff', 'faculty.htm', '2', '', '');
		navLinks[navc++] = new LeftLink('Referring A Patient', 'referring.htm', '2', '', '');
		navLinks[navc++] = new LeftLink('Interhospital Transport', 'itranspt.htm', '2', '', '');
		navLinks[navc++] = new LeftLink('Fellowship Applicants', 'fellowsh.htm', '2', '', '');
		navLinks[navc++] = new LeftLink('Medical Calculators', 'calc/medcalc.htm', '2', '', '');
		navLinks[navc++] = new LeftLink('Contact Us', 'contact.htm', '2', '', '');

		//navLinks[navc++] = new LeftLink('Cardiology', 'http://www.cornellpediatrics.org/ser_div/cardiology/index.html', '2', '', '');
		//navLinks[navc++] = new LeftLink('Child Development ', 'http://www.cornellpediatrics.org/ser_div/academic/development.html', '2', '', '');
		//navLinks[navc++] = new LeftLink('Child Life Services', 'http://www.cornellpediatrics.org/ser_div/child/index.html', '2', '', '');
		//navLinks[navc++] = new LeftLink('Child Neurology', 'http://www.cornellpediatrics.org/ser_div/neurology/index.html', '2', '', '');
		//navLinks[navc++] = new LeftLink('Child Protection', 'http://www.cornellpediatrics.org/ser_div/protection.html', '2', '', '');
		//navLinks[navc++] = new LeftLink('Child Psychiatry', 'http://www.cornellpediatrics.org/ser_div/psychiatry/index.html', '2', '', '');
		//navLinks[navc++] = new LeftLink('Critical Care Medicine', 'http://www.cornellpediatrics.org/ser_div/critical/index.html', '2', '', '');
		//navLinks[navc++] = new LeftLink('Emergency Medicine', 'http://www.cornellpediatrics.org/ser_div/emergency/index.html', '2', '', '');
		//navLinks[navc++] = new LeftLink('Endocrinology', 'http://www.cornellpediatrics.org/ser_div/endocrinology/index.html', '2', '', '');
		//navLinks[navc++] = new LeftLink('Gastroenterology and Nutrition', 'http://www.cornellpediatrics.org/ser_div/gastroenterology/index.html', '2', '', '');
		//navLinks[navc++] = new LeftLink('General Academic Pediatrics', 'http://www.cornellpediatrics.org/ser_div/academic/index.html', '2', '', '');
		//navLinks[navc++] = new LeftLink('Genetics', 'http://www.cornellpediatrics.org/ser_div/genetics/index.html', '2', '', '');
		//navLinks[navc++] = new LeftLink('Hematology/Oncology', 'http://www.cornellpediatrics.org/ser_div/hem_onc/index.html', '2', '', '');
		//navLinks[navc++] = new LeftLink('Infectious Diseases', 'http://www.cornellpediatrics.org/ser_div/infectious/index.html', '2', '', '');
		//navLinks[navc++] = new LeftLink('Interhospital Transport Service', 'http://www.cornellpediatrics.org/ser_div/transport.html', '2', '', '');
		//navLinks[navc++] = new LeftLink('Mental Health', 'http://www.cornellpediatrics.org/ser_div/mental.html', '2', '', '');
		//navLinks[navc++] = new LeftLink('Nephrology', 'http://www.cornellpediatrics.org/ser_div/nephrology.html', '2', '', '');
		//navLinks[navc++] = new LeftLink('Newborn Medicine', 'http://www.cornellpediatrics.org/ser_div/newborn/index.html', '2', '', '');
		//navLinks[navc++] = new LeftLink('Pulmonology, Allergy and Immunology', 'http://www.cornellpediatrics.org/ser_div/allergy/index.html', '2', '', '');
		//navLinks[navc++] = new LeftLink('Quality and Medical Informatics', 'http://www.cornellpediatrics.org/ser_div/qual_and_med/index.html', '2', '', '');
		//navLinks[navc++] = new LeftLink('Rheumatology', 'http://www.cornellpediatrics.org/ser_div/rheumatology/index.html', '2', '', '');
		// navLinks[navc++] = new LeftLink("Children's Asthma & Allergy Center", 'asthma.html', '2', '', '');
		// navLinks[navc++] = new LeftLink('Clinical Research Center', 'clinical_research.html', '2', '', '');
		// navLinks[navc++] = new LeftLink('Comprehensive Epilepsy Center', 'epilepsy.html', '2', '', '');
		// navLinks[navc++] = new LeftLink('Cystic Fibrosis Center', 'cystic_fibrosis.html', '2', '', '');
		// navLinks[navc++] = new LeftLink('The Hypertension Center', 'hypertension.html', '2', '', '');
		// navLinks[navc++] = new LeftLink('Lipid/Cardiovascular Risk Center', 'lipid.html', '2', '', '');
		// navLinks[navc++] = new LeftLink('Anesthesiology', 'anesthesiology.html', '2', '', '');
		// navLinks[navc++] = new LeftLink('Burn Center', 'burn.html', '2', '', '');
		// navLinks[navc++] = new LeftLink('Cardiothoracic Surgery', 'cardiothoracic.html', '2', '', '');
		// navLinks[navc++] = new LeftLink('Dermatology', 'dermatology.html', '2', '', '');
		// navLinks[navc++] = new LeftLink('Neurosurgery', 'neurosurgery.html', '2', '', '');
		// navLinks[navc++] = new LeftLink('Opthalmology', 'opthalmology.html', '2', '', '');
		// navLinks[navc++] = new LeftLink('Oral Maxillofacial Surgery', 'oral.html', '2', '', '');
		// navLinks[navc++] = new LeftLink('Orthopedics', 'orthopedics.html', '2', '', '');
		// navLinks[navc++] = new LeftLink('Otorhinolaryngology', 'ent.html', '2', '', '');
		// navLinks[navc++] = new LeftLink('Pediatric Surgery', 'surgery.html', '2', '', '');
		// navLinks[navc++] = new LeftLink('Plastic Surgery', 'plastic_surgery.html', '2', '', '');
		// navLinks[navc++] = new LeftLink('Radiology', 'radiology.html', '2', '', '');
		// navLinks[navc++] = new LeftLink('Urology', 'urology.html', '2', '', '');
		
		}
		
	} else if (active == "three") {
		
		var navc = 0;
		
		
		
	} else if (active == "four") {
		
		var navc = 0;
		
		navLinks[navc++] = new LeftLink('About Your Appointment', 'http://www.cornellpediatrics.org/patients/abo_app.html', '2', '', '');
		navLinks[navc++] = new LeftLink("About Your Child's Hospitalization", 'http://www.cornellpediatrics.org/patients/abo_hos.html', '2', '', '');
		navLinks[navc++] = new LeftLink('Preparing Your Child for Surgery', 'http://www.cornellpediatrics.org/patients/pre_sur.html', '2', '', '');
		navLinks[navc++] = new LeftLink('Billing', 'http://www.cornellpediatrics.org/patients/billing.html', '2', '', '');
		navLinks[navc++] = new LeftLink('Directions to Our Offices', 'http://www.cornellpediatrics.org/patients/directions.html', '2', '', '');
		//navLinks[navc++] = new LeftLink('Practical Information', 'http://www.cornellpediatrics.org/patients/pra_inf.html', '2', '', '');
		navLinks[navc++] = new LeftLink('For Visitors', 'http://www.cornellpediatrics.org/patients/out_vis.html', '2', '', '');
		navLinks[navc++] = new LeftLink('International Patients', 'http://www.cornellpediatrics.org/patients/int_pat.html', '2', '', '');
		navLinks[navc++] = new LeftLink('Pediatric Support Team', 'http://www.cornellpediatrics.org/ser_div/ped_support.html', '2', '', '');
		navLinks[navc++] = new LeftLink('Komansky Center Family Advisory Council', 'http://www.cornellpediatrics.org/patients/fam_adv_coun.html', '2', '', '');
		//navLinks[navc++] = new LeftLink('Tip Sheets for Parents', 'http://www.cornellpediatrics.org/patients/tip_sheets.html', '2', '', '');
		//navLinks[navc++] = new LeftLink('Pediatric Support Group', 'http://www.cornellpediatrics.org/ser_div/ped_support.html', '2', '', '');
		
		
	} else if (active == "five") {
	
		var navc = 0;
	
		navLinks[navc++] = new LeftLink('Clinical Trials', 'http://www.cornellpediatrics.org/research/cli_tri.html', '2', '', '');
		navLinks[navc++] = new LeftLink('Laboratory Research', 'http://www.cornellpediatrics.org/research/lab_res.html', '2', '', '');
		navLinks[navc++] = new LeftLink('Pediatric Academic Societies 2010 Presentations', 'http://www.cornellpediatrics.org/research/pas2010.html', '2', '', '');
		
	} else if (active == "six") {

		var navc = 0;
	
		navLinks[navc++] = new LeftLink('Residency Program', 'http://www.cornellpediatrics.org/education/residency.html', '2', '', '');
		navLinks[navc++] = new LeftLink('Fellowships', 'http://www.cornellpediatrics.org/education/fellowships.html', '2', '', '');
		navLinks[navc++] = new LeftLink('Conference Schedules', 'http://www.cornellpediatrics.org/education/con_sched.html', '2', '', '');
		navLinks[navc++] = new LeftLink('Continuing Medical Education', 'http://www.cornellpediatrics.org/education/con_edu.html', '2', '', '');
		
	
		
	} else if (active == "toolbar_1") {
		
		navLinks[0] = new LeftLink('toolbar 1.1', 'http://global.med.cornell.edu/templates/wmc/toolbar/toolbar_1_1.html', '2', '', '');
		
	} else if (active == "toolbar_2") {
		
		navLinks[0] = new LeftLink('toolbar 2.1', 'http://global.med.cornell.edu/templates/wmc/toolbar/toolbar_2_1.html', '2', '', '');
		
	} else if (active == "toolbar_3") {
		
		navLinks[0] = new LeftLink('toolbar 3.1', 'http://global.med.cornell.edu/templates/wmc/toolbar/toolbar_3_1.html', '2', '', '');
		
	} else if (active == "toolbar_4") {
		
		navLinks[0] = new LeftLink('toolbar 4.1', 'http://global.med.cornell.edu/templates/wmc/toolbar/toolbar_4_1.html', '2', '', '');
		
	} else if (active == "toolbar_5") {
		
		navLinks[0] = new LeftLink('toolbar 5.1', 'http://global.med.cornell.edu/templates/wmc/toolbar/toolbar_5_1.html', '2', '', '');
		
	} else if (active == "toolbar_6") {
		
		navLinks[0] = new LeftLink('toolbar 6.1', 'http://global.med.cornell.edu/templates/wmc/toolbar/toolbar_6_1.html', '2', '', '');
		
	} else if (active == "toolbar_7") {
		
		navLinks[0] = new LeftLink('toolbar 7.1', 'http://global.med.cornell.edu/templates/wmc/toolbar/toolbar_7_1.html', '2', '', '');
	
	} else if (active == "toolbar_8") {
		
		navLinks[0] = new LeftLink('toolbar 8.1', 'http://global.med.cornell.edu/templates/wmc/toolbar/toolbar_8_1.html', '2', '', '');
		
	} else if (active == "toolbar_9") {
		
		navLinks[0] = new LeftLink('toolbar 9.1', 'http://global.med.cornell.edu/templates/wmc/toolbar/toolbar_9_1.html', '2', '', '');
		
	}
		
	// returning the value here, don't touch
	return (navLinks);
}


// fourth-level navigation code begins here


function loadNav4Pages() {
 
 // setting the array, don't touch
 
var oneNav4Links = new Array();
var allNav4Pages = new Array();

var oneNav4Links1 = new Array();
var oneNav4Links2 = new Array();
var oneNav4Links3 = new Array();
var oneNav4Links4 = new Array();
var oneNav4Links5 = new Array();
var oneNav4Links6 = new Array();
var oneNav4Links7 = new Array();
var oneNav4Links8 = new Array();
var oneNav4Links9 = new Array();
var oneNav4Links10 = new Array();
var oneNav4Links11 = new Array();
var oneNav4Links12 = new Array();
var oneNav4Links13 = new Array();
var oneNav4Links14 = new Array();
var oneNav4Links15 = new Array();
var oneNav4Links16 = new Array();
var oneNav4Links17 = new Array();
var oneNav4Links18 = new Array();

 if (active == "one") {
 
 // customize 4th level navigation links here
 
 var navc = 0;
	

 
 } else if (active == "two") { 
 
 // customize 4th level navigation links here
 
 var navc = 0;
	
	
	oneNav4Links[0] = new LeftLink('Pulmonary Function Testing FAQ', 'http://www.cornellpediatrics.org/ser_div/allergy/pfts.html', '4', 'Allergy, Immunology, and Pulmonary Disease', '');
	oneNav4Links[1] = new LeftLink('Research', 'http://www.cornellpediatrics.org/ser_div/allergy/research.html', '4', 'Allergy, Immunology, and Pulmonary Disease', '');
 	
		
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/allergy/research.html', oneNav4Links);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/allergy/education.html', oneNav4Links);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/allergy/index.html', oneNav4Links);

	oneNav4Links1[0] = new LeftLink('Resources for Parents and Families', 'http://www.cornellpediatrics.org/ser_div/cardiology/resources_az.html', '4', 'Cardiology', '');
	oneNav4Links1[1] = new LeftLink('Cardiac Catheterization Videos', 'http://www.cornellpediatrics.org/ser_div/cardiology/card_cath.html', '4', 'Cardiology', '');
	oneNav4Links1[2] = new LeftLink('Echo Videos', 'http://www.cornellpediatrics.org/ser_div/cardiology/resources.html', '4', 'Cardiology', '');
	oneNav4Links1[3] = new LeftLink('After Greers Heart Surgery: A Slideshow for Kids and Families', 'http://www.cornellpediatrics.org/pdf/After_Greers_Heart_Surgery.ppt', '4', 'Cardiology', '');
	oneNav4Links1[4] = new LeftLink('Our Faculty and Staff', 'http://www.cornellpediatrics.org/ser_div/cardiology/staff.html', '4', 'Cardiology', '');
	oneNav4Links1[5] = new LeftLink('Education', 'http://www.cornellpediatrics.org/ser_div/cardiology/education.html', '4', 'Cardiology', '');
	oneNav4Links1[6] = new LeftLink('Contact Us', 'http://www.cornellpediatrics.org/ser_div/cardiology/contact.html', '4', 'Cardiology', '');
	oneNav4Links1[7] = new LeftLink('Global Health Work', 'http://www.cornellpediatrics.org/ser_div/cardiology/global-health-work.html', '4', 'Cardiology', '');	
		
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/cardiology/contact.html', oneNav4Links1);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/cardiology/staff.html', oneNav4Links1);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/cardiology/education.html', oneNav4Links1);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/cardiology/index.html', oneNav4Links1);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/cardiology/card_cath.html', oneNav4Links1);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/cardiology/resources.html', oneNav4Links1);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/cardiology/resources_az.html', oneNav4Links1);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/cardiology/global-health-work.html', oneNav4Links1);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/cardiology/chanchun.html', oneNav4Links1);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/cardiology/dakar.html', oneNav4Links1);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/cardiology/phnom2006.html', oneNav4Links1);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/cardiology/phnom2005.html', oneNav4Links1);
	
	oneNav4Links2[0] = new LeftLink('Research', 'http://www.cornellpediatrics.org/ser_div/psychiatry/research.html', '4', 'Child Psychiatry', '');
	oneNav4Links2[1] = new LeftLink('Psychological Testing Service', 'http://www.cornellpediatrics.org/ser_div/psychiatry/testing.html', '4', 'Child Psychiatry', '');

	
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/psychiatry/research.html', oneNav4Links2);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/psychiatry/index.html', oneNav4Links2);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/psychiatry/testing.html', oneNav4Links2);
	
	
// pulled from here
	
	
	oneNav4Links3[0] = new LeftLink('The Pediatric Intensive Care Unit', 'http://www.cornellpediatrics.org/ser_div/critical/ped_int.html', '4', 'Critical Care Medicine', '');
	oneNav4Links3[1] = new LeftLink('Our Faculty and Staff ', 'http://www.cornellpediatrics.org/ser_div/critical/faculty.html', '4', 'Critical Care Medicine', '');
	oneNav4Links3[2] = new LeftLink('Referring a Patient ', 'http://www.cornellpediatrics.org/ser_div/critical/referring.html', '4', 'Critical Care Medicine', '');
	oneNav4Links3[3] = new LeftLink('Fellowship Applicants', 'http://www.cornellpediatrics.org/ser_div/critical/fellowship.html', '4', 'Critical Care Medicine', '');
	oneNav4Links3[4] = new LeftLink('Education', 'http://www.cornellpediatrics.org/education/critical.html', '4', 'Critical Care Medicine', '');
	oneNav4Links3[5] = new LeftLink('Medical Calculators', 'http://www.cornellpediatrics.org/ser_div/critical/calculator.html', '4', 'Critical Care Medicine', '');
	oneNav4Links3[6] = new LeftLink('Contact Us', 'http://www.cornellpediatrics.org/ser_div/critical/contact.html', '4', 'Critical Care Medicine', '');
	
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/critical/education.html', oneNav4Links3);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/critical/index.html', oneNav4Links3);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/critical/ped_int.html', oneNav4Links3);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/critical/referring.html', oneNav4Links3);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/critical/fellowship.html', oneNav4Links3);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/critical/faculty.html', oneNav4Links3);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/critical/contact.html', oneNav4Links3);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/critical/calculator.html', oneNav4Links3);


	oneNav4Links4[0] = new LeftLink('Emergency Medicine Child Life Services', 'http://www.cornellpediatrics.org/ser_div/emergency/em_child.html', '4', 'Emergency Medicine', '');
	oneNav4Links4[1] = new LeftLink('Education', 'http://www.cornellpediatrics.org/ser_div/emergency/fellowship.html', '4', 'Emergency Medicine', '');
	oneNav4Links4[2] = new LeftLink('Facilities', 'http://www.cornellpediatrics.org/ser_div/emergency/facilities.html', '4', 'Emergency Medicine', '');
 	oneNav4Links4[3] = new LeftLink('For Patients and Families', 'http://www.cornellpediatrics.org/ser_div/emergency/visiting.html', '4', 'Emergency Medicine', '');
 	oneNav4Links4[4] = new LeftLink('Referral', 'http://www.cornellpediatrics.org/ser_div/emergency/referral.html', '4', 'Emergency Medicine', '');
	oneNav4Links4[5] = new LeftLink('Related Services', 'http://www.cornellpediatrics.org/ser_div/emergency/rel_ser.html', '4', 'Emergency Medicine', '');
	oneNav4Links4[6] = new LeftLink('Research', 'http://www.cornellpediatrics.org/ser_div/emergency/research.html', '4', 'Emergency Medicine', '');
		
		
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/emergency/facilities.html', oneNav4Links4);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/emergency/visiting.html', oneNav4Links4);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/emergency/referral.html', oneNav4Links4);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/emergency/fellowship.html', oneNav4Links4);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/emergency/research.html', oneNav4Links4);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/emergency/index.html', oneNav4Links4);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/emergency/rel_ser.html', oneNav4Links4);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/emergency/em_child.html', oneNav4Links4);

	
	oneNav4Links5[0] = new LeftLink('Frequently Asked Questions ', 'http://www.cornellpediatrics.org/ser_div/endocrinology/endo_faq.html', '4', 'Endocrinology', '');
	oneNav4Links5[1] = new LeftLink('Endocrine Stimulation Testing FAQ', 'http://www.cornellpediatrics.org/ser_div/endocrinology/stim_faq.html', '4', 'Endocrinology', '');
	oneNav4Links5[2] = new LeftLink('Growth Hormone Therapy and Insurance FAQ ', 'http://www.cornellpediatrics.org/ser_div/endocrinology/growth_faq.html', '4', 'Endocrinology', '');
	oneNav4Links5[3] = new LeftLink('Education', 'http://www.cornellpediatrics.org/ser_div/endocrinology/education.html', '4', 'Endocrinology', '');
	oneNav4Links5[4] = new LeftLink('Research', 'http://www.cornellpediatrics.org/ser_div/endocrinology/research.html', '4', 'Endocrinology', '');
	oneNav4Links5[5] = new LeftLink('Contact Us', 'http://www.cornellpediatrics.org/ser_div/endocrinology/contact.html', '4', 'Endocrinology', '');
	
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/endocrinology/education.html', oneNav4Links5);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/endocrinology/research.html', oneNav4Links5);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/endocrinology/index.html', oneNav4Links5);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/endocrinology/stim_faq.html', oneNav4Links5);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/endocrinology/growth_faq.html', oneNav4Links5);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/endocrinology/contact.html', oneNav4Links5);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/endocrinology/endo_faq.html', oneNav4Links5);
	
	
	//oneNav4Links6[0] = new LeftLink('Pediatric Gastroenterology FAQ', 'http://www.cornellpediatrics.org/ser_div/gastroenterology/faq.html', '4', 'Gastroenterology and Nutrition', '');
	oneNav4Links6[0] = new LeftLink('Upper and Lower Endoscopy FAQ', 'http://www.cornellpediatrics.org/ser_div/gastroenterology/ulefaq.html', '4', 'Gastroenterology and Nutrition', '');
	oneNav4Links6[1] = new LeftLink('Capsule Endoscopy FAQ', 'http://www.cornellpediatrics.org/ser_div/gastroenterology/cefaq.html', '4', 'Gastroenterology and Nutrition', '');
	oneNav4Links6[2] = new LeftLink('pH Probe Study FAQ', 'http://www.cornellpediatrics.org/ser_div/gastroenterology/phfaq.html', '4', 'Gastroenterology and Nutrition', '');	
	oneNav4Links6[3] = new LeftLink('Colonoscopy for Kids Fact Sheet (English) ', 'http://www.cornellpediatrics.org/ser_div/gastroenterology/pdf/ColonForKids-English.pdf', '4', 'Gastroenterology and Nutrition', '');
	oneNav4Links6[4] = new LeftLink('Colonoscopy for Kids Fact Sheet (Spanish)', 'http://www.cornellpediatrics.org/ser_div/gastroenterology/pdf/ColonForKids-Spanish.pdf', '4', 'Gastroenterology and Nutrition', '');
	oneNav4Links6[5] = new LeftLink('Upper Endoscopy for Kids Fact Sheet (English) ', 'http://www.cornellpediatrics.org/ser_div/gastroenterology/pdf/UpperEndoForKids.pdf', '4', 'Gastroenterology and Nutrition', '');
	oneNav4Links6[6] = new LeftLink('Upper Endoscopy for Kids Fact Sheet (Spanish) ', 'http://www.cornellpediatrics.org/ser_div/gastroenterology/pdf/UpperEndo_for_KIDS-Spanish.pdf', '4', 'Gastroenterology and Nutrition', '');
	oneNav4Links6[7] = new LeftLink('Research', 'http://www.cornellpediatrics.org/ser_div/gastroenterology/research.html', '4', 'Gastroenterology and Nutrition', '');
	oneNav4Links6[8] = new LeftLink('Education', 'http://www.cornellpediatrics.org/ser_div/gastroenterology/education.html', '4', 'Gastroenterology and Nutrition', '');
	//oneNav4Links6[9] = new LeftLink('Updates in Pediatric Gastroenterology', 'http://www.cornellpediatrics.org/ser_div/gastroenterology/updates_gi.html', '4', 'Gastroenterology and Nutrition', '');
	/*oneNav4Links6[5] = new LeftLink('Updates in Pediatric Gastroenterology Registraion', 'http://www.cornellpediatrics.org/ser_div/gastroenterology/gi_registration.html', '4', 'Gastroenterology and Nutrition', '');*/
	
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/gastroenterology/cefaq.html', oneNav4Links6);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/gastroenterology/ulefaq.html', oneNav4Links6);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/gastroenterology/gi_registration.html', oneNav4Links6);
	//allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/gastroenterology/updates_gi.html', oneNav4Links6);
	//allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/gastroenterology/faq.html', oneNav4Links6);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/gastroenterology/phfaq.html', oneNav4Links6);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/gastroenterology/education.html', oneNav4Links6);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/gastroenterology/research.html', oneNav4Links6);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/gastroenterology/index.html', oneNav4Links6);
	
	
	oneNav4Links7[0] = new LeftLink('Newborn Nursery', 'http://www.cornellpediatrics.org/ser_div/newborn/nursery.html', '4', 'General Academic Pediatrics', '');
	oneNav4Links7[1] = new LeftLink('Research', 'http://www.cornellpediatrics.org/ser_div/academic/research.html', '4', 'General Academic Pediatrics', '');
	oneNav4Links7[2] = new LeftLink('Child Development', 'http://www.cornellpediatrics.org/ser_div/academic/development.html', '4', 'General Academic Pediatrics', '');
	oneNav4Links7[3] = new LeftLink('Child Protection', 'http://www.cornellpediatrics.org/ser_div/academic/protection.html', '4', 'General Academic Pediatrics', '');
	oneNav4Links7[4] = new LeftLink('Advocacy and Community Outreach', 'http://www.cornellpediatrics.org/ser_div/academic/advocacy.html', '4', 'General Academic Pediatrics', '');
	//oneNav4Links7[0] = new LeftLink('Education', 'http://www.cornellpediatrics.org/ser_div/academic/education.html', '4', 'General Academic Pediatrics', '');
	
		
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/academic/development.html', oneNav4Links7);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/academic/protection.html', oneNav4Links7);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/academic/research.html', oneNav4Links7);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/academic/index.html', oneNav4Links7);
	
	
	oneNav4Links8[0] = new LeftLink('Research', 'http://www.cornellpediatrics.org/ser_div/genetics/research.html', '4', 'Genetics', '');
		
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/genetics/research.html', oneNav4Links8);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/genetics/index.html', oneNav4Links8);
	
	oneNav4Links9[0] = new LeftLink('Education', 'http://www.cornellpediatrics.org/ser_div/hem_onc/education.html', '4', 'Hematology/Oncology', '');
	oneNav4Links9[1] = new LeftLink('Research', 'http://www.cornellpediatrics.org/ser_div/hem_onc/research.html', '4', 'Hematology/Oncology', '');
		
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/hem_onc/education.html', oneNav4Links9);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/hem_onc/phfaq.html', oneNav4Links9);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/hem_onc/research.html', oneNav4Links9);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/hem_onc/index.html', oneNav4Links9);

	oneNav4Links10[0] = new LeftLink('Research', 'http://www.cornellpediatrics.org/ser_div/infectious/research.html', '4', 'Infectious Diseases', '');
		
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/infectious/research.html', oneNav4Links10);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/infectious/index.html', oneNav4Links10);		
	
	oneNav4Links11[0] = new LeftLink('Education', 'http://www.cornellpediatrics.org/education/neonatology.html', '4', 'Newborn Medicine', '');
	oneNav4Links11[1] = new LeftLink('Neonatal Follow-up Program', 'http://www.cornellpediatrics.org/ser_div/newborn/follow.html', '4', 'Newborn Medicine', '');
 	oneNav4Links11[2] = new LeftLink('Newborn Medicine Faculty', 'http://www.cornellpediatrics.org/ser_div/newborn/faculty.html', '4', 'Newborn Medicine', '');
 	oneNav4Links11[3] = new LeftLink('Newborn Nursery', 'http://www.cornellpediatrics.org/ser_div/newborn/nursery.html', '4', 'Newborn Medicine', '');
	oneNav4Links11[4] = new LeftLink('Neonatal Nutrition Program', 'http://www.cornellpediatrics.org/ser_div/newborn/nutrition.html', '4', 'Newborn Medicine', '');
	oneNav4Links11[5] = new LeftLink('Research', 'http://www.cornellpediatrics.org/ser_div/newborn/research.html', '4', 'Newborn Medicine', '');
 	
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/newborn/faculty.html', oneNav4Links11);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/newborn/research.html', oneNav4Links11);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/newborn/fellowships.html', oneNav4Links11);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/newborn/patients.html', oneNav4Links11);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/newborn/index.html', oneNav4Links11);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/newborn/nursery.html', oneNav4Links11);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/newborn/follow.html', oneNav4Links11);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/newborn/nutrition.html', oneNav4Links11);
		
			
	oneNav4Links12[0] = new LeftLink('Education', 'http://www.cornellpediatrics.org/ser_div/rheumatology/education.html', '4', 'Rheumatology', '');
		
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/rheumatology/education.html', oneNav4Links12);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/rheumatology/index.html', oneNav4Links12);
	
	
	oneNav4Links13[0] = new LeftLink('Comprehensive Neurofibromatosis Clinic at NYP/WCMC', 'http://www.cornellpediatrics.org/ser_div/neurology/neurofibromatosis.html', '4', 'Neurology', '');
	oneNav4Links13[1] = new LeftLink('Education', 'http://www.cornellpediatrics.org/ser_div/neurology/education.html', '4', 'Neurology', '');
	oneNav4Links13[2] = new LeftLink('Pediatric Comprehensive Epilepsy Center (PediCEC)', 'http://www.cornellpediatrics.org/ser_div/neurology/pedicec.html', '4', 'Neurology', '');
	oneNav4Links13[3] = new LeftLink('Research', 'http://www.cornellpediatrics.org/ser_div/neurology/research.html', '4', 'Neurology', '');
	
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/neurology/type1.html', oneNav4Links13);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/neurology/type2.html', oneNav4Links13);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/neurology/schwann.html', oneNav4Links13);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/neurology/visitinfo.html', oneNav4Links13);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/neurology/neurofibromatosis.html', oneNav4Links13);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/neurology/pedicec.html', oneNav4Links13);	
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/neurology/education.html', oneNav4Links13);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/neurology/research.html', oneNav4Links13);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/neurology/index.html', oneNav4Links13);
	

	oneNav4Links14[0] = new LeftLink('Child Life Home', 'http://www.cornellpediatrics.org/ser_div/child/index.html', '4', 'Child Life Program', '');
	oneNav4Links14[1] = new LeftLink('NYC Hospital School Program', 'http://www.cornellpediatrics.org/ser_div/child/nychospital.html', '4', 'Child Life Program', '');
	oneNav4Links14[2] = new LeftLink('Music Therapy', 'http://www.cornellpediatrics.org/ser_div/child/music.html', '4', 'Child Life Program', '');
	oneNav4Links14[3] = new LeftLink('Other Programs within Child Life', 'http://www.cornellpediatrics.org/ser_div/child/childlife.html', '4', 'Child Life Program', '');
	oneNav4Links14[4] = new LeftLink('Links', 'http://www.cornellpediatrics.org/ser_div/child/links.html', '4', 'Child Life Program', '');
	
	
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/child/nychospital.html', oneNav4Links14);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/child/childlife.html', oneNav4Links14);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/child/links.html', oneNav4Links14);	
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/child/music.html', oneNav4Links14);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/child/index.html', oneNav4Links14);
	
	
	oneNav4Links15[0] = new LeftLink('Overview', 'http://www.cornellpediatrics.org/ser_div/teen_weight/index.html', '4', 'Endocrinology', '');
	oneNav4Links15[1] = new LeftLink('Who Qualifies?', 'http://www.cornellpediatrics.org/ser_div/teen_weight/qualify.html', '4', 'Endocrinology', '');
	oneNav4Links15[2] = new LeftLink('Curriculum', 'http://www.cornellpediatrics.org/ser_div/teen_weight/curriculum.html', '4', 'Endocrinology', '');
	oneNav4Links15[3] = new LeftLink('Weight Loss in Children', 'http://www.cornellpediatrics.org/ser_div/teen_weight/weight_loss_children.html', '4', 'Endocrinology', '');
	oneNav4Links15[4] = new LeftLink('Maps and Directions', 'http://www.cornellpediatrics.org/ser_div/teen_weight/directions.html', '4', 'Endocrinology', '');
	oneNav4Links15[5] = new LeftLink('Register Online', 'http://s010.med.cornell.edu/cornellpediatrics/teen-weight/', '4', 'Endocrinology', '');

	
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/teen_weight/qualify.html', oneNav4Links15);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/teen_weight/index.html', oneNav4Links15);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/teen_weight/curriculum.html', oneNav4Links15);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/teen_weight/weight_loss_children.html', oneNav4Links15);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/teen_weight/directions.html', oneNav4Links15);
	allNav4Pages[navc++] = new Nav4Page('http://s010.med.cornell.edu/cornellpediatrics/teen-weight/', oneNav4Links15);

	
	oneNav4Links16[0] = new LeftLink('Faculty and Staff', 'http://www.cornellpediatrics.org/ser_div/qual_and_med/faculty.html', '4', 'Quality and Medical Informantics', '');
	oneNav4Links16[1] = new LeftLink('Education', 'http://www.cornellpediatrics.org/ser_div/qual_and_med/education.html', '4', 'Quality and Medical Informantics', '');
	oneNav4Links16[2] = new LeftLink('Publications', 'http://www.cornellpediatrics.org/ser_div/qual_and_med/publications.html', '4', 'Quality and Medical Informantics', '');
	
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/qual_and_med/index.html', oneNav4Links16);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/qual_and_med/education.html', oneNav4Links16);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/qual_and_med/publications.html', oneNav4Links16);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/qual_and_med/faculty.html', oneNav4Links16);
	
	oneNav4Links17[0] = new LeftLink('Faculty', 'http://www.cornellpediatrics.org/ser_div/qual_and_med/qmifaculty.html', '4', 'Quality and Medical Informantics', '');
	oneNav4Links17[1] = new LeftLink('Biostatistician', 'http://www.cornellpediatrics.org/ser_div/qual_and_med/biostatistician.html', '4', 'Quality and Medical Informantics', '');
	oneNav4Links17[2] = new LeftLink('Research Project Manager', 'http://www.cornellpediatrics.org/ser_div/qual_and_med/rpm.html', '4', 'Quality and Medical Informantics', '');
	oneNav4Links17[3] = new LeftLink('Research Coordinators', 'http://www.cornellpediatrics.org/ser_div/qual_and_med/coordinators.html', '4', 'Quality and Medical Informantics', '');
	oneNav4Links17[4] = new LeftLink('Current Fellows (2009)', 'http://www.cornellpediatrics.org/ser_div/qual_and_med/qmifellows.html', '4', 'Quality and Medical Informantics', '');
	oneNav4Links17[5] = new LeftLink('Staff', 'http://www.cornellpediatrics.org/ser_div/qual_and_med/qmistaff.html', '4', 'Quality and Medical Informantics', '');
	
	
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/qual_and_med/qmifaculty.html', oneNav4Links17);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/qual_and_med/qmifaculty.html#kaushal', oneNav4Links17);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/qual_and_med/qmifaculty.html#kern', oneNav4Links17);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/qual_and_med/qmifaculty.html#abramson', oneNav4Links17);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/qual_and_med/qmifaculty.html#patel', oneNav4Links17);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/qual_and_med/rpm.html', oneNav4Links17);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/qual_and_med/biostatistician.html', oneNav4Links17);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/qual_and_med/biostatistician.html#barronvaya', oneNav4Links17);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/qual_and_med/biostatistician.html#edwards', oneNav4Links17);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/qual_and_med/education.html', oneNav4Links17);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/qual_and_med/qmifellows.html', oneNav4Links17);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/qual_and_med/qmifellows.html#malhotra', oneNav4Links17);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/qual_and_med/qmifellows.html#yohay', oneNav4Links17);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/qual_and_med/qmifellows.html#yung', oneNav4Links17);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/qual_and_med/qmistaff.html', oneNav4Links17);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/qual_and_med/qmistaff.html#budnick', oneNav4Links17);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/qual_and_med/qmistaff.html#fischer', oneNav4Links17);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/qual_and_med/qmistaff.html#duval', oneNav4Links17);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/qual_and_med/coordinators.html', oneNav4Links17);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/qual_and_med/coordinators.html#dhopeshwarker', oneNav4Links17);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/qual_and_med/coordinators.html#reynolds', oneNav4Links17);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/qual_and_med/faculty.html', oneNav4Links17);

 } else if (active == "three") { 
 
 // customize 4th level navigation links here
 
 var navc = 0;

 // copied here
	
	oneNav4Links3[0] = new LeftLink('The Pediatric Intensive Care Unit', 'http://www.cornellpediatrics.org/ser_div/critical/ped_int.html', '4', 'Critical Care Medicine', '');
	oneNav4Links3[1] = new LeftLink('Our Faculty and Staff ', 'http://www.cornellpediatrics.org/ser_div/critical/faculty.html', '4', 'Critical Care Medicine', '');
	oneNav4Links3[2] = new LeftLink('Referring a Patient ', 'http://www.cornellpediatrics.org/ser_div/critical/referring.html', '4', 'Critical Care Medicine', '');
	oneNav4Links3[3] = new LeftLink('Fellowship Applicants', 'http://www.cornellpediatrics.org/ser_div/critical/fellowship.html', '4', 'Critical Care Medicine', '');
	oneNav4Links3[4] = new LeftLink('Education', 'http://www.cornellpediatrics.org/education/critical.html', '4', 'Critical Care Medicine', '');
	oneNav4Links3[5] = new LeftLink('Medical Calculators', 'http://www.cornellpediatrics.org/ser_div/critical/calculator.html', '4', 'Critical Care Medicine', '');
	oneNav4Links3[6] = new LeftLink('Contact Us', 'http://www.cornellpediatrics.org/ser_div/critical/contact.html', '4', 'Critical Care Medicine', '');
	
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/critical/education.html', oneNav4Links3);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/critical/index.html', oneNav4Links3);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/critical/ped_int.html', oneNav4Links3);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/critical/referring.html', oneNav4Links3);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/critical/fellowship.html', oneNav4Links3);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/critical/faculty.html', oneNav4Links3);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/critical/contact.html', oneNav4Links3);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/ser_div/critical/calculator.html', oneNav4Links3);


 } else if (active == "four") { 
 
 // customize 4th level navigation links here
 
 var navc = 0;
	
 	
 	oneNav4Links1[0] = new LeftLink('The General Pediatric Unit', 'http://www.cornellpediatrics.org/patients/gen_ped.html', '4', "About Your Child's Hospitalization", '');
 	//oneNav4Links1[3] = new LeftLink('Plannning Ahead', 'http://www.cornellpediatrics.org/patients/pla_ahe.html', '4', "About Your Child's Hospitalization", '');
 	oneNav4Links1[1] = new LeftLink('Healthcare Team', 'http://www.cornellpediatrics.org/patients/hea_tea.html', '4', "About Your Child's Hospitalization", '');
 	oneNav4Links1[2] = new LeftLink('Hospital Meals', 'http://www.cornellpediatrics.org/patients/hos_meals.html', '4', "About Your Child's Hospitalization", '');
 	oneNav4Links1[3] = new LeftLink('The Pediatric Intensive Care Unit', 'http://www.cornellpediatrics.org/ser_div/critical/ped_int.html?name1=Critical+Care+Medicine&type1=2Select&name2=&type2=3Select&name3=The+Pediatric+Intensive+Care+Unit&type3=4Active', '4', "", '');
 	oneNav4Links1[4] = new LeftLink('Safety Policies', 'http://www.cornellpediatrics.org/patients/saf_pol.html', '4', "About Your Child's Hospitalization", '');
 	oneNav4Links1[5] = new LeftLink('TV and Telephone', 'http://www.cornellpediatrics.org/patients/tv_tel.html', '4', "About Your Child's Hospitalization", '');
 	oneNav4Links1[6] = new LeftLink('Virtual Tour', 'http://www.cornellpediatrics.org/patients/vir_tou.html', '4', "About Your Child's Hospitalization", '');
 	

	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/patients/vir_tou.html', oneNav4Links1);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/patients/gen_ped.html', oneNav4Links1);
	//allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/patients/ped_int.html', oneNav4Links1);
	//allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/patients/pla_ahe.html', oneNav4Links1);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/patients/hea_tea.html', oneNav4Links1);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/patients/hos_meals.html', oneNav4Links1);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/patients/tv_tel.html', oneNav4Links1);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/patients/saf_pol.html', oneNav4Links1);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/patients/abo_hos.html', oneNav4Links1);
	
 	oneNav4Links2[0] = new LeftLink('What to Expect', 'http://www.cornellpediatrics.org/patients/expect.html', '4', 'Preparing Your Child for Surgery', ''); 
 	oneNav4Links2[1] = new LeftLink('Pediatric Cardiothoracic Surgery', 'http://www.cornellpediatrics.org/patients/ped_car.html', '4', 'Preparing Your Child for Surgery', '');

	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/patients/expect.html', oneNav4Links2);
 	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/patients/ped_car.html', oneNav4Links2);
 	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/patients/pre_sur.html', oneNav4Links2);

 	//oneNav4Links3[0] = new LeftLink('Medicare', 'http://www.cornellpediatrics.org/patients/medicare.html', '4', 'Billing', ''); 
 	//oneNav4Links3[1] = new LeftLink('Managed Care/HMO Insurance', 'http://www.cornellpediatrics.org/patients/man_car.html', '4', 'Billing', '');
 	//oneNav4Links3[2] = new LeftLink('Commercial or Indemnity Insurance', 'http://www.cornellpediatrics.org/patients/com_ind.html', '4', 'Billing', '');
 	//oneNav4Links3[3] = new LeftLink('Medicaid', 'http://www.cornellpediatrics.org/patients/medicaid.html', '4', 'Billing', '');

	//allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/patients/medicare.html', oneNav4Links3);
	//allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/patients/man_car.html', oneNav4Links3);
	//allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/patients/com_ind.html', oneNav4Links3);
	//allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/patients/medicaid.html', oneNav4Links3);
	//allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/patients/billing.html', oneNav4Links3);

 	oneNav4Links4[0] = new LeftLink('Blood Donor Centers', 'http://www.cornellpediatrics.org/patients/blo_don.html', '4', 'Practical Information', '');
 	oneNav4Links4[1] = new LeftLink('Interpreter Services', 'http://www.cornellpediatrics.org/patients/int_ser.html', '4', 'Practical Information', '');
 	oneNav4Links4[2] = new LeftLink('Medical Records', 'http://www.cornellpediatrics.org/patients/med_rec.html', '4', 'Practical Information', '');
 	oneNav4Links4[3] = new LeftLink('Patient Relations', 'http://www.cornellpediatrics.org/patients/pat_rel.html', '4', 'Practical Information', '');
 	oneNav4Links4[4] = new LeftLink('Organ Donation', 'http://www.cornellpediatrics.org/patients/org_don.html', '4', 'Practical Information', '');
 	oneNav4Links4[5] = new LeftLink('Ethics Committee', 'http://www.cornellpediatrics.org/patients/eth_com.html', '4', 'Practical Information', '');

	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/patients/blo_don.html', oneNav4Links4);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/patients/int_ser.html', oneNav4Links4);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/patients/med_rec.html', oneNav4Links4);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/patients/pat_rel.html', oneNav4Links4);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/patients/org_don.html', oneNav4Links4);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/patients/eth_com.html', oneNav4Links4);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/patients/pra_inf.html', oneNav4Links4);
	
	oneNav4Links5[0] = new LeftLink('Amenities', 'http://www.cornellpediatrics.org/patients/amenities.html', '4', 'For Visitors', '');
 	oneNav4Links5[1] = new LeftLink('Hotels', 'http://www.cornellpediatrics.org/patients/hotels.html', '4', 'For Visitors', '');
 	oneNav4Links5[2] = new LeftLink('Parking', 'http://www.cornellpediatrics.org/patients/parking.html', '4', 'For Visitors', '');
 	oneNav4Links5[3] = new LeftLink('Restaurants', 'http://www.cornellpediatrics.org/patients/restaurants.html', '4', 'For Visitors', '');
 	oneNav4Links5[4] = new LeftLink('Visiting Policies', 'http://www.cornellpediatrics.org/patients/vis_pol.html', '4', 'For Visitors', '');
 	
 	//oneNav4Links5[5] = new LeftLink('Special Accommodations', 'http://www.cornellpediatrics.org/patients/spe_acc.html', '4', 'For Visitors', '');

	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/patients/vis_pol.html', oneNav4Links5);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/patients/parking.html', oneNav4Links5);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/patients/restaurants.html', oneNav4Links5);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/patients/amenities.html', oneNav4Links5);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/patients/hotels.html', oneNav4Links5);
	//allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/patients/spe_acc.html', oneNav4Links5);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/patients/out_vis.html', oneNav4Links5);
	
 	oneNav4Links6[0] = new LeftLink('Our Vision', 'http://www.cornellpediatrics.org/patients/fam_adv_vision.html', '4', 'Komansky Center Family Advisory Council', '');
 	oneNav4Links6[1] = new LeftLink('Initiatives', 'http://www.cornellpediatrics.org/patients/fam_adv_initiatives.html', '4', 'Komansky Center Family Advisory Council', '');
 	oneNav4Links6[2] = new LeftLink('Background and History', 'http://www.cornellpediatrics.org/patients/fam_adv_history.html', '4', 'Komansky Center Family Advisory Council', '');
 	oneNav4Links6[3] = new LeftLink('Become a Member', 'http://www.cornellpediatrics.org/patients/fam_adv_member.html', '4', 'Komansky Center Family Advisory Council', '');
 	oneNav4Links6[4] = new LeftLink('Contact Us', 'http://s010.med.cornell.edu/cornellpediatrics/family-advisory/fam_adv_contact.html', '4', 'Komansky Center Family Advisory Council', '');
	
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/patients/fam_adv_initiatives.html', oneNav4Links6);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/patients/fam_adv_vision.html', oneNav4Links6);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/patients/fam_adv_history.html', oneNav4Links6);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/patients/fam_adv_member.html', oneNav4Links6);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/patients/fam_adv_contact.html', oneNav4Links6);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/patients/fam_adv_coun.html', oneNav4Links6);	
 
	

 } else if (active == "five") { 
 
 // customize 4th level navigation links here
 
 var navc = 0;
	

	
 } else if (active == "six") { 
 
 // customize 4th level navigation links here
 getMiddleNav
 var navc = 0;
	
 	var navc = 0;
	
 	oneNav4Links[0] = new LeftLink('Message from the Chairman', 'http://www.cornellpediatrics.org/education/mes_cha.html', '4', 'Residency Program', '');
 	oneNav4Links[1] = new LeftLink('Message from the Director', 'http://www.cornellpediatrics.org/education/mes_dir.html', '4', 'Residency Program', '');
 	oneNav4Links[2] = new LeftLink('History of the Department of Pediatrics', 'http://www.cornellpediatrics.org/education/history.html', '4', 'Residency Program', '');
// 	oneNav4Links[3] = new LeftLink('Pediatric Curriculum', 'http://www.cornellpediatrics.org/education/ped_cur.html', '4', 'Residency Program', '');
 	//oneNav4Links[4] = new LeftLink('Conference Schedule', 'http://www.cornellpediatrics.org/education/con_sch.html', '4', 'Residency Program', '');
 	oneNav4Links[3] = new LeftLink('Current Residents and Interns', 'http://www.cornellpediatrics.org/education/res_int.html', '4', 'Residency Program', '');
 	oneNav4Links[4] = new LeftLink('Application Requirements', 'http://www.cornellpediatrics.org/education/app_req.html', '4', 'Residency Program', '');
 	oneNav4Links[5] = new LeftLink('Alumni', 'http://www.cornellpediatrics.org/education/where_alumni.html', '4', 'Residency Program', '');
 	//oneNav4Links[7] = new LeftLink('Current Residents', 'http://www.cornellpediatrics.org/education/2008_grads.html', '4', 'Residency Program', '');
 	oneNav4Links[6] = new LeftLink('Contact the Residency Program', 'http://www.cornellpediatrics.org/education/contact.html', '4', 'Residency Program', '');
	//oneNav4Links[8] = new LeftLink('Night Float Survey for Pediatric Residents', 'http://www.surveymonkey.com/s.aspx?sm=5vXldPWPD9KvWbfjRLjlTg_3d_3d', '4', 'Residency Program', '');
	//oneNav4Links[9] = new LeftLink('Block Schedule ', 'http://www.surveymonkey.com/s.aspx?sm=5NsTgV3uwdmkjQjTQqNOKA_3d_3d', '4', 'Residency Program', '');


	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/education/mes_cha.html', oneNav4Links);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/education/mes_dir.html', oneNav4Links);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/education/history.html', oneNav4Links);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/education/ped_cur.html', oneNav4Links);
	//allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/education/con_sch.html', oneNav4Links);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/education/res_int.html', oneNav4Links);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/education/app_req.html', oneNav4Links);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/education/where_alumni.html', oneNav4Links);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/education/2005_grads.html', oneNav4Links);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/education/2006_grads.html', oneNav4Links);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/education/2007_grads.html', oneNav4Links);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/education/2008_grads.html', oneNav4Links);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/education/contact.html', oneNav4Links);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/education/residency.html', oneNav4Links);

	oneNav4Links1[0] = new LeftLink('Neonatal-Perinatal Medicine', 'http://www.cornellpediatrics.org/education/neonatology.html', '4', 'Fellowships', '');
	oneNav4Links1[1] = new LeftLink('Pediatric Cardiology', 'http://www.cornellpediatrics.org/education/cardiology.html', '4', 'Fellowships', '');
	oneNav4Links1[2] = new LeftLink('Pediatric Critical Care', 'http://www.cornellpediatrics.org/education/critical.html', '4', 'Fellowships', '');
	oneNav4Links1[3] = new LeftLink('Pediatric Emergency Medicine', 'http://www.cornellpediatrics.org/education/emergency.html', '4', 'Fellowships', '');
	oneNav4Links1[4] = new LeftLink('Pediatric Endocrinology', 'http://www.cornellpediatrics.org/education/endocrine.html', '4', 'Fellowships', '');
	oneNav4Links1[5] = new LeftLink('Pediatric Gastroenterology and Nutrition', 'http://www.cornellpediatrics.org/education/gastro.html', '4', 'Fellowships', '');
	oneNav4Links1[6] = new LeftLink('Pediatric Hematology and Oncology', 'http://www.cornellpediatrics.org/education/hem_onc.html', '4', 'Fellowships', '');
	oneNav4Links1[7] = new LeftLink('Pediatric Neurology', 'http://www.cornellpediatrics.org/education/neurology.html', '4', 'Fellowships', '');
	oneNav4Links1[8] = new LeftLink('Pediatric Rheumatology', 'http://www.cornellpediatrics.org/education/rheumatology.html', '4', 'Fellowships', '');

	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/education/neonatology.html', oneNav4Links1);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/education/cardiology.html', oneNav4Links1);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/education/critical.html', oneNav4Links1);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/education/endocrine.html', oneNav4Links1);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/education/emergency.html', oneNav4Links1);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/education/gastro.html', oneNav4Links1);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/education/hem_onc.html', oneNav4Links1);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/education/neurology.html', oneNav4Links1);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/education/rheumatology.html', oneNav4Links1);
	allNav4Pages[navc++] = new Nav4Page('http://www.cornellpediatrics.org/education/fellowships.html', oneNav4Links1);
	


	
	
	
 } 
 
// returning the value here, don't touch
return (allNav4Pages);
 
}

function popup_tour(pg) {
       tourpopup=window.open(pg,"popupwindow","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizeable=no,width=600,height=350");
       tourpopup.focus();
}






function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=1,scrollbars=1,location=1,statusbar=1,menubar=1,resizable=1,width=500,height=500,left = 590,top = 275');");
}
