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

