// 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 = '#0080C0'
ICONPATH = '../../../../images/img_treemenus/'


foldersTree = gFld("<span class=\"paraboldcolourtext\">Comprendre l'OMC</span>", "tif_f.htm")

	c1 = insFld(foldersTree, gFld("Éléments essentiels", ""))                                                          // node=1
		insDoc(c1, gLnk("S", "Qu'est-ce que l'OMC?",	"fact1_f.htm"))					// node=2
		insDoc(c1, gLnk("S", "Les principes qui inspirent le système commercial",	"fact2_f.htm"))		// node=3
		insDoc(c1, gLnk("S", "Les arguments en faveur d'un commerce ouvert",	"fact3_f.htm"))				// node=4
		insDoc(c1, gLnk("S", "Les années GATT",	"fact4_f.htm"))						// node=5
		insDoc(c1, gLnk("S", "Le Cycle d'Uruguay",	"fact5_f.htm"))					// node=6
	c2 = insFld(foldersTree, gFld("Les Accords", ""))									// node=7
		insDoc(c2, gLnk("S", "Aperçu général",	"agrm1_f.htm"))							// node=8
		insDoc(c2, gLnk("S", "Droits de douane",	"agrm2_f.htm"))							// node=9
		insDoc(c2, gLnk("S", "Agriculture",	"agrm3_f.htm"))						// node=10
		insDoc(c2, gLnk("S", "Normes et sécurité",	"agrm4_f.htm"))			// node=11
		insDoc(c2, gLnk("S", "Textiles",	"agrm5_f.htm"))							// node=12
		insDoc(c2, gLnk("S", "Services",	"agrm6_f.htm"))							// node=13
		insDoc(c2, gLnk("S", "Propriété intellectuelle",	"agrm7_f.htm"))				// node=14
		insDoc(c2, gLnk("S", "Mesures antidumping, subventions, sauvegardes",	"agrm8_f.htm"))		// node=15
		insDoc(c2, gLnk("S", "Obstacles non tarifaires",	"agrm9_f.htm"))				// node=16
		insDoc(c2, gLnk("S", "Accords plurilatéraux",	"agrm10_f.htm"))						// node=17
		insDoc(c2, gLnk("S", "Examen des politiques commerciales",	"agrm11_f.htm"))				// node=18
	c3 = insFld(foldersTree, gFld("Règlement des différends", ""))							// node=19
		insDoc(c3, gLnk("S", "Une contribution sans précédent",	"disp1_f.htm"))			// node=20
		insDoc(c3, gLnk("S", "La procédure de groupe spécial",	"disp2_f.htm"))				// node=21
		insDoc(c3, gLnk("S", "Etude de cas",	"disp3_f.htm"))						// node=22
	c4 = insFld(foldersTree, gFld("Questions transversales et nouvelles", ""))				// node=23
		insDoc(c4, gLnk("S", "Régionalisme",	"bey1_f.htm"))						// node=24
		insDoc(c4, gLnk("S", "L'environnement",	"bey2_f.htm"))					// node=25
		insDoc(c4, gLnk("S", "Investissement etc",	"bey3_f.htm"))                              // node=26
		insDoc(c4, gLnk("S", "Commerce électronique",	"bey4_f.htm"))                        // node=27
		insDoc(c4, gLnk("S", "Normes du travail",	"bey5_f.htm"))                        // node=28
	c5 = insDoc(foldersTree, gLnk("S", "Le programme de Doha", "doha1_f.htm"))          // node=29
	c6 = insFld(foldersTree, gFld("Pays en développement", ""))                                  // node=30
		insDoc(c6, gLnk("S", "Aperçu général",	"dev1_f.htm"))							// node=31
		insDoc(c6, gLnk("S", "Comités",	"dev2_f.htm"))						// node=32
		insDoc(c6, gLnk("S", "Activités de coopération technique de l'OMC",	"dev3_f.htm"))		// node=33
		insDoc(c6, gLnk("S", "Questions particulières",	"dev4_f.htm"))				// node=34
	c7 = insFld(foldersTree, gFld("L'Organisation", ""))							// node=35
		insDoc(c7, gLnk("S", "A qui appartient l'OMC?",	"org1_f.htm"))						// node=36
		insDoc(c7, gLnk("S", "Organigramme de l'Organisation",	"org2_f.htm"))					// node=37
		insDoc(c7, gLnk("S", "Accession, alliances et appareil administratif",	"org3_f.htm"))		// node=38
		insDoc(c7, gLnk("S", "Organigramme du Secrétariat",	"org4_f.htm"))						// node=39
		insDoc(c7, gLnk("S", "Activités spéciales",	"org5_f.htm"))						// node=40
		insDoc(c7, gLnk("S", "Liste des Membres",	"org6_f.htm"))							// node=41
		insDoc(c7, gLnk("S", "Liste des pays les moins avancés",	"org7_f.htm"))		// node=42
	c8 = insDoc(foldersTree, gLnk("S", "Abréviations", "abbr_f.htm"))          // node=29


//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
					["fact1_f.htm",  2],
					["fact2_f.htm",  3],
					["fact3_f.htm",  4],
					["fact4_f.htm",  5],
					["fact5_f.htm",  6],
					["agrm1_f.htm",  8],
					["agrm2_f.htm",  9],
					["agrm3_f.htm",  10],
					["agrm4_f.htm",  11],
					["agrm5_f.htm",  12],
					["agrm6_f.htm",  13],
					["agrm7_f.htm",  14],
					["agrm8_f.htm",  15],
					["agrm9_f.htm",  16],
					["agrm10_f.htm",  17],
					["agrm11_f.htm",  18],
					["disp1_f.htm",  20],
					["disp2_f.htm",  21],
					["disp3_f.htm",  22],
					["bey1_f.htm",  24],
					["bey2_f.htm",  25],
					["bey3_f.htm",  26],
					["bey4_f.htm",  27],
					["bey5_f.htm",  28],
					["doha1_f.htm",  29],
					["dev1_f.htm",  31],
					["dev2_f.htm",  32],
					["dev3_f.htm",  33],
					["dev4_f.htm",  34],
					["org1_f.htm",  36],
					["org2_f.htm",  37],
					["org3_f.htm",  38],
					["org4_f.htm",  39],
					["org5_f.htm",  40],
					["org6_f.htm",  41],
					["org7_f.htm", 42],
					["abbr_f.htm", 43]
					]


// 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;
}

