//
// 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> </b>", "")
  foldersTree.treeID = "Frameless"
  aux1 = insFld(foldersTree, gFld(" Automotive ", "javascript:undefined"))
    aux2 = insFld(aux1, gFld("Overveiw", "automotive.htm"))
    aux2 = insFld(aux1, gFld("Tires", "javascript:undefined"))
	  insDoc(aux2, gLnk("S", "Automobile   ", "automobile.htm"))
      insDoc(aux2, gLnk("S", "Motorcycle   ", "motorcycle.htm"))
      insDoc(aux2, gLnk("S", "Truck & Bus  ", "truck&bus.htm"))
      insDoc(aux2, gLnk("S", "Specialty    ", "specialty.htm"))
    aux2 = insFld(aux1, gFld("Spare Parts", "javascript:undefined"))
	  insDoc(aux2, gLnk("S", "Genuine   ", "jonion.htm"))
      insDoc(aux2, gLnk("S", "Replacement   ", "replacement.htm"))
    aux2 = insFld(aux1, gFld("Oils & Lubricants", "oil_ptc.htm"))
    aux2 = insFld(aux1, gFld("Accessories ", "acce.htm"))
  aux1 = insFld(foldersTree, gFld("Building Materials", "javascript:undefined"))
    aux2 = insFld(aux1, gFld("Overveiw", "material.htm"))
    aux2 = insFld(aux1, gFld("Heavy Equipment ", "heavyequipment.htm"))
    aux2 = insFld(aux1, gFld("Cement", "cement.htm"))
    aux2 = insFld(aux1, gFld("Electrical  ", "electrical.htm"))
    aux2 = insFld(aux1, gFld("Plumbing   ", "plumbing.htm"))
    aux2 = insFld(aux1, gFld("Drywall  ", "drywall.htm"))
    aux2 = insFld(aux1, gFld("Tile & Stone  ", "tile&stone.htm"))
    aux2 = insFld(aux1, gFld("Heating & Cooling  ", "heating&cooling.htm"))
    aux2 = insFld(aux1, gFld("Doors & Windows  ", "doors&windows.htm"))
    aux2 = insFld(aux1, gFld("Paint  ", "paint.htm"))
    aux2 = insFld(aux1, gFld("Power Tools   ", "tools.htm"))
  aux1 = insFld(foldersTree, gFld("Metals ", "javascript:undefined"))
	  aux2 = insFld(aux1, gFld("Overveiw   ", "metals.htm"))
	  aux2 = insFld(aux1, gFld("Aluminum   ", "aluminum.htm"))
      aux2 = insFld(aux1, gFld("Steel   ", "steel.htm"))
      aux2 = insFld(aux1, gFld("Iron  ", "iron.htm"))
      aux2 = insFld(aux1, gFld("Copper   ", "copper.htm"))
      aux2 = insFld(aux1, gFld("Nickel   ", "nickel.htm"))
      aux2 = insFld(aux1, gFld("Brass   ", "brass.htm"))
	  
  aux1 = insFld(foldersTree, gFld("Agriculture", "javascript:undefined"))
    aux2 = insFld(aux1, gFld("Overveiw", "agricultue.htm"))
    aux2 = insFld(aux1, gFld("Coffee ", "coffee_page.htm"))
    aux2 = insFld(aux1, gFld("Wheat ", "wheat_page.htm"))
    aux2 = insFld(aux1, gFld("Rice", "rice_page.htm"))
    aux2 = insFld(aux1, gFld("Corn  ", "corn_page.htm"))
    aux2 = insFld(aux1, gFld("Sugar   ", "sugar_page.htm"))
    aux2 = insFld(aux1, gFld("Soy   ", "soy.htm"))
    aux2 = insFld(aux1, gFld("Beans   ", "beans_page.htm"))
    aux2 = insFld(aux1, gFld("Fruits & Vegetables   ", "fruits.htm"))
  aux1 = insFld(foldersTree, gFld("Foods ", "javascript:undefined"))
    aux2 = insFld(aux1, gFld("Overveiw", "foods.htm"))
    aux2 = insFld(aux1, gFld("Canned  ", "under.htm"))
    aux2 = insFld(aux1, gFld("Frozen  ", "under.htm"))
    aux2 = insFld(aux1, gFld("Juices", "under.htm"))
    aux2 = insFld(aux1, gFld("Edible Oils  ", "under.htm"))
    aux2 = insFld(aux1, gFld("Dairy    ", "under.htm"))
    aux2 = insFld(aux1, gFld("Meats ", "under.htm"))
      insDoc(aux2, gLnk("S", "Beef", "under.htm"))
      insDoc(aux2, gLnk("S", "Lamb", "under.htm"))
      insDoc(aux2, gLnk("S", "Chicken", "under.htm"))
      insDoc(aux2, gLnk("S", "Turkey", "under.htm"))
      insDoc(aux2, gLnk("S", "Seafood", "seafood_page.htm"))
  aux1 = insFld(foldersTree, gFld("Apparel & Accessories  ", "javascript:undefined"))
    aux2 = insFld(aux1, gFld("Overveiw", "apparel.htm"))
    aux2 = insFld(aux1, gFld("Men’s Apparel ", "javascript:undefined"))
      insDoc(aux2, gLnk("S", "Brands   ", "under.htm"))
      insDoc(aux2, gLnk("S", "Shoes   ", "under.htm"))
	aux2 = insFld(aux1, gFld("Women’s Apparel ", "javascript:undefined"))
      insDoc(aux2, gLnk("S", "Brands   ", "under.htm"))
      insDoc(aux2, gLnk("S", "Shoes & Handbags   ", "under.htm"))
	aux2 = insFld(aux1, gFld("Jeans ", "under.htm"))
	aux2 = insFld(aux1, gFld("Kid’s Apparel  ", "under.htm"))
	aux2 = insFld(aux1, gFld("sports wear  ", "under.htm"))
	aux2 = insFld(aux1, gFld("Accessories   ", "under.htm"))
      insDoc(aux2, gLnk("S", "Sunglasses   ", "under.htm"))
      insDoc(aux2, gLnk("S", "Watches   ", "under.htm"))
  aux1 = insFld(foldersTree, gFld("Electronics   ", "javascript:undefined"))
    aux2 = insFld(aux1, gFld("Overveiw", "electronics.htm"))
    aux2 = insFld(aux1, gFld("Consumer Electronics  ", "javascript:undefined"))
      insDoc(aux2, gLnk("S", "Televisions  ", "televisions.htm"))
	aux3 = insFld(aux2, gFld("Audio  ", "javascript:undefined"))
      insDoc(aux3, gLnk("S", "Home Audio   ", "home_audio.htm"))
      insDoc(aux3, gLnk("S", "Car Audio   ", "car_audio.htm"))
      insDoc(aux2, gLnk("S", "MP3   ", "mp3.htm"))
      insDoc(aux2, gLnk("S", "Cameras & Camcorders  ", "camera.htm"))
      insDoc(aux2, gLnk("S", "Computers   ", "computer.htm"))
      insDoc(aux2, gLnk("S", "Mobile Phones  ", "mobile.htm"))
      insDoc(aux2, gLnk("S", "Home Appliances   ", "Home_appliances.htm"))
      insDoc(aux2, gLnk("S", "Video games   ", "games.htm"))
	aux2 = insFld(aux1, gFld("Telecommunications  ", "telephones.htm"))
	aux2 = insFld(aux1, gFld("Medical Electronics   ", "medical_electronics.htm"))

