if ( browser ) {
		one_on= new Image; one_on.src="http://images.med.cornell.edu/headers/navbar/selecthealth/abo_us_on.gif";
		one_off= new Image; one_off.src="http://images.med.cornell.edu/headers/navbar/selecthealth/abo_us_off.gif";
		one_active= new Image; one_active.src="http://images.med.cornell.edu/headers/navbar/selecthealth/abo_us_on.gif";
		
		two_on= new Image; two_on.src="http://images.med.cornell.edu/headers/navbar/selecthealth/hea_ser_on.gif";
		two_off= new Image; two_off.src="http://images.med.cornell.edu/headers/navbar/selecthealth/hea_ser_off.gif";
		two_active= new Image; two_active.src="http://images.med.cornell.edu/headers/navbar/selecthealth/hea_ser_on.gif";
		
		three_on= new Image; three_on.src="http://images.med.cornell.edu/headers/navbar/selecthealth/hea_az_on.gif";
		three_off= new Image; three_off.src="http://images.med.cornell.edu/headers/navbar/selecthealth/hea_az_off.gif";
		three_active= new Image; three_active.src="http://images.med.cornell.edu/headers/navbar/selecthealth/hea_az_on.gif";		
		
		four_on= new Image; four_on.src="http://images.med.cornell.edu/headers/navbar/selecthealth/pat_vis_on.gif";
		four_off= new Image; four_off.src="http://images.med.cornell.edu/headers/navbar/selecthealth/pat_vis_off.gif";
		four_active= new Image; four_active.src="http://images.med.cornell.edu/headers/navbar/selecthealth/pat_vis_on.gif";	
		
		five_on= new Image; five_on.src="http://images.med.cornell.edu/headers/navbar/selecthealth/res_on.gif";
		five_off= new Image; five_off.src="http://images.med.cornell.edu/headers/navbar/selecthealth/res_off.gif";
		five_active= new Image; five_active.src="http://images.med.cornell.edu/headers/navbar/selecthealth/res_on.gif";	
		
		six_on= new Image; six_on.src="http://images.med.cornell.edu/headers/navbar/selecthealth/hea_pro_on.gif";
		six_off= new Image; six_off.src="http://images.med.cornell.edu/headers/navbar/selecthealth/hea_pro_off.gif";
		six_active= new Image; six_active.src="http://images.med.cornell.edu/headers/navbar/selecthealth/hea_pro_on.gif";	
		
}

// flash pano: use this if using different pano for each section
panoLoc = "http://media.med.cornell.edu/panoramas/selecthealth/pano_home.swf";

// set animation to true or false	
if (activeHome == "home") {
	inAnimation			= "true";
} else { //default to this just in case
	inAnimation			= "false";
}

// set site url
siteURL 			= "http://www.nyp.org/selecthealth";


// static pano: use this if using different pano for each section

altPanoLoc = "http://images.med.cornell.edu/panoramas/selecthealth/pano_home.jpg";


// set xml data for pano flash here
dataLoc				= "http://global.med.cornell.edu/panoramas/selecthealth/data.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";

// set loading value here: wmc or nyp
brand				= "nyp";

// 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 ( 8, "http://www.beryl.net/custom/physref/nyp/PhysSearchCriteria.asp");
buttonArray[1]		= new createButtonObject ( 4, "http://www.nyp.org/search/search_advanced.html");
buttonArray[2]		= new createButtonObject ( 5, "http://www.selecthealth.org/con_us.html");
buttonArray[3]		= new createButtonObject ( 7, "http://www.selecthealth.org/maps.html");

// setting the array, don't touch
additionalMapArray	= new Array ();	


// START OF WEB TRENDS VARIABLES
//var gFpcDom=".nyp.org";
var gDomain="cds.nyp.org";
var gDcsId="dcs9e0rmek711roghvzx6gsg8_9s4x";


function sectionName() {
	var activeSectionName = "";
	
	if (activeHome == "home") {
		activeSectionName = "Home";
	} else if (active == "") {
		activeSectionName = "Toolbar:Quick Info";
	} 
	return activeSectionName;
}
// END OF WEB TRENDS VARIABLES 



// 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") {
		// customize section one, 2nd and 3rd level navigation links here
		navLinks[0] = new LeftLink('Welcome From the Chairs', 'http://www.selecthealth.org/about/wel_cha.html', '2', '', '');
		
	}  else if (active == "four") {

		navLinks[0] = new LeftLink('Preparing for Surgery', 'http://www.selecthealth.org/guide/pre_for_sur.html', '2', '', '');
		navLinks[1] = new LeftLink('Billing', 'http://www.selecthealth.org/guide/bil.html', '2', '', '');
		navLinks[2] = new LeftLink('Medicare Part A and B', 'http://www.selecthealth.org/guide/bil_med_ab.html', '3', 'Billing', '');
		navLinks[3] = new LeftLink('Managed Care, HMO Insurance', 'http://www.selecthealth.org/guide/bil_hmo.html', '3', 'Billing', '');
		navLinks[4] = new LeftLink('Commercial or Indemnity Insurance', 'http://www.selecthealth.org/guide/bil_com_ind.html', '3', 'Billing', '');
		navLinks[5] = new LeftLink('Medicaid', 'http://www.selecthealth.org/guide/bil_med.html', '3', 'Billing', '');
		navLinks[6] = new LeftLink('Hospital Stay', 'http://www.selecthealth.org/guide/hos_sta.html', '2', '', '');
		navLinks[7] = new LeftLink('Planning Ahead', 'http://www.selecthealth.org/guide/pla.html', '3', 'Hospital Stay', '');
		navLinks[8] = new LeftLink('Settling In', 'http://www.selecthealth.org/guide/set.html', '3', 'Hospital Stay', '');
		navLinks[9] = new LeftLink('Practical Information', 'http://www.selecthealth.org/guide/pra.html', '2', '', '');
		navLinks[10] = new LeftLink('Medical Records', 'http://www.selecthealth.org/guide/pra_med.html', '3', 'Practical Information', '');
	    navLinks[11] = new LeftLink('Blood Donor Centers', 'http://www.selecthealth.org/guide/pra_blo.html', '3', 'Practical Information', '');
	    navLinks[12] = new LeftLink('Patient Relations', 'http://www.selecthealth.org/guide/pra_pat.html', '3', 'Practical Information', '');
		navLinks[13] = new LeftLink('Ethics Committee', 'http://www.selecthealth.org/guide/pra_eth.html', '3', 'Practical Information', '');
		navLinks[14] = new LeftLink('Interpreter Services', 'http://www.selecthealth.org/guide/pra_int.html', '3', 'Practical Information', '');
		navLinks[15] = new LeftLink('Organ Donation', 'http://www.selecthealth.org/guide/pra_org.html', '3', 'Practical Information', '');
		navLinks[16] = new LeftLink('Visitors and Guests', 'http://www.selecthealth.org/guide/visitors.html', '2', '', '');
		navLinks[17] = new LeftLink('Guest Accommodations', 'http://www.selecthealth.org/guide/pra_acc.html', '3', 'Visitors and Guests', '');
		navLinks[18] = new LeftLink('Visiting Policies', 'http://www.selecthealth.org/guide/set_vis.html', '3', 'Visitors and Guests', '');
		navLinks[19] = new LeftLink('Amenities', 'http://www.selecthealth.org/guide/set_ame.html', '3', 'Visitors and Guests', '');
		
	} else if (active == "") {
		
		if (activeTool == "map") {
			navLinks[0] = new LeftLink('Contact Us', 'http://www.selecthealth.org/con_us.html', '2', '', '');
			navLinks[1] = new LeftLink('Maps and Directions', 'http://www.selecthealth.org/maps.html', '2', '', '');
		}
		
	}

	// returning the value here, don't touch
	return (navLinks);
}

function loadNav4Pages() {
	// setting the array, don't touch
	var oneNav4Links = new Array();
	var twoNav4Links = new Array();
	var allNav4Pages = new Array();

	if (active == "four") {
		// customize 4th level navigation links here
		oneNav4Links[0] = new LeftLink('What to Bring', 'http://www.selecthealth.org/guide/pla_wha.html', '4', 'Hospital Stay', 'Planning Ahead');
	    oneNav4Links[1] = new LeftLink('Admission and Discharge', 'http://www.selecthealth.org/guide/pla_adm.html', '4', 'Hospital Stay', 'Planning Ahead');
	    oneNav4Links[2] = new LeftLink("Patients' Rights", 'http://www.selecthealth.org/guide/pla_pat.html', '4', 'Hospital Stay', 'Planning Ahead');

		twoNav4Links[0] = new LeftLink('Healthcare Team', 'http://www.selecthealth.org/guide/set_hea.html', '4', 'Hospital Stay', 'Settling In');
	    twoNav4Links[1] = new LeftLink('Meals and Snacks', 'http://www.selecthealth.org/guide/set_mea.html', '4', 'Hospital Stay', 'Settling In');
		twoNav4Links[2] = new LeftLink('TV/Telephone', 'http://www.selecthealth.org/guide/set_tv.html', '4', 'Hospital Stay', 'Settling In');
		twoNav4Links[3] = new LeftLink('Safety Policies', 'http://www.selecthealth.org/guide/set_saf.html', '4', 'Hospital Stay', 'Settling In');
		
		allNav4Pages[0] = new Nav4Page('http://www.selecthealth.org/guide/pla_wha.html', oneNav4Links);
	    allNav4Pages[1] = new Nav4Page('http://www.selecthealth.org/guide/pla.html', oneNav4Links);
	    allNav4Pages[2] = new Nav4Page('http://www.selecthealth.org/guide/pla_adm.html', oneNav4Links);
		allNav4Pages[3] = new Nav4Page('http://www.selecthealth.org/guide/pla_pat.html', oneNav4Links);

		allNav4Pages[4] = new Nav4Page('http://www.selecthealth.org/guide/set.html', twoNav4Links);
	    allNav4Pages[5] = new Nav4Page('http://www.selecthealth.org/guide/set_hea.html', twoNav4Links);
	    allNav4Pages[6] = new Nav4Page('http://www.selecthealth.org/guide/set_vis.html', twoNav4Links);
		allNav4Pages[7] = new Nav4Page('http://www.selecthealth.org/guide/set_mea.html', twoNav4Links);
		allNav4Pages[8] = new Nav4Page('http://www.selecthealth.org/guide/set_tv.html', twoNav4Links);
		allNav4Pages[9] = new Nav4Page('http://www.selecthealth.org/guide/set_saf.html', twoNav4Links);
		allNav4Pages[10] = new Nav4Page('http://www.selecthealth.org/guide/set_ame.html', twoNav4Links);
		
	} 
	// returning the value here, don't touch
	return (allNav4Pages);
}