
if ( browser )
{
		one_on= new Image; one_on.src="http://images.med.cornell.edu/headers/navbar/cornellradiationoncology/nav1_on.gif";
		one_off= new Image; one_off.src="http://images.med.cornell.edu/headers/navbar/cornellradiationoncology/nav1.gif";
		one_active= new Image; one_active.src="http://images.med.cornell.edu/headers/navbar/cornellradiationoncology/nav1_on.gif";
		
		two_on= new Image; two_on.src="http://images.med.cornell.edu/headers/navbar/cornellradiationoncology/nav2_on.gif";
		two_off= new Image; two_off.src="http://images.med.cornell.edu/headers/navbar/cornellradiationoncology/nav2.gif";
		two_active= new Image; two_active.src="http://images.med.cornell.edu/headers/navbar/cornellradiationoncology/nav2_on.gif";
		
		three_on= new Image; three_on.src="http://images.med.cornell.edu/headers/navbar/cornellradiationoncology/nav3_on.gif";
		three_off= new Image; three_off.src="http://images.med.cornell.edu/headers/navbar/cornellradiationoncology/nav3.gif";
		three_active= new Image; three_active.src="http://images.med.cornell.edu/headers/navbar/cornellradiationoncology/nav3_on.gif";		
		
		four_on= new Image; four_on.src="http://images.med.cornell.edu/headers/navbar/cornellradiationoncology/nav4_on.gif";
		four_off= new Image; four_off.src="http://images.med.cornell.edu/headers/navbar/cornellradiationoncology/nav4.gif";
		four_active= new Image; four_active.src="http://images.med.cornell.edu/headers/navbar/cornellradiationoncology/nav4_on.gif";	
		
		five_on= new Image; five_on.src="http://images.med.cornell.edu/headers/navbar/cornellradiationoncology/nav5_on.gif";
		five_off= new Image; five_off.src="http://images.med.cornell.edu/headers/navbar/cornellradiationoncology/nav5.gif";
		five_active= new Image; five_active.src="http://images.med.cornell.edu/headers/navbar/cornellradiationoncology/nav5_on.gif";	
		
		six_on= new Image; six_on.src="http://images.med.cornell.edu/headers/navbar/cornellradiationoncology/nav6_on.gif";
		six_off= new Image; six_off.src="http://images.med.cornell.edu/headers/navbar/cornellradiationoncology/nav6.gif";
		six_active= new Image; six_active.src="http://images.med.cornell.edu/headers/navbar/cornellradiationoncology/nav6_on.gif";
		
		seven_on= new Image; seven_on.src="http://images.med.cornell.edu/headers/navbar/cornellradiationoncology/nav7_on.gif";
		seven_off= new Image; seven_off.src="http://images.med.cornell.edu/headers/navbar/cornellradiationoncology/nav7.gif";
		seven_active= new Image; seven_active.src="http://images.med.cornell.edu/headers/navbar/cornellradiationoncology/nav7_on.gif";	
}

// flash pano: use this if using different pano for each section

if (activeHome == "home" && active == "") {
	panoLoc = "http://media.med.cornell.edu/panoramas/cornellradiationoncology/pano_home.swf";
} else if (active == "one") { //default to this just in case
	panoLoc = "http://media.med.cornell.edu/panoramas/cornellradiationoncology/pano_one.swf";
} else if (active == "two") { //default to this just in case
	panoLoc = "http://media.med.cornell.edu/panoramas/cornellradiationoncology/pano_two.swf";
} else if (active == "three") { //default to this just in case
	panoLoc = "http://media.med.cornell.edu/panoramas/cornellradiationoncology/pano_three.swf";
} else if (active == "four") { //default to this just in case
	panoLoc = "http://media.med.cornell.edu/panoramas/cornellradiationoncology/pano_four.swf";
} else if (active == "five") { //default to this just in case
	panoLoc = "http://media.med.cornell.edu/panoramas/cornellradiationoncology/pano_five.swf";
} else if (active == "six") { //default to this just in case
	panoLoc = "http://media.med.cornell.edu/panoramas/cornellradiationoncology/pano_six.swf";
} else if (active == "seven") { //default to this just in case
	panoLoc = "http://media.med.cornell.edu/panoramas/cornellradiationoncology/pano_seven.swf";
} else { //default to this just in case
	panoLoc = "http://media.med.cornell.edu/panoramas/cornellradiationoncology/pano.swf";
}

// set animation to true or false		

if (activeHome == "home" && active == "") {
	inAnimation			= "true";
} else { //default to this just in case
	inAnimation			= "false";
}

// static pano: use this if using different pano for each section

if (activeHome == "home" && active == "") {
	altPanoLoc = "http://images.med.cornell.edu/panoramas/cornellradiationoncology/pano_home.jpg";
} else if (active == "one") { //default to this just in case
	altPanoLoc = "http://images.med.cornell.edu/panoramas/cornellradiationoncology/pano_one.jpg";
} else if (active == "two") { //default to this just in case
	altPanoLoc = "http://images.med.cornell.edu/panoramas/cornellradiationoncology/pano_two.jpg";
} else if (active == "three") { //default to this just in case
	altPanoLoc = "http://images.med.cornell.edu/panoramas/cornellradiationoncology/pano_three.jpg";
} else if (active == "four") { //default to this just in case
	altPanoLoc = "http://images.med.cornell.edu/panoramas/cornellradiationoncology/pano_four.jpg";
} else if (active == "five") { //default to this just in case
	altPanoLoc = "http://images.med.cornell.edu/panoramas/cornellradiationoncology/pano_five.jpg";
} else if (active == "six") { //default to this just in case
	altPanoLoc = "http://images.med.cornell.edu/panoramas/cornellradiationoncology/pano_six.jpg";
} else if (active == "seven") { //default to this just in case
	altPanoLoc = "http://images.med.cornell.edu/panoramas/cornellradiationoncology/pano_seven.jpg";
} else { //default to this just in case
	altPanoLoc = "http://images.med.cornell.edu/panoramas/cornellradiationoncology/pano.jpg";
}	

siteURL = "http://www.cornellradiationoncology.org"; 

// set xml data for pano flash here
dataLoc				= "http://global.med.cornell.edu/panoramas/cornellradiationoncology/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				= "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 ( 6, "http://find.cornellphysicians.com");
buttonArray[1]		= new createButtonObject ( 8, "/maps/stich.html?name1=Stitch+Radiation+Center&type1=2Active");
buttonArray[2]		= new createButtonObject ( 5, "/donation.html");
buttonArray[3]		= new createButtonObject ( 5, "/contact.html?name1=Contact+Us&type1=2Active");
buttonArray[4]		= new createButtonObject ( 4, "http://www.med.cornell.edu/search/search_advanced.html");

// setting the array, don't touch
additionalMapArray	= new Array ();	

// 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('The Radiation Oncology Staff', 'http://www.cornellradiationoncology.org/about/rad.html', '2', '', '');
		//navLinks[1] = new LeftLink('Chairman', 'http://www.cornellradiationoncology.org/about/rad_cha.html', '3', 'The Radiation Oncology Staff', '');
		//navLinks[2] = new LeftLink('Attending Physicians', 'http://www.cornellradiationoncology.org/about/rad_att.html', '3', 'The Radiation Oncology Staff', '');
		//navLinks[3] = new LeftLink('Physicists', 'http://www.cornellradiationoncology.org/about/rad_phy.html', '3', 'The Radiation Oncology Staff', '');
		//navLinks[4] = new LeftLink('Nurses', 'http://www.cornellradiationoncology.org/about/rad_nur.html', '3', 'The Radiation Oncology Staff', '');
		//navLinks[5] = new LeftLink('Administration', 'http://www.cornellradiationoncology.org/about/rad_adm.html', '3', 'The Radiation Oncology Staff', '');
		//navLinks[6] = new LeftLink('Office Support Staff', 'http://www.cornellradiationoncology.org/about/rad_off.html', '3', 'The Radiation Oncology Staff', '');
		navLinks[1] = new LeftLink('Clinical Facilities', 'http://www.cornellradiationoncology.org/about/cli_fac.html', '2', '', '');
		navLinks[2] = new LeftLink('The Stich Radiation Center', 'http://www.cornellradiationoncology.org/about/cli_sti.html', '3', 'Clinical Facilities', '');
		navLinks[3] = new LeftLink('The Arnold Center for Radiation Oncology', 'http://www.cornellradiationoncology.org/about/cli_arn.html', '3', 'Clinical Facilities', '');

	}  else if (active == "four") {
		
		navLinks[0] = new LeftLink('Directions to the Stich Radiation Center', 'http://www.cornellradiationoncology.org/patient/stich.html', '2', '', '');
		navLinks[1] = new LeftLink('Directions to the Arnold Center for Radiation Oncology', 'http://www.cornellradiationoncology.org/patient/arnold.html', '2', '', '');
		navLinks[2] = new LeftLink('Radiation Therapy and You', 'http://www.cornellradiationoncology.org/patient/rad_the.html', '2', '', '');
		navLinks[3] = new LeftLink('Radiation in Cancer Treatment', 'http://www.cornellradiationoncology.org/patient/rad_can.html', '3', 'Radiation Therapy and You', '');
		navLinks[4] = new LeftLink('External Radiation Therapy', 'http://www.cornellradiationoncology.org/patient/ext_rad.html', '3', 'Radiation Therapy and You', '');
		navLinks[5] = new LeftLink('Internal Radiation Therapy', 'http://www.cornellradiationoncology.org/patient/int_rad.html', '3', 'Radiation Therapy and You', '');
		navLinks[6] = new LeftLink('Managing Side Effects', 'http://www.cornellradiationoncology.org/patient/man_sid.html', '3', 'Radiation Therapy and You', '');
		navLinks[7] = new LeftLink('Followup Care', 'http://www.cornellradiationoncology.org/patient/fol_car.html', '3', 'Radiation Therapy and You', '');
		navLinks[8] = new LeftLink('Glossary', 'http://www.cornellradiationoncology.org/patient/glo.html', '3', 'Radiation Therapy and You', '');
		navLinks[9] = new LeftLink('Other Patient Information Links', 'http://www.cornellradiationoncology.org/patient/oth_pat.html', '2', '', '');
		
		
	} else if (active == "five") {

		navLinks[0] = new LeftLink('Residency Program', 'http://www.cornellradiationoncology.org/education/res_pro.html', '2', '', '');
		navLinks[1] = new LeftLink('Frequently Asked Questions', 'http://www.cornellradiationoncology.org/education/res_faq.html', '3', 'Residency Program', '');
		navLinks[2] = new LeftLink('Fellowships', 'http://www.cornellradiationoncology.org/education/fel.html', '2', '', '');
		navLinks[3] = new LeftLink('Continuing Medical Education', 'http://www.cornellradiationoncology.org/education/con_med.html', '2', '', '');
		
	} else if (active == "six") {

		navLinks[0] = new LeftLink('The Frank Randazzo, Jr., Cell Biology Laboratory', 'http://www.cornellradiationoncology.org/research/fra_ran.html', '2', '', '');
		//navLinks[1] = new LeftLink('Current Projects', 'http://www.cornellradiationoncology.org/research/cur_pro.html', '2', '', '');
		navLinks[1] = new LeftLink('Clinical Trials', 'http://www.cornellradiationoncology.org/research/cli_tri.html', '2', '', '');
		navLinks[2] = new LeftLink('Newsletters', 'http://www.cornellradiationoncology.org/research/newsletters.html', '2', '', '');
		
	} else if (active == "seven") {
		
		navLinks[0] = new LeftLink('Books and Monographs', 'http://www.cornellradiationoncology.org/publications/boo_mon.html', '2', '', '');
		navLinks[1] = new LeftLink('Chapters', 'http://www.cornellradiationoncology.org/publications/cha.html', '2', '', '');
		navLinks[2] = new LeftLink('Abstracts', 'http://www.cornellradiationoncology.org/publications/abs.html', '2', '', '');
		navLinks[3] = new LeftLink('In Press and Submitted', 'http://www.cornellradiationoncology.org/publications/pre_sub.html', '2', '', '');
		navLinks[4] = new LeftLink('Visiting Professors', 'http://www.cornellradiationoncology.org/publications/vis_pro.html', '2', '', '');
		
	} else if (active == "") {
		
		if (activeTool == "maps") {
			navLinks[0] = new LeftLink('Stitch Radiation Center', 'http://www.cornellradiationoncology.org/maps/stich.html', '2', '', '');
			navLinks[1] = new LeftLink('Arnold Center for Radiation Oncology', 'http://www.cornellradiationoncology.org/maps/arnold.html', '2', '', '');
		}
		
	} 
	// returning the value here, don't touch
	return (navLinks);
}

