

// flash pano: use this if using different pano for each section
if (activeHome == "home"){
	panoLoc = "http://media.med.cornell.edu/panoramas/cornellobgyn/pano_home.swf";
} else {
	panoLoc = "http://media.med.cornell.edu/panoramas/cornellobgyn/pano.swf";
}

// set animation to true or false	
if (activeHome == "home"){
	inAnimation			= "true";
} else {
	inAnimation			= "false";
}	

// static pano: use this if using different pano for each section
if (activeHome == "home"){
	altPanoLoc = "http://images.med.cornell.edu/panoramas/cornellobgyn/pano_home.jpg";
} else {
	altPanoLoc = "http://images.med.cornell.edu/panoramas/cornellobgyn/pano.jpg";
}

// lefthand nav homepage link
siteURL = "http://www.cornellobgyn.org";

// set xml data for pano flash here
dataLoc				= "http://global.med.cornell.edu/panoramas/cornellobgyn/content.xml";

// 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://www.cornellobgyn.org/contact.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('Alphabetical Listing', 'http://www.cornellobgyn.org/list_alp.html', '2', '', '');
   		navLinks[1] = new LeftLink('Listing by Specialty', 'http://www.cornellobgyn.org/list_spe.html', '2', '', '');
	} else if (active == "two") {
		// customize section one, 2nd and 3rd level navigation links here
		navLinks[0] = new LeftLink('Residency Program', 'http://www.cornellobgyn.org/residency/index.html', '2', '', '');
		navLinks[1] = new LeftLink('Resident Training Program Rotations', 'http://www.cornellobgyn.org/residency/res_rot.html', '2', '', '');
   		navLinks[2] = new LeftLink('Our Hospitals', 'http://www.cornellobgyn.org/residency/hospitals.html', '2', '', '');
		navLinks[3] = new LeftLink('Education and Research', 'http://www.cornellobgyn.org/residency/edu_conf.html', '2', '', '');
		navLinks[4] = new LeftLink('Resident/Faculty Evaluations', 'http://www.cornellobgyn.org/residency/res_fac.html', '2', '', '');
				
		navLinks[5] = new LeftLink('The Essentials: Housing and Salary', 'http://www.cornellobgyn.org/residency/res_housing.html', '2', '', '');
		navLinks[6] = new LeftLink('Meet our Residents', 'http://www.cornellobgyn.org/residency/meet_residents.html', '2', '', '');
		navLinks[7] = new LeftLink('PGY4', 'http://www.cornellobgyn.org/residency/classes/pgy4.html', '3', 'Meet our Residents', '');
		navLinks[8] = new LeftLink('PGY3', 'http://www.cornellobgyn.org/residency/classes/pgy3.html', '3', 'Meet our Residents', '');
		navLinks[9] = new LeftLink('PGY2', 'http://www.cornellobgyn.org/residency/classes/pgy2.html', '3', 'Meet our Residents', '');
		navLinks[10] = new LeftLink('PGY1', 'http://www.cornellobgyn.org/residency/classes/pgy1.html', '3', 'Meet our Residents', '');
		
		
		navLinks[11] = new LeftLink('Life After Residency', 'http://www.cornellobgyn.org/residency/res_after.html', '2', '', '');
		navLinks[12] = new LeftLink('Application and Interview', 'http://www.cornellobgyn.org/residency/app_int.html', '2', '', '');
	}   

	// returning the value here, don't touch
	return (navLinks);
}

