//
// Copyright (c) 2006 by Conor O'Mahony.
// For enquiries, please email GubuSoft@GubuSoft.com.
// Please keep all copyright notices below.
// Original author of TreeView script is Marcelino Martins.
//
// This document includes the TreeView script.
// The TreeView script can be found at http://www.TreeView.net.
// The script is Copyright (c) 2006 by Conor O'Mahony.
//
// You can find general instructions for this file at www.treeview.net.
//

USETEXTLINKS = 1
STARTALLOPEN = 0
USEFRAMES = 0
USEICONS = 0
WRAPTEXT = 1
PRESERVESTATE = 1

//
// The following code constructs the tree.  This code produces a tree that looks like:
// 
// Tree Options
//  - Expand for example with pics and flags
//    - United States
//      - Boston
//      - Tiny pic of New York City
//      - Washington
//    - Europe
//      - London
//      - Lisbon
//  - Types of node
//    - Expandable with link
//      - London
//    - Expandable without link
//      - NYC
//    - Opens in new window
//

foldersTree = gFld("", "fr_index.html")
  foldersTree.treeID = "Frameless"
              /*section */
  aux1 = insFld(foldersTree, gFld("Representations", "javascript:undefined"))
            /*sous section*/
          aux2 = insFld(aux1, gFld("Africa", "http://www.rr-africa.oie.int/en/RR/en_organisation.html"))
 
 /* lien direct à modifier */
                 insDoc(aux2, gLnk("S", "Agreements", "http://www.rr-africa.oie.int/en/RR/en_accords.html"))
                 insDoc(aux2, gLnk("S", "Mandates and regulations", "http://www.rr-africa.oie.int/en/RR/en_rules.html"))
	             insDoc(aux2, gLnk("S", "Activities", "http://www.rr-africa.oie.int/en/RR/en_activities.html"))
		         insDoc(aux2, gLnk("S", "RAHC", "http://www.rr-africa.oie.int/en/RR/en_rahc_crsa.html"))


          aux2 = insFld(aux1, gFld("Southern Africa", "http://www.rr-africa.oie.int/en/RR/en_organisation_sa.html"))
                 insDoc(aux2, gLnk("S", "Agreements", "http://www.rr-africa.oie.int/en/RR/en_accords_sa.html"))
                 insDoc(aux2, gLnk("S", "Mandates and regulations", "http://www.rr-africa.oie.int/en/RR/en_rules_sa.html"))
	             insDoc(aux2, gLnk("S", "Activities", "http://www.rr-africa.oie.int/en/RR/en_activities_sa.html"))
	             insDoc(aux2, gLnk("S", "RAHC", "http://www.rr-africa.oie.int/en/RR/en_rahc_crsa_sa.html"))

          aux2 = insFld(aux1, gFld("Northern Africa", "http://www.rr-africa.oie.int/en/RR/en_organisation_na.html"))
                 insDoc(aux2, gLnk("S", "Agreements", "http://www.rr-africa.oie.int/en/RR/en_accords_na.html"))
                 insDoc(aux2, gLnk("S", "Mandates and regulations", "http://www.rr-africa.oie.int/en/RR/en_rules_na.html"))
	             insDoc(aux2, gLnk("S", "Activities", "http://www.rr-africa.oie.int/en/RR/en_activities_na.html"))
	  
	      aux2 = insFld(aux1, gFld("Eastern Africa", "http://www.rr-africa.oie.int/en/RR/en_organisation_ea.html"))
                 insDoc(aux2, gLnk("S", "Mandates and regulations", "http://www.rr-africa.oie.int/en/RR/en_rules_ea.html"))
	 

  aux1 = insFld(foldersTree, gFld("Regional Commission", "http://www.rr-africa.oie.int/en/RC/en_organisation.html"))
          aux2 = insFld(aux1, gFld("Members (map)", "http://www.rr-africa.oie.int/en/RC/en_countries.html"))
	      aux2 = insFld(aux1, gFld("OIE delegates", "http://www.rr-africa.oie.int/delegates.html"))
          aux2 = insFld(aux1, gFld("OIE focal points", "http://www.rr-africa.oie.int/en/RC/en_focal_points.html"))

  aux1 = insFld(foldersTree, gFld("OIE delegates", "http://www.rr-africa.oie.int/delegates.html"))
       
  aux1 = insFld(foldersTree, gFld("OIE focal points", "http://www.rr-africa.oie.int/en/RC/en_focal_points.html"))
  
  aux1 = insFld(foldersTree, gFld("Veterinary councils", "http://www.rr-africa.oie.int/en/RC/en_vsbs.html"))
  
  aux1 = insFld(foldersTree, gFld("Veterinary training", "http://www.rr-africa.oie.int/en/RC/en_universities.html"))
  
  aux1 = insFld(foldersTree, gFld("OIE mandates", "javascript:undefined"))
          aux2 = insFld(aux1, gFld("Transparency", "http://www.rr-africa.oie.int/en/mandates/en_transparency.html"))
                 insDoc(aux2, gLnk("S", "Reported outbreaks", "http://web.oie.int/wahis/public.php?page=weekly_report_index&admin=0"))
                 insDoc(aux2, gLnk("S", "WAHIS", "http://web.oie.int/wahis"))
	             insDoc(aux2, gLnk("S", "WAHID", "http://web.oie.int/wahis/public.php?page=home"))
                 insDoc(aux2, gLnk("S", "Official disease status", "http://www.rr-africa.oie.int/en/mandates/en_disstatus.html"))

         aux2 = insFld(aux1, gFld("Veterinary services", "http://www.rr-africa.oie.int/en/mandates/en_veterinary_services.html"))
                 insDoc(aux2, gLnk("S", "PVS", "http://www.rr-africa.oie.int/en/mandates/en_veterinary_services_pvs.html"))

         aux2 = insFld(aux1, gFld("Scientific information", "http://www.rr-africa.oie.int/en/mandates/en_scientific_information.html"))

	     aux2 = insFld(aux1, gFld("International solidarity", "http://www.rr-africa.oie.int/en/mandates/en_int_solidarity.html"))
    
         aux2 = insFld(aux1, gFld("Sanitary safety in trade", "http://www.rr-africa.oie.int/en/mandates/en_sanitary_safety.html"))
   
	     aux2 = insFld(aux1, gFld("Food safety", "http://www.rr-africa.oie.int/en/mandates/en_food_safety.html"))
	     
		 aux2 = insFld(aux1, gFld("Animal welfare", "http://www.rr-africa.oie.int/en/mandates/en_food_safety.html"))
	
    aux1 = insFld(foldersTree, gFld("Reference centres", "javascript:undefined"))	
	     aux2 = insFld(aux1, gFld("Reference laboratories", "http://www.rr-africa.oie.int/en/REF/en_ref_laboratories.html"))
	     aux2 = insFld(aux1, gFld("Collaborating centres", "http://www.rr-africa.oie.int/en/CC/en_coll_centers.html"))	
    
	aux1 = insFld(foldersTree, gFld("Regional programmes", "http://www.rr-africa.oie.int/en/RP/en_regional_programmes.html"))
    	
	aux1 = insFld(foldersTree, gFld("Library", "http://www.rr-africa.oie.int/en/library/en_library.html"))
		   aux2 = insFld(aux1, gFld("Download papers", "http://www.rr-africa.oie.int/en/library/en_downloads.html"))
		   aux2 = insFld(aux1, gFld("Download reports", "http://www.rr-africa.oie.int/en/en_index_archives.html"))	
		   aux2 = insFld(aux1, gFld("View videos",  "http://www.rr-africa.oie.int/en/library/en_videos.html"))
	
	aux1 = insFld(foldersTree, gFld("Contacts", "http://www.rr-africa.oie.int/en/contacts/en_contacts.html"))
    
	aux1 = insFld(foldersTree, gFld("Links", "http://www.rr-africa.oie.int/en/links/en_links.html"))


	
	  
 /* aux1 = insFld(foldersTree, gFld("Types of node", "javascript:undefined"))
    aux2 = insFld(aux1, gFld("Expandable with link", "demoFrameless.html?pic=%22beenthere_europe%2Egif%22"))
      insDoc(aux2, gLnk("S", "London", "demoFrameless.html?pic=%22beenthere_london%2Ejpg%22"))
    aux2 = insFld(aux1, gFld("Expandable without link", "javascript:undefined"))
      insDoc(aux2, gLnk("S", "NYC", "demoFrameless.html?pic=%22beenthere_newyork%2Ejpg%22"))
    insDoc(aux1, gLnk("B", "Opens in new window", "http://www.treeview.net/treemenu/demopics/beenthere_pisa.jpg"))*/

