// 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", "Introduction", "intro1_e.htm"))                           		// node1
	c1 = insFld(foldersTree, gFld("Establishing an SPS notification authority and enquiry point", ""))// node2
      	insDoc(c1, gLnk("S", "1.1 Responsibilities of the SPS notification authority", "c1s1p1_e.htm"))// node3
      	insDoc(c1, gLnk("S", "1.2 Establishing an SPS enquiry point", "c1s2p1_e.htm"))			// node4
      	insDoc(c1, gLnk("S", "1.3 Letting the WTO know", "c1s3p1_e.htm"))	                   // node5
      	insDoc(c1, gLnk("S", "1.4 Resources", "c1s4p1_e.htm"))								// node6
		insDoc(c1, gLnk("S", "1.5 Test Questions",	"c1quiz_e.htm"))					// node7
	c2 = insFld(foldersTree, gFld("Operating the SPS notification authority", ""))		// node8
		insDoc(c2, gLnk("S", "2.1 Introduction",	"c2s1p1_e.htm"))					// node9
		c2s2 = insFld(c2, gFld("2.2 Making an SPS notification",	""))				// node10
      		insDoc(c2s2, gLnk("S", "Page 1", "c2s2p1_e.htm"))							// node11
      		insDoc(c2s2, gLnk("S", "Page 2", "c2s2p2_e.htm"))							// node12
      		insDoc(c2s2, gLnk("S", "Page 3", "c2s2p3_e.htm"))							// node13
		insDoc(c2, gLnk("S", "2.3 Responding to requests and comments",	"c2s3p1_e.htm"))// node14
      	insDoc(c2, gLnk("S", "2.4 Requesting documents notified by other countries", "c2s4p1_e.htm"))// node15
		insDoc(c2, gLnk("S", "2.5 Test Questions",	"c2quiz_e.htm"))								// node16
	c3 = insFld(foldersTree, gFld("Operating the SPS enquiry point", ""))						// node17
		insDoc(c3, gLnk("S", "3.1 Responsibilities",	"c3s1p1_e.htm"))						// node18
      	insDoc(c3, gLnk("S", "3.2 Requests for information", "c3s2p1_e.htm"))					// node19
		insDoc(c3, gLnk("S", "3.3 Delivery and charging",	"c3s3p1_e.htm"))					// node20
	insDoc(foldersTree, gLnk("S", "Notification of Equivalence", "c4s1p1_e.htm"))				// node21									
	c5 = insFld(foldersTree, gFld("Publication of regulations", ""))				            // node22
		insDoc(c5, gLnk("S", "5.1 The requirement",	"c5s1p1_e.htm"))							// node23
		insDoc(c5, gLnk("S", "5.2 The Internet",	"c5s2p1_e.htm"))							// node24
		insDoc(c5, gLnk("S", "5.3 Test Questions",	"c5quiz_e.htm"))							// node25
	insDoc(foldersTree, gLnk("S", "Test Summary", "quiz_summary_e.htm"))						// node26
	annex = insFld(foldersTree, gFld("Annexes", ""))											// node27
		a1 = insFld(annex, gFld("Annex A &mdash; Case studies of notification authorities and enquiry points",	""))// node28
			insDoc(a1, gLnk("S", "A.1 Chile",	"a1s1p1_e.htm"))													// node29
			insDoc(a1, gLnk("S", "A.2 Czech Republic",	"a1s2p1_e.htm")) 											// node30
			insDoc(a1, gLnk("S", "A.3 Fantasia",	"a1s3p1_e.htm"))												// node31
			insDoc(a1, gLnk("S", "A.4 Mauritius",	"a1s4p1_e.htm")) 												// node32
			insDoc(a1, gLnk("S", "A.5 New Zealand",	"a1s5p1_e.htm"))												// node33
			insDoc(a1, gLnk("S", "A.6 Xanadu",	"a1s6p1_e.htm")) 													// node34
		b1 = insFld(annex, gFld("Annex B &mdash; Templates of typical letters/faxes",	"")) 					// node35																												//node80
			b11 = insFld(b1, gFld("B.1 SPS National Notification Authority",	"")) 							// node36																							//node80
				insDoc(b11, gLnk("S", "For a country making a notification",	"a2s1p1_e.htm"))					// node37 							
				insDoc(b11, gLnk("S", "For a country following up a notification",	"a2s1p2_e.htm")) 				// node38
			b12 = insFld(b1, gFld("B.2 SPS National Enquiry Point",	"")) 									// node39
				insDoc(b12, gLnk("S", "For a country making an NEP request",	"a2s2p1_e.htm"))					// node40
				insDoc(b12, gLnk("S", "For a country following up an NEP request",	"a2s2p2_e.htm")) 				// node41

//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],
					["c1quiz_e.htm",  7],
					["c2s1p1_e.htm",  9],
					["c2s2p1_e.htm",  11],
					["c2s2p2_e.htm", 12],
					["c2s2p2_e.htm", 13],
					["c2s3p1_e.htm",  14],
					["c2s4p1_e.htm",  15],
					["c2quiz_e.htm",  16],
					["c3s1p1_e.htm",  18],
					["c3s2p1_e.htm",  19],
					["c3s3p1_e.htm",  20],
					["c4s1p1_e.htm",  21],
					["c5s1p1_e.htm",  23],
					["c5s2p1_e.htm",  24],
					["c5quiz_e.htm",  25],
					["quiz_summary_e.htm",  26],
					["a1s1p1_e.htm",  29],
					["a1s2p1_e.htm",  30],
					["a1s3p1_e.htm",  31],
					["a1s4p1_e.htm",  32],
					["a1s5p1_e.htm",  33],
					["a1s6p1_e.htm",  34],
					["a2s1p1_e.htm",  37],
					["a2s1p2_e.htm",  38],
					["a2s2p1_e.htm",  40],
					["a2s2p2_e.htm",  41]
					]


// 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;
}

