//
// 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.
//




//
// 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("<b>Tax Guides</b>", "javascript:parent.op()")
  foldersTree.treeID = "Frameless"    
  aux1 = insFld(foldersTree, gFld("All Peraturan", "javascript:parent.op()"))
      insDoc(aux1, gLnk("S", "<? echo name; ?>", "/web/detail_berita.php?company=BDG&berita_id=0001"))
      insDoc(aux1, gLnk("S", "01/PENG/PJ.8/1998 ", "demoFrameless.html?pic=%22beenthere_newyork%2Ejpg%22"))
      insDoc(aux1, gLnk("S", "02/PMK.04/2005", "demoFrameless.html?pic=%22beenthere_washington%2Ejpg%22"))
     insDoc(aux1, gLnk("S", "03/PMK.010/2005", "demoFrameless.html?pic=%22beenthere_washington%2Ejpg%22"))
     insDoc(aux1, gLnk("S", "03/PMK.010/2005", "demoFrameless.html?pic=%22beenthere_washington%2Ejpg%22"))
     insDoc(aux1, gLnk("S", "03/PMK.010/2005", "demoFrameless.html?pic=%22beenthere_washington%2Ejpg%22"))
     insDoc(aux1, gLnk("S", "03/PMK.010/2005", "demoFrameless.html?pic=%22beenthere_washington%2Ejpg%22"))
     insDoc(aux1, gLnk("S", "03/PMK.010/2005", "demoFrameless.html?pic=%22beenthere_washington%2Ejpg%22"))
     insDoc(aux1, gLnk("S", "03/PMK.010/2005", "demoFrameless.html?pic=%22beenthere_washington%2Ejpg%22"))
     insDoc(aux1, gLnk("S", "03/PMK.010/2005", "demoFrameless.html?pic=%22beenthere_washington%2Ejpg%22"))
     insDoc(aux1, gLnk("S", "03/PMK.010/2005", "demoFrameless.html?pic=%22beenthere_washington%2Ejpg%22"))
     insDoc(aux1, gLnk("S", "03/PMK.010/2005", "demoFrameless.html?pic=%22beenthere_washington%2Ejpg%22"))
     insDoc(aux1, gLnk("S", "03/PMK.010/2005", "demoFrameless.html?pic=%22beenthere_washington%2Ejpg%22"))
     insDoc(aux1, gLnk("S", "03/PMK.010/2005", "demoFrameless.html?pic=%22beenthere_washington%2Ejpg%22"))
     insDoc(aux1, gLnk("S", "03/PMK.010/2005", "demoFrameless.html?pic=%22beenthere_washington%2Ejpg%22"))
     insDoc(aux1, gLnk("S", "03/PMK.010/2005", "demoFrameless.html?pic=%22beenthere_washington%2Ejpg%22"))
     insDoc(aux1, gLnk("S", "03/PMK.010/2005", "demoFrameless.html?pic=%22beenthere_washington%2Ejpg%22"))
     insDoc(aux1, gLnk("S", "03/PMK.010/2005", "demoFrameless.html?pic=%22beenthere_washington%2Ejpg%22"))
     
  aux1 = insFld(foldersTree, gFld("Per PPH ", "javascript:undefined"))
    insDoc(aux1, gLnk("S", "01/IMK.01/1986 ", "demoFrameless.html"))
   insDoc(aux1, gLnk("S", "01/IMK.01/1986 ", "demoFrameless.html"))
   insDoc(aux1, gLnk("S", "01/IMK.01/1986 ", "demoFrameless.html"))
   insDoc(aux1, gLnk("S", "01/IMK.01/1986 ", "demoFrameless.html"))
   insDoc(aux1, gLnk("S", "01/IMK.01/1986 ", "demoFrameless.html"))
   insDoc(aux1, gLnk("S", "01/IMK.01/1986 ", "demoFrameless.html"))
   insDoc(aux1, gLnk("S", "01/IMK.01/1986 ", "demoFrameless.html"))
   insDoc(aux1, gLnk("S", "01/IMK.01/1986 ", "demoFrameless.html"))
   insDoc(aux1, gLnk("S", "01/IMK.01/1986 ", "demoFrameless.html"))
   insDoc(aux1, gLnk("S", "01/IMK.01/1986 ", "demoFrameless.html"))
   insDoc(aux1, gLnk("S", "01/IMK.01/1986 ", "demoFrameless.html"))
   insDoc(aux1, gLnk("S", "01/IMK.01/1986 ", "demoFrameless.html"))
   insDoc(aux1, gLnk("S", "01/IMK.01/1986 ", "demoFrameless.html"))
   insDoc(aux1, gLnk("S", "01/IMK.01/1986 ", "demoFrameless.html"))
   insDoc(aux1, gLnk("S", "01/IMK.01/1986 ", "demoFrameless.html"))
   insDoc(aux1, gLnk("S", "01/IMK.01/1986 ", "demoFrameless.html"))
   insDoc(aux1, gLnk("S", "01/IMK.01/1986 ", "demoFrameless.html"))
   insDoc(aux1, gLnk("S", "01/IMK.01/1986 ", "demoFrameless.html"))
   insDoc(aux1, gLnk("S", "01/IMK.01/1986 ", "demoFrameless.html"))
   insDoc(aux1, gLnk("S", "01/IMK.01/1986 ", "demoFrameless.html"))
   insDoc(aux1, gLnk("S", "01/IMK.01/1986 ", "demoFrameless.html"))
   insDoc(aux1, gLnk("S", "01/IMK.01/1986 ", "demoFrameless.html"))
   insDoc(aux1, gLnk("S", "01/IMK.01/1986 ", "demoFrameless.html"))
   insDoc(aux1, gLnk("S", "01/IMK.01/1986 ", "demoFrameless.html"))
   insDoc(aux1, gLnk("S", "01/IMK.01/1986 ", "demoFrameless.html"))
   insDoc(aux1, gLnk("S", "01/IMK.01/1986 ", "demoFrameless.html"))
   insDoc(aux1, gLnk("S", "01/IMK.01/1986 ", "demoFrameless.html"))
   insDoc(aux1, gLnk("S", "01/IMK.01/1986 ", "demoFrameless.html"))
    aux2 = insFld(aux1, gFld("PPH 21", "javascript:undefined"))
      insDoc(aux2, gLnk("S", "043/KM.17/2000 ", "demoFrameless.html?pic=%22beenthere_london%2Ejpg%22"))
     insDoc(aux2, gLnk("S", "048/KM.17/2000 ", "demoFrameless.html?pic=%22beenthere_london%2Ejpg%22"))
     insDoc(aux1, gLnk("S", "01/IMK.01/1986 ", "demoFrameless.html"))
    aux2 = insFld(aux1, gFld("PPH 22", "javascript:undefined"))
      insDoc(aux2, gLnk("S", "049/KM.17/2000 ", "demoFrameless.html?pic=%22beenthere_newyork%2Ejpg%22"))
      insDoc(aux2, gLnk("S", "050/KM.17/2000 ", "http://www.treeview.net/treemenu/demopics/beenthere_pisa.jpg"))
   aux2 = insFld(aux1, gFld("PPH 23", "javascript:undefined"))
      insDoc(aux2, gLnk("S", "051/KM.17/2000 ", "demoFrameless.html?pic=%22beenthere_newyork%2Ejpg%22"))
      insDoc(aux2, gLnk("S", "052/KM.17/2000 ", "http://www.treeview.net/treemenu/demopics/beenthere_pisa.jpg"))     
     
  aux1 = insFld(foldersTree, gFld("Per KUP ", "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"))
  aux1 = insFld(foldersTree, gFld("Per PPN ", "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"))   
