//
// 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 = 1
USEFRAMES = 0
USEICONS = 1
WRAPTEXT = 1
PRESERVESTATE = 1
HIGHLIGHT = 1
ICONPATH = ''
//
// 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>O programu ...</b>", "index.htm")
  foldersTree.treeID = "Frameless"
//  aux1 = insFld(foldersTree, gFld("Expand for example with pics and flags", "javascript:undefined"))
    aux2 = insFld(foldersTree, gFld("Sučelje", "Sucelje.htm", "javascript:parent.op()"))
      insDoc(aux2, gLnk("S", "Popis putnih naloga", "Popis_Naloga.htm"))
      insDoc(aux2, gLnk("S", "Popis lokovožnji", "Popis_Loko.htm"))
       aux3 = insFld(aux2, gFld("Unos podataka", "Unos_Podataka.htm"))
      insDoc(aux3, gLnk("S", "Poslovne jedinice", "Poslovne_Jedinice.htm"))
      insDoc(aux3, gLnk("S", "Države", "Drzave.htm"))
      insDoc(aux2, gLnk("S", "Opcije", "Opcije.htm"))
      insDoc(aux2, gLnk("S", "Grafički prikaz", "Graficki_prikaz.htm"))
    aux1 = insFld(foldersTree, gFld("Kako da ...", "Kako_da.htm", "javascript:parent.op()"))
      insDoc(aux1, gLnk("S", "Unesem novi nalog", "Novi_Tuzemni.htm"))
      insDoc(aux1, gLnk("S", "Unesem novi inozemni nalog", "Novi_Inozemni.htm"))
      insDoc(aux1, gLnk("S", "Unesem novu lokovožnju", "Novi_Loko.htm"))
      insDoc(aux1, gLnk("S", "Napravim kopiju baze podataka (Backup)", "Backup.htm"))
      insDoc(aux1, gLnk("S", "Vratim bazu na staro stanje (Restore)", "Restore.htm"))
    aux5 = insFld(foldersTree, gFld("Upute u FLASH formatu"))      
      insDoc(aux5, gLnk("B", "Unos djelatnika i poslovne jedinice", "http://www.infarkt.hr/Putninalog/Tutorijali/Unos_djelatnika_T.html"))
      insDoc(aux5, gLnk("B", "Unos vozila", "http://www.infarkt.hr/Putninalog/Tutorijali/Unos_vozila_T.html"))
      insDoc(aux5, gLnk("B", "Unos iznosa dnevnice", "http://www.infarkt.hr/Putninalog/Tutorijali/Unos_dnevnice_T.html"))
      insDoc(aux5, gLnk("B", "Unos putnog naloga", "http://www.infarkt.hr/Putninalog/Tutorijali/Unos_naloga_T.html"))
      insDoc(aux5, gLnk("B", "Unos inozemnog putnog naloga", "http://www.infarkt.hr/Putninalog/Tutorijali/Unos_naloga_Ino_T.html"))
      insDoc(aux5, gLnk("B", "Unos lokovožnje", "http://www.infarkt.hr/Putninalog/Tutorijali/Unos_Loko_T.html"))
      insDoc(aux5, gLnk("B", "Odabir opcija", "http://www.infarkt.hr/Putninalog/Tutorijali/Odabir_Opcija_T.html"))
      insDoc(aux5, gLnk("B", "Grafički prikaz", "http://www.infarkt.hr/Putninalog/Tutorijali/Graficki_Prikaz_T.html"))
    aux4 = insFld(foldersTree, gFld("www.putninalog.net", "http://www.putninalog.net/"))

//  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"))
