//
// 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 = 0;
ICONPATH = '../../img/';

foldersTree = gFld("Deposits", "");
   foldersTree.treeID = "Funcs";
   folder1 = insFld(foldersTree, gFld("Overview", "../main/main.html"));
   folder2 = insFld(foldersTree, gFld("Savings Account", "../savings-account/sa_mysave_main.html"));
      insDoc(folder2, gLnk("S", "MySave Account", "../savings-account/sa_mysave_main.html"));
      insDoc(folder2, gLnk("S", "MaxSave Account", "../savings-account/sa_maxsave_main.html"));
      insDoc(folder2, gLnk("S", "Passbook<br>Savings Account<br><img src=../../img/trans.gif width=1 height=7 border=0/>", "../savings-account/sa_passbook_main.html"));
      insDoc(folder2, gLnk("S", "Statement<br>Savings Account<br><img src=../../img/trans.gif width=1 height=7 border=0/>", "../savings-account/sa_statement_main.html"));
	  insDoc(folder2, gLnk("S", "Basic Savings Account", "../savings-account/sa_basic_main.html"));
	  insDoc(folder2, gLnk("S", "Junior Savings Account", "../savings-account/sa_junior_main.html"));
	  insDoc(folder2, gLnk("S", "Debit Card<br><img src=../../img/trans.gif width=1 height=7 border=0/>", "../../cards/debit-card/db_main.html"));
   folder3 = insFld(foldersTree, gFld("Current Account", "../current-account/ca_maxcash_main.html"));
      insDoc(folder3, gLnk("S", "MaxCash Account", "../current-account/ca_maxcash_main.html"));
      insDoc(folder3, gLnk("S", "My1 Account", "../current-account/ca_my1_main.html"));
      insDoc(folder3, gLnk("S", "Ordinary Current Account", "../current-account/ca_current_main.html"));
      insDoc(folder3, gLnk("S", "Basic Current Account<br><img src=../../img/trans.gif width=1 height=7 border=0/>", "../current-account/ca_basic_main.html"));
	  insDoc(folder3, gLnk("S", "Debit Card<br><img src=../../img/trans.gif width=1 height=7 border=0/>", "../../cards/debit-card/db_main.html"));
   folder4 = insFld(foldersTree, gFld("Fixed Deposit", "../fixed-deposit/fd_ordinary_main.html"));
   	  insDoc(folder4, gLnk("S", "Ordinary Fixed Deposit", "../fixed-deposit/fd_ordinary_main.html"));
	  insDoc(folder4, gLnk("S", "RHB Senior<br>Fixed Deposit<br><img src=../../img/trans.gif width=1 height=7 border=0/>", "../fixed-deposit/fd_senior_main.html"));
	  insDoc(folder4, gLnk("S", "RHB P.A.Y.S.<br>Fixed Deposit<br><img src=../../img/trans.gif width=1 height=7 border=0/>", "../fixed-deposit/fd_pays_main.html"));
   folder5 = insFld(foldersTree, gFld("Multi Currency Account", "../multi-currency/mc_main.html"));
   folder6 = insFld(foldersTree, gFld("Student FX Package", "../studentfx_package/edea.html"));
	  insDoc(folder6, gLnk("S", "Educational Deposit<br>Account (EDEA)<br><img src=../../img/trans.gif width=1 height=7 border=0/>", "../studentfx_package/edea.html"));
   folder7 = insFld(foldersTree, gFld("Structured Deposits", "../../wealth_management/structured-investment/main.html"));


  // If your tree instead of the regular http links has "javascript:function(arg)"
  // links, and the type of the argument is string, special care is needed regarding
  // the quotes and double quotes. Please use exactly the same kind of 
  // quotes or double quotes used in this example (they change from folder to document).
  // Use the exact same number of backslashes for escaping the (double)quote 
  // characters, and pay attention not only to the (double)quotes surrouding the 
  // strings, but also to any (double)quote characters inside of that string

  // If you are going to use a frameless layout, you will need to move the functions 
  // exampleFunction and windowWithoutToolbar to the main page and change
  // parent.functionname to window.functionname in this file

  

