//////////////////////////////////////////////////////////////////
//																//
//	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 different pano for each section
panoLoc = "http://media.med.cornell.edu/panoramas/nypcancer/prevention/cancer_prevention_homepage.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/nypcancerprevention/pano_nypcancer.jpg";
	
siteURL 			= "http://www.nypcancerprevention.org/";

// set xml data for pano flash here
dataLoc				= "http://global.med.cornell.edu/panoramas/nypcancerprevention/cancer_datacon.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 (5, "http://www.nypcancerprevention.com/issue/contact.html");

// setting the array, don't touch
additionalMapArray	= new Array ();

// VARIABLES FOR WEB TRENDS
//var gFpcDom=".nyppsychiatry.org";
var gDomain="cds.nypcancerprevention.org";
var gDcsId="dcssf11rfk711roghvzx6gsg8_8s3w";

function sectionName() {
	var activeSectionName = "";
	if (active == "one") {
		activeSectionName = "About Us";
	} else if (active == "two") {
		activeSectionName = "Clinical Services";
	} else if (active == "three") {
		activeSectionName = "Mental Health Info";
	} else if (active == "four") {
		activeSectionName = "Clinical Trials";
	} else if (active == "five") {
		activeSectionName = "For Health Professionals";
	} else if (active == "") {
		if (activeHome == "home") {
			activeSectionName = "Home";
		} else {
			activeSectionName = "Toolbar:Quick Info";
		}
	} 
	return activeSectionName;
}
