//
// 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("Insurance", "")
  foldersTree.treeID = "Funcs"
  folder1 = insFld(foldersTree, gFld("Overview", "../main/main.html"))  
  folder2 = insFld(foldersTree, gFld("Personal Insurance", "../personal_insurance/private_car_insurance.html"))
  		insDoc(folder2, gLnk("S", "Motor Insurance", "../personal_insurance/private_car_insurance.html"))
  		insDoc(folder2, gLnk("S", "Personal Accident<br>Insurance<br><img src=../../img/trans.gif width=1 height=7 border=0/>", "../personal_insurance/smartcare.html"))  
  		insDoc(folder2, gLnk("S", "Health & Surgical<br>Insurance<br><img src=../../img/trans.gif width=1 height=7 border=0/>", "../personal_insurance/pos_malaysia.html"))   
  		insDoc(folder2, gLnk("S", "Property Insurance", "../personal_insurance/fire_insurance.html"))   
  		insDoc(folder2, gLnk("S", "Liability Insurance", "../personal_insurance/personal_liability_insurance.html"))
  		insDoc(folder2, gLnk("S", "Travel Insurance", "../personal_insurance/travel_protector.html"))		
		insDoc(folder2, gLnk("S", "Others<br><img src=../../img/trans.gif width=1 height=7 border=0/>", "../personal_insurance/golfers.html"))
  folder3 = insFld(foldersTree, gFld("Bancassurance", "../main/main_bancassurance.html"))		
		insDoc(folder3, gLnk("S", "Motor Insurance", "../bancassurance/private_car_insurance.html"))		
		insDoc(folder3, gLnk("S", "Personal Accident<br>Insurance<br><img src=../../img/trans.gif width=1 height=7 border=0/>", "../bancassurance/family_shield.html"))	
		insDoc(folder3, gLnk("S", "Property Insurance", "../bancassurance/home_protector2.html"))	
		insDoc(folder3, gLnk("S", "Telemarketing", "../bancassurance/my_optimal_plan.html"))		
		insDoc(folder3, gLnk("S", "Others", "../bancassurance/mysafe_deposit_box.html"))		

		
		//insDoc(folder3, gLnk("S", "Health & Surgical<br>Insurance<br><img src=../../img/trans.gif width=1 height=7 border=0/>", "../bancassurance/my_health_care_plan.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

  


