/////////////////////////////////////////////////////////////////////////////
// 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 attrName = argValues[i].split("==")[0];
		var attrValue = argValues[i].split("==")[1];

		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 attrName = argValues[i].split("==")[0];
		var attrValue = argValues[i].split("==")[1];

		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('100050','Home',ssUrlPrefix + 'index.htm',null);
g_navNode_0=g_navNode_Root.addNode('100020','Company Drivers',ssUrlPrefix + 'CompanyDrivers/index.htm','SectionNodeId==100020');
g_navNode_0_0=g_navNode_0.addNode('100051','Available Opportunities',ssUrlPrefix + 'CompanyDrivers/AvailableOpportunities/index.htm','SectionNodeId==100020','SubSectionNodeId==100051');
g_navNode_0_1=g_navNode_0.addNode('100178','Benefits',ssUrlPrefix + 'CompanyDrivers/Benefits/index.htm','SectionNodeId==100020','SubSectionNodeId==100178');
g_navNode_0_2=g_navNode_0.addNode('100187','Orientation and Safety',ssUrlPrefix + 'CompanyDrivers/OrientationandSafety/index.htm','SectionNodeId==100020','SubSectionNodeId==100187');
g_navNode_0_3=g_navNode_0.addNode('100195','Operating Centers',ssUrlPrefix + 'CompanyDrivers/OperatingCenters/index.htm','SectionNodeId==100020','SubSectionNodeId==100195');
g_navNode_0_4=g_navNode_0.addNode('100199','Separating Military',ssUrlPrefix + 'CompanyDrivers/SeparatingMilitary/index.htm','SectionNodeId==100020','SubSectionNodeId==100199');
g_navNode_0_5=g_navNode_0.addNode('100203','Equipment',ssUrlPrefix + 'CompanyDrivers/Equipment/index.htm','SectionNodeId==100020','SubSectionNodeId==100203');
g_navNode_0_6=g_navNode_0.addNode('100245','Recruiting Events',ssUrlPrefix + 'CompanyDrivers/RecruitingEvents/index.htm','SectionNodeId==100020');
g_navNode_0_7=g_navNode_0.addNode('100204','FAQs',ssUrlPrefix + 'CompanyDrivers/FrequentlyAskedQuestions/index.htm','SectionNodeId==100020','SubSectionNodeId==100204');
g_navNode_0_8=g_navNode_0.addNode('100209','Contact Us',ssUrlPrefix + 'CompanyDrivers/ContactUs/index.htm','SectionNodeId==100020');
g_navNode_1=g_navNode_Root.addNode('100022','Owner-Operators',ssUrlPrefix + 'Owner-Operators/index.htm','SectionNodeId==100022');
g_navNode_1_0=g_navNode_1.addNode('100161','Available Opportunities',ssUrlPrefix + 'Owner-Operators/AvailableOpportunities/index.htm','SectionNodeId==100022');
g_navNode_1_1=g_navNode_1.addNode('100216','Lease Programs',ssUrlPrefix + 'Owner-Operators/LeasePrograms/index.htm','SectionNodeId==100022');
g_navNode_1_2=g_navNode_1.addNode('100217','Finance Options',ssUrlPrefix + 'Owner-Operators/FinanceOptions/index.htm','SectionNodeId==100022');
g_navNode_1_3=g_navNode_1.addNode('100218','Purchase Power Program',ssUrlPrefix + 'Owner-Operators/PurchasePowerProgram/index.htm','SectionNodeId==100022');
g_navNode_1_4=g_navNode_1.addNode('100247','Orientation and Safety',ssUrlPrefix + 'Owner-Operators/OrientationandSafety/index.htm','SectionNodeId==100022');
g_navNode_1_5=g_navNode_1.addNode('100220','Operating Centers',ssUrlPrefix + 'Owner-Operators/OperatingCenters/index.htm','SectionNodeId==100022');
g_navNode_1_6=g_navNode_1.addNode('100221','Separating Military',ssUrlPrefix + 'Owner-Operators/SeparatingMilitary/index.htm','SectionNodeId==100022');
g_navNode_1_7=g_navNode_1.addNode('100246','Recruiting Events',ssUrlPrefix + 'Owner-Operators/RecruitingEvents/index.htm','SectionNodeId==100022');
g_navNode_1_8=g_navNode_1.addNode('100222','FAQs',ssUrlPrefix + 'Owner-Operators/FrequentlyAskedQuestions/index.htm','SectionNodeId==100022');
g_navNode_1_9=g_navNode_1.addNode('100223','Contact Us',ssUrlPrefix + 'Owner-Operators/ContactUs/index.htm','SectionNodeId==100022');
g_navNode_2=g_navNode_Root.addNode('100023','Office Careers',ssUrlPrefix + 'OfficeCareers/index.htm','SectionNodeId==100023');
g_navNode_2_0=g_navNode_2.addNode('100165','Available Opportunities',ssUrlPrefix + 'OfficeCareers/AvailableOpportunities/index.htm','SectionNodeId==100023');
g_navNode_2_1=g_navNode_2.addNode('100224','Benefits',ssUrlPrefix + 'OfficeCareers/Benefits/index.htm','SectionNodeId==100023');
g_navNode_2_2=g_navNode_2.addNode('100225','Candidate Resources',ssUrlPrefix + 'OfficeCareers/CandidateResources/index.htm','SectionNodeId==100023');
g_navNode_2_3=g_navNode_2.addNode('100226','Locations',ssUrlPrefix + 'OfficeCareers/Locations/index.htm','SectionNodeId==100023');
g_navNode_2_4=g_navNode_2.addNode('100241','Separating Military',ssUrlPrefix + 'OfficeCareers/SeparatingMilitary/index.htm','SectionNodeId==100023');
g_navNode_2_5=g_navNode_2.addNode('100227','FAQs',ssUrlPrefix + 'OfficeCareers/FrequentlyAskedQuestions/index.htm','SectionNodeId==100023');
g_navNode_2_6=g_navNode_2.addNode('100228','Contact Us',ssUrlPrefix + 'OfficeCareers/ContactUs/index.htm','SectionNodeId==100023');
g_navNode_3=g_navNode_Root.addNode('100024','Maintenance Careers',ssUrlPrefix + 'MaintenanceCareers/index.htm','SectionNodeId==100024');
g_navNode_3_0=g_navNode_3.addNode('100167','Available Opportunities',ssUrlPrefix + 'MaintenanceCareers/AvailableOpportunities/index.htm','SectionNodeId==100024');
g_navNode_3_1=g_navNode_3.addNode('100229','Benefits',ssUrlPrefix + 'MaintenanceCareers/Benefits/index.htm','SectionNodeId==100024');
g_navNode_3_2=g_navNode_3.addNode('100230','Candidate Resources',ssUrlPrefix + 'MaintenanceCareers/CandidateResources/index.htm','SectionNodeId==100024');
g_navNode_3_3=g_navNode_3.addNode('100231','Locations',ssUrlPrefix + 'MaintenanceCareers/Locations/index.htm','SectionNodeId==100024');
g_navNode_3_4=g_navNode_3.addNode('100242','Separating Military',ssUrlPrefix + 'MaintenanceCareers/SeparatingMilitary/index.htm','SectionNodeId==100024');
g_navNode_3_5=g_navNode_3.addNode('100232','FAQs',ssUrlPrefix + 'MaintenanceCareers/FrequentlyAskedQuestions/index.htm','SectionNodeId==100024');
g_navNode_3_6=g_navNode_3.addNode('100233','Contact Us',ssUrlPrefix + 'MaintenanceCareers/ContactUs/index.htm','SectionNodeId==100024');
g_navNode_4=g_navNode_Root.addNode('100025','Warehouse Careers',ssUrlPrefix + 'WarehouseCareers/index.htm','SectionNodeId==100025');
g_navNode_4_0=g_navNode_4.addNode('100173','Available Opportunities',ssUrlPrefix + 'WarehouseCareers/AvailableOpportunities/index.htm','SectionNodeId==100025');
g_navNode_4_1=g_navNode_4.addNode('100234','Benefits',ssUrlPrefix + 'WarehouseCareers/Benefits/index.htm','SectionNodeId==100025');
g_navNode_4_2=g_navNode_4.addNode('100235','Candidate Resources',ssUrlPrefix + 'WarehouseCareers/CandidateResources/index.htm','SectionNodeId==100025');
g_navNode_4_3=g_navNode_4.addNode('100236','Locations',ssUrlPrefix + 'WarehouseCareers/Locations/index.htm','SectionNodeId==100025');
g_navNode_4_4=g_navNode_4.addNode('100243','Separating Military',ssUrlPrefix + 'WarehouseCareers/SeparatingMilitary/index.htm','SectionNodeId==100025');
g_navNode_4_5=g_navNode_4.addNode('100238','Contact Us',ssUrlPrefix + 'WarehouseCareers/ContactUs/index.htm','SectionNodeId==100025');
g_navNode_5=g_navNode_Root.addNode('100239','About Us',ssUrlPrefix + 'AboutUs/index.htm','SectionNodeId==100239');
g_navNode_5_0=g_navNode_5.addNode('100367','The Schneider Way',ssUrlPrefix + 'AboutUs/TheSchneiderWay/index.htm','SectionNodeId==100239');
g_navNode_5_1=g_navNode_5.addNode('100368','Our Story',ssUrlPrefix + 'AboutUs/OurStory/index.htm','SectionNodeId==100239');
g_navNode_5_2=g_navNode_5.addNode('100369','Mature Workers \x28AARP\x29',ssUrlPrefix + 'AboutUs/MatureWorkersAARP/index.htm','SectionNodeId==100239');
