//
// 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.
//

// Decide if the names are links or just the icons
USETEXTLINKS = 1  //replace 0 with 1 for hyperlinks

// Decide if the tree is to start all open or just showing the root folders
STARTALLOPEN = 0 //replace 0 with 1 to show the whole tree

HIGHLIGHT = 1

foldersTree = gFld("<i>MicroTelecom POS Help</i>", "demoFuncsRightFrame.html")
  foldersTree.treeID = "Funcs"
  aux1 = insFld(foldersTree, gFld("Getting Started", "javascript:parent.op()"))
      insDoc(aux1, gLnk("R", "POS & Printer Installation", "driver_install.htm"))
      insDoc(aux1, gLnk("R", "System Setup", "getstarted.htm"))
  

  aux1 = insFld(foldersTree, gFld("Vendors", "javascript:parent.op()"))
      insDoc(aux1, gLnk("R", "Introduction", "addvendor.htm#Introduction:"))
      insDoc(aux1, gLnk("R", "Data Entry", "vendors.htm#Data Entry:"))
      insDoc(aux1, gLnk("R", "Search", "vendors.htm#Search"))
 
  aux1 = insFld(foldersTree, gFld("Stores and Sub Agents", "javascript:parent.op()"))
      insDoc(aux1, gLnk("R", "Introduction", "agents.htm#Introduction:"))
      insDoc(aux1, gLnk("R", "Data Entry", "agents.htm#Data Entry:"))
      insDoc(aux1, gLnk("R", "Carrier Access", "carrieraccess.htm"))
      insDoc(aux1, gLnk("R", "Search", "agents.htm#Search"))
      insDoc(aux1, gLnk("R", "<font color=maroon>Add Store/Agent Demo</font>", "../demo/add_agent-vendor.html"))

  aux1 = insFld(foldersTree, gFld("Employees", "javascript:parent.op()"))
      insDoc(aux1, gLnk("R", "Introduction", "employee.htm#GeneralInfo"))
      insDoc(aux1, gLnk("R", "Add a new employee", "employee.htm#AddEmp"))
      insDoc(aux1, gLnk("R", "Pattern Management", "employee.htm#PatternMgmt"))
      insDoc(aux1, gLnk("R", "Security Description", "employee.htm#AccessDetail"))
      insDoc(aux1, gLnk("R", "<font color=maroon>Add Employee Demo</font>", "../demo/adding_employees.html"))

  aux1 = insFld(foldersTree, gFld("Inventory", "javascript:parent.op()"))
      insDoc(aux1, gLnk("R", "Data Entry", "inventory.htm#Adding a New Item"))
      insDoc(aux1, gLnk("R", "Updating Stock", "inventory.htm#Updating Quantity:"))
      insDoc(aux1, gLnk("R", "Inventory Search", "inventory.htm#Searching Inventory:"))
      insDoc(aux1, gLnk("R", "Deleting Items", "inventory.htm#Deleting Inventory Items:"))
      insDoc(aux1, gLnk("R", "Printing Inventory", "inventory.htm#Printing:"))
      insDoc(aux1, gLnk("R", "Printing Barcodes", "inventory.htm#Printing Barcodes:"))
      insDoc(aux1, gLnk("R", "<font color=maroon>Serialized Inventory Demo</font>", "../demo/serialized_inventory.html"))
      insDoc(aux1, gLnk("R", "<font color=maroon>Non Serialized Inventory Demo</font>", "../demo/non-serialized_inventory.html"))
      insDoc(aux1, gLnk("R", "<font color=maroon>Category Management Demo</font>", "../demo/category_maintenance.html"))

  aux1 = insFld(foldersTree, gFld("Point of Sale", "javascript:parent.op()"))
      insDoc(aux1, gLnk("R", "Cash Register Setup", "regsetup.htm"))
      insDoc(aux1, gLnk("R", "POS Options", "options.htm"))
      insDoc(aux1, gLnk("R", "Make a New Sale", "pos.htm"))
      insDoc(aux1, gLnk("R", "Exchange", "reloadpos.htm#exchange"))
      insDoc(aux1, gLnk("R", "Refund", "reloadpos.htm#refund"))
      insDoc(aux1, gLnk("R", "Store Credit", "reloadpos.htm#store credit"))
      insDoc(aux1, gLnk("R", "Reprint Sales Receipt", "reloadpos.htm#reprint"))
      insDoc(aux1, gLnk("R", "Lay a way", "reloadpos.htm"))
      insDoc(aux1, gLnk("R", "Edit/Revise a Sale", "reloadpos.htm#editpos"))
      insDoc(aux1, gLnk("R", "<font color=maroon>New Sale Demo</font>", "../demo/make_a_sale.html"))
      insDoc(aux1, gLnk("R", "<font color=maroon>Refund / Exchange Demo</font>", "../demo/refund-exchange.html"))
      insDoc(aux1, gLnk("R", "<font color=maroon>Register Z-Out Demo</font>", "../demo/register_z-out.html"))

aux1 = insFld(foldersTree, gFld("Contract Entry", "javascript:parent.op()"))
      insDoc(aux1, gLnk("R", "Manual Contract Entry", "Contract_Entry.htm"))
      insDoc(aux1, gLnk("R", "Importing Contracts", "Contract_Entry.htm#import"))
      insDoc(aux1, gLnk("R", "Contract Search", "Contract_Search.htm"))

aux1 = insFld(foldersTree, gFld("Wholesale/Transfers Demo", "javascript:parent.op()"))
      insDoc(aux1, gLnk("R", "Store Transfer/Wholesale Demo", "../demo/store_transfer.html"))
      insDoc(aux1, gLnk("R", "Order Search Demo", "../demo/Agent_Order_Search.html"))
    
aux1 = insFld(foldersTree, gFld("Commission", "javascript:parent.op()"))
      insDoc(aux1, gLnk("R", "Commission Reports", "commestimate.htm"))
      insDoc(aux1, gLnk("R", "Comm Control Panel", "CommPanel.htm"))
      insDoc(aux1, gLnk("R", "spiff.htm", "spiff.htm"))
      insDoc(aux1, gLnk("R", "ActionType.htm#Discrepancies", "CommPanel.htm"))
      insDoc(aux1, gLnk("R", "ActionType.htm#Statement", "CommPanel.htm"))
      insDoc(aux1, gLnk("R", "<font color=maroon>Commission Demo</font>", "../demo/commission_manual.html"))
     
  


 // aux1 = insFld(foldersTree, gFld("<i>javascript:</i> links", "javascript:parent.op()"))
      //Use \" to delimit your string arguments and \\\" inside 
//	  insDoc(aux1, gLnk("S", "Window w/o bars", "javascript:parent.windowWithoutToolbar(\\\'http://www.treeview.net/treemenu/demopics/beenthere_tuscany.gif\\\', 410, 415)"))
      //Use \\\' to delimit your string arguments and \\\\\\' inside
	  //Double quote characters (") are not allowed in the string argument
//	  insDoc(aux1, gLnk("S", "A <i>js:</i> doc", "javascript:parent.exampleFunction(\\\'Special care with: &quot; and \\\\\\'\\\')"))
	  //Single quote characters (') are not allowed in the string argument but you can replace them with &#39;
//	  aux2 = insFld(aux1, gFld("A <i>js:</i> folder", "javascript:parent.exampleFunction(\"Take special care with: \\\" and &#39;\")"))


