/////////////////////////////////////////////////////////////////////////////
// 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('3693','Home',ssUrlPrefix + 'home.html',null,'ShowWhatsInside==true','contributorOnly==false');
g_navNode_0=g_navNode_Root.addNode('43746','About Us',ssUrlPrefix + 'about_lhi/home.html','ShowWhatsInside==true');
g_navNode_0_0=g_navNode_0.addNode('43202','Mission and Vision',ssUrlPrefix + 'about_lhi/mission_vision/home.html');
g_navNode_0_1=g_navNode_0.addNode('43200','Administration',ssUrlPrefix + 'about_lhi/administration/home.html');
g_navNode_0_2=g_navNode_0.addNode('13032','Faculty',ssUrlPrefix + 'about_lhi/Faculty/index.htm');
g_navNode_0_2_0=g_navNode_0_2.addNode('13376','Robert Bache, MD',ssUrlPrefix + 'about_lhi/Faculty/RBache/home.html');
g_navNode_0_2_1=g_navNode_0_2.addNode('13377','Yingjie Chen, PhD',ssUrlPrefix + 'about_lhi/Faculty/YChen/home.html');
g_navNode_0_2_2=g_navNode_0_2.addNode('13378','Gary S. Francis, MD, PhD',ssUrlPrefix + 'about_lhi/Faculty/GFrancis/home.html');
g_navNode_0_2_3=g_navNode_0_2.addNode('13379','Daniel J. Garry, MD, PhD',ssUrlPrefix + 'about_lhi/Faculty/DGarry/home.html');
g_navNode_0_2_4=g_navNode_0_2.addNode('13382','Mary G. Garry, PhD',ssUrlPrefix + 'about_lhi/Faculty/MGarry/home.html');
g_navNode_0_2_5=g_navNode_0_2.addNode('13383','Jennifer Hall, PhD',ssUrlPrefix + 'about_lhi/Faculty/JHall/home.html');
g_navNode_0_2_6=g_navNode_0_2.addNode('13387','Michael Kyba, PhD',ssUrlPrefix + 'about_lhi/Faculty/MKyba/home.html');
g_navNode_0_2_7=g_navNode_0_2.addNode('13389','Cindy M. Martin, MD',ssUrlPrefix + 'about_lhi/Faculty/CMartin/home.html');
g_navNode_0_2_8=g_navNode_0_2.addNode('13390','Joseph M. Metzger, PhD',ssUrlPrefix + 'about_lhi/Faculty/JMetzger/home.html');
g_navNode_0_2_9=g_navNode_0_2.addNode('13391','Rita Perlingeiro, PhD',ssUrlPrefix + 'about_lhi/Faculty/RPerlingeiro/home.html');
g_navNode_0_3=g_navNode_0.addNode('43758','C. Walton Lillehei',ssUrlPrefix + 'about_lhi/cwl/home.html','ShowWhatsInside==true');
g_navNode_0_3_0=g_navNode_0_3.addNode('43761','The Gift',ssUrlPrefix + 'about_lhi/cwl/gift/home.html');
g_navNode_1=g_navNode_Root.addNode('13745','Info for Patients',ssUrlPrefix + 'PatientInfo/home.html');
g_navNode_2=g_navNode_Root.addNode('193653','LHI Labs',ssUrlPrefix + 'labs/home.html');
g_navNode_2_0=g_navNode_2.addNode('193929','Rita Perlingeiro, PhD - Lab',ssUrlPrefix + 'labs/RPerlingeiro_lab/home.html');
g_navNode_2_1=g_navNode_2.addNode('10920','Michael Kyba, PhD - Lab',ssUrlPrefix + 'labs/MKyba_lab/home.html');
g_navNode_2_2=g_navNode_2.addNode('13712','Jianyi \"Jay\" Zhang, MD, PhD - Lab',ssUrlPrefix + 'labs/JZhang_lab/home.html');
g_navNode_2_3=g_navNode_2.addNode('13717','Joseph M. Metzger, PhD - Lab',ssUrlPrefix + 'labs/JMetzger_lab/home.html');
g_navNode_4=g_navNode_Root.addNode('13394','Core Facilities',ssUrlPrefix + 'CoreFacilities/home.html');
g_navNode_4_0=g_navNode_4.addNode('13395','Histology \x26 Microscopy Core',ssUrlPrefix + 'CoreFacilities/HistoCore/home.html','ShowDownloads==true','ShowRelatedLinks==true','ShowWhatsInside==true');
g_navNode_4_0_0=g_navNode_4_0.addNode('13467','Histology Services',ssUrlPrefix + 'CoreFacilities/HistoCore/HistologyServices/home.html');
g_navNode_4_0_1=g_navNode_4_0.addNode('13468','Equipment Available for Use',ssUrlPrefix + 'CoreFacilities/HistoCore/Equipment/home.html');
g_navNode_4_0_2=g_navNode_4_0.addNode('13470','Microscopes Available in HMCF',ssUrlPrefix + 'CoreFacilities/HistoCore/Microscopes/home.html');
g_navNode_4_0_2_0=g_navNode_4_0_2.addNode('13525','Zeiss LSM 510 Meta Confocal Laser Microscopy System',ssUrlPrefix + 'CoreFacilities/HistoCore/Microscopes/ZeissMetaCF/home.html');
g_navNode_4_0_2_1=g_navNode_4_0_2.addNode('13527','Zeiss Stereo Discovery V20 Macro/Stereo Microscope',ssUrlPrefix + 'CoreFacilities/HistoCore/Microscopes/ZeissStereo/home.html');
g_navNode_4_0_2_2=g_navNode_4_0_2.addNode('13531','Zeiss Axio Imager M1 Upright Microscope',ssUrlPrefix + 'CoreFacilities/HistoCore/Microscopes/ZeissAxioUpright/home.html');
g_navNode_4_0_2_3=g_navNode_4_0_2.addNode('13536','Zeiss Axio Observer Z1 Inverted Microscope',ssUrlPrefix + 'CoreFacilities/HistoCore/Microscopes/ZeissAxioInverted/home.html');
g_navNode_4_0_3=g_navNode_4_0.addNode('13474','On-line Equipment Schedule',ssUrlPrefix + 'CoreFacilities/HistoCore/EquipSchedule/home.html');
g_navNode_4_0_4=g_navNode_4_0.addNode('13479','Contact Us',ssUrlPrefix + 'CoreFacilities/HistoCore/Contact/home.html');
g_navNode_5=g_navNode_Root.addNode('43748','Other Facilities',ssUrlPrefix + 'OtherFacilities/home.html','ShowWhatsInside==true');
g_navNode_5_0=g_navNode_5.addNode('43210','Dwan Conference Rooms',ssUrlPrefix + 'OtherFacilities/conference_rooms/home.html');
g_navNode_5_1=g_navNode_5.addNode('43203','Map and Directions',ssUrlPrefix + 'OtherFacilities/maps_directions/home.html');
g_navNode_5_2=g_navNode_5.addNode('43213','Card Reader Access to DVCCRC and VCRC',ssUrlPrefix + 'OtherFacilities/security/home.html');
g_navNode_6=g_navNode_Root.addNode('43753','News and Events',ssUrlPrefix + 'news_events/home.html','ShowWhatsInside==true');
g_navNode_6_0=g_navNode_6.addNode('42599','Events Calendar',ssUrlPrefix + 'news_events/calendar/home.html');
g_navNode_6_0_0=g_navNode_6_0.addNode('12816','LHI Lectures',ssUrlPrefix + 'news_events/calendar/LHI_Lectures/index.htm');
g_navNode_6_1=g_navNode_6.addNode('43756','Events Archive',ssUrlPrefix + 'news_events/evnts_archive/home.html');
g_navNode_6_1_4=g_navNode_6_1.addNode('177816','30th Anniversary of Heart Transplantation at University of Minnesota',ssUrlPrefix + 'news_events/evnts_archive/30thAnnHeartTransplant/home.html');
g_navNode_6_1_5=g_navNode_6_1.addNode('54148','Student Puts University History on National Stage',ssUrlPrefix + 'news_events/evnts_archive/James_Bluhm/home.html');
g_navNode_6_1_7=g_navNode_6_1.addNode('150892','Early Open-Heart Surgery Patient Visits LHI',ssUrlPrefix + 'news_events/evnts_archive/CLander_visit_8-31-07/home.html');
g_navNode_6_1_8=g_navNode_6_1.addNode('11452','2009 LHI/SCI Symposium',ssUrlPrefix + 'news_events/evnts_archive/2009_LHI-SCI_Symposium/index.htm','ShowRelatedLinks==true');
g_navNode_6_2=g_navNode_6.addNode('43216','Publications',ssUrlPrefix + 'news_events/publications/home.html');
g_navNode_6_3=g_navNode_6.addNode('43215','Visitors to LHI',ssUrlPrefix + 'news_events/visitors/home.html');
g_navNode_7=g_navNode_Root.addNode('13743','Education',ssUrlPrefix + 'Education/home.html','ShowRelatedLinks==true','ShowWhatsInside==false');
g_navNode_7_0=g_navNode_7.addNode('43769','Lillehei Endowed Scholars',ssUrlPrefix + 'Education/lillehei_scholars/home.html','ShowWhatsInside==true');
g_navNode_7_0_0=g_navNode_7_0.addNode('43771','Lillehei Scholar Award Recipients',ssUrlPrefix + 'Education/lillehei_scholars/recipients/home.html');
g_navNode_7_0_0_0=g_navNode_7_0_0.addNode('43258','Lillehei Scholar Award Recipients\x3a 2001-2002',ssUrlPrefix + 'Education/lillehei_scholars/recipients/scholars_01-02/home.html');
g_navNode_7_0_0_1=g_navNode_7_0_0.addNode('43261','Lillehei Scholar Award Recipients\x3a 2004-2005',ssUrlPrefix + 'Education/lillehei_scholars/recipients/scholars_04-05/home.html');
g_navNode_7_0_0_2=g_navNode_7_0_0.addNode('57641','Lillehei Scholar Award Recipients\x3a 2005-2006',ssUrlPrefix + 'Education/lillehei_scholars/recipients/scholars_05-06/home.html');
g_navNode_7_0_0_3=g_navNode_7_0_0.addNode('43259','Lillehei Scholar Award Recipients\x3a 2002-2003',ssUrlPrefix + 'Education/lillehei_scholars/recipients/scholars_02-03/home.html');
g_navNode_7_0_0_5=g_navNode_7_0_0.addNode('43260','Lillehei Scholar Award Recipients\x3a 2003-2004',ssUrlPrefix + 'Education/lillehei_scholars/recipients/scholars_03-04/home.html');
g_navNode_7_0_1=g_navNode_7_0.addNode('43253','Lillehei Scholars Program',ssUrlPrefix + 'Education/lillehei_scholars/award_descriptions/home.html');
g_navNode_7_1=g_navNode_7.addNode('13744','Summer Research Scholars Program',ssUrlPrefix + 'Education/SummerScholars/home.html','ShowDownloads==true','ShowRelatedLinks==true','ShowWhatsInside==false');
g_navNode_8=g_navNode_Root.addNode('43763','C. Walton Lillehei Museum',ssUrlPrefix + 'museum/home.html');
g_navNode_10=g_navNode_Root.addNode('43262','Make a Gift',ssUrlPrefix + 'make_a_gift/home.html');
g_navNode_11=g_navNode_Root.addNode('45008','Contact Us',ssUrlPrefix + 'contact_us/home.html');
if (SSContributor)
{
g_navNode_13=g_navNode_Root.addNode('3941','SSManager',ssUrlPrefix + 'ssmanager/index.htm','ShowRelatedLinks==false','contributorOnly==TRUE');
}
