//
// 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("Islamic Banking", "")
  foldersTree.treeID = "Funcs"
  folder1 = insFld(foldersTree, gFld("Overview", "../main/main.html"))
  folder2 = insFld(foldersTree, gFld("Cards", "/islamic_banking/cards/db_cashconnect_i_main.html"))
  	  insDoc(folder2, gLnk("S", "My Cash-i Debit<br>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", "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"));
  folder3 = insFld(foldersTree, gFld("Deposit", "../deposit/main.html"))
      insDoc(folder3, gLnk("S", "Saving Account", "../deposit/savings_account.html"));
	  insDoc(folder3, gLnk("S", "Current Account", "../deposit/current_account.html"));
	  insDoc(folder3, gLnk("S", "Term Deposit", "../deposit/term_deposit.html"));
	 
  folder4 = insFld(foldersTree, gFld("Financing", "../financing/equity_homefinancing-i.html"))
	  insDoc(folder4, gLnk("S", "Equity Home Financing-i", "../financing/equity_homefinancing-i.html"));
	  insDoc(folder4, gLnk("S", "Hire Purchase-i", "../financing/hire_purchase-i.html"));
	  insDoc(folder4, gLnk("S", "Personal Financing-i<br><img src=../img/trans.gif width=1 height=7 border=0/>", "../financing/personal_financing-i.html"));
  folder5 = insFld(foldersTree, gFld("Wealth Management", "../wealth_management/main.html"))
  	  insDoc(folder5, gLnk("S", "Islamic Estate Planning", "../wealth_management/islamic_estate_planning.html"));
	  insDoc(folder5, gLnk("S", "Unit Trust", "../wealth_management/unit_trust.html"));
	  insDoc(folder5, gLnk("S", "Takaful<br><img src=../img/trans.gif width=1 height=7 border=0/>", "../wealth_management/takaful.html"));
  folder6 = insFld(foldersTree, gFld("Az Zahra", "../az_zahra/main.html"))
  	  insDoc(folder6, gLnk("S", "About Az Zahra", "/islamic_banking/az_zahra/about.html"))
  	  insDoc(folder6, gLnk("S", "Home Financing-i", "../az_zahra/home_financing.html"))
  	  insDoc(folder6, gLnk("S", "Hire Purchase-i", "../az_zahra/hire_purchase-i.html"))
  	  insDoc(folder6, gLnk("S", "Mudharabah<br>Current Account-i<br><img src=../../img/trans.gif width=1 height=7 border=0/>", "../az_zahra/current_account.html"))
  	  insDoc(folder6, gLnk("S", "Mudharabah General<br>Investment Account-i<br><img src=../../img/trans.gif width=1 height=7 border=0/>", "../az_zahra/general_investment_account.html"))  
	  insDoc(folder6, gLnk("S", "Contact Us<br><img src=../../img/trans.gif width=1 height=7 border=0/>", "/islamic_banking/az_zahra/contact.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

  

