// 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\">Navigate within this module</span>", "")

	insDoc(foldersTree, gLnk("S", "Background", "intro1_e.htm"))                 // node1
	c1 = insFld(foldersTree, gFld("Introduction to the SPS Agreement", ""))		// node2
      	insDoc(c1, gLnk("S", "1.1 The basic goals of the Agreement", "c1s1p1_e.htm")) // node3
      	insDoc(c1, gLnk("S", "1.2 Protection or protectionism?", "c1s2p1_e.htm"))	// node4
      	insDoc(c1, gLnk("S", "1.3 What is an SPS measure?", "c1s3p1_e.htm"))	// node5
      	insDoc(c1, gLnk("S", "1.4 SPS and TBT measures", "c1s4p1_e.htm"))		// node6
      	insDoc(c1, gLnk("S", "1.5 Why is it important which agreement applies?", "c1s5p1_e.htm")) // node7																								// node7
		insDoc(c1, gLnk("S", "1.6 Test Questions",	"c1quiz_e.htm"))		// node8
	c2 = insFld(foldersTree, gFld("The Key Provisions of the Agreement", "")) // node9
      	insDoc(c2, gLnk("S", "2.1 Scientific justification", "c2s1p1_e.htm"))  // node10
		insDoc(c2, gLnk("S", "2.2 Harmonization &mdash; Basing measures on international standards", "c2s2p1_e.htm"))	// node11
      	insDoc(c2, gLnk("S", "2.3 SPS measures not based on international standards", "c2s3p1_e.htm"))	// node12
      	insDoc(c2, gLnk("S", "2.4 Scientific risk assessment", "c2s4p1_e.htm"))	// node13
      	insDoc(c2, gLnk("S", "2.5 Risk analysis", "c2s5p1_e.htm"))			// node14
      	insDoc(c2, gLnk("S", "2.6 Consistency", "c2s6p1_e.htm"))			// node15
      	insDoc(c2, gLnk("S", "2.7 Not more trade restrictive than necessary", "c2s7p1_e.htm"))	// node16
      	insDoc(c2, gLnk("S", "2.8 Provisional measures", "c2s8p1_e.htm"))		// node17
      	insDoc(c2, gLnk("S", "2.9 Equivalence &mdash; When different measures achieve the same level of health protection", "c2s9p1_e.htm")) // node18
      	insDoc(c2, gLnk("S", "2.10 Regionalization &mdash; Adapting measures to regional conditions", "c2s10p1_e.htm"))	// node19
      	insDoc(c2, gLnk("S", "2.11 Control, inspection and approval procedures", "c2s11p1_e.htm"))	// node20
		insDoc(c2, gLnk("S", "2.12 Test Questions",	"c2quiz_e.htm"))   // node21
	c3 = insFld(foldersTree, gFld("Transparency", ""))				// node22
      	insDoc(c3, gLnk("S", "3.1 What is transparency?", "c3s1p1_e.htm")) // node23
      	insDoc(c3, gLnk("S", "3.2 Explanation of measures &mdash; Article 5.8", "c3s2p1_e.htm")) // node24
      	insDoc(c3, gLnk("S", "3.3 Publication of measures", "c3s3p1_e.htm")) // node25
      	insDoc(c3, gLnk("S", "3.4 Notification of measures", "c3s4p1_e.htm")) // node26
      	insDoc(c3, gLnk("S", "3.5 National Notification Authorities", "c3s5p1_e.htm")) // node27
		insDoc(c3, gLnk("S", "3.6 Enquiry Points", "c3s6p1_e.htm"))  // node28
		insDoc(c3, gLnk("S", "3.7 Test Questions",	"c3quiz_e.htm")) // node29
	c4 = insFld(foldersTree, gFld("Implementation &mdash; The SPS Committee", "")) // node30
      	insDoc(c4, gLnk("S", "4.1 Introduction", "c4s1p1_e.htm")) // node31
      	insDoc(c4, gLnk("S", "4.2 Who participates in the SPS Committee?", "c4s2p1_e.htm"))  // node32
      	insDoc(c4, gLnk("S", "4.3 What does the SPS Committee do?", "c4s3p1_e.htm")) // node33
      	insDoc(c4, gLnk("S", "4.4 Committee meetings", "c4s4p1_e.htm"))  // node34
      	insDoc(c4, gLnk("S", "4.5 Specific trade concerns", "c4s5p1_e.htm")) // node35
		insDoc(c4, gLnk("S", "4.6 Test Questions",	"c4quiz_e.htm"))		// node36
	c5 = insFld(foldersTree, gFld("Implementation &mdash; Dispute Settlement", ""))	// node37
      	c5s1 = insFld(c5, gFld("5.1 Introduction", "")) // node38
		      	insDoc(c5s1, gLnk("S", "Equitable, fast, effective, mutually acceptable", "c5s1p1_e.htm")) // node39
				insDoc(c5s1, gLnk("S", "Can decisions be appealed?", "c5s1p2_e.htm")) // node40
		insDoc(c5, gLnk("S", "5.2 The SPS Disputes", "c5s2p1_e.htm")) // node41
      	c5s3 = insFld(c5, gFld("5.3 The Hormones Case", "")) // node42
		      	insDoc(c5s3, gLnk("S", "At a glance", "c5s3p1_e.htm")) // node43
				insDoc(c5s3, gLnk("S", "Detail", "c5s3p2_e.htm")) // node44
      	c5s4 = insFld(c5, gFld("5.4 The Salmon Case", "")) // node45
		      	insDoc(c5s4, gLnk("S", "At a glance", "c5s4p1_e.htm")) // node46
				insDoc(c5s4, gLnk("S", "Detail", "c5s4p2_e.htm")) // node47
      	c5s5 = insFld(c5, gFld("5.5 The Variety Testing Case", "")) // node48
		      	insDoc(c5s5, gLnk("S", "At a glance", "c5s5p1_e.htm")) // node49
				insDoc(c5s5, gLnk("S", "Detail", "c5s5p2_e.htm")) // node50
      	c5s6 = insFld(c5, gFld("5.6 The Fire blight Case", "")) // node48
		      	insDoc(c5s6, gLnk("S", "At a glance", "c5s6p1_e.htm")) // node49
				insDoc(c5s6, gLnk("S", "Detail", "c5s6p2_e.htm")) // node50
		insDoc(c5, gLnk("S", "5.7 Test Questions",	"c5quiz_e.htm")) // node51
	c6 = insFld(foldersTree, gFld("Developing Countries", ""))		// node52
      	insDoc(c6, gLnk("S", "6.1 Introduction", "c6s1p1_e.htm"))  // node53
     	insDoc(c6, gLnk("S", "6.2 Technical Assistance", "c6s2p1_e.htm"))  // node54
     	insDoc(c6, gLnk("S", "6.3 Special and Differential Treatment", "c6s3p1_e.htm"))  // node55
		insDoc(c6, gLnk("S", "6.4 Test Questions",	"c6quiz_e.htm"))					// node56
	c7 = insFld(foldersTree, gFld("Work of other relevant Organizations", ""))			// node57
      	insDoc(c7, gLnk("S", "7.1 The &ldquo;Three Sister&rdquo; Organizations", "c7s1p1_e.htm"))	// node58
      	insDoc(c7, gLnk("S", "7.2 Other Observer Organizations", "c7s2p1_e.htm"))		// node59
	c8 = insFld(foldersTree, gFld("Current Issues", ""))								// node60
      	insDoc(c8, gLnk("S", "8.1 Genetically Modified Organisms (GMOs)", "c8s1p1_e.htm"))	// node61
		insDoc(c8, gLnk("S", "8.2 The &ldquo;Precautionary Principle&rdquo;",	"c8s2p1_e.htm"))		// node62
	c9 = insFld(foldersTree, gFld("Health and other WTO Agreements", ""))					// node63
      	insDoc(c9, gLnk("S", "9.1 The Agreement on Trade-Related Aspects of Intellectual Property Rights (TRIPS)", "c9s1p1_e.htm"))	// node64
		insDoc(c9, gLnk("S", "9.2 The General Agreement on Trade in Services (GATS)",	"c9s2p1_e.htm")) // node65
		insDoc(c9, gLnk("S", "9.3 The Agreement on Technical Barriers to Trade (TBT)",	"c9s3p1_e.htm")) // node66
	insDoc(foldersTree, gLnk("S", "Further information", "c10s1p1_e.htm")) // node67
	insDoc(foldersTree, gLnk("S", "Test Summary", "quiz_summary_e.htm"))	// node68


//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
					["intro1_e.htm",  1],
					["c1s1p1_e.htm",  3],
					["c1s2p1_e.htm",  4],
					["c1s3p1_e.htm",  5],
					["c1s4p1_e.htm",  6],
					["c1s5p1_e.htm",  7],
					["c1quiz_e.htm",  8],
					["c2s1p1_e.htm",  10],
					["c2s2p1_e.htm",  11],
					["c2s3p1_e.htm",  12],
					["c2s4p1_e.htm",  13],
					["c2s5p1_e.htm",  14],
					["c2s6p1_e.htm",  15],
					["c2s7p1_e.htm", 16],
					["c2s8p1_e.htm", 17],
					["c2s9p1_e.htm", 18],
					["c2s10p1_e.htm", 19],
					["c2s11p1_e.htm", 20],
					["c2quiz_e.htm",  21],
					["c3s1p1_e.htm",  23],
					["c3s2p1_e.htm",  24],
					["c3s3p1_e.htm",  25],
					["c3s4p1_e.htm",  26],
					["c3s5p1_e.htm", 27],
					["c3s6p1_e.htm", 28],
					["c3quiz_e.htm",  29],
					["c4s1p1_e.htm",  31],
					["c4s2p1_e.htm",  32],
					["c4s3p1_e.htm",  33],
					["c4s4p1_e.htm",  34],
					["c4s5p1_e.htm", 35],
					["c4quiz_e.htm",  36],
					["c5s1p1_e.htm",  39],
					["c5s1p2_e.htm", 40],
					["c5s2p1_e.htm",  41],
					["c5s3p1_e.htm",  43],
					["c5s3p2_e.htm",  44],
					["c5s4p1_e.htm",  46],
					["c5s4p2_e.htm",  47],
					["c5s5p1_e.htm",  49],
					["c5s5p2_e.htm",  50],
					["c5s6p1_e.htm",  52],
					["c5s6p2_e.htm",  53],
					["c5quiz_e.htm",  54],
					["c6s1p1_e.htm",  56],
					["c6s2p1_e.htm",  57],
					["c6s3p1_e.htm",  58],
					["c6quiz_e.htm",  59],
					["c7s1p1_e.htm",  61],
					["c7s2p1_e.htm",  62],
					["c8s1p1_e.htm",  64],
					["c8s2p1_e.htm",  65],
					["c9s1p1_e.htm",  67],
					["c9s2p1_e.htm",  68],
					["c9s3p1_e.htm",  69],
					["c10s1p1_e.htm",  70],
					["quiz_summary_e.htm",  71]
					]


// functions required to highlight link on 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;
}

