//
// 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>Unsere Weine</b>", "")
  foldersTree.treeID = "Frameless"
  aux1 = insFld(foldersTree, gFld("M Linie", "javascript:undefined"))
    aux2 = insFld(aux1, gFld("Rotweine", "index.php?kategorie=M|Linie|Rotweine"))
    aux2 = insFld(aux1, gFld("Blanc de Noir", "index.php?kategorie=Blanc|de|Noir|in|der|0,75l-Flasche"))
    aux2 = insFld(aux1, gFld("Weißweine", "index.php?kategorie=M|Linie|Weißweine"))
  aux1 = insFld(foldersTree, gFld("Weine in der Liter-Flasche", "index.php?kategorie=Weine|in|der|Liter-Flasche"))
  aux1 = insFld(foldersTree, gFld("Rotweine in der 0,75l-Flasche", "javascript:undefined"))
    aux2 = insFld(aux1, gFld("lieblich", "index.php?kategorie=Rotweine|in|der|0,75l-Flasche|lieblich"))
    aux2 = insFld(aux1, gFld("halbtrocken", "index.php?kategorie=Rotweine|in|der|0,75l-Flasche|halbtrocken"))
    aux2 = insFld(aux1, gFld("trocken", "index.php?kategorie=Rotweine|in|der|0,75l-Flasche|trocken"))
  aux1 = insFld(foldersTree, gFld("Roseé Weine in der 0,75l-Flasche", "index.php?kategorie=Rosee|Weine|in|der|0,75l-Flasche"))
//  aux1 = insFld(foldersTree, gFld("Blanc de Noir in der 0,75l-Flasche", "index.php?kategorie=Blanc|de|Noir|in|der|0,75l-Flasche"))
  aux1 = insFld(foldersTree, gFld("Weißweine in der 0,75l-Flasche", "javascript:undefined"))
    aux2 = insFld(aux1, gFld("lieblich", "index.php?kategorie=Weißweine|in|der|0,75l-Flasche|lieblich"))
    aux2 = insFld(aux1, gFld("feinsüß", "index.php?kategorie=Weißweine|in|der|0,75l-Flasche|feinsüss"))
    aux2 = insFld(aux1, gFld("halbtrocken", "index.php?kategorie=Weißweine|in|der|0,75l-Flasche|halbtrocken"))
    aux2 = insFld(aux1, gFld("trocken", "index.php?kategorie=Weißweine|in|der|0,75l-Flasche|trocken"))
  aux1 = insFld(foldersTree, gFld("Dessert- und Aperitifweine", "index.php?kategorie=Dessert-|u.|Aperitifweine"))
  aux1 = insFld(foldersTree, gFld("Sekt und Secco", "index.php?kategorie=Sekt|und|Secco"))
  aux1 = insFld(foldersTree, gFld("Unser Traubensaft", "index.php?kategorie=Unser|Traubensaft"))
  aux1 = insFld(foldersTree, gFld("Rund um den Wein", "javascript:undefined"))
    aux2 = insFld(aux1, gFld("für Küche und Frühstück", "index.php?kategorie=Rund|um|den|Wein|für|Küche|und|Frühstück"))
    aux2 = insFld(aux1, gFld("hochprozentig und süß", "index.php?kategorie=Rund|um|den|Wein|hochprozentig|und|süß"))
    aux2 = insFld(aux1, gFld("Destillate", "index.php?kategorie=Rund|um|den|Wein|Destillate"))