//
// 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

foldersTree = gFld("<b>Home</b>", "me.html")
     	 
   aux1 = insFld(foldersTree, gFld("<b>History</b>", "javascript:parent.op()"))
      docAux = insDoc(aux1, gLnk("R", "How I found it", "journey.html"))
	  docAux = insDoc(aux1, gLnk("R", "Car history", "history.html"))
      docAux = insDoc(aux1, gLnk("R", "First Ride(27/06/03)", "mechanical.html"))
      
  aux1 = insFld(foldersTree, gFld("<b>Restoration Log Archives</b>", "javascript:parent.op()"))
  aux2 = insFld(aux1, gFld("<b>2003</b>", "javascript:parent.op()"))
	  docAux = insDoc(aux2, gLnk("R", "July 28, 2003", "week1.html"))
	  docAux = insDoc(aux2, gLnk("R", "August 04, 2003", "week2.html"))
	  docAux = insDoc(aux2, gLnk("R", "August 11, 2003", "week3.html"))
	  docAux = insDoc(aux2, gLnk("R", "August 18, 2003", "week4.html"))
	  docAux = insDoc(aux2, gLnk("R", "September 01, 2003", "week5.html"))
	  docAux = insDoc(aux2, gLnk("R", "September 08, 2003", "week6.html"))
	  docAux = insDoc(aux2, gLnk("R", "September 15, 2003", "week7.html"))
	  docAux = insDoc(aux2, gLnk("R", "September 22, 2003", "week8.html"))
	  docAux = insDoc(aux2, gLnk("R", "October 06, 2003", "week9.html"))
	  docAux = insDoc(aux2, gLnk("R", "October 27, 2003", "week10.html"))
	  docAux = insDoc(aux2, gLnk("R", "November 10, 2003", "week11.html"))
	  docAux = insDoc(aux2, gLnk("R", "November 24, 2003", "week12.html"))
 aux3 = insFld(aux1, gFld("<b>2004</b>", "javascript:parent.op()"))
	  docAux = insDoc(aux3, gLnk("R", "June 27, 2004", "week13.html"))
	  docAux = insDoc(aux3, gLnk("R", "July 13, 2004", "week14.html"))
	  docAux = insDoc(aux3, gLnk("R", "July 18, 2004", "week15.html"))
	  docAux = insDoc(aux3, gLnk("R", "July 30, 2004", "week16.html"))
	  docAux = insDoc(aux3, gLnk("R", "August 02, 2004", "week17.html"))
	  docAux = insDoc(aux3, gLnk("R", "August 04, 2004", "week18.html"))
	  docAux = insDoc(aux3, gLnk("R", "August 09, 2004", "week19.html"))
	  docAux = insDoc(aux3, gLnk("R", "August 25, 2004", "week20.html"))
 aux4 = insFld(aux1, gFld("<b>2005</b>", "javascript:parent.op()"))	  
	  docAux = insDoc(aux4, gLnk("R", "June 03, 2005", "week21.html"))
	  docAux = insDoc(aux4, gLnk("R", "December 15, 2005", "week22.html"))
 aux5 = insFld(aux1, gFld("<b>2006</b>", "javascript:parent.op()"))	  	  
	  docAux = insDoc(aux5, gLnk("R", "January 23, 2006", "week23.html"))
	  docAux = insDoc(aux5, gLnk("R", "February 10, 2006", "week24.html"))
	  docAux = insDoc(aux5, gLnk("R", "March 17, 2006", "week25.html"))
	  docAux = insDoc(aux5, gLnk("R", "December 03, 2006", "week26.html"))
 aux6 = insFld(aux1, gFld("<b>2007</b>", "javascript:parent.op()"))	  	  
	  docAux = insDoc(aux6, gLnk("R", "February 16, 2007", "week27.html")) 
	  docAux = insDoc(aux6, gLnk("R", "February 17, 2007", "week28.html")) 
	  docAux = insDoc(aux6, gLnk("R", "February 21, 2007", "week29.html"))  
	  docAux = insDoc(aux6, gLnk("R", "February 28, 2007", "week30.html"))
	  docAux = insDoc(aux6, gLnk("R", "April 04, 2007", "week31.html"))  
	  docAux = insDoc(aux6, gLnk("R", "May 10, 2007", "week32.html"))  
	  docAux = insDoc(aux6, gLnk("R", "July 31, 2007", "week33.html")) 
	  docAux = insDoc(aux6, gLnk("R", "August 07, 2007", "week34.html"))
aux7 = insFld(aux1, gFld("<b>2008</b>", "javascript:parent.op()"))	  	  
	  docAux = insDoc(aux7, gLnk("R", "March 07, 2008", "week35.html"))
	  docAux = insDoc(aux7, gLnk("R", "March 17, 2008", "week36.html"))
aux8 = insFld(aux1, gFld("<b>2009</b>", "javascript:parent.op()"))	
	  docAux = insDoc(aux8, gLnk("R", "February 03, 2009", "week37.html")) 
aux9 = insFld(aux1, gFld("<b>2010</b>", "javascript:parent.op()"))	
  	  docAux = insDoc(aux9, gLnk("R", "March 20, 2010", "week38.html"))
	  docAux = insDoc(aux9, gLnk("R", "April 08, 2010", "week39.html"))
	  docAux = insDoc(aux9, gLnk("R", "July 06, 2010", "week40.html"))
	  docAux = insDoc(aux9, gLnk("R", "September 10, 2010", "week41.html"))
	  docAux = insDoc(aux9, gLnk("R", "September 29, 2010", "week42.html"))
	  docAux = insDoc(aux9, gLnk("R", "October 06, 2010", "week43.html"))
	  docAux = insDoc(aux9, gLnk("R", "October 20, 2010", "week44.html"))
	  docAux = insDoc(aux9, gLnk("R", "December 16, 2010", "last.html"))
	  docAux.iconSrc = ICONPATH + "pics/new3.gif" 
	  
	  
	  
	  
	  
aux10 = insFld(foldersTree, gFld("<b>1957 Pontiac Library</b>", "javascript:parent.op()"))
  	docAux = insDoc(aux10, gLnk("A", "Canadian Pontiac for 1957", "references/CanadianPontiacfor1957.html"))
	docAux.iconSrc = ICONPATH + "pics/new3.gif" 
	docAux = insDoc(aux10, gLnk("A", "Canadian User's Guide", "references/1957CanadianPontiacUserGuide.html"))
	docAux.iconSrc = ICONPATH + "pics/new3.gif" 
	docAux = insDoc(aux10, gLnk("A", "US Pontiac User's Guide", "references/IntroducingYour1957Pontiac.html"))
	docAux.iconSrc = ICONPATH + "pics/new3.gif" 
	docAux = insDoc(aux10, gLnk("A", "Pontiac Accessories", "references/1957PontiacAccessories.html"))
	docAux.iconSrc = ICONPATH + "pics/new3.gif" 
	docAux = insDoc(aux10, gLnk("A", "1957 Accessories Price List", "references/1957PontiacAccessoriesPriceList.html"))
	docAux.iconSrc = ICONPATH + "pics/new3.gif" 
	docAux = insDoc(aux10, gLnk("A", "Dealer Presentation Album", "references/1957PontiacDealershipPresentationAlbum,html.html"))
	docAux.iconSrc = ICONPATH + "pics/new3.gif" 
	docAux = insDoc(aux10, gLnk("A", "1957 Starlite Colors", "references/1957PontiacStarliteColors.html"))
	docAux.iconSrc = ICONPATH + "pics/new3.gif" 
aux11 = insFld(foldersTree,gLnk("R", "Links", "links.html"))
aux12 = insFld(foldersTree,gLnk("R", "Parts for Sale", "forsale.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

  //Note the "S" target in the first argument of gLnk
  //aux1 = insFld(foldersTree, gFld("<i>javascript:</i> links", "javascript:parent.op()"))
      //Use \" to delimit your string arguments and \\\" inside 
	  //insDoc(aux1, gLnk("S", "Window w/o bars", "javascript:parent.windowWithoutToolbar(\\\'http://www.treeview.net/treemenu/demopics/beenthere_tuscany.gif\\\', 410, 415)"))
      //Use \\\' to delimit your string arguments and \\\\\\' inside
	  //Double quote characters (") are not allowed in the string argument
	  //insDoc(aux1, gLnk("S", "A <i>js:</i> doc", "javascript:parent.exampleFunction(\\\'Special care with: &quot; and \\\\\\'\\\')"))
	  //Single quote characters (') are not allowed in the string argument but you can replace them with &#39;
	  //aux2 = insFld(aux1, gFld("A <i>js:</i> folder", "javascript:parent.exampleFunction(\"Take special care with: \\\" and &#39;\")"))



