//
// 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("<b>Site Map</b>", "index.html")
  foldersTree.treeID = "Frameless"

  aux1 = insFld(foldersTree, gFld("Astronomy", "javascript:undefined"))
  insDoc(aux1, gLnk("R", "Equipment", "http://www.watchobs.com/astronomy.html"))
  insDoc(aux1, gLnk("R", "New Equipment", "http://www.watchobs.com/astronomy3.html"))
  insDoc(aux1, gLnk("R", "Experiments", "http://www.watchobs.com/astronomy2.html"))
  insDoc(aux1, gLnk("R", "Philippines", "http://www.watchobs.com/astronomySilnag.html"))
  insDoc(aux1, gLnk("R", "Dome timelapse", "http://www.watchobs.com/MyStuff.html#DomeMovie"))
  insDoc(aux1, gLnk("R", "Google Map Dome", "http://www.watchobs.com/MyStuff.html#MapDome"))

  aux1 = insFld(foldersTree, gFld("Flight", "javascript:undefined"))
  insDoc(aux1, gLnk("R", "Pre  2000", "http://www.watchobs.com/flight.html"))
  insDoc(aux1, gLnk("R", "post 2000", "http://www.watchobs.com/flight2.html"))

  aux1 = insFld(foldersTree, gFld("Travel", "javascript:undefined"))
  insDoc(aux1, gLnk("R", "General", "http://www.watchobs.com/travel.html"))
  insDoc(aux1, gLnk("R", "Japan", "http://www.watchobs.com/travel_Japan08.html"))
  insDoc(aux1, gLnk("R", "Panama", "http://www.watchobs.com/travel_SA08.html"))
  insDoc(aux1, gLnk("R", "South West USA", "http://www.watchobs.com/travel_usa08.html"))
  insDoc(aux1, gLnk("R", "Philippines Feb 07", "http://www.watchobs.com/travel_php.html"))
  insDoc(aux1, gLnk("R", "Philippines Dec 07", "http://www.watchobs.com/travel_php2.html"))
  insDoc(aux1, gLnk("R", "Philippines Dec 08", "http://www.watchobs.com/travel_Asia1.html"))
  insDoc(aux1, gLnk("R", "Philippines Dec 09", "http://www.watchobs.com/travel_php3.html"))
  insDoc(aux1, gLnk("R", "Hong Kong", "http://www.watchobs.com/travel_hk.html"))
  insDoc(aux1, gLnk("R", "Pinoy+Kiwi Jun 10", "http://www.watchobs.com/travel_pk.html"))

  insFld(foldersTree, gLnk("R", "Photography", "http://www.watchobs.com/photo.html"))

  insFld(foldersTree, gLnk("R", "HD movies", "http://www.watchobs.com/movies.html"))

  aux1 = insFld(foldersTree, gFld("My stuff", "javascript:undefined"))
  insDoc(aux1, gLnk("R", "DIY UHF antenna", "http://www.watchobs.com/MyStuff.html#HDTV"))
  insDoc(aux1, gLnk("R", "Outlook dups", "http://www.watchobs.com/MyStuff.html#DupContacts"))
  insDoc(aux1, gLnk("R", "Auto-start supply", "http://www.watchobs.com/MyStuff.html#PCAutoPower"))
  insDoc(aux1, gLnk("R", "Near LOC effects", "http://www.watchobs.com/MyStuff.html#Flight_US12"))
  insDoc(aux1, gLnk("R", "Me on YouTube", "http://www.youtube.com/profile?user=shaftdowell"))
  insDoc(aux1, gLnk("R", "A380 in Montreal", "http://www.watchobs.com/MyStuff.html#A380inMtl"))

  insFld(foldersTree, gLnk("R", "About the author", "http://www.watchobs.com/about.html"))

  insFld(foldersTree, gLnk("R", "Art gallery", "http://www.watchobs.com/gallery.html"))

