// 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\">Government procurement</span>", "")

	c1 = insFld(foldersTree, gFld("Procurement Gateway", "gproc_e.htm")) 		// node=1
		insDoc(c1, gLnk("S", "Introduction",	"gproc_e.htm#introduction"))	// node=2
		insDoc(c1, gLnk("S", "Three areas of work",	"gproc_e.htm#work"))		// node=3
		insDoc(c1, gLnk("S", "Technical Co-operation",	"gproc_e.htm#tech_coop"))	// node=4
		insDoc(c1, gLnk("S", "Additional Information",	"gproc_e.htm#information"))	// node=5
	c2 = insDoc(foldersTree, gLnk("S", "General Overview", "overview_e.htm"))		// node=6
	c3 = insFld(foldersTree, gFld("Agreement on Government Procurement (GPA)", "gp_gpa_e.htm")) // node=7                                                      
		insDoc(c3, gLnk("S", "GPA overview",	"gpa_overview_e.htm"))				// node=8
		insDoc(c3, gLnk("S", "Agreement",	"/english/docs_e/legal_e/gpr-94_01_e.htm"))		// node=9
		insDoc(c3, gLnk("S", "Appendices & Annexes",	"appendices_e.htm"))		// node=10
		insDoc(c3, gLnk("S", "Parties & Observers",	"memobs_e.htm"))				// node=11
		insDoc(c3, gLnk("S", "Accession",	"gp_gpa_e.htm#accession"))				// node=12
		insDoc(c3, gLnk("S", "Disputes",	"disput_e.htm"))						// node=13
		insDoc(c3, gLnk("S", "Other Official Documents",	"documents_e.htm"))			// node=14
	 	insDoc(c3, gLnk("S", "Notifications",	"notnat_e.htm"))				// node=15
		insDoc(c3, gLnk("S", "Thresholds",	"thresh_e.htm"))					// node=16
		insDoc(c3, gLnk("S", "Statistics Reports",	"gpstat_e.htm"))			// node=17
	c5 = insDoc(foldersTree, gLnk("S", "Negotiations",	"negotiations_e.htm"))		// node=18
	c6 = insDoc(foldersTree, gLnk("B", "Ministerial-level Decision on the outcomes of the negotiations",	"http://docsonline.wto.org/imrd/directdoc.asp?DDFDocuments/t/PLURI/GPA/112.doc"))	// node=19
	c7 = insFld(foldersTree, gFld("Transparency WG", "gptran_e.htm"))				// node=20
		insDoc(c7, gLnk("S", "Mandates",	"gpmand_e.htm"))						// node=21
		insDoc(c7, gLnk("S", "WGTGP Documents",	"gptran_e.htm#documents"))			// node=22
	c8 = insFld(foldersTree, gFld("GATS Procurement Negotiations", "gpserv_e.htm"))	// node=23
		insDoc(c8, gLnk("S", "Mandate",	"gpserv_e.htm#mandate"))					// node=24
		insDoc(c8, gLnk("S", "WPGR Documents",	"gpserv_e.htm#documents"))			// node=25
	c9 = insFld(foldersTree, gFld("Technical Co-operation", "gptech_coop_e.htm"))	// node=26
		insDoc(c9, gLnk("S", "Events",	"ta_e.htm"))	// node=27
		insDoc(c9, gLnk("S", "Relevant documents",	"gptech_coop_e.htm#documents"))	// node=28
		insDoc(c9, gLnk("S", "Applications",	"gptech_coop_e.htm#applications"))  // node=29
	c10 = insFld(foldersTree, gFld("Additional Information", "information_e.htm"))   // node=30
	    insDoc(c10, gLnk("S", "Procurement legislation of WTO Members",	"information_e.htm#pl"))	// node=31
		insDoc(c10, gLnk("S", "Other instruments",	"information_e.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_e.htm",  1],
					["gproc_e.htm#introduction",  2],
					["gproc_e.htm#work",  3],
					["gproc_e.htm#tech_coop",  4],
					["gproc_e.htm#information",  5],
					["overview_e.htm",  6],
					["gp_gpa_e.htm",  7],
					["gpa_overview_e.htm",  8],
					["/english/docs_e/legal_e/gpr-94_01_e.htm",  9],
					["appendices_e.htm",  10],
					["memobs_e.htm",  11],
					["gp_gpa_e.htm#accession",  12],
					["disput_e.htm",  13],
					["documents_e.htm",  14],
					["notnat_e.htm",  15],
					["thresh_e.htm",  16],
					["gpstat_e.htm",  17],
					["negotiations_e.htm",  18],
					["http://docsonline.wto.org/imrd/directdoc.asp?DDFDocuments/t/PLURI/GPA/W297.doc",  19],
					["gptran_e.htm",  20],
					["gpmand_e.htm",  21],
					["gptran_e.htm#documents",  22],
					["gpserv_e.htm",  23],
					["gpserv_e.htm#mandate",  24],
					["gpserv_e.htm#documents",  25],
					["gptech_coop_e.htm",  26],
					["ta_e.htm",  27],
					["gptech_coop_e.htm#documents",  28],
					["gptech_coop_e.htm#applications",  29],
					["information_e.htm",  30],
					["information_e.htm#pl",  31],
					["information_e.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;
}


