/////////////////////////////////////////////////////////////////////////////
// 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('3219','EMP/POLICY',ssUrlPrefix + 'index.htm',null,'BreadcrumbPrefixNode==employment\x3a2769','NavigationRootLevel==1','SectionLabel_en==Employment Policy Department \x28EMP/POLICY\x29','SectionLabel_es==Departamento de Pol\xedtica de Empleo \x28EMP/POLICY\x29','SectionLabel_fr==D\xe9partement des politiques de l\\x27emploi \x28EMP/POLICY\x29','SiteLabel_en==EMP/POLICY','SiteLabel_es==EMP/POLICY','SiteLabel_fr==EMP/POLICY','SiteLanguages==en,es,fr','secondaryUrlVariableField==pl_replaceable_content');
g_navNode_0=g_navNode_Root.addNode('3220','About us',ssUrlPrefix + 'about/index.htm','SectionLabel_en==About the department','SectionLabel_es==Acerca del departamento','SectionLabel_fr==\xc0 propos du d\xe9partement','secondaryUrlVariableField==pl_replaceable_content');
g_navNode_1=g_navNode_Root.addNode('3221','Units',ssUrlPrefix + 'units/index.htm','SectionLabel_en==Units','SectionLabel_es==Unidades','SectionLabel_fr==Unit\xe9s','secondaryUrlVariableField==pl_replaceable_content');
g_navNode_1_0=g_navNode_1.addNode('48','Country Employment Policy Unit \x28EMP/CEPOL',ssUrlPrefix + 'units/country-employment-policy-unit-empcepol/index.htm','SectionLabel_en==Country Employment Policy Unit \x28EMP/CEPOL\x29','SectionLabel_es==Unidad de pol\xedtica nacional de empleo \x28EMP/CEPOL\x29','SectionLabel_fr==Unit\xe9 des politiques nationales de l\\x27emploi \x28EMP/CEPOL\x29','secondaryUrlVariableField==pl_replaceable_content');
g_navNode_1_0_0=g_navNode_1_0.addNode('5064','facet',ssUrlPrefix + 'units/country-employment-policy-unit-empcepol/facet/index.htm','Hide==TRUE','SectionLabelShort_en==Resources','SectionLabelShort_es==Recursos','SectionLabelShort_fr==Ressources','SectionLabel_en==Resources from Country Employment Policy Unit \x28EMP/CEPOL\x29','SectionLabel_es==Recursos de la Unidad de pol\xedtica nacional de empleo \x28EMP/CEPOL\x29','SectionLabel_fr==Ressources de l\\x27Unit\xe9 des politiques nationales de l\\x27emploi \x28EMP/CEPOL\x29','secondaryUrlVariableField==pl_replaceable_content');
g_navNode_1_1=g_navNode_1.addNode('49','Employment-Intensive Investment Unit \x28EMP/INVEST\x29',ssUrlPrefix + 'units/employment-intensive-investment-unit-empinvest/index.htm','SectionLabel_en==Employment-Intensive Investment Unit \x28EMP/INVEST\x29','SectionLabel_es==Programa de Inversiones Intensivas en Empleo \x28PIIE\x29','SectionLabel_fr==Programme des investissements \xe0 haute intensit\xe9 de main-d\\x27\u0153uvre \x28HIMO\x29','secondaryUrlVariableField==pl_replaceable_content');
g_navNode_1_1_0=g_navNode_1_1.addNode('5065','facet',ssUrlPrefix + 'units/employment-intensive-investment-unit-empinvest/facet/index.htm','Hide==TRUE','SectionLabelShort_en==Resources','SectionLabelShort_es==Recursos','SectionLabelShort_fr==Ressources','SectionLabel_en==Resources from Employment-Intensive Investment Unit \x28EMP/INVEST\x29','SectionLabel_es==Recursos del Programa de Inversiones Intensivas en Empleo \x28PIIE\x29','SectionLabel_fr==Ressources du Programme des investissements \xe0 haute intensit\xe9 de main-d\\x27\u0153uvre \x28HIMO\x29','secondaryUrlVariableField==pl_replaceable_content');
g_navNode_2=g_navNode_Root.addNode('3222','Areas of work',ssUrlPrefix + 'areas/index.htm','SectionLabel_en==Areas of work','SectionLabel_es==Ambitos de trabajo','SectionLabel_fr==Domaines de travail','secondaryUrlVariableField==pl_replaceable_content');
g_navNode_2_0=g_navNode_2.addNode('32','Country employment policy analysis and development',ssUrlPrefix + 'areas/country-employment-policy-analysis-and-development/index.htm','SectionLabel_en==Country employment policy analysis and development','SectionLabel_es==An\xe1lisis de pol\xedticas nacionales de empleo','SectionLabel_fr==Analyse et \xe9laboration des politiques nationales de l\u2019emploi','secondaryUrlVariableField==pl_replaceable_content');
g_navNode_2_0_0=g_navNode_2_0.addNode('5066','facet',ssUrlPrefix + 'areas/country-employment-policy-analysis-and-development/facet/index.htm','Hide==TRUE','SectionLabelShort_en==Resources','SectionLabelShort_es==Recursos','SectionLabelShort_fr==Ressources','SectionLabel_en==Resources on Country employment policy analysis and development','SectionLabel_es==Recursos sobre la An\xe1lisis de pol\xedticas nacionales de empleo','SectionLabel_fr==Ressources sur l\\x27Analyse et \xe9laboration des politiques nationales de l\u2019emploi','secondaryUrlVariableField==pl_replaceable_content');
g_navNode_2_1=g_navNode_2.addNode('33','Employment-intensive investment',ssUrlPrefix + 'areas/employment-intensive-investment/index.htm','SectionLabel_en==Employment-intensive investment','SectionLabel_es==Inversiones intensivas en empleo','SectionLabel_fr==Investissement \xe0 haute intensit\xe9 d\u2019emploi','secondaryUrlVariableField==pl_replaceable_content');
g_navNode_2_1_0=g_navNode_2_1.addNode('5067','facet',ssUrlPrefix + 'areas/employment-intensive-investment/facet/index.htm','Hide==TRUE','SectionLabelShort_en==Resources','SectionLabelShort_es==Recursos','SectionLabelShort_fr==Ressources','SectionLabel_en==Resources on Employment-intensive investment','SectionLabel_es==Recursos sobre las Inversiones intensivas en empleo','SectionLabel_fr==Ressources sur l\\x27Investissement \xe0 haute intensit\xe9 d\u2019emploi','secondaryUrlVariableField==pl_replaceable_content');
g_navNode_2_2=g_navNode_2.addNode('34','Informal economy',ssUrlPrefix + 'areas/informal-economy/index.htm','SectionLabel_en==Informal economy','SectionLabel_es==Econom\xeda informal','SectionLabel_fr==Economie informelle','secondaryUrlVariableField==pl_replaceable_content');
g_navNode_2_2_0=g_navNode_2_2.addNode('5068','facet',ssUrlPrefix + 'areas/informal-economy/facet/index.htm','Hide==TRUE','SectionLabelShort_en==Resources','SectionLabelShort_es==Recursos','SectionLabelShort_fr==Ressources','SectionLabel_en==Resources on Informal economy','SectionLabel_es==Recursos sobre la Econom\xeda informal','SectionLabel_fr==Ressources sur l\\x27Economie informelle','secondaryUrlVariableField==pl_replaceable_content');
g_navNode_2_3=g_navNode_2.addNode('35','Poverty reduction strategies',ssUrlPrefix + 'areas/poverty-reduction-strategies/index.htm','SectionLabel_en==Poverty reduction strategies','SectionLabel_es==Estrategias de reducci\xf3n de la pobreza','SectionLabel_fr==Strat\xe9gies de r\xe9duction de la pauvret\xe9 \x28SRP\x29','secondaryUrlVariableField==pl_replaceable_content');
g_navNode_2_3_0=g_navNode_2_3.addNode('5070','facet',ssUrlPrefix + 'areas/poverty-reduction-strategies/facet/index.htm','Hide==TRUE','SectionLabelShort_en==Resources','SectionLabel_en==Resources on Poverty reduction strategies','secondaryUrlVariableField==pl_replaceable_content');
g_navNode_2_4=g_navNode_2.addNode('38','Rural/urban job creation',ssUrlPrefix + 'areas/rural-urban-job-creation/index.htm','SectionLabel_en==Rural/urban job creation','SectionLabel_es==Creaci\xf3n de trabajo rural y urbano','SectionLabel_fr==Cr\xe9ation d\u2019emplois en milieu rural/urbain','secondaryUrlVariableField==pl_replaceable_content');
g_navNode_2_4_0=g_navNode_2_4.addNode('5071','facet',ssUrlPrefix + 'areas/rural-urban-job-creation/facet/index.htm','Hide==TRUE','SectionLabelShort_en==Resources','SectionLabelShort_es==Recursos','SectionLabelShort_fr==Ressources','SectionLabel_en==Resources on Rural/urban job creation','SectionLabel_es==Recursos sobre la Creaci\xf3n de trabajo rural y urbano','SectionLabel_fr==Ressources sur la Cr\xe9ation d\u2019emplois en milieu rural/urbain','secondaryUrlVariableField==pl_replaceable_content');
g_navNode_3=g_navNode_Root.addNode('3223','Countries covered',ssUrlPrefix + 'countries/index.htm','SectionLabel_en==Countries covered','SectionLabel_es==Pa\xedses abarcados','SectionLabel_fr==Pays couverts','secondaryUrlVariableField==pl_replaceable_content');
g_navNode_3_0=g_navNode_3.addNode('5084','Azerbaijan',ssUrlPrefix + 'countries/azerbaijan/index.htm','SectionLabel_en==Azerbaijan','SectionLabel_es==Azerbaiy\xe1n','SectionLabel_fr==Azerba\xefdjan','secondaryUrlVariableField==pl_replaceable_content');
g_navNode_3_0_0=g_navNode_3_0.addNode('4550','facet',ssUrlPrefix + 'countries/azerbaijan/facet/index.htm','Hide==TRUE','SectionLabelShort_en==Resources','SectionLabelShort_es==Recursos','SectionLabelShort_fr==Ressources','SectionLabel_en==Resources on Azerbaijan','SectionLabel_es==Recursos sobre el Azerbaiy\xe1n','SectionLabel_fr==Ressources sur Azerba\xefdjan','secondaryUrlVariableField==pl_replaceable_content');
g_navNode_3_1=g_navNode_3.addNode('5085','Cameroon',ssUrlPrefix + 'countries/cameroon/index.htm','SectionLabel_en==Cameroon','SectionLabel_es==Camer\xfan','SectionLabel_fr==Cameroun','secondaryUrlVariableField==pl_replaceable_content');
g_navNode_3_1_0=g_navNode_3_1.addNode('4551','facet',ssUrlPrefix + 'countries/cameroon/facet/index.htm','Hide==TRUE','SectionLabelShort_en==Resources','SectionLabelShort_es==Recursos','SectionLabelShort_fr==Ressources','SectionLabel_en==Resources on Cameroon','SectionLabel_es==Recursos sobre el Camer\xfan','SectionLabel_fr==Ressources sur Cameroun','secondaryUrlVariableField==pl_replaceable_content');
g_navNode_3_2=g_navNode_3.addNode('5086','Ethiopia',ssUrlPrefix + 'countries/ethiopia/index.htm','SectionLabel_en==Ethiopia','SectionLabel_es==Etiop\xeda','SectionLabel_fr==\xc9thiopie','secondaryUrlVariableField==pl_replaceable_content');
g_navNode_3_2_0=g_navNode_3_2.addNode('4552','facet',ssUrlPrefix + 'countries/ethiopia/facet/index.htm','Hide==TRUE','SectionLabelShort_en==Resources','SectionLabelShort_es==Recursos','SectionLabelShort_fr==Ressources','SectionLabel_en==Resources on Ethiopia','SectionLabel_es==Recursos sobre la Etiop\xeda','SectionLabel_fr==Ressources sur \xc9thiopie','secondaryUrlVariableField==pl_replaceable_content');
g_navNode_3_3=g_navNode_3.addNode('5087','Haiti',ssUrlPrefix + 'countries/haiti/index.htm','SectionLabel_en==Haiti','SectionLabel_es==Hait\xed','SectionLabel_fr==Ha\xefti','secondaryUrlVariableField==pl_replaceable_content');
g_navNode_3_3_0=g_navNode_3_3.addNode('4553','facet',ssUrlPrefix + 'countries/haiti/facet/index.htm','Hide==TRUE','SectionLabelShort_en==Recursos','SectionLabelShort_es==Recursos ','SectionLabelShort_fr==Ressources','SectionLabel_en==Resources on Haiti','SectionLabel_es==Recursos sobre el Hait\xed','SectionLabel_fr==Ressources sur Ha\xefti','secondaryUrlVariableField==pl_replaceable_content');
g_navNode_3_4=g_navNode_3.addNode('5088','Indonesia',ssUrlPrefix + 'countries/indonesia/index.htm','SectionLabel_en==Indonesia','SectionLabel_es==Indonesia','SectionLabel_fr==Indon\xe9sie','secondaryUrlVariableField==pl_replaceable_content');
g_navNode_3_4_0=g_navNode_3_4.addNode('4554','facet',ssUrlPrefix + 'countries/indonesia/facet/index.htm','Hide==TRUE','SectionLabelShort_en==Resources','SectionLabelShort_es==Recursos','SectionLabelShort_fr==Ressources','SectionLabel_en==Resources on Indonesia','SectionLabel_es==Recursos sobre la Indonesia','SectionLabel_fr==Ressources sur Indon\xe9sie','secondaryUrlVariableField==pl_replaceable_content');
g_navNode_3_5=g_navNode_3.addNode('5089','Madagascar',ssUrlPrefix + 'countries/madagascar/index.htm','SectionLabel_en==Madagascar','SectionLabel_es==Madagascar','SectionLabel_fr==Madagascar','secondaryUrlVariableField==pl_replaceable_content');
g_navNode_3_5_0=g_navNode_3_5.addNode('4555','facet',ssUrlPrefix + 'countries/madagascar/facet/index.htm','Hide==TRUE','SectionLabelShort_en==Resources','SectionLabelShort_es==Recursos','SectionLabelShort_fr==Ressources','SectionLabel_en==Resources on Madagascar','SectionLabel_es==Recursos sobre el Madagascar','SectionLabel_fr==Ressources sur Madagascar','secondaryUrlVariableField==pl_replaceable_content');
g_navNode_3_6=g_navNode_3.addNode('5090','Mozambique',ssUrlPrefix + 'countries/mozambique/index.htm','SectionLabel_en==Mozambique','SectionLabel_es==Mozambique','SectionLabel_fr==Mozambique','secondaryUrlVariableField==pl_replaceable_content');
g_navNode_3_6_0=g_navNode_3_6.addNode('4556','facet',ssUrlPrefix + 'countries/mozambique/facet/index.htm','Hide==TRUE','SectionLabelShort_en==Resources','SectionLabelShort_es==Recursos','SectionLabelShort_fr==Ressources','SectionLabel_en==Resources on Mozambique','SectionLabel_es==Recursos sobre el Mozambique','SectionLabel_fr==Ressources sur Mozambique','secondaryUrlVariableField==pl_replaceable_content');
g_navNode_3_7=g_navNode_3.addNode('5091','Tanzania',ssUrlPrefix + 'countries/tanzania/index.htm','SectionLabel_en==Tanzania','SectionLabel_es==Tanzan\xeda','SectionLabel_fr==Tanzanie','secondaryUrlVariableField==pl_replaceable_content');
g_navNode_3_7_0=g_navNode_3_7.addNode('4557','facet',ssUrlPrefix + 'countries/tanzania/facet/index.htm','Hide==TRUE','SectionLabelShort_en==Resources','SectionLabelShort_es==Recursos','SectionLabelShort_fr==Ressources','SectionLabel_en==Resources on Tanzania','SectionLabel_es==Recursos sobre la Tanzan\xeda','SectionLabel_fr==Ressources sur Tanzanie','secondaryUrlVariableField==pl_replaceable_content');
g_navNode_4=g_navNode_Root.addNode('3226','Events and meetings',ssUrlPrefix + 'events/index.htm','SectionLabel_en==Events and meetings','SectionLabel_es==Eventos y reuniones','SectionLabel_fr==\xc9v\xe9nements et reunions','secondaryUrlVariableField==pl_replaceable_content');
g_navNode_5=g_navNode_Root.addNode('3227','Publications',ssUrlPrefix + 'pubs/index.htm','SectionLabel_en==Publications','SectionLabel_es==Publicaciones','SectionLabel_fr==Publications','secondaryUrlVariableField==pl_replaceable_content');
g_navNode_6=g_navNode_Root.addNode('3240','Links',ssUrlPrefix + 'links/index.htm','SectionLabel_en==Links','SectionLabel_es==Enlaces \xfatiles','SectionLabel_fr==Liens utiles','secondaryUrlVariableField==pl_replaceable_content');

