//
// 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.
//

// Decide if the names are links or just the icons
USETEXTLINKS = 1  //replace 0 with 1 for hyperlinks

// Decide if the tree is to start all open or just showing the root folders
STARTALLOPEN = 0 //replace 0 with 1 to show the whole tree

HIGHLIGHT = 1

foldersTree = gFld("<i>Sekretariat Daerah</i>", "demoFuncsRightFrame.html")
  foldersTree.treeID = "Funcs"
  aux1 = insFld(foldersTree, gFld("Asisten Pemerintahan", "javascript:parent.op()"))
      insDoc(aux1, gLnk("R", "Bagian Tata Pemerintahan", "http://www.treeview.net/treemenu/demopics/beenthere_germany.gif"))
      insDoc(aux1, gLnk("R", "Bagian Humas", "http://www.treeview.net/treemenu/demopics/beenthere_greece.gif"))
      insDoc(aux1, gLnk("R", "Bagian Pemerintahan Nagari", "http://www.treeview.net/treemenu/demopics/beenthere_italy.gif"))
      insDoc(aux1, gLnk("R", "Bagian Hukum", "http://www.treeview.net/treemenu/demopics/beenthere_portugal.gif"))
  
 aux1 = insFld(foldersTree, gFld("Asisten Ekonomi dan Pembangunan", "javascript:parent.op()"))
      insDoc(aux1, gLnk("R", "Bagian Kesra", "http://www.treeview.net/treemenu/demopics/beenthere_germany.gif"))
      insDoc(aux1, gLnk("R", "Bagian Perekonomian", "http://www.treeview.net/treemenu/demopics/beenthere_greece.gif"))
      insDoc(aux1, gLnk("R", "Bagian Adm. Pembangunan", "http://www.treeview.net/treemenu/demopics/beenthere_italy.gif"))
  
 aux1 = insFld(foldersTree, gFld("Asisten Administrasi", "javascript:parent.op()"))
      insDoc(aux1, gLnk("R", "Bagian Umum", "http://www.treeview.net/treemenu/demopics/beenthere_germany.gif"))
      insDoc(aux1, gLnk("R", "Bagian Organisasi", "http://www.treeview.net/treemenu/demopics/beenthere_greece.gif"))
      insDoc(aux1, gLnk("R", "Bagian PDE", "http://www.treeview.net/treemenu/demopics/beenthere_italy.gif"))
  


  // links, and the type of the argument is string, special care is needed regarding
  // the quotes and double quotes. Please use exactly the same kind of 
  // quotes or double quotes used in this example (they change from folder to document).
  // Use the exact same number of backslashes for escaping the (double)quote 
  // characters, and pay attention not only to the (double)quotes surrouding the 
  // strings, but also to any (double)quote characters inside of that string

  // If you are going to use a frameless layout, you will need to move the functions 
  // exampleFunction and windowWithoutToolbar to the main page and change
  // parent.functionname to window.functionname in this file

  //Note the "S" target in the first argument of gLnk
  
