/////////////////////////////////////////////////////////////////////////////
// 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('2660','Home page',ssUrlPrefix + 'index.htm',null,'BreadcrumbPrefixNode==employment\x3a2769','NavigationRootLevel==1','SectionLabel_en==Job Creation and Enterprise Development Department \x28EMP/ENTERPRISE\x29','SectionLabel_es==Departamento de Creaci\xf3n de Empleos y Desarrollo de la Empresa \x28EMP/ENTERPRISE\x29','SectionLabel_fr==D\xe9partement de la cr\xe9ation d\\x27emplois et du d\xe9veloppement de l\\x27entreprise \x28EMP/ENTERPRISE\x29','SiteLabel_en==EMP/ENTERPRISE','SiteLabel_es==EMP/ENTERPRISE','SiteLabel_fr==EMP/ENTERPRISE','SiteLanguages==en,es,fr','secondaryUrlVariableField==pl_replaceable_content');
g_navNode_0=g_navNode_Root.addNode('2674','About the Department',ssUrlPrefix + 'Aboutus/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('2676','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_1_0=g_navNode_1.addNode('4328','ILO Helpdesk for Business',ssUrlPrefix + 'areas/business-helpdesk/index.htm','NavigationRootLevel==3','SectionLabel_en==ILO Helpdesk for Business on International Labour Standards','SectionLabel_es==Helpdesk de la OIT para empresas sobre las normas internacionales del trabajo ','SectionLabel_fr==Helpdesk du BIT\x3a Assistance aux entreprises sur les normes internationales du travail ','SiteLabel_en==ILO Helpdesk','SiteLabel_es==Helpdesk de la OIT','SiteLabel_fr==Helpdesk du BIT','secondaryUrlVariableField==pl_replaceable_content');
g_navNode_1_0_0=g_navNode_1_0.addNode('4329','Tools and resources',ssUrlPrefix + 'areas/business-helpdesk/tools-resources/index.htm','NavigationRootLevel==3','SectionLabel_en==Tools and resources','SectionLabel_es==Herramientas y recursos ','SectionLabel_fr==Outils et ressources ','secondaryUrlVariableField==pl_replaceable_content');
g_navNode_1_0_1=g_navNode_1_0.addNode('4330','Questions and answers',ssUrlPrefix + 'areas/business-helpdesk/faqs/index.htm','NavigationRootLevel==3','SectionLabel_en==Questions and answers','SectionLabel_es==Preguntas y respuestas ','SectionLabel_fr==Questions/r\xe9ponses ','secondaryUrlVariableField==pl_replaceable_content');
g_navNode_1_1=g_navNode_1.addNode('39','Conducive environment for sustainable enterprise, including COOPs',ssUrlPrefix + 'areas/conducive-environment-for-sustainable-enterprise-including-coops/index.htm','SectionLabel_en==Conducive environment for sustainable enterprise, including COOPs','SectionLabel_es==Entorno propicio para las empresas sostenibles, incluidas las cooperativas','SectionLabel_fr==Un environnement propice aux entreprises durables, y compris les coop\xe9ratives','secondaryUrlVariableField==pl_replaceable_content');
g_navNode_1_1_0=g_navNode_1_1.addNode('5047','facet',ssUrlPrefix + 'areas/conducive-environment-for-sustainable-enterprise-including-coops/facet/index.htm','Hide==TRUE','SectionLabelShort_en==Resources','SectionLabelShort_es==Recursos','SectionLabelShort_fr==Ressources','SectionLabel_en==Conducive environment for sustainable enterprise, including COOPs resources','SectionLabel_es==Recursos de Entorno propicio para las empresas sostenibles, incluidas las cooperativas','SectionLabel_fr==Ressources de Un environnement propice aux entreprises durables, y compris les coop\xe9ratives','hide==TRUE','secondaryUrlVariableField==pl_replaceable_content');
g_navNode_1_2=g_navNode_1.addNode('40','Entrepreneurship and enterprise development',ssUrlPrefix + 'areas/entrepreneurship-and-enterprise-development/index.htm','SectionLabel_en==Entrepreneurship and enterprise development','SectionLabel_es==Iniciativa empresarial y desarrollo de la empresa','SectionLabel_fr==Entrepreneuriat et d\xe9veloppement des entreprises','secondaryUrlVariableField==pl_replaceable_content');
g_navNode_1_2_0=g_navNode_1_2.addNode('5048','facet',ssUrlPrefix + 'areas/entrepreneurship-and-enterprise-development/facet/index.htm','Hide==TRUE','SectionLabelShort_en==Resources','SectionLabelShort_es==Recursos','SectionLabelShort_fr==Ressources','SectionLabel_en==Entrepreneurship and enterprise development resources','SectionLabel_es==Recursos de Iniciativa empresarial y desarrollo de la empresa','SectionLabel_fr==Ressources de Entrepreneuriat et d\xe9veloppement des entreprises','hide==TRUE','secondaryUrlVariableField==pl_replaceable_content');
g_navNode_1_3=g_navNode_1.addNode('41','MNEs contributors to creation of employment',ssUrlPrefix + 'areas/mnes-contributors-to-creation-of-employment/index.htm','SectionLabel_en==MNEs contributors to creation of employment','SectionLabel_es==Aporte de las EMN a la creaci\xf3n de empleo','SectionLabel_fr==La contribution des entreprises multinationales \xe0 la cr\xe9ation d\u2019emplois','secondaryUrlVariableField==pl_replaceable_content');
g_navNode_1_3_0=g_navNode_1_3.addNode('5049','facet',ssUrlPrefix + 'areas/mnes-contributors-to-creation-of-employment/facet/index.htm','Hide==TRUE','SectionLabelShort_en==Resources','SectionLabelShort_es==Recursos','SectionLabelShort_fr==Ressources','SectionLabel_en==MNEs contributors to creation of employment resources','SectionLabel_es==Recursos de Aporte de las EMN a la creaci\xf3n de empleo','SectionLabel_fr==Ressources de La contribution des entreprises multinationales \xe0 la cr\xe9ation d\u2019emplois','hide==TRUE','secondaryUrlVariableField==pl_replaceable_content');
g_navNode_1_4=g_navNode_1.addNode('42','Social responsible enterprise-level practices',ssUrlPrefix + 'areas/social-responsible-enterprise-level-practices/index.htm','SectionLabel_en==Social responsible enterprise-level practices','SectionLabel_es==Pr\xe1cticas empresariales socialmente responsables','SectionLabel_fr==Pratiques socialement responsables au niveau de l\\x27entreprise','secondaryUrlVariableField==pl_replaceable_content');
g_navNode_1_4_0=g_navNode_1_4.addNode('5050','facet',ssUrlPrefix + 'areas/social-responsible-enterprise-level-practices/facet/index.htm','Hide==TRUE','SectionLabelShort_en==Resources','SectionLabelShort_es==Recursos','SectionLabelShort_fr==Ressources','SectionLabel_en==Social responsible enterprise-level practices resources','SectionLabel_es==Recursos de Pr\xe1cticas empresariales socialmente responsables','SectionLabel_fr==Ressources de Pratiques socialement responsables au niveau de l\\x27entreprise','hide==TRUE','secondaryUrlVariableField==pl_replaceable_content');
g_navNode_1_5=g_navNode_1.addNode('43','Business Development Services \x28BDS\x29',ssUrlPrefix + 'areas/business-development-services-bds/index.htm','SectionLabel_en==Business Development Services \x28BDS\x29','SectionLabel_es==Servicios de Desarrollo Empresarial \x28SDE\x29','SectionLabel_fr==Services de D\xe9veloppement des Entreprises \x28SDE\x29','secondaryUrlVariableField==pl_replaceable_content');
g_navNode_1_5_0=g_navNode_1_5.addNode('5051','facet',ssUrlPrefix + 'areas/business-development-services-bds/facet/index.htm','Hide==TRUE','SectionLabelShort_en==Resources','SectionLabelShort_es==Recursos','SectionLabelShort_fr==Ressources','SectionLabel_en==Business Development Services \x28BDS\x29 resources','SectionLabel_es==Recursos de Servicios de Desarrollo Empresarial \x28SDE\x29','SectionLabel_fr==Ressources de Services de D\xe9veloppement des Entreprises \x28SDE\x29','hide==TRUE','secondaryUrlVariableField==pl_replaceable_content');
g_navNode_1_6=g_navNode_1.addNode('44','Local Economic Development \x28LED\x29',ssUrlPrefix + 'areas/local-economic-development-led/index.htm','SectionLabel_en==Local Economic Development \x28LED\x29','SectionLabel_es==Desarrollo econ\xf3mico local \x28DEL\x29','SectionLabel_fr==D\xe9veloppement \xe9conomique local \x28DEL\x29','secondaryUrlVariableField==pl_replaceable_content');
g_navNode_1_6_0=g_navNode_1_6.addNode('5052','facet',ssUrlPrefix + 'areas/local-economic-development-led/facet/index.htm','Hide==TRUE','SectionLabelShort_en==Resources','SectionLabelShort_es==Recursos','SectionLabelShort_fr==Ressources','SectionLabel_en==Local Economic Development \x28LED\x29 resources','SectionLabel_es==Recursos de Desarrollo econ\xf3mico local \x28DEL\x29','SectionLabel_fr==Ressources de D\xe9veloppement \xe9conomique local \x28DEL\x29','hide==TRUE','secondaryUrlVariableField==pl_replaceable_content');
g_navNode_1_7=g_navNode_1.addNode('45','Value Chain Development \x28VCD\x29',ssUrlPrefix + 'areas/value-chain-development-vcd/index.htm','SectionLabel_en==Value Chain Development \x28VCD\x29','SectionLabel_es==Cadenas de Valor','SectionLabel_fr==Fili\xe8res d\\x27approvisionnement','secondaryUrlVariableField==pl_replaceable_content');
g_navNode_1_7_0=g_navNode_1_7.addNode('5053','facet',ssUrlPrefix + 'areas/value-chain-development-vcd/facet/index.htm','Hide==TRUE','SectionLabelShort_en==Resources','SectionLabelShort_es==Recursos','SectionLabelShort_fr==Ressources','SectionLabel_en==Value Chain Development \x28VCD\x29 resources','SectionLabel_es==Recursos de Cadenas de Valor','SectionLabel_fr==Ressources de Fili\xe8res d\\x27approvisionnement','hide==TRUE','secondaryUrlVariableField==pl_replaceable_content');
g_navNode_1_8=g_navNode_1.addNode('46','Women\'s Entrepreneurship Development \x28WED\x29',ssUrlPrefix + 'areas/womens-entrepreneurship-development-wed/index.htm','SectionLabel_en==Women\\x27s Entrepreneurship Development \x28WED\x29','SectionLabel_es==Desarrollo de la iniciativa empresarial de la mujer \x28WED\x29 ','SectionLabel_fr==D\xe9veloppement de l\\x27entrepreneuriat f\xe9minin \x28WED\x29 ','secondaryUrlVariableField==pl_replaceable_content');
g_navNode_1_8_0=g_navNode_1_8.addNode('5054','facet',ssUrlPrefix + 'areas/womens-entrepreneurship-development-wed/facet/index.htm','Hide==TRUE','SectionLabelShort_en==Resources','SectionLabelShort_es==Recursos','SectionLabelShort_fr==Ressources','SectionLabel_en==Women\\x27s Entrepreneurship Development \x28WED\x29 resources','SectionLabel_es==Recursos de Desarrollo de la iniciativa empresarial de la mujer \x28WED\x29','SectionLabel_fr==Ressources de D\xe9veloppement de l\\x27entrepreneuriat f\xe9minin \x28WED\x29 ','hide==TRUE','secondaryUrlVariableField==pl_replaceable_content');
g_navNode_1_9=g_navNode_1.addNode('47','Youth Entrepreneurship',ssUrlPrefix + 'areas/youth-entrepreneurship/index.htm','SectionLabel_en==Youth Entrepreneurship','SectionLabel_es==Iniciativa empresarial de los j\xf3venes ','SectionLabel_fr==Entrepreneuriat des jeunes ','secondaryUrlVariableField==pl_replaceable_content');
g_navNode_1_9_0=g_navNode_1_9.addNode('5055','facet',ssUrlPrefix + 'areas/youth-entrepreneurship/facet/index.htm','Hide==TRUE','SectionLabelShort_en==Resources','SectionLabelShort_es==Recursos','SectionLabelShort_fr==Ressources','SectionLabel_en==Youth Entrepreneurship resources','SectionLabel_es==Recursos de Iniciativa empresarial de los j\xf3venes ','SectionLabel_fr==Ressources de Entrepreneuriat des jeunes ','hide==TRUE','secondaryUrlVariableField==pl_replaceable_content');
g_navNode_2=g_navNode_Root.addNode('2675','Units',ssUrlPrefix + 'units/index.htm','SectionLabel_en==Units','SectionLabel_es==Unidades','SectionLabel_fr==Unit\xe9s','secondaryUrlVariableField==pl_replaceable_content');
g_navNode_2_0=g_navNode_2.addNode('50','Cooperatives \x28EMP/COOP\x29',ssUrlPrefix + 'units/cooperatives/index.htm','SectionLabel_en==Cooperatives \x28EMP/COOP\x29','SectionLabel_es==Cooperativas \x28COOP\x29','SectionLabel_fr==Coop\xe9ratives \x28COOP\x29','secondaryUrlVariableField==pl_replaceable_content');
g_navNode_2_0_0=g_navNode_2_0.addNode('5056','facet',ssUrlPrefix + 'units/cooperatives/facet/index.htm','Hide==TRUE','SectionLabelShort_en==Resources','SectionLabelShort_es==Recursos','SectionLabelShort_fr==Ressources','SectionLabel_en==Cooperatives \x28EMP/COOP\x29 resources','SectionLabel_es==Recursos de Cooperativas \x28COOP\x29','SectionLabel_fr==Ressources de Coop\xe9ratives \x28COOP\x29','hide==TRUE','secondaryUrlVariableField==pl_replaceable_content');
g_navNode_2_1=g_navNode_2.addNode('51','Small Enterprise Programme',ssUrlPrefix + 'units/boosting-employment-through-small-enterprise-development/index.htm','SectionLabel_en==Small Enterprise Programme','SectionLabel_es==Programa sobre Intensificaci\xf3n del Empleo mediante el Desarrollo de Peque\xf1as Empresas \x28SEED\x29','SectionLabel_fr==Programme de promotion de l\\x27emploi par le d\xe9veloppement des petites entreprises \x28SEED\x29','secondaryUrlVariableField==pl_replaceable_content');
g_navNode_2_1_0=g_navNode_2_1.addNode('5057','facet',ssUrlPrefix + 'units/boosting-employment-through-small-enterprise-development/facet/index.htm','Hide==TRUE','SectionLabelShort_en==Resources','SectionLabelShort_es==Recursos','SectionLabelShort_fr==Ressources','SectionLabel_en==Boosting Employment through Small Enterprise Development \x28EMP/SEED\x29 resources','SectionLabel_es==Recursos de Programa sobre Intensificaci\xf3n del Empleo mediante el Desarrollo de Peque\xf1as Empresas \x28SEED\x29','SectionLabel_fr==Ressources de Programme de promotion de l\\x27emploi par le d\xe9veloppement des petites entreprises \x28SEED\x29','hide==TRUE','secondaryUrlVariableField==pl_replaceable_content');
g_navNode_2_2=g_navNode_2.addNode('52','Multinational Enterprises \x28EMP/MULTI\x29',ssUrlPrefix + 'units/multinational-enterprises/index.htm','SectionLabel_en==Multinational Enterprises \x28EMP/MULTI\x29','SectionLabel_es==Empresas Multinacionales \x28MULTI\x29','SectionLabel_fr==Entreprises Multinationales \x28MULTI\x29','secondaryUrlVariableField==pl_replaceable_content');
g_navNode_2_2_0=g_navNode_2_2.addNode('5058','facet',ssUrlPrefix + 'units/multinational-enterprises/facet/index.htm','Hide==TRUE','SectionLabelShort_en==Resources','SectionLabelShort_es==Recursos','SectionLabelShort_fr==Ressources','SectionLabel_en==Multinational Enterprises \x28EMP/MULTI\x29 resources','SectionLabel_es==Recursos de Empresas Multinacionales \x28MULTI\x29','SectionLabel_fr==Ressources de Entreprises Multinationales \x28MULTI\x29','hide==TRUE','secondaryUrlVariableField==pl_replaceable_content');
g_navNode_2_3=g_navNode_2.addNode('53','Local Economic Development \x28LED\x29',ssUrlPrefix + 'units/local-economic-development-led/index.htm','SectionLabel_en==Local Economic Development \x28LED\x29','SectionLabel_es==Desarrollo econ\xf3mico local \x28DEL\x29','SectionLabel_fr==D\xe9veloppement \xe9conomique local \x28DEL\x29','secondaryUrlVariableField==pl_replaceable_content');
g_navNode_2_3_0=g_navNode_2_3.addNode('5060','facet',ssUrlPrefix + 'units/local-economic-development-led/facet/index.htm','Hide==TRUE','SectionLabelShort_en==Resources','SectionLabelShort_es==Recursos','SectionLabelShort_fr==Ressources','SectionLabel_en==Local Economic Development \x28LED\x29 resources','SectionLabel_es==Recursos de Desarrollo econ\xf3mico local \x28DEL\x29','SectionLabel_fr==Ressources de D\xe9veloppement \xe9conomique local \x28DEL\x29','hide==TRUE','secondaryUrlVariableField==pl_replaceable_content');
g_navNode_2_4=g_navNode_2.addNode('4560','Green Jobs programme',ssUrlPrefix + 'units/green-jobs-programme/index.htm','SectionLabel_en==Green Jobs Programme of the ILO','secondaryUrlVariableField==pl_replaceable_content');
g_navNode_2_4_0=g_navNode_2_4.addNode('4561','About the Programme',ssUrlPrefix + 'units/green-jobs-programme/about-the-programme/index.htm','SectionLabelShort_en==About the Programme','SectionLabel_en==About the Green Jobs Programme of the ILO','secondaryUrlVariableField==pl_replaceable_content');
g_navNode_2_4_1=g_navNode_2_4.addNode('4578','Whats new',ssUrlPrefix + 'units/green-jobs-programme/news/index.htm','SectionLabelShort_en==What\\x27s new','SectionLabel_en==What\\x27s new at the Green Jobs Programme','secondaryUrlVariableField==pl_replaceable_content');
g_navNode_2_4_3=g_navNode_2_4.addNode('4616','Training',ssUrlPrefix + 'units/green-jobs-programme/training/index.htm','SectionLabelShort_en==Training','SectionLabel_en==Training on Green Jobs','secondaryUrlVariableField==pl_replaceable_content');
g_navNode_2_5=g_navNode_2.addNode('4572','Start and Improve Your Business Programme',ssUrlPrefix + 'units/start-and-improve-your-business/index.htm','SectionLabel_en==Start and Improve Your Business Programme','SectionLabel_es==Inicie y Mejore Su Negocio \x28IMESUN\x29','SectionLabel_fr==Gerez Mieux Votre Entreprise \x28GERME\x29','secondaryUrlVariableField==pl_replaceable_content');
g_navNode_2_5_0=g_navNode_2_5.addNode('4573','facet',ssUrlPrefix + 'units/start-and-improve-your-business/facet/index.htm','Hide==TRUE','SectionLabelShort_en==Resources','SectionLabelShort_es==Recursos','SectionLabelShort_fr==Ressources','SectionLabel_en==Start and Improve your Business \x28SIYB\x29 resources','SectionLabel_es==Start and Improve your Business \x28SIYB\x29 resources','SectionLabel_fr==Ressources de Gerez Mieux Votre Entreprise \x28GERME\x29','secondaryUrlVariableField==pl_replaceable_content');
g_navNode_3=g_navNode_Root.addNode('2679','Projects',ssUrlPrefix + 'Projects/index.htm','SectionLabel_en==Projects','SectionLabel_es==Proyectos','SectionLabel_fr==Projets','secondaryUrlVariableField==pl_replaceable_content');
g_navNode_4=g_navNode_Root.addNode('2680','Events and meetings',ssUrlPrefix + 'Eventsandmeetings/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('2681','Publications',ssUrlPrefix + 'Publications/index.htm','SectionLabel_en==Publications','SectionLabel_es==Publicaciones','SectionLabel_fr==Publications','secondaryUrlVariableField==pl_replaceable_content');
g_navNode_7=g_navNode_Root.addNode('2695','Links',ssUrlPrefix + 'Links/index.htm','SectionLabel_en==Links','SectionLabel_es==Enlaces \xfatiles','SectionLabel_fr==Liens utiles','secondaryUrlVariableField==pl_replaceable_content');

