//////////////////////////////////////////////////////////////////
//																//
//	Weill Cornell Medical College								//
//	cornellsurgery.org site javascript							//
//	cornellsurgery.js											//
//	Version 1.5 												//											
//																//
//////////////////////////////////////////////////////////////////


// ::::::::::::::::::::::::::: SECTION II: set values for panos, use absolute paths for all file locations

// flash pano: use this if using only one pano for the whole site
//panoLoc				= "http://media.med.cornell.edu/panoramas/nyp/pano_home.swf";

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

panoLoc = "http://media.med.cornell.edu/panoramas/wmc/education/pano_home.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/test/pano_" + active + ".jpg";
// static pano: use this if using different pano for each section

altPanoLoc = "http://images.med.cornell.edu/panoramas/wmc/education/home.jpg";
	
siteURL = "http://www.med.cornell.edu";	

// set xml data for pano flash here
dataLoc				= "http://global.med.cornell.edu/panoramas/wmc/education/content.xml";


// set loading value here: wmc or nyp
brand				= "wmc";

//for the flash color bar
barColor = "";

if (brand == "nyp") {
	if (active == "one") {
		barColor = "#999966";
	} else if (active == "two") {
		barColor = "#669999";
	} else if (active == "three") {
		barColor = "#aeae68";
	} else if (active == "four") {
		barColor = "#7796a6";
	} else if (active == "five") {
		barColor = "#7d8f74";
	} else if (active == "six") {
		barColor = "#7DAD91";
	} else if (active == "") {
		barColor = "#677f7f";
	}
} else if (brand == "wmc") {
	barColor = "#A79D8E";
}

// 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";

// 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 ( 7, "http://coursescheduler.med.cornell.edu/");
buttonArray[1]		= new createButtonObject ( 7, "http://www.med.cornell.edu/calendar/index.html");
buttonArray[2]		= new createButtonObject ( 7, "http://www.med.cornell.edu/education/toolbar/give.html?name1=Ways+to+Give&type1=2Active");

buttonArray[3]		= new createButtonObject ( 5, "http://www.med.cornell.edu/education/toolbar/find.html?name1=Find+a+Staff&type1=2Active");
buttonArray[4]		= new createButtonObject ( 7, "http://www.med.cornell.edu/education/toolbar/maps.html?name1=Maps+and+Directions&type1=2Active");
buttonArray[5]		= new createButtonObject ( 5, "http://www.med.cornell.edu/education/toolbar/contact.html?name1=Contact+Us&type1=2Active");
buttonArray[6]		= new createButtonObject ( 4, "http://www.med.cornell.edu/search/search_advanced.html");

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

