//
// 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>Home</b>", "http://www.muntons.com")
  foldersTree.treeID = "Frameless"
aux1 = insFld(foldersTree, gFld("Products", "javascript:undefined"))
    aux2 = insFld(aux1, gFld("Grain Malts", "http://www.muntons.com/minibrewing/grain_malts.asp"))
    aux2 = insFld(aux1, gFld("Liquid Malt Extract", "http://www.muntons.com/minibrewing/liquid_malt_extract.asp"))
	aux2 = insFld(aux1, gFld("Dried Malt Extract", "http://www.muntons.com/minibrewing/dried_malt_extract.asp"))
	
aux1 = insFld(foldersTree, gFld("Typical Analysis", "javascript:undefined"))
    aux2 = insFld(aux1, gFld("EBC", "http://www.muntons.com/minibrewing/ebc.asp"))
    aux2 = insFld(aux1, gFld("IOB", "http://www.muntons.com/minibrewing/iob.asp"))

aux1 = insFld(foldersTree, gFld("Quality", "http://www.muntons.com/minibrewing/quality.asp"))
   
aux1 = insFld(foldersTree, gFld("Trouble Shooting", "javascript:undefined"))
    aux2 = insFld(aux1, gFld("Problems", "http://www.muntons.com/minibrewing/trouble_shooting/default.asp"))
    aux2 = insFld(aux1, gFld("Flavour", "http://www.muntons.com/minibrewing/flavour/default.asp"))

aux1 = insFld(foldersTree, gFld("How Malt Is Made", "http://www.muntons.com/howmaltismade/malt/default_malt.htm"))
aux1 = insFld(foldersTree, gFld("Useful Links", "http://www.muntons.com/minibrewing/useful_links.asp"))
aux1 = insFld(foldersTree, gFld("Contact", "http://www.muntons.com/contact/general.asp"))

aux1 = insFld(foldersTree, gFld("Other Divisions", "javascript:undefined"))
    aux2 = insFld(aux1, gFld("Malted Ingredients", "http://www.muntons.com/mmi/default.asp"))
    aux2 = insFld(aux1, gFld("Home Beer", "http://www.muntons.com/homebeer/default.asp"))
	
aux1 = insFld(foldersTree, gFld("Malt Home", "http://www.muntons.com/muntons_malt/default.asp"))
aux1 = insFld(foldersTree, gFld("Site Map", "http://www.muntons.com/site_map.asp"))
