//
// 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.
//
// You can find general instructions for this file at www.treeview.net.
//

USETEXTLINKS = 1
STARTALLOPEN = 0
USEFRAMES = 0
USEICONS = 1
WRAPTEXT = 0
PRESERVESTATE = 1
ICONPATH = '/photogallery/treeview/';


foldersTree = gFld("<font color=black size=3 >Seth's Photo Galleries<img border=0 align=top src=/images/spacer.gif height=30 width=1></font>", "javascript:undefined")
foldersTree.treeID = "Frameless"

//INSECTS
aux1 = insFld(foldersTree, gFld("<font size=3>Insects</font>", "javascript:undefined"))
    //2007
    aux2 = insFld(aux1, gFld("2007", "javascript:undefined"))
        insDoc(aux2, gLnk("S", "<img align=absmiddle class=treeThumb  src=\"/photogallery/insects/insects1/7spottedladybug.mlua.070930.1970_thm.jpg\"> Insects Gallery 1", "/photogallery/insects/insects1/"))
        insDoc(aux2, gLnk("S", "<img  align=absmiddle class=treeThumb  src=\"/photogallery/insects/insects2/am.lady.chp.070921.1550_thm.jpg\"> Insect Gallery 2", "/photogallery/insects/insects2/"))



//BIRDS//
aux1 = insFld(foldersTree, gFld("<font size=3>Birds</font>", "javascript:undefined"))
    //PALEGIC
    aux2 = insFld(aux1, gFld("Pelagic", "javascript:undefined"))
        insDoc(aux2, gLnk("S", "<img align=absmiddle class=treeThumb  src=\"/photogallery/birds/ncpelagic/bcpe-best1-5-31-07_thm.jpg\"> North Carolina 5/2007", "/photogallery/birds/ncpelagic/"))
        insDoc(aux2, gLnk("S", "<img align=absmiddle  class=treeThumb  src=\"/photogallery/birds/pelagic/commonredpoll.freeportpelagic.071202.3351c_thm.jpg\"> Freeport, NY 12/2/2007  ", "/photogallery/birds/pelagic/"))
       
    //GULLS//
    aux2 = insFld(aux1, gFld("Gulls", "javascript:undefined"))
        insDoc(aux2, gLnk("S", "<img align=absmiddle  class=treeThumb  src=\"/photogallery/birds/lbbg/_mg_5179.071224.5179c_thm.jpg\"> Lesser Black-backed Gull  ", "/photogallery/birds/lbbg/"))
        insDoc(aux2, gLnk("S", "<img align=absmiddle  class=treeThumb  src=\"/photogallery/birds/Gull122807/gullspointlookout.071228.196_std.jpg\"> 12/28/07  ", "/photogallery/birds/Gull122807/"))

    //LAND BIRDS
    aux2 = insFld(aux1, gFld("Land Birds", "javascript:undefined"))
        insDoc(aux2, gLnk("S", "<img  align=absmiddle  class=treeThumb  src=\"/photogallery/birds/landbirds/img_6631c_thm.jpg\"> Land Birds 2007  ", "/photogallery/birds/landbirds/"))
        insDoc(aux2, gLnk("S", "<img  align=absmiddle  class=treeThumb  src=\"/photogallery/birds/finches12008/pinegrosbeak.trivalleyschool.sullivancounty.ny.080120.283c_thm.jpg\"> Finches - Upstate, NY  1/20/08 ", "/photogallery/birds/finches12008"))
        insDoc(aux2, gLnk("S", "<img  align=absmiddle  class=treeThumb  src=\"/photogallery/birds/SCOR12608/scottsoriale.080126.038c_thm.jpg\"> Scotts Oriole - Union Square Park - 1/26/08 ", "/photogallery/birds/SCOR12608"))
        insDoc(aux2, gLnk("S", "<img align=absmiddle  class=treeThumb  src=\"/photogallery/birds/nj21708/brokenbillcommonloon.080217.005c_thm.jpg\"> New Jersey, 2/17/2008  ", "/photogallery/birds/nj21708/"))
    

     
//to create a new gallery
//copy one of above gallery lines and make appropriate changes

//THIS LINE MAKES A NEW TREE FOR LAND BIRDS. It puts the LAND BIRDS under the "birdTree" which is aux1

//aux2 = insFld(aux1, gFld("Land Birds", "javascript:undefined"))   

//          THESE LINES ADD Galleries to the Land Birds Tree which is called aux2. 
//        insDoc(aux2, gLnk("S", "<img  align=absmiddle  class=treeThumb  src=\"/photogallery/birds/landbirds/img_6631c_thm.jpg\"> Land Birds 2007  ", "/photogallery/birds/landbirds/"))
//        insDoc(aux2, gLnk("S", "<img  align=absmiddle  class=treeThumb  src=\"/photogallery/birds/finches12008/pinegrosbeak.trivalleyschool.sullivancounty.ny.080120.283c_thm.jpg\"> Finches - Upstate, NY  1/20/08 ", "/photogallery/birds/finches12008"))
//        insDoc(aux2, gLnk("S", "<img  align=absmiddle  class=treeThumb  src=\"/photogallery/birds/SCOR12608/scottsoriale.080126.038c_thm.jpg\"> Scotts Oriole - Union Square Park - 1/26/08 ", "/photogallery/birds/SCOR12608"))


        //src="" denotes the picture u want to use as the little thumbnail for the gallery
        // Finches - Upstate, NY  1/20/08 is the name of the gallery
        //"/photogallery/birds/finches12008" is the link for this gallery
        
