// 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\">Politique de la concurrence</span>", "comp_f.htm")

	c1 = insFld(foldersTree, gFld("Commerce et politique de la concurrence: Interaction", "comp_f.htm"))                                                          // node=1
		insDoc(c1, gLnk("S", "Introduction",	"comp_f.htm#introduction"))			// node=2
		insDoc(c1, gLnk("S", "Groupe de travail",	"comp_f.htm#wgtcp"))					    // node=3
		insDoc(c1, gLnk("S", "Documents",	"comp_f.htm#documents"))				// node=4
		insDoc(c1, gLnk("S", "Autres informations",	"comp_f.htm#mandate"))		// node=5
	c2 = insDoc(foldersTree, gLnk("S", "Documents du Groupe de travail", "wgtcp_docs_f.htm"))		// node=6
	c3 = insFld(foldersTree, gFld("Mandats et historique", "history_f.htm"))			// node=7
		insDoc(c3, gLnk("S", "Singapour (1996)",	"history_f.htm#singapore"))	 	// node=8
		insDoc(c3, gLnk("S", "Doha (2001)",	"history_f.htm#doha"))				 	// node=9
		insDoc(c3, gLnk("S", "Cancún (2003)",	"history_f.htm#cancun"))		 	// node=10
		insDoc(c3, gLnk("S", "Décision&nbsp;de juillet (2004)",	"history_f.htm#julydec"))	// node=11
	c4 = insFld(foldersTree, gFld("Assistance technique", "ta_f.htm"))				// node=12
		insDoc(c4, gLnk("S", "Depuis 2005",	"ta_f.htm#2005"))				    // node=13
		insDoc(c4, gLnk("S", "Jusqu'ŕ 2004", "ta_f.htm#2004"))				// node=14
	c5 = insDoc(foldersTree, gFld("Liens", "links_f.htm"))          // node=15
		insDoc(c5, gLnk("S", "Organisations internationales",	"links_f.htm#ios"))		// node=16
		insDoc(c5, gLnk("S", "ONG",	"links_f.htm#ngos"))				// node=17


//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
					["comp_f.htm#introduction",  2],
					["comp_f.htm#wgtcp",  3],
					["comp_f.htm#documents",  4],
					["comp_f.htm#mandate",  5],
					["wgtcp_docs_f.htm",  6],
					["history_f.htm",  7],
					["history_f.htm#singapore",  8],
					["history_f.htm#doha",  9],
					["history_f.htm#cancun",  10],
					["history_f.htm#julydec",  11],
					["ta_f.htm",  12],
					["ta_f.htm#2005",  13],
					["ta_f.htm#2004",  14],
					["links_f.htm",  15],
					["links_f.htm#ios",  16],
					["links_f.htm#ngos",  17]
					]


// 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;
}


