// You can find instructions for this file at http://www.treeview.net

//Environment variables are usually set at the top of this file.
USETEXTLINKS = 1
STARTALLOPEN = 0
USEFRAMES = 0
USEICONS = 1
WRAPTEXT = 1
PERSERVESTATE = 0
HIGHLIGHT = 1
HIGHLIGHT_BG = '#800000'
ICONPATH = '/images/img_treemenus/'


foldersTree = gFld("<span class=\"paraboldcolourtext\">Contratación pública</span>", "")

	c1 = insFld(foldersTree, gFld("Puerta de acceso sobre contratación pública", "gproc_s.htm")) 
		insDoc(c1, gLnk("S", "Introducción",	"gproc_s.htm#introduction"))		// node=2
		insDoc(c1, gLnk("S", "Tres áreas de trabajo",	"gproc_s.htm#work"))		// node=3
		insDoc(c1, gLnk("S", "Cooperación técnica",	"gproc_s.htm#tech_coop"))		// node=4
		insDoc(c1, gLnk("S", "Información adicional",	"gproc_s.htm#information"))	// node=5
	c2 = insDoc(foldersTree, gLnk("S", "Panorama general", "overview_s.htm"))	// node=6
	c3 = insFld(foldersTree, gFld("Acuerdo sobre Contratación Pública (ACP)", "gp_gpa_s.htm")) // node=7
	    insDoc(c3, gLnk("S", "Panorama general del ACP",	"gpa_overview_s.htm"))	// node=8
		insDoc(c3, gLnk("S", "Acuerdo",	"/spanish/docs_s/legal_s/gpr-94_01_s.htm"))	// node=9
		insDoc(c3, gLnk("S", "Apéndices & anexos",	"appendices_s.htm"))			// node=10
		insDoc(c3, gLnk("S", "Partes y observadores",	"memobs_s.htm"))			// node=11
		insDoc(c3, gLnk("S", "Adhesión",	"gp_gpa_s.htm#accession"))				// node=12
		insDoc(c3, gLnk("S", "Diferencias",	"disput_s.htm"))						// node=13
	   insDoc(c3, gLnk("S", "Otros documentos oficiales",	"documents_s.htm"))					// node=14
	 	insDoc(c3, gLnk("S", "Notificaciones",	"notnat_s.htm"))				// node=15
		insDoc(c3, gLnk("S", "Valores de umbral",	"thresh_s.htm"))			// node=16
		insDoc(c3, gLnk("S", "Informes estadísticos",	"gpstat_s.htm"))		// node=17
	c5 = insDoc(foldersTree, gLnk("S", "Negociaciones",	"negotiations_s.htm"))		// node=18
	c6 = insDoc(foldersTree, gLnk("B", "Decisión a nivel ministerial sobre los resultados de las negociaciones",	"http://docsonline.wto.org/imrd/directdoc.asp?DDFDocuments/v/PLURI/GPA/112.doc"))	// node=19
	c7 = insFld(foldersTree, gFld("Grupo de Trabajo sobre la Transparencia", "gptran_s.htm"))		// node=20
		insDoc(c7, gLnk("S", "Mandatos",	"gpmand_s.htm"))						// node=21
		insDoc(c7, gLnk("S", "Documentos sobre la transparencia",	"gptran_s.htm#documents"))		// node=22
	c8 = insFld(foldersTree, gFld("Negociaciones sobre contratación en el marco del AGCS", "gpserv_s.htm"))	// node=23
		insDoc(c8, gLnk("S", "Mandato",	"gpserv_s.htm#mandate"))					// node=24
		insDoc(c8, gLnk("S", "Documentos sobre las Normas del AGCS",	"gpserv_s.htm#documents"))	// node=25
	c9 = insFld(foldersTree, gFld("Cooperación técnica", "gptech_coop_s.htm"))		// node=26
		insDoc(c9, gLnk("S", "Acontecimientos",	"ta_s.htm"))						// node=27
		insDoc(c9, gLnk("S", "Documentos de interés",	"gptech_coop_s.htm#documents"))	// node=28
		insDoc(c9, gLnk("S", "Aplicaciones",	"gptech_coop_s.htm#applications"))  // node=29
	c10 = insFld(foldersTree, gFld("Información adicional", "information_s.htm"))    // node=30
	   	insDoc(c10, gLnk("S", "Legislación sobre contratación pública",	"information_s.htm#pl"))	// node=31
		insDoc(c10, gLnk("S", "Otros instrumentos",	"information_s.htm#instruments"))	// node=32


//Set this string if Treeview and other configuration files may also be loaded in the same session
foldersTree.treeID = "t2" 
 
// add the page names and their appropriate numbers to this array - node numbers will need changing when new
// pages are inserted into the hierarchy
var nodes_array = [ // pagename, nodeid
					["gproc_s.htm",  1],
					["gproc_s.htm#introduction",  2],
					["gproc_s.htm#work",  3],
					["gproc_s.htm#tech_coop",  4],
					["gproc_s.htm#information",  5],
					["overview_s.htm",  6],
					["gp_gpa_s.htm",  7],
					["gpa_overview_s.htm",  8],
					["/spanish/docs_s/legal_s/gpr-94_01_s.htm",  9],
					["appendices_s.htm",  10],
					["memobs_s.htm",  11],
					["gp_gpa_s.htm#accession",  12],
					["disput_s.htm",  13],
					["documents_s.htm",  14],
					["notnat_s.htm",  15],
					["thresh_s.htm",  16],
					["gpstat_s.htm",  17],
					["negotiations_s.htm",  18],
					["http://docsonline.wto.org/imrd/directdoc.asp?DDFDocuments/v/PLURI/GPA/W297.doc",  19],
					["gptran_s.htm",  20],
					["gpmand_s.htm",  21],
					["gptran_s.htm#documents",  22],
					["gpserv_s.htm",  23],
					["gpserv_s.htm#mandate",  24],
					["gpserv_s.htm#documents",  25],
					["gptech_coop_s.htm",  26],
					["ta_s.htm",  27],
					["gptech_coop_s.htm#documents",  28],
					["gptech_coop_s.htm#applications",  29],
					["information_s.htm",  30],
					["information_s.htm#pl",  31],
					["information_s.htm#instruments",  32],
					]


// functions required to highlight link for current page
function clickOnLink2(clickedId, target, windowName) 
{  
    highlightObjLink(findObj(clickedId));
    
}

function loadSynchPage2(linkID) 
{
	var folderObj;
	docObj = findObj(linkID);
	docObj.forceOpeningOfAncestorFolders();
	clickOnLink2(linkID,docObj.link,'_self'); 
} 


function HighlightTreeNode(pagename) 
{

	for (var q=0; q<(nodes_array.length); q++)
	{
		if (nodes_array[q][0] == pagename)
		{
			loadSynchPage(nodes_array[q][1]);
			break;
		}
	}
	return false;
}

function HighlightTreeNode2(pagename) 
{

	for (var q=0; q<(nodes_array.length); q++)
	{
		if (nodes_array[q][0] == pagename)
		{
			loadSynchPage2(nodes_array[q][1]);
			break;
		}
	}
	return false;
}


