// 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\">Marchés publics</span>", "")

	c1 = insFld(foldersTree, gFld("Portail des marchés publics", "gproc_f.htm")) 
		insDoc(c1, gLnk("S", "Introduction",	"gproc_f.htm#introduction"))					// node=2
		insDoc(c1, gLnk("S", "Trois domaines de travail",	"gproc_f.htm#work"))				// node=3
		insDoc(c1, gLnk("S", "Coopération technique",	"gproc_f.htm#tech_coop"))				// node=4
		insDoc(c1, gLnk("S", "Renseignements complémentaires",	"gproc_f.htm#information"))		// node=5
	c2 = insDoc(foldersTree, gLnk("S", "Aperçu général", "overview_f.htm"))					// node=6
	c3 = insFld(foldersTree, gFld("Accord sur les marchés publics (AMP)", "gp_gpa_f.htm")) 		// node=7                                                      // node=1
		insDoc(c3, gLnk("S", "Aperçu général de l'AMP",	"gpa_overview_f.htm"))					// node=8
		insDoc(c3, gLnk("S", "Accord",	"/french/docs_f/legal_f/gpr-94_01_f.htm"))				// node=9
	    insDoc(c3, gLnk("S", "Appendices & annexes",	"appendices_f.htm"))					// node=10
		insDoc(c3, gLnk("S", "Parties & Observateurs",	"memobs_f.htm"))						// node=11
		insDoc(c3, gLnk("S", "Accession",	"gp_gpa_f.htm#accession"))							// node=12
		insDoc(c3, gLnk("S", "Différends",	"disput_f.htm"))									// node=13
	   c4 = insFld(c3, gFld("Autres documents",	"documents_f.htm"))								// node=14
	 		insDoc(c4, gLnk("S", "Notifications",	"notnat_f.htm"))							// node=15
			insDoc(c4, gLnk("S", "Valeurs de seuil",	"thresh_f.htm"))						// node=16
			insDoc(c4, gLnk("S", "Rapports statistiques",	"gpstat_f.htm"))					// node=17
	  c5 = insDoc(foldersTree, gLnk("S", "Négociations",	"negotiations_f.htm"))				// node=18
	c6 = insDoc(foldersTree, gLnk("B", "Acceptation provisoire du texte révisé de l'AMP",	"http://docsonline.wto.org/imrd/directdoc.asp?DDFDocuments/u/PLURI/GPA/W297.doc"))	// node=19
	c7 = insFld(foldersTree, gFld("Groupe de travail de la transparence", "gptran_f.htm"))		// node=20
		insDoc(c7, gLnk("S", "Mandats",	"gpmand_f.htm"))										// node=21
		insDoc(c7, gLnk("S", "Documents sur la transparence",	"gptran_f.htm#documents"))		// node=22
	c8 = insFld(foldersTree, gFld("Négociations sur la passation des marchés dans le cadre de l'AGCS", "gpserv_f.htm"))	// node=23
		insDoc(c8, gLnk("S", "Mandat",	"gpserv_f.htm#mandate"))								// node=24
		insDoc(c8, gLnk("S", "Documents du Groupe de travail des règles de l'AGCS",	"gpserv_f.htm#documents"))			// node=25
	c9 = insFld(foldersTree, gFld("Coopération technique", "gptech_coop_f.htm"))				// node=26
		insDoc(c9, gLnk("S", "Manifestations",	"ta_f.htm"))								// node=27
		insDoc(c9, gLnk("S", "Documents pertinents",	"gptech_coop_f.htm#documents"))			// node=28
		insDoc(c9, gLnk("S", "Demandes",	"gptech_coop_f.htm#applications"))  				// node=29
	c10 = insFld(foldersTree, gFld("Renseignements complémentaires", "information_f.htm"))   	// node=30
	    insDoc(c10, gLnk("S", "Législation des Membres de l'OMC en matière de passation des marchés", "information_f.htm#pl"))	// node=31
		insDoc(c10, gLnk("S", "Autres instruments",	"information_f.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_f.htm",  1],
					["gproc_f.htm#introduction",  2],
					["gproc_f.htm#work",  3],
					["gproc_f.htm#tech_coop",  4],
					["gproc_f.htm#information",  5],
					["overview_f.htm",  6],
					["gp_gpa_f.htm",  7],
					["gpa_overview_f.htm",  8],
					["/french/docs_f/legal_f/gpr-94_01_f.htm",  9],
					["appendices_f.htm",  10],
					["memobs_f.htm",  11],
					["gp_gpa_f.htm#accession",  12],
					["disput_f.htm",  13],
					["documents_f.htm",  14],
					["notnat_f.htm",  15],
					["thresh_f.htm",  16],
					["gpstat_f.htm",  17],
					["negotiations_f.htm",  18],
					["http://docsonline.wto.org/imrd/directdoc.asp?DDFDocuments/u/PLURI/GPA/W297.doc",  19],
					["gptran_f.htm",  20],
					["gpmand_f.htm",  21],
					["gptran_f.htm#documents",  22],
					["gpserv_f.htm",  23],
					["gpserv_f.htm#mandate",  24],
					["gpserv_f.htm#documents",  25],
					["gptech_coop_f.htm",  26],
					["ta_f.htm",  27],
					["gptech_coop_f.htm#documents",  28],
					["gptech_coop_f.htm#applications",  29],
					["information_f.htm",  30],
					["information_f.htm#pl",  31],
					["information_f.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;
}

