//
// 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("Motor Insurance", "../motor_insurance/commercial_vehicle.html"));
  		insDoc(folder2, gLnk("S", "Commercial Vehicle<br>Insurance<br><img src=../../img/trans.gif width=1 height=7 border=0/>", "../motor_insurance/commercial_vehicle.html"))
  		insDoc(folder2, gLnk("S", "Private Car<br>Insurance<br><img src=../../img/trans.gif width=1 height=7 border=0/>", "../motor_insurance/private_car_insurance.html"))
		insDoc(folder2, gLnk("S", "Motorcycle Insurance<br><img src=../../img/trans.gif width=1 height=7 border=0/>", "../motor_insurance/motorcycle_insurance.html"))
 
 folder3 = insFld(foldersTree, gFld("Health & Surgical Insurance", "../health_surgical_insurance/hospitalisation.html"));  
		insDoc(folder3, gLnk("S", "RHB Group Hospital &<br>Surgical Insurance<br><img src=../../img/trans.gif width=1 height=7 border=0/>", "../health_surgical_insurance/hospitalisation.html"))
		insDoc(folder3, gLnk("S", "", ""))
		
 folder4 = insFld(foldersTree, gFld("Property Insurance", "../property/fire_insurance.html"));		
		insDoc(folder4, gLnk("S", "Fire Insurance", "../property/fire_insurance.html"))  
		insDoc(folder4, gLnk("S", "Fire Consequential<br>Loss Insurance<br><img src=../../img/trans.gif width=1 height=7 border=0/>", "../property/fire_consequential.html"))  
		
 folder5 = insFld(foldersTree, gFld("Travel Insurance", "../travel/travel_protector.html"));		
		insDoc(folder5, gLnk("S", "TravelProtector<br>Insurance<br><img src=../../img/trans.gif width=1 height=7 border=0/>", "../travel/travel_protector.html")) 
		insDoc(folder5, gLnk("S", "Annual Travel<br>Insurance<br><img src=../../img/trans.gif width=1 height=7 border=0/>", "../travel/annual_travel.html")) 
		insDoc(folder5, gLnk("S", "Preferred Travel<br>Insurance<br><img src=../../img/trans.gif width=1 height=7 border=0/>", "../travel/preferred.html"))  
		
 folder6 = insFld(foldersTree, gFld("Marine & Transit", "../marine/../marine/goods.html"));
		insDoc(folder6, gLnk("S", "Goods in Transit<br>Insurance<br><img src=../../img/trans.gif width=1 height=7 border=0/>", "../marine/goods.html"))
		insDoc(folder6, gLnk("S", "Marine Cargo<br>Insurance<br><img src=../../img/trans.gif width=1 height=7 border=0/>", "../marine/cargo.html")) 
 		insDoc(folder6, gLnk("S", "Marine Hull<br>Insurance<br><img src=../../img/trans.gif width=1 height=7 border=0/>", "../marine/hull.html")) 
		
 folder7 = insFld(foldersTree, gFld("Engineering Insurance", "../engineering/contractor.html"));	
		insDoc(folder7, gLnk("S", "Contractor’s All Risk<br>Insurance<br><img src=../../img/trans.gif width=1 height=7 border=0/>", "../engineering/contractor.html"))
		insDoc(folder7, gLnk("S", "Erection All Risk<br>Insurance<br><img src=../../img/trans.gif width=1 height=7 border=0/>", "../engineering/erection.html"))	
		insDoc(folder7, gLnk("S", "Boiler & Pressure<br>Vessel Insurance<br><img src=../../img/trans.gif width=1 height=7 border=0/>", "../engineering/boiler_pressure.html"))
		insDoc(folder7, gLnk("S", "Machinery Breakdown - <br>Loss of Profit<br><img src=../../img/trans.gif width=1 height=7 border=0/>", "../engineering/machinery.html"))
		insDoc(folder7, gLnk("S", "Electronic Equipment<br>Insurance<br><img src=../../img/trans.gif width=1 height=7 border=0/>", "../engineering/electronic_equipment.html"))

 folder8 = insFld(foldersTree, gFld("Worker Compensation<br>Scheme<br><img src=../../img/trans.gif width=1 height=7 border=0/>", "../worker/foreign_worker.html"));
		insDoc(folder8, gLnk("S", "Foreign Worker<br>Compensation Scheme<br><img src=../../img/trans.gif width=1 height=7 border=0/>", "../worker/foreign_worker.html"))	
		insDoc(folder8, gLnk("S", "Workman Compensation<br>Insurance Scheme<br><img src=../../img/trans.gif width=1 height=7 border=0/>", "../worker/workmen.html"))
		insDoc(folder8, gLnk("S", "Employer’s Liability<br>Insurance<br><img src=../../img/trans.gif width=1 height=7 border=0/>", "../worker/employers.html"))
		
 folder9 = insFld(foldersTree, gFld("Liability Insurance", "../liability/director.html"));
		insDoc(folder9, gLnk("S", "Directors’ and Officers'<br>Liability Insurance<br><img src=../../img/trans.gif width=1 height=7 border=0/>", "../liability/director.html")) 
		insDoc(folder9, gLnk("S", "Product Liability<br>Insurance<br><img src=../../img/trans.gif width=1 height=7 border=0/>", "../liability/product.html"))  
		insDoc(folder9, gLnk("S", "Professional Indemnity<br>Insurance<br><img src=../../img/trans.gif width=1 height=7 border=0/>", "../liability/professional.html"))  
		insDoc(folder9, gLnk("S", "Public Liability<br>Insurance<br><img src=../../img/trans.gif width=1 height=7 border=0/>", "../liability/public.html")) 
 
 folder10 = insFld(foldersTree, gFld("Miscellaneous", "../misc/burglary.html"));
		insDoc(folder10, gLnk("S", "Burglary", "../misc/burglary.html"))  
		insDoc(folder10, gLnk("S", "Golfer’s Insurance", "../misc/golfer.html")) 
		insDoc(folder10, gLnk("S", "Plate Glass Insurance", "../misc/plate_glass.html")) 
 		insDoc(folder10, gLnk("S", "Money Insurance", "../misc/money_insurance.html")) 
 		insDoc(folder10, gLnk("S", "Fidelity Guarantee<br>Insurance<br><img src=../../img/trans.gif width=1 height=7 border=0/>", "../misc/fidelity_guarantee.html"))
 		insDoc(folder10, gLnk("S", "Exhibitors Insurance", "../misc/exhibitors.html"))		
 		insDoc(folder10, gLnk("S", "Equipment All<br>Risk Insurance<br><img src=../../img/trans.gif width=1 height=7 border=0/>", "../misc/equipment.html"))		
 		insDoc(folder10, gLnk("S", "SMI Premier Package", "../misc/smi.html"))		
 		insDoc(folder10, gLnk("S", "Business Machine<br>Equipment All Risk<br>Insurance<br><img src=../../img/trans.gif width=1 height=7 border=0/>", "../misc/business_machine.html"))
 		insDoc(folder10, gLnk("S", "Motorist Commercial<br>Vehicle Personal<br>Accident Insurance<img src=../../img/trans.gif width=1 height=7 border=0/>", "../misc/motorist.html"))
		
		
  //folder3 = insFld(foldersTree, gFld("Engineering Insurance", "../engineering/main.html"));
  //folder4 = insFld(foldersTree, gFld("Foreign Worker Insurance", "../foreign/main.html"));
  //folder5 = insFld(foldersTree, gFld("Golfer's Insurance", "../golfer/main.html"));
  //folder6 = insFld(foldersTree, gFld("Group Insurance", "../group/main.html"));
  //folder7 = insFld(foldersTree, gFld("Liability Insurance", "../liability/main.html"));  
  //folder8 = insFld(foldersTree, gFld("Marine & Transit<br />Insurance<br><img src=../../img/trans.gif width=1 height=7 border=0/>", "../marine/main.html"));
  //folder9 = insFld(foldersTree, gFld("Pecuniary Insurance", "../pecuniary/main.html"));
  //folder10 = insFld(foldersTree, gFld("Property Insurance", "../property/main.html"));
  //folder11 = insFld(foldersTree, gFld("Travel Insurance", "../travel/main.html"));  
  //folder12 = insFld(foldersTree, gFld("SMI Premier Package", "../misc/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

  


