//////////////////////////////////////////////////////////////////

//																//

//	Weill Cornell Medical College								//

//	cornellneurology.com/neurobiology/ site javascript							//

//	cornellneurobiology.js											//

//	Version 1.5 												//											

//																//

//////////////////////////////////////////////////////////////////



// ::::::::::::::::::::::::::: SECTION I: preload top nav images: three state rollovers



// fill in the absolute paths for all the images



// ::::::::::::::::::::::::::: 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/cornellneurology/neurobiology/pano_home.swf";

// set animation to true or false		
inAnimation			= "false";


// static pano: use this if using different pano for each section
altPanoLoc = "http://images.med.cornell.edu/panoramas/cornellneurology/neurobiology/pano_home.jpg";



// set xml data for pano flash here
dataLoc				= "http://global.med.cornell.edu/panoramas/cornellneurology/neurobiology/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 ( 8, "http://www.med.cornell.edu/search/");




// setting the array, don't touch

additionalMapArray	= new Array ();





// ::::::::::::::::::::::::::: SECTION III: set 2nd and 3rd level navigation links here, customize according to section



// 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("About Us", 'http://test.cornellphysicians.com/about/', '2', '', '');

		navLinks[1] = new LeftLink("Welcome from the Chief Medical Officer", 'http://test.cornellphysicians.com/about/wel_fro_cmo.html', '2', '', '');

		navLinks[2] = new LeftLink("Our Affiliations", 'http://test.cornellphysicians.com/about/our_aff.html', '2', '', '');    

		navLinks[3] = new LeftLink("Weill Cornell: We Care", 'http://test.cornellphysicians.com/about/we_car.html', '2', '', '');

	    

	}  else if (active == "two") {

		

		// customize section three, 2nd and 3rd level navigation links here

	    navLinks[0] = new LeftLink('Breast Surgery', 'http://test.cornellwomenshealth.com/services/pre_for_sur.html', '2', '', '');	

		navLinks[1] = new LeftLink('Cardiology', 'http://test.cornellwomenshealth.com/services/index.html', '2', '', '');	

		navLinks[2] = new LeftLink('Dermatology', 'http://test.cornellwomenshealth.com/services/medicare_ab.html', '2', '', '');	

		navLinks[3] = new LeftLink('Gastroenterology and Hepatology', 'http://test.cornellwomenshealth.com/services/hmo.html', '', '', '');	

		navLinks[4] = new LeftLink('Gynecology', 'http://test.cornellwomenshealth.com/services/commercial.html', '2', '', '');	

		navLinks[5] = new LeftLink('Gynecological Ultrasound', 'http://test.cornellwomenshealth.com/services/medicaid.html', '2', '', '');	

		navLinks[6] = new LeftLink('Internal Medicine', 'http://test.cornellwomenshealth.com/services/hospital/', '2', '', '');

		navLinks[7] = new LeftLink('Medical Oncology', 'http://test.cornellwomenshealth.com/services/planning/index.html', '', '', '');

	    navLinks[8] = new LeftLink('Neurology', 'http://test.cornellwomenshealth.com/services/settlin/index.html', '2', '', '');

		navLinks[9] = new LeftLink('Nutrition', 'http://test.cornellwomenshealth.com/services/index.html', '2', '', '');

		navLinks[10] = new LeftLink('Physical Therapy', 'http://test.cornellwomenshealth.com/services/medical.html', '', '', '');

	    navLinks[11] = new LeftLink('Radiology', 'http://test.cornellwomenshealth.com/services/donor.html', '2', '', '');



	} else if (active == "three") {

		

		navLinks[0] = new LeftLink('The Health Education Resource Center', 'http://test.cornellwomenshealth.com/info_resource.html', '2', '', '');

		navLinks[1] = new LeftLink('Health A to Z', 'http://test.cornellwomenshealth.com/info_az.html', '2', '', '');

		navLinks[2] = new LeftLink('Seminars', 'http://test.cornellwomenshealth.com/info_seminar.html', '2', '', '');

		

	} else if (active == "four") {

		

		navLinks[0] = new LeftLink("Practical Information", 'http://test.cornellphysicians.com/for/', '2', '', '');

		navLinks[1] = new LeftLink("Maps and Directions ", 'http://test.cornellphysicians.com/for/map_dir.html', '3', 'Practical Information', '');

		navLinks[2] = new LeftLink("Interpreter Services", 'http://test.cornellphysicians.com/for/int_ser.html', '3', 'Practical Information', '');

		navLinks[3] = new LeftLink("International Patient Services", 'http://test.cornellphysicians.com/for/int_pat_ser.html', '3', 'Practical Information', '');

		navLinks[4] = new LeftLink("What to bring to your office visit", 'http://test.cornellphysicians.com/for/wha_to_bri.html', '3', 'Practical Information', '');

		navLinks[5] = new LeftLink("Overnight accommodations", 'http://test.cornellphysicians.com/for/ove_acc.html', '3', 'Practical Information', '');

		navLinks[6] = new LeftLink("About HIPAA", 'http://test.cornellphysicians.com/for/hipaa.html', '2', '', '');

			

	} else if (active == "five") {

		
		navLinks[0] = new LeftLink("Find a Weill Cornell Physician ", 'http://test.cornellphysicians.com/referring/fin_wei_cor.html', '2', '', '');

		navLinks[1] = new LeftLink("Guideline on Making Referrals", 'http://test.cornellphysicians.com/referring/index.html', '2', '', '');  

		navLinks[2] = new LeftLink("Clinical Trials", 'http://test.cornellphysicians.com/referring/cli_tri.html', '2', '', '');

		navLinks[3] = new LeftLink("Patient Transfer Transport Details", 'http://test.cornellphysicians.com/referring/pat_tra_tra.html', '2', '', '');

		navLinks[4] = new LeftLink("International Patient Services", 'http://test.cornellphysicians.com/referring/int_pat_ser.html', '2', '', '');

		

	} else if (active == "") {

		

		if (activeTool == "privacy") {

			navLinks[0] = new LeftLink('Notice of Privacy Practices', 'http://test.cornellphysicians.com/privacy/index.html', '2', '', '');

    		navLinks[1] = new LeftLink('Using and Disclosing Medical Information', 'http://test.cornellphysicians.com/privacy/use.html', '2', '', '');

			navLinks[2] = new LeftLink('Patient Rights', 'http://test.cornellphysicians.com/privacy/rights.html', '2', '', '');

		}

		

	}

	// returning the value here, don't touch

	return (navLinks);

}



// 4th level link for Maps and Directions

function loadNav4Pages() {



    var MapsLinks = new Array();

    var proNav4Pages = new Array();        



	MapsLinks[0] = new LeftLink("Interactive Map", 'http://test.cornellphysicians.com/for/int_map.html', '4', "Practical Information", 'Maps and Directions');	

	

	proNav4Pages[0] = new Nav4Page('http://test.cornellphysicians.com/for/int_map.html', MapsLinks);

	proNav4Pages[1] = new Nav4Page('http://test.cornellphysicians.com/for/map_dir.html', MapsLinks);			



    return (proNav4Pages);



}