//
// 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
ICONPATH = '../../img/';

foldersTree = gFld("Cards", "")
  foldersTree.treeID = "Funcs"
  folder1 = insFld(foldersTree, gFld("Credit Cards", "/cards/credit-card/cc_main.html"))
      insDoc(folder1, gLnk("S", "Visa Infinite", "/cards/credit-card/cc_visainfinite_main.html"))
      insDoc(folder1, gLnk("S", "Platinum", "/cards/credit-card/cc_platinum_main.html"))	  
      insDoc(folder1, gLnk("S", "Platinum<br>Business Card<br><img src=/img/trans.gif width=1 height=7 border=0/>", "../credit-card/cc_platinumbusiness_main.html"))
      insDoc(folder1, gLnk("S", "Gold Business Card", "/cards/credit-card/cc_goldbusiness_main.html"))
      insDoc(folder1, gLnk("S", "Travel Money", "/cards/credit-card/cc_travelmoney_main.html"))
      insDoc(folder1, gLnk("S", "Tesco-RHB", "/cards/credit-card/cc_tesco_main.html"))
	  insDoc(folder1, gLnk("S", "EVO", "/cards/credit-card/cc_evo_main.html"))
	  insDoc(folder1, gLnk("S", "Gold & Classic", "/cards/credit-card/cc_goldclassic_main.html"))
	  
  folder2 = insFld(foldersTree, gFld("Debit Cards", "/cards/debit-card/db_main.html"))
  	  insDoc(folder2, gLnk("S", "Platinum Debit Card", "/cards/debit-card/db_platinum_visa_main.html"))
  	  insDoc(folder2, gLnk("S", "Tesco-RHB", "/cards/debit-card/db_tesco_main.html"))
	  insDoc(folder2, gLnk("S", "Cash-Connect<br>Debit MasterCard<br><img src=/img/trans.gif width=1 height=7 border=0/>", "/cards/debit-card/db_cashconnect_main.html"))
	  insDoc(folder2, gLnk("S", "My Cash-i<br>Debit MasterCard <br><img src=/img/trans.gif width=1 height=7 border=0/>", "/islamic_banking/cards/db_cashconnect_i_main.html"))
	  insDoc(folder2, gLnk("S", "Cash-Connect Visa<br>Debit Card<br><img src=/img/trans.gif width=1 height=7 border=0/>", "/cards/debit-card/db_cashconnect_visa_main.html"))
	  insDoc(folder2, gLnk("S", "My Cash-i Visa<br>Debit Card <br><img src=/img/trans.gif width=1 height=7 border=0/>", "/islamic_banking/cards/db_cashconnect_i_visa_main.html"))
//  folder4 = insFld(foldersTree, gFld("Shopping Online", "/cards/credit-card/cc_3dsecure_shopping.html"))
//	  insDoc(folder4, gLnk("S", "Overview", "/cards/credit-card/cc_3dsecure_shopping.html"))
//	  insDoc(folder4, gLnk("S", "Register Your<br> RHB Debit/Credit<br> Card Here", "https://cardholderregistration.onlineauthentication.com.au/enrolment/860708455329488803"))
  //folder4 = insFld(foldersTree, gFld("Shopping Online", "/Whats_New/cards/simplified/main.html"))
	  //insDoc(folder4, gLnk("S", "Overview", "/Whats_New/cards/simplified/main.html"))
	  //insDoc(folder4, gLnk("S", "Register Your RHB Debit/Credit Card Here", "https://cardholderregistration.onlineauthentication.com.au/enrolment/860708455329488803"))


  // 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

  


