// START OF WEB TRENDS VARIABLES
//var gFpcDom=".nyp.org";
var gDomain="cds.nyp.org";
var gDcsId="dcs9e0rmek711roghvzx6gsg8_9s4x";


function sectionName() {
	var activeSectionName = "";
	
	if (active == "one") {
		activeSectionName = "Government Relations";
	} else if (active == "two") {
		activeSectionName = "Community";
	} else if (active == "three") {
		activeSectionName = "Public Relations";
	} else if (active == "four") {
		activeSectionName = "Research and Innovation";
	} else if (active == "five") {
		activeSectionName = "Grants";
	} else if (active == "six") {
		activeSectionName = "Marketing";
	} else if (active == "") {
		if (activeHome == "home") {
			activeSectionName = "Home";
		} else {
			activeSectionName = "Toolbar:Quick Info";
		}
	} 
	return activeSectionName;
}
// END OF WEB TRENDS VARIABLES 



// Needed for 4th Level Links grey line
var num4thLevelLinks = 0;

function loadLinks() {

    var giveLinks = new Array();

    giveLinks[0] = new LeftLink('How to Reach Us', 'http://nyp.org/oer/pub_rel_how_rea.html', '2', '', '');
    
	giveLinks[1] = new LeftLink('Media', 'http://nyp.org/oer/pub_rel_med.html', '2', '', '');
	giveLinks[2] = new LeftLink('Submit a Media Request', 'http://nyp.org/oer/pub_rel_med_for.html', '3', 'Media', '');	
	
	giveLinks[3] = new LeftLink('Public Affairs', 'http://nyp.org/oer/pub_rel_pub_aff.html', '2', '', '');
	giveLinks[4] = new LeftLink('Submit a Story Idea', 'http://nyp.org/oer/pub_rel_pub_aff_for.html', '3', 'Public Affairs', '');	
    
	giveLinks[5] = new LeftLink('Publications', 'http://nyp.org/oer/pub_rel_pub.html', '2', '', '');
	
    return (giveLinks);
}

function loadNav4Pages() {

	var volNav4Links = new Array();
    
	volNav4Links[0] = new LeftLink('Newsletter', 'http://www.nyp.org/give/volunteer/newsletter.html', '4', 'Volunteer Opportunities', '');
	volNav4Links[1] = new LeftLink('Events and Trainings', 'http://www.nyp.org/give/volunteer/events.html', '4', 'Volunteer Opportunities', '');
	volNav4Links[2] = new LeftLink('Locations', 'http://www.nyp.org/give/volunteer/locations.html', '4', 'Volunteer Opportunities', '');
	volNav4Links[3] = new LeftLink('Benefits', 'http://www.nyp.org/give/volunteer/benefits.html', '4', 'Volunteer Opportunities', '');	
	volNav4Links[4] = new LeftLink('Frequently Asked Questions', 'http://www.nyp.org/give/volunteer/faq.html', '4', 'Volunteer Opportunities', '');	
	volNav4Links[5] = new LeftLink('Volunteer Reception Pictures', 'http://www.nyp.org/give/volunteer/vol_gal.html', '4', 'Volunteer Opportunities', '');	        		            
	
	giveNav4Pages[14] = new Nav4Page('http://www.nyp.org/give/volunteer/index.html', volNav4Links);
	giveNav4Pages[15] = new Nav4Page('http://www.nyp.org/give/volunteer/nywcc.html', volNav4Links);
	giveNav4Pages[16] = new Nav4Page('http://www.nyp.org/give/volunteer/columbia.html', volNav4Links);
	giveNav4Pages[17] = new Nav4Page('http://www.nyp.org/give/volunteer/allen.html', volNav4Links);	
	giveNav4Pages[18] = new Nav4Page('http://www.nyp.org/give/volunteer/newsletter.html', volNav4Links);
	giveNav4Pages[19] = new Nav4Page('http://www.nyp.org/give/volunteer/events.html', volNav4Links);
	giveNav4Pages[20] = new Nav4Page('http://www.nyp.org/give/volunteer/locations.html', volNav4Links);
	giveNav4Pages[21] = new Nav4Page('http://www.nyp.org/give/volunteer/benefits.html', volNav4Links);
	giveNav4Pages[22] = new Nav4Page('http://www.nyp.org/give/volunteer/faq.html', volNav4Links);
	giveNav4Pages[23] = new Nav4Page('http://www.nyp.org/give/volunteer/vol_gal.html', volNav4Links);
	giveNav4Pages[24] = new Nav4Page('http://www.nyp.org/give/volunteer/vol_gal2.html', volNav4Links);	
	giveNav4Pages[25] = new Nav4Page('http://www.nyp.org/give/volunteer/vol_gal3.html', volNav4Links);		
	
	return (giveNav4Pages);

}
