/////////////////////////////////////////////////////////////////////////////
// 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('100000','Home',ssUrlPrefix + 'index.htm',null,'SectionNodeId==100000');
g_navNode_0=g_navNode_Root.addNode('100042','Truckload Services',ssUrlPrefix + 'truckload/index.htm','SectionNodeId==100042');
g_navNode_0_0=g_navNode_0.addNode('100381','Long-haul',ssUrlPrefix + 'truckload/Long-haul/index.htm','SectionNodeId==100042');
g_navNode_0_1=g_navNode_0.addNode('100382','Regional',ssUrlPrefix + 'truckload/Regional/index.htm','SectionNodeId==100042');
g_navNode_0_2=g_navNode_0.addNode('100383','Expedited',ssUrlPrefix + 'truckload/Expedited/index.htm','SectionNodeId==100042');
g_navNode_0_3=g_navNode_0.addNode('100384','Dedicated',ssUrlPrefix + 'truckload/Dedicated/index.htm','SectionNodeId==100042');
g_navNode_0_3_0=g_navNode_0_3.addNode('100385','Private Fleet',ssUrlPrefix + 'truckload/Dedicated/PrivateFleet/index.htm','SectionNodeId==100042');
g_navNode_0_3_1=g_navNode_0_3.addNode('100386','Distribution Services',ssUrlPrefix + 'truckload/Dedicated/DistributionServices/index.htm','SectionNodeId==100042');
g_navNode_0_3_2=g_navNode_0_3.addNode('100387','Specialty Equipment',ssUrlPrefix + 'truckload/Dedicated/SpecialtyEquipment/index.htm','SectionNodeId==100042');
g_navNode_0_4=g_navNode_0.addNode('100388','Bulk',ssUrlPrefix + 'truckload/Bulk/index.htm','SectionNodeId==100042');
g_navNode_0_4_0=g_navNode_0_4.addNode('100402','Chemical',ssUrlPrefix + 'truckload/Bulk/Chemical/index.htm','SectionNodeId==100042');
g_navNode_0_4_1=g_navNode_0_4.addNode('100656','Energy Transportation',ssUrlPrefix + 'truckload/Bulk/Energy-Transportation/index.htm','SectionNodeId==100042');
g_navNode_0_4_2=g_navNode_0_4.addNode('100675','Intermodal',ssUrlPrefix + 'truckload/Bulk/Intermodal/index.htm','SectionNodeId==100042');
g_navNode_0_5=g_navNode_0.addNode('100389','Border Crossing',ssUrlPrefix + 'truckload/BorderCrossing/index.htm','SectionNodeId==100042');
g_navNode_0_6=g_navNode_0.addNode('100390','Cargo Security',ssUrlPrefix + 'truckload/Security/index.htm','SectionNodeId==100042');
g_navNode_0_7=g_navNode_0.addNode('100391','Resource Center',ssUrlPrefix + 'truckload/ResourceCenter/index.htm','SectionNodeId==100042');
g_navNode_0_8=g_navNode_0.addNode('100184','Rate Inquiry',ssUrlPrefix + 'truckload/RateInquiry/index.htm','SectionNodeId==100042');
g_navNode_0_9=g_navNode_0.addNode('100162','Truckload Contacts',ssUrlPrefix + 'truckload/TruckloadContacts/index.htm','SectionNodeId==100042');
g_navNode_1=g_navNode_Root.addNode('100054','Intermodal Services',ssUrlPrefix + 'intermodal/index.htm','SectionNodeId==100054');
g_navNode_1_0=g_navNode_1.addNode('100059','Transcontinental',ssUrlPrefix + 'intermodal/Transcontinental/index.htm','SectionNodeId==100054','SubSection2NodeId==100059');
g_navNode_1_1=g_navNode_1.addNode('100062','Regional',ssUrlPrefix + 'intermodal/Regional/index.htm','SectionNodeId==100054');
g_navNode_1_2=g_navNode_1.addNode('100155','Border Crossing',ssUrlPrefix + 'intermodal/BorderCrossing/index.htm','SectionNodeId==100054');
g_navNode_1_2_0=g_navNode_1_2.addNode('100671','Canada Border Crossing',ssUrlPrefix + 'intermodal/BorderCrossing/CanadaBorderCrossing/index.htm','SectionNodeId==100054');
g_navNode_1_2_1=g_navNode_1_2.addNode('100672','Mexico Border Crossing',ssUrlPrefix + 'intermodal/BorderCrossing/MexicoBorderCrossing/index.htm','SectionNodeId==100054');
g_navNode_1_3=g_navNode_1.addNode('100140','Dedicated',ssUrlPrefix + 'intermodal/DedicatedRail/index.htm','SectionNodeId==100054');
g_navNode_1_4=g_navNode_1.addNode('100060','Express Services',ssUrlPrefix + 'intermodal/TruckRail_Express/index.htm','SectionNodeId==100054');
g_navNode_1_5=g_navNode_1.addNode('100153','Load Securement',ssUrlPrefix + 'intermodal/LoadSecurement/index.htm','SectionNodeId==100054');
g_navNode_1_6=g_navNode_1.addNode('100157','Security',ssUrlPrefix + 'intermodal/Security/index.htm','SectionNodeId==100054');
g_navNode_1_7=g_navNode_1.addNode('100378','Resource Center',ssUrlPrefix + 'intermodal/ResourceCenter/index.htm','SectionNodeId==100054');
g_navNode_1_8=g_navNode_1.addNode('100240','Rate Inquiry',ssUrlPrefix + 'intermodal/RateInquiry/index.htm','SectionNodeId==100054');
g_navNode_2=g_navNode_Root.addNode('100064','Logistics Services',ssUrlPrefix + 'logistics/index.htm','SectionNodeId==100064','SubSectionNodeId==100064');
g_navNode_2_0=g_navNode_2.addNode('100068','Transportation Management',ssUrlPrefix + 'logistics/transportation_mgmt/index.htm','SectionNodeId==100064','SubSection2NodeId==100068');
g_navNode_2_0_0=g_navNode_2_0.addNode('100069','Brokerage',ssUrlPrefix + 'logistics/transportation_mgmt/brokerage/index.htm','SectionNodeId==100064','SubSection2NodeId==100068');
g_navNode_2_0_1=g_navNode_2_0.addNode('100284','Outsource Management',ssUrlPrefix + 'logistics/transportation_mgmt/OutsourceManagement/index.htm','SectionNodeId==100064','SubSection2NodeId==100068');
g_navNode_2_0_2=g_navNode_2_0.addNode('100285','Carrier Solutions',ssUrlPrefix + 'logistics/transportation_mgmt/CarrierSolutions/index.htm','SectionNodeId==100064','SubSection2NodeId==100068');
g_navNode_2_0_2_0=g_navNode_2_0_2.addNode('100287','Find Freight and Post Trucks',ssUrlPrefix + 'logistics/transportation_mgmt/CarrierSolutions/FindFreightandPostTrucks/index.htm','SectionNodeId==100064','SubSection2NodeId==100068');
g_navNode_2_0_2_1=g_navNode_2_0_2.addNode('100288','Carrier Purchasing Program',ssUrlPrefix + 'logistics/transportation_mgmt/CarrierSolutions/CarrierPurchasingProgram/index.htm','SectionNodeId==100064','SubSection2NodeId==100068');
g_navNode_2_0_2_2=g_navNode_2_0_2.addNode('100289','Payment Options',ssUrlPrefix + 'logistics/transportation_mgmt/CarrierSolutions/PaymentOptions/index.htm','SectionNodeId==100064','SubSection2NodeId==100068');
g_navNode_2_1=g_navNode_2.addNode('100210','Port Logistics',ssUrlPrefix + 'logistics/PortLogistics/index.htm','SectionNodeId==100064','SubSection2NodeId==100210');
g_navNode_2_1_0=g_navNode_2_1.addNode('100080','Warehousing',ssUrlPrefix + 'logistics/PortLogistics/contract_warehouse/index.htm','SectionNodeId==100064','SubSection2NodeId==100210');
g_navNode_2_1_1=g_navNode_2_1.addNode('100077','Transloading and Distribution',ssUrlPrefix + 'logistics/PortLogistics/transloading/index.htm','SectionNodeId==100064','SubSection2NodeId==100210');
g_navNode_2_1_2=g_navNode_2_1.addNode('100079','Port Drayage',ssUrlPrefix + 'logistics/PortLogistics/port_drayage/index.htm','SectionNodeId==100064','SubSection2NodeId==100210');
g_navNode_2_1_3=g_navNode_2_1.addNode('100401','Inland Logistics Management',ssUrlPrefix + 'logistics/PortLogistics/InlandLogisticsManagement/index.htm','SectionNodeId==100064','SubSection2NodeId==100210');
g_navNode_2_1_4=g_navNode_2_1.addNode('100470','Transloading Calculator',ssUrlPrefix + 'logistics/PortLogistics/TransloadingCalculator/index.htm','SectionNodeId==100064','SubSection2NodeId==100210');
g_navNode_2_2=g_navNode_2.addNode('100548','Integrated Delivery Service',ssUrlPrefix + 'logistics/IntegratedDeliveryService/index.htm','SectionNodeId==100064');
g_navNode_2_3=g_navNode_2.addNode('100081','Supply Chain Management',ssUrlPrefix + 'logistics/supply_chain_mgmt/index.htm','SectionNodeId==100064','SubSection2NodeId==100081');
g_navNode_2_3_0=g_navNode_2_3.addNode('100082','Transportation Network Management',ssUrlPrefix + 'logistics/supply_chain_mgmt/transportation_network/index.htm','SectionNodeId==100064','SubSection2NodeId==100081');
g_navNode_2_3_1=g_navNode_2_3.addNode('100083','Supplier Management',ssUrlPrefix + 'logistics/supply_chain_mgmt/supplier_management/index.htm','SectionNodeId==100064','SubSection2NodeId==100081');
g_navNode_2_3_2=g_navNode_2_3.addNode('100084','Schneider Logistics Consulting',ssUrlPrefix + 'logistics/supply_chain_mgmt/Schneider Logistics Consulting/logistics_consulting','SectionNodeId==100064','SubSection2NodeId==100081');
g_navNode_2_3_2_0=g_navNode_2_3_2.addNode('100085','BIDSMART',ssUrlPrefix + 'logistics/supply_chain_mgmt/Schneider Logistics Consulting/bidsmart/index.htm','SectionNodeId==100064','SubSection2NodeId==100081');
g_navNode_2_3_2_1=g_navNode_2_3_2.addNode('100086','Network Design and Optimization',ssUrlPrefix + 'logistics/supply_chain_mgmt/Schneider Logistics Consulting/network_design/index.htm','SectionNodeId==100064','SubSection2NodeId==100081');
g_navNode_2_3_2_2=g_navNode_2_3_2.addNode('100087','Supply Chain Diagnostic',ssUrlPrefix + 'logistics/supply_chain_mgmt/Schneider Logistics Consulting/Supply Chain Diagnostic/supply_chain_diagnostic','SectionNodeId==100064','SubSection2NodeId==100081');
g_navNode_2_4=g_navNode_2.addNode('100066','China Solutions',ssUrlPrefix + 'logistics/asia/index.htm','SectionNodeId==100064','SubSection2NodeId==100081');
g_navNode_2_4_0=g_navNode_2_4.addNode('100123','Transportation Management',ssUrlPrefix + 'logistics/asia/TransportationManagement/index.htm','SectionNodeId==100064','SubSection2NodeId==100210');
g_navNode_2_4_1=g_navNode_2_4.addNode('100124','Contract Logistics',ssUrlPrefix + 'logistics/asia/ContractLogistics/index.htm','SectionNodeId==100064','SubSection2NodeId==100210');
g_navNode_2_4_2=g_navNode_2_4.addNode('100125',' Consulting',ssUrlPrefix + 'logistics/asia/SupplyChainAdvisoryServices/index.htm','SectionNodeId==100064','SubSection2NodeId==100210');
g_navNode_2_5=g_navNode_2.addNode('100400','Resource Center',ssUrlPrefix + 'logistics/ResourceCenter/index.htm','SectionNodeId==100064');
g_navNode_2_6=g_navNode_2.addNode('100242','Rate Inquiry',ssUrlPrefix + 'logistics/RateInquiry/index.htm','SectionNodeId==100064');
g_navNode_2_7=g_navNode_2.addNode('100211','Logistics Contacts',ssUrlPrefix + 'logistics/LogisticsContacts/index.htm','SectionNodeId==100064');
g_navNode_3=g_navNode_Root.addNode('100277','Brokerage',ssUrlPrefix + 'Brokerage/index.htm','SectionNodeId==100277');
g_navNode_3_0=g_navNode_3.addNode('100278','Truckload',ssUrlPrefix + 'Brokerage/Truckload/index.htm','SectionNodeId==100277');
g_navNode_3_1=g_navNode_3.addNode('100279','Intermodal',ssUrlPrefix + 'Brokerage/Intermodal/index.htm','SectionNodeId==100277');
g_navNode_3_2=g_navNode_3.addNode('100280','Refrigerated',ssUrlPrefix + 'Brokerage/Refrigerated/index.htm','SectionNodeId==100277');
g_navNode_3_3=g_navNode_3.addNode('100281','Flatbed',ssUrlPrefix + 'Brokerage/FlatBed/index.htm','SectionNodeId==100277');
g_navNode_3_4=g_navNode_3.addNode('100282','Less-Than-Truckload',ssUrlPrefix + 'Brokerage/LTL/index.htm','SectionNodeId==100277');
g_navNode_3_5=g_navNode_3.addNode('100283','Carrier Solutions',ssUrlPrefix + 'Brokerage/CarrierServices/index.htm','SectionNodeId==100277');
g_navNode_4=g_navNode_Root.addNode('100102','About Schneider',ssUrlPrefix + 'About_Schneider/index.htm','SectionNodeId==100102','SubSectionNodeId==100102');
g_navNode_4_0=g_navNode_4.addNode('100376','Enterprise Overview',ssUrlPrefix + 'About_Schneider/EnterpriseOverview/index.htm','SectionNodeId==100102');
g_navNode_4_1=g_navNode_4.addNode('100106','Mission and Core Values',ssUrlPrefix + 'About_Schneider/Enterprise_Foundation/index.htm','SectionNodeId==100102');
g_navNode_4_2=g_navNode_4.addNode('100375','Schneider By The Numbers',ssUrlPrefix + 'About_Schneider/SchneiderByTheNumbers/index.htm','SectionNodeId==100102');
g_navNode_4_3=g_navNode_4.addNode('100103','History',ssUrlPrefix + 'About_Schneider/History/index.htm','SectionNodeId==100102');
g_navNode_4_4=g_navNode_4.addNode('100107','Charitable Giving',ssUrlPrefix + 'About_Schneider/Schneider_Foundation/index.htm','SectionNodeId==100102');
g_navNode_4_5=g_navNode_4.addNode('100472','Awards',ssUrlPrefix + 'About_Schneider/Awards/index.htm','SectionNodeId==100102');
g_navNode_4_7=g_navNode_4.addNode('100690','Customer Solutions',ssUrlPrefix + 'About_Schneider/CustomerSolutions/index.htm','SectionNodeId==100102');
g_navNode_4_8=g_navNode_4.addNode('100691','Online Tools',ssUrlPrefix + 'About_Schneider/OnlineTools/index.htm','SectionNodeId==100102');
g_navNode_4_9=g_navNode_4.addNode('100692','Insurance',ssUrlPrefix + 'About_Schneider/Insurance/index.htm','SectionNodeId==100102');
g_navNode_5=g_navNode_Root.addNode('100677','Knowledge Hub',ssUrlPrefix + 'KnowledgeHub/index.htm','SectionNodeId==100677');
g_navNode_5_0=g_navNode_5.addNode('100678','Whitepapers',ssUrlPrefix + 'KnowledgeHub/Whitepapers/index.htm','SectionNodeId==100677');
g_navNode_5_1=g_navNode_5.addNode('100679','Case Studies',ssUrlPrefix + 'KnowledgeHub/CaseStudies/index.htm','SectionNodeId==100677');
g_navNode_5_2=g_navNode_5.addNode('100680','Position Papers',ssUrlPrefix + 'KnowledgeHub/PositionPapers/index.htm','SectionNodeId==100677');
g_navNode_5_3=g_navNode_5.addNode('100681','Webinars',ssUrlPrefix + 'KnowledgeHub/Webinars/index.htm','SectionNodeId==100677');
g_navNode_5_4=g_navNode_5.addNode('100682','Presentations',ssUrlPrefix + 'KnowledgeHub/Presentations/index.htm','SectionNodeId==100677');
g_navNode_5_5=g_navNode_5.addNode('100683','Service Offerings',ssUrlPrefix + 'KnowledgeHub/ServiceOfferings/index.htm','SectionNodeId==100677');
g_navNode_5_6=g_navNode_5.addNode('100109','Press Releases',ssUrlPrefix + 'KnowledgeHub/News/index.htm','SectionNodeId==100677','secondaryUrlVariableField==region4');
g_navNode_6=g_navNode_Root.addNode('100041','Jobs',ssUrlPrefix + 'Jobs/index.htm','SectionNodeId==100041');
g_navNode_6_0=g_navNode_6.addNode('100626','Driving Careers',ssUrlPrefix + 'Jobs/DrivingCareers/index.htm');

