// 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/gra_how_rea.html', '2', '', '');
    
	giveLinks[1] = new LeftLink('Scientific Research', 'http://nyp.org/oer/gra_sci_res.html', '2', '', '');
	    
	giveLinks[2] = new LeftLink('Grant Writing 101', 'http://nyp.org/oer/gra_gra_101.html', '2', '', '');	
	giveLinks[3] = new LeftLink('Getting Started', 'http://nyp.org/oer/gra_gra_101_get.html', '3', 'Grant Writing 101', '');
    giveLinks[4] = new LeftLink('Proposal Preparation', 'http://nyp.org/oer/gra_gra_101_pro.html', '3', 'Grant Writing 101', '');
    giveLinks[5] = new LeftLink('Key Questions', 'http://nyp.org/oer/gra_gra_101_key.html', '3', 'Grant Writing 101', '');
	giveLinks[6] = new LeftLink('Application Format', 'http://nyp.org/oer/gra_gra_101_app.html', '3', 'Grant Writing 101', '');
    giveLinks[7] = new LeftLink('Grant Introduction', 'http://nyp.org/oer/gra_gra_101_gra.html', '3', 'Grant Writing 101', '');
	giveLinks[8] = new LeftLink('Community Demographics', 'http://nyp.org/oer/gra_gra_101_com.html', '3', 'Grant Writing 101', '');    
	    
	giveLinks[9] = new LeftLink('Research Guidelines', 'http://nyp.org/oer/gra_res_gui.html', '2', '', '');
    giveLinks[10] = new LeftLink('Guidelines Summary', 'http://nyp.org/oer/gra_res_gui_pur.html', '3', 'Research Guidelines', '');	
    
	giveLinks[11] = new LeftLink('Successful Grants', 'http://nyp.org/oer/gra_suc_gra_sto.html', '2', '', '');    
	
	giveLinks[12] = new LeftLink('Links', 'http://nyp.org/oer/gra_lin.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);

}
