//
// 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("Rates & Charges", "");
   foldersTree.treeID = "Funcs";
   //folder1 = insFld(foldersTree, gFld("Overview", "/rate_charges/main/main.html"));
   folder1 = insFld(foldersTree, gFld("Foreign Exchange Rates", "/rate_charges/foreign-exchange/fe_main.html"));
   folder2 = insFld(foldersTree, gFld("Foreign Currency<br />Notes Rates<br><img src=/img/trans.gif width=1 height=7 border=0/>", "/rate_charges/foreign-currency/fc_main.html"));
   folder3 = insFld(foldersTree, gFld("Multi Currency<br />Deposit Rates<br><img src=/img/trans.gif width=1 height=7 border=0/>", "/rate_charges/multi-currency/mc_main.html"));
   folder4 = insFld(foldersTree, gFld("Indicative Forward<br />Rates<br><img src=/img/trans.gif width=1 height=7 border=0/>", "/rate_charges/indicative-forward/if_main.html"));
   folder5 = insFld(foldersTree, gFld("Money Market Rates", "/rate_charges/money-market/mm_main.html"));
   folder6 = insFld(foldersTree, gFld("Gold Exchange Rates", "/rate_charges/gold-rates/gld_main.asp"));
   
   folder6 = insFld(foldersTree, gFld("Interest Rates", "/rate_charges/interest-rates/ir_savings_main.html"));
	  insDoc(folder6, gLnk("S", "Savings Account", "/rate_charges/interest-rates/ir_savings_main.html"));
	  insDoc(folder6, gLnk("S", "Current Account", "/rate_charges/interest-rates/ir_current_main.html"));
	  insDoc(folder6, gLnk("S", "Fixed Deposit", "/rate_charges/interest-rates/ir_fixed_main.html"));
	  insDoc(folder6, gLnk("S", "Premier Current Account", "/rate_charges/interest-rates/ir_premier_main.html"));
	  insDoc(folder6, gLnk("S", "Base Lending Rate", "/rate_charges/interest-rates/ir_blr_main.html"));  
	  insDoc(folder6, gLnk("S", "Hire Purchase", "/rate_charges/interest-rates/ir_hire_purchase.html")); 
	  
   folder7 = insFld(foldersTree, gFld("Service Charges", "/rate_charges/service-charges/sc_application_main.html"));
	  insDoc(folder7, gLnk("S", "New Application", "/rate_charges/service-charges/sc_application_main.html"));
	  insDoc(folder7, gLnk("S", "Payments", "/rate_charges/service-charges/sc_payments_main.html"));
	  insDoc(folder7, gLnk("S", "Others", "/rate_charges/service-charges/sc_others_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

  


