//
// 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
//




// section fire, onglets:
// images cliquable Fire
// BUILD YOUR PROGRAM
// HAZARD HOUSE Original Version (et ses 3 options visibles)

foldersTree = gFld("", "fhh-program-dev.php")
//foldersTree.treeID = "Frameless"
aux1 = insFld(foldersTree, gFld("<img src=http://www.modeltech.com/bande_fire.gif border=0>", "javascript:undefined"))
//aux1.xID=1;
aux2 = insFld(aux1, gFld("HAZARD HOUSE", ""))
//aux2.xID=2;
aux21 = insDoc(aux2, gLnk("S", "BUILD YOUR PROGRAM", "fhh-program.htm"))
//aux21.xID=3;
aux7 = insFld(aux2, gFld("HAZARD HOUSE<br>&nbsp;&nbsp;&nbsp;Original Version", "fhh-original.htm"))
//aux7.xID=4;
aux71 = insDoc(aux7, gLnk("S", "Gen. description", "fhh-original.htm"))
//aux71.xID=5;
aux72 =insDoc(aux7, gLnk("S", "Options", "fhh-original-options.htm"))
//aux72.xID=6;
aux73 =insDoc(aux7, gLnk("S", "Neighborhood packages", "fhh-curriculum.htm"))
//aux73.xID=7;
aux74 =insDoc(aux7, gLnk("S", "Technical specs", "fhh-original-tech.htm"))
//aux74.xID=8;







//aux8 à aux10, onglets:
//SPARKY'S HAZARD HOUSE (options cachées)
//HAZARD HOUSE Large Group Version (options visibles)
//SPARKY'S HAZARD HOUSE Large Group Version (options cachées)

aux8 = insFld(aux2, gFld("SPARKY'S HAZARD HOUSE<br>&nbsp;&nbsp;&nbsp;Original Version", "fhh-original-options.htm"))
// insDoc(aux8, gLnk("S", "Gen. description", "fhh-original.s.htm"))
// insDoc(aux8, gLnk("S", "Options", "fhh-original.s-option.htm"))
// insDoc(aux8, gLnk("S", "Curriculum sets", "fhh-curriculum.s.htm"))
// insDoc(aux8, gLnk("S", "Technical specs", "fhh-original.s-tech.htm"))

aux9 = insFld(aux2, gFld("HAZARD HOUSE<br>&nbsp;&nbsp;&nbsp;Large Group Version", "fhh-larger.htm"))
insDoc(aux9, gLnk("S", "Gen. description", "fhh-larger.htm"))
insDoc(aux9, gLnk("S", "Options", "fhh-larger-options.htm"))
insDoc(aux9, gLnk("S", "Neighborhood packages", "fhh-larger-curriculum.htm"))
insDoc(aux9, gLnk("S", "Technical specs", "fhh-larger-tech.htm"))

aux10 = insFld(aux2, gFld("SPARKY'S HAZARD HOUSE<br>&nbsp;&nbsp;&nbsp;Large Group Version", "fhh-larger-options.htm"))
// insDoc(aux10, gLnk("S", "Gen. description", "fhh-larger.s.htm"))
// insDoc(aux10, gLnk("S", "Options", "fhh-larger.s-options.htm"))
// insDoc(aux10, gLnk("S", "Curriculum sets", "fhh-larger.s-curriculum.htm"))
// insDoc(aux10, gLnk("S", "Technical specs", "fhh-larger.s-tech.htm"))







//insDoc(aux2, gLnk("S", " HAZARD HOUSE<br>&nbsp;&nbsp;&nbsp;Giant Version", "giant.htm"))
insDoc(aux2, gLnk("S", " MIDAS TOUCH DISPLAY-Fire ", "mtd-f.htm"))
insDoc(aux2, gLnk("S", " INTERACTIVE KIOSK", "hhit-fire.htm"))
insDoc(aux2, gLnk("S", " WEB - FIRE SAFETY WORLD", "fsw.htm"))
aux2 = insFld(aux1, gFld("WILDFIRE", ""))
insDoc(aux2, gLnk("S", "WILDFIRE", "wildfire.htm"))
aux2 = insFld(foldersTree, gFld("<img src=http://www.modeltech.com/bande_energy.gif>", ""))









// début des onglets dans la section ENERGY


// début des onglets dans la section ELECTRICITY

aux3 = insFld(aux2, gFld("ELECTRICITY", ""))
// insDoc(aux3, gLnk("S", "WHAT'S NEW", "whatsnew.htm"))

insDoc(aux3, gLnk("S", "BUILD YOUR PROGRAM", "hamlet-programs.htm"))
//insDoc(aux3, gLnk("S", "HAZARD HAMLET<br>&nbsp;&nbsp;&nbsp;Standard Version", "hamlet.htm"))

aux31 = insFld(aux3, gFld("HAZARD HAMLET<br>&nbsp;&nbsp;&nbsp;Standard Version", ""))
insDoc(aux31, gLnk("S", "Gen. description", "hamlet.htm"))
insDoc(aux31, gLnk("S", "Options", "hamlet-options.htm"))
insDoc(aux31, gLnk("S", "Technical specs", "hamlet-tech.htm"))

aux32 = insFld(aux3, gFld("HAZARD HAMLET<br>&nbsp;&nbsp;&nbsp;Economical Version", ""))
insDoc(aux32, gLnk("S", "Gen. description", "hh.htm"))
insDoc(aux32, gLnk("S", "Options", "hh-options.htm"))
insDoc(aux32, gLnk("S", "Technical specs", "hh-tech.htm"))


insDoc(aux3, gLnk("S", "WEB-ELEC. SAFETY WORLD", "electrical.htm"))

insDoc(aux3, gLnk("S", "HAZARD TOWN", "town.htm"))


aux33 = insFld(aux3, gFld("GTD NUCLEAR", ""))
insDoc(aux33, gLnk("S", "General description", "gtd-n.htm"))
insDoc(aux33, gLnk("S", "Technical specs", "gtd-n-tech.htm"))

aux34 = insFld(aux3, gFld("GTD HYDRO", ""))
insDoc(aux34, gLnk("S", "General description", "gtd-h.htm"))
insDoc(aux34, gLnk("S", "Technical specs", "gtd-h-tech.htm"))

aux35 = insFld(aux3, gFld("ENERGY CONSERVATION", ""))
insDoc(aux35, gLnk("S", "SMART HOUSE", "smh.htm"))
//insDoc(aux35, gLnk("S", "General description", "smh.htm"))
//insDoc(aux35, gLnk("S", "Options", "smh-options.htm"))
//insDoc(aux35, gLnk("S", "Technical specs", "smh-tech.htm"))


insDoc(aux3, gLnk("S", "MIDAS TOUCH DISPLAY", "mtd-e.htm"))
// insDoc(aux3, gLnk("S", "INTERACTIVE THEATER", "hhit.htm"))


insDoc(aux3, gLnk("S", "INTERACTIVE KIOSK", "lightweight.htm"))
//aux36 = insFld(aux3, gFld("LIGHTWEIGHT DISPLAY", "lightweight.htm"))
//insDoc(aux36, gLnk("S", "Gen. description", "lightweight.htm"))
//insDoc(aux36, gLnk("S", "Options", "lwd-option.htm"))
//insDoc(aux36, gLnk("S", "Technical specs", "lwd-tech.htm"))






//aux4 = insFld(aux2, gFld("GTD", ""))
//aux41 = insFld(aux4, gFld("NUCLEAR", ""))
//insDoc(aux41, gLnk("S", "General description", "gtd-n.htm"))
//insDoc(aux41, gLnk("S", "Technical specs", "gtd-n-tech.htm"))
//aux42 = insFld(aux4, gFld("HYDRO", ""))
//insDoc(aux42, gLnk("S", "General description", "gtd-h.htm"))
//insDoc(aux42, gLnk("S", "Technical specs", "gtd-h-tech.htm"))
// insDoc(aux4, gLnk("S", "FOSSIL-Coming soon", "gtd-f.htm"))
// insDoc(aux4, gLnk("S", "THERMAL-Coming soon", "gtd-t.htm"))
// insDoc(aux4, gLnk("S", "MIDAS TOUCH DISPLAY-GTD", "mtd-gtd.htm"))
// insDoc(aux4, gLnk("S", "INTERACTIVE THEATER", "hhit.htm"))







// début des onglets dans la section GAS

aux4 = insFld(aux2, gFld("GAS", ""))
insDoc(aux4, gLnk("S", "Gas Hazard House", "ghh.htm"))
insDoc(aux4, gLnk("S", "Options", "ghh-option.htm"))
insDoc(aux4, gLnk("S", "Technical specs", "ghh-specs.htm"))

//aux41 = insFld(aux5, gFld("GAS HAZARD HOUSE", ""))
//insDoc(aux41, gLnk("S", "Gas Hazard House", "ghh.htm"))
//insDoc(aux41, gLnk("S", "Options", "ghh-option.htm"))
//insDoc(aux41, gLnk("S", "Technical specs", "ghh-specs.htm"))

// insDoc(aux4, gLnk("S", "MIDAS TOUCH DISPLAY-GAS", "mtd-g.htm"))
// insDoc(aux4, gLnk("S", "INTERACTIVE THEATER", "hhit.htm"))








//aux6 = insFld(aux2, gFld("ENERGY CONSERVATION", ""))
//insDoc(aux6, gLnk("S", "SMART HOUSE", "smh.htm"))
//aux61 = insFld(aux6, gFld("SMART HOUSE", ""))
//insDoc(aux61, gLnk("S", "General description", "smh.htm"))
//insDoc(aux61, gLnk("S", "Options", "smh-options.htm"))
//insDoc(aux61, gLnk("S", "Technical specs", "smh-tech.htm"))

// insDoc(aux6, gLnk("S", "MIDAS TOUCH DISPLAY-SMH", "mtd-smh.htm"))
// insDoc(aux6, gLnk("S", "INTERACTIVE THEATER", "hhit.htm"))

//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"))
