/////////////////////////////////////////////////////////////////////////////
// Function : NavNode (constructor)
// Comments :
/////////////////////////////////////////////////////////////////////////////
function NavNode(id, label, href, parent)
{
	this.m_parent = null;
	this.m_level = 0;

	if (parent)
	{
		this.m_parent = parent;
		this.m_level = parent.m_level+1;
	}

	this.m_id = id;

	// assume that m_label will most often be used directly as HTML
	this.m_rawlabel = label;

	label = label.replace(/&/g, '&amp;');
	label = label.replace(/</g, '&lt;');
	label = label.replace(/>/g, '&gt;');
	label = label.replace(/"/g, '&quot;');

	this.m_label = label;

	this.m_href = href;
	this.m_subNodes = new Array();

	var argValues = NavNode.arguments;
	var argCount = NavNode.arguments.length;

	for (i = 4 ; i < argCount ; i++)
	{
		var eqPos = argValues[i].indexOf("==");
		var attrName = argValues[i].substring(0,eqPos);
		var attrValue = argValues[i].substring(eqPos+2);

		eval("this.cp_" + attrName + " = '" + attrValue + "';");
	}

	NavNode.prototype.addNode = addNode;
	NavNode.prototype.isSelected = isSelected;
}

/////////////////////////////////////////////////////////////////////////////
// Function : addNode
// Comments :
/////////////////////////////////////////////////////////////////////////////
function addNode(id, label, href)
{
	var newIndex = this.m_subNodes.length;
	var newNode = new NavNode(id, label, href, this);

	var argValues = addNode.arguments;
	var argCount = addNode.arguments.length;

	for (i = 3 ; i < argCount ; i++)
	{
		var eqPos = argValues[i].indexOf("==");
		var attrName = argValues[i].substring(0,eqPos);
		var attrValue = argValues[i].substring(eqPos+2);

		eval("newNode.cp_" + attrName + " = '" + attrValue + "';");
	}

	this.m_subNodes[newIndex] = newNode;
	return newNode;
}

/////////////////////////////////////////////////////////////////////////////
// Function : isSelected
// Comments :
/////////////////////////////////////////////////////////////////////////////
function isSelected()
{
    var pos = window.location.href.lastIndexOf("/");
    var docname = window.location.href.substring(pos+1, window.location.href.length);

    pos = this.m_href.lastIndexOf("/");
    var myname = this.m_href.substring(pos+1, this.m_href.length);

    if (docname == myname)
		return true;
	else
		return false;
}

/////////////////////////////////////////////////////////////////////////////
// Function : customSectionPropertyExists
// Comments :
/////////////////////////////////////////////////////////////////////////////
function customSectionPropertyExists(csp)
{
	return (typeof csp != _U && csp != null);
}

/////////////////////////////////////////////////////////////////////////////
// Function : getCustomSectionProperty
// Comments :
/////////////////////////////////////////////////////////////////////////////
function getCustomSectionProperty(csp)
{
	if (customSectionPropertyExists(csp))
	{
		return csp;
	}
	else
	{
		return "";
	}
}

/////////////////////////////////////////////////////////////////////////////

var g_navNode_Root = new NavNode('1750','Home',ssUrlPrefix + 'home.html',null,'ShowBottomContentBox==false','ShowMidContentBox==false','ShowTopContentBox==true');
g_navNode_0=g_navNode_Root.addNode('2653','Prospective and Current Students',ssUrlPrefix + 'students/home.html');
g_navNode_1=g_navNode_Root.addNode('20558','Research',ssUrlPrefix + 'research/home.html');
g_navNode_1_1=g_navNode_1.addNode('161618','Faculty Research Interests',ssUrlPrefix + 'research/faculty_research_interests/home.html');
g_navNode_1_1_0=g_navNode_1_1.addNode('8849','Experimental and Clinical Pharmacology',ssUrlPrefix + 'research/faculty_research_interests/ecp/home.html');
g_navNode_1_1_1=g_navNode_1_1.addNode('8847','Medicinal Chemstry',ssUrlPrefix + 'research/faculty_research_interests/medchem/home.html');
g_navNode_1_1_2=g_navNode_1_1.addNode('8850','Pharmaceutical Care and Health Systems',ssUrlPrefix + 'research/faculty_research_interests/pchs/home.html','contributorOnly==false');
g_navNode_1_1_3=g_navNode_1_1.addNode('8848','Pharmaceutics',ssUrlPrefix + 'research/faculty_research_interests/pharmaceutics/home.html');
g_navNode_1_1_4=g_navNode_1_1.addNode('8851','Pharmacy Practice and Pharmaceutical Science',ssUrlPrefix + 'research/faculty_research_interests/ppps/home.html');
g_navNode_2=g_navNode_Root.addNode('9708','Professional Education',ssUrlPrefix + 'pe/home.html');
g_navNode_2_0=g_navNode_2.addNode('9719','Offices of Education',ssUrlPrefix + 'pe/oe/home.html');
g_navNode_2_0_0=g_navNode_2_0.addNode('11922','Office of Professional Curriculum',ssUrlPrefix + 'pe/oe/opc/home.html');
g_navNode_2_1=g_navNode_2.addNode('9727','Offices of Education Directory',ssUrlPrefix + 'pe/oedir/home.html','ShowMidContentBox==false','ShowRelatedLinks==false','ShowTopContentBox==false');
g_navNode_2_2=g_navNode_2.addNode('9720','Office of Student Services',ssUrlPrefix + 'pe/oss/home.html');
g_navNode_2_3=g_navNode_2.addNode('9728','Office of Student Services Directory',ssUrlPrefix + 'pe/ossdir/home.html');
g_navNode_3=g_navNode_Root.addNode('20625','Faculty, Staff and Preceptors',ssUrlPrefix + 'faculty/home.html');
g_navNode_3_126=g_navNode_3.addNode('21120','Raj G. Suryanarayanan',ssUrlPrefix + 'faculty/suryanarayanan_raj/home.html');
g_navNode_3_126_0=g_navNode_3_126.addNode('13182','Sury Lab',ssUrlPrefix + 'faculty/suryanarayanan_raj/lab/home.html');
g_navNode_3_126_1=g_navNode_3_126.addNode('13388','Group Alumni',ssUrlPrefix + 'faculty/suryanarayanan_raj/groupalumni/home.html');
g_navNode_3_126_2=g_navNode_3_126.addNode('13418','Current Group Members',ssUrlPrefix + 'faculty/suryanarayanan_raj/currentgroup/home.html');
g_navNode_3_126_3=g_navNode_3_126.addNode('13599','Current Projects',ssUrlPrefix + 'faculty/suryanarayanan_raj/currentprojects/home.html');
g_navNode_3_126_4=g_navNode_3_126.addNode('13596','Publications',ssUrlPrefix + 'faculty/suryanarayanan_raj/publications/home.html');
g_navNode_3_126_5=g_navNode_3_126.addNode('13600','Presentations',ssUrlPrefix + 'faculty/suryanarayanan_raj/presentations/home.html');
g_navNode_3_152=g_navNode_3.addNode('20626','Faculty and Staff by Alphabet',ssUrlPrefix + 'faculty/alphabet/home.html');
g_navNode_3_153=g_navNode_3.addNode('122019','Faculty and Staff by Department',ssUrlPrefix + 'faculty/newdepartment/home.html');
g_navNode_3_155=g_navNode_3.addNode('4048','Human Resources',ssUrlPrefix + 'faculty/hr/home.html','ShowRelatedLinks==true');
g_navNode_3_157=g_navNode_3.addNode('6776','Policies',ssUrlPrefix + 'faculty/policies/home.html');
g_navNode_4=g_navNode_Root.addNode('21293','Alumni and Friends',ssUrlPrefix + 'alumni_friends/home.html');
g_navNode_5=g_navNode_Root.addNode('20029','About the College',ssUrlPrefix + 'about/home.html','ShowDownloads==false','ShowTopContentBox==false','ShowWhatsInside==false');
g_navNode_5_0=g_navNode_5.addNode('21240','Departments and Divisions',ssUrlPrefix + 'about/departments/home.html');
g_navNode_5_1=g_navNode_5.addNode('26542','Centers, Institutes and Programs',ssUrlPrefix + 'about/centerslist/home.html');
g_navNode_5_2=g_navNode_5.addNode('20050','Mission and Vision',ssUrlPrefix + 'about/mission/home.html');
g_navNode_5_3=g_navNode_5.addNode('20047','Administrative Structure',ssUrlPrefix + 'about/adminstructure/home.html');
g_navNode_5_4=g_navNode_5.addNode('20049','Our History',ssUrlPrefix + 'about/history/home.html','ShowRelatedLinks==true');
g_navNode_5_5=g_navNode_5.addNode('40700','Links for Faculty, Staff and Students',ssUrlPrefix + 'about/linksfacstaffstudents/home.html');
g_navNode_5_6=g_navNode_5.addNode('20031','About the Pharmacy Profession',ssUrlPrefix + 'about/profession/home.html','ShowRelatedLinks==true');
g_navNode_6=g_navNode_Root.addNode('21242','News and Events',ssUrlPrefix + 'news/home.html','ShowRelatedLinks==true','ShowWhatsInside==false');
g_navNode_6_0=g_navNode_6.addNode('169020','College of Pharmacy Publications',ssUrlPrefix + 'news/publications/home.html');
g_navNode_6_1=g_navNode_6.addNode('152620','Seminar Programs',ssUrlPrefix + 'news/seminarprograms/home.html');
g_navNode_6_27=g_navNode_6.addNode('12453','Neuroscience Seminar Series',ssUrlPrefix + 'news/neuro/home.html');
g_navNode_7=g_navNode_Root.addNode('4870','Employment',ssUrlPrefix + 'jobs/home.html');
g_navNode_8=g_navNode_Root.addNode('20037','Contact Us',ssUrlPrefix + 'contact/home.html');
g_navNode_8_0=g_navNode_8.addNode('20038','College of Pharmacy Map',ssUrlPrefix + 'contact/map/home.html');
g_navNode_8_1=g_navNode_8.addNode('20039','General Information of Interest',ssUrlPrefix + 'contact/information/home.html');
if (SSContributor)
{
g_navNode_11=g_navNode_Root.addNode('2652','Manage Your Site',ssUrlPrefix + 'manage/index.htm','contributorOnly==TRUE');
}
