// Menu for NITB web pages
// Initial creation: July 12, 2010 by Paul Y
// Menu revisions: July 28, 2010: Added links to Idaho Statutes
//               October 8, 2010: Deleted link to the 'Inland Empire Calendar of 4x4 Events'
//                                Added 'Where To Ride' sub-menu
//                                Added link to the 'WOHVA Map Catalog'
//                                Added link to 'Idaho Department of Parks and Recreation' new interactiveWhere to Ride website
//              October 29, 2010: Added link to VW Tourareg web page
//              November 6, 2010: Added link to 7 Mile ORV Area of 2007-03-17
//             November 10, 2010: Added link to Sprint Boat Races of 2007 and 2008-06-21
//              January 17, 2011: Fixed problem with folders not staying open
//                                Rearranged Cabin Fever web pages
//                                Added PNW4WDA, Blueribbon Coalition, and Idaho 4x4 State Association links
//                                  (logos were removed from home page)
//                March 16, 2011: Activivated link to password-protected member's only pages
//                March 23, 2011: Updated link to Idaho State 4x4 Association
//               August 17, 2011: Added several Past Events Pages
//               October 3, 2011: Added link to Sprint Boat Races of 2011-08-27

// 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.
//

//Environment variables are usually set at the top of this file.
BUILDALL = 0                 // Default is 0: Defer build
// GLOBALTARGET = T          // Default is R: Right frame
HIGHLIGHT = 0                // Default is 0: Do not highlight menu items
ICONPATH = 'menu_files/'
PERSERVESTATE = 0            // Default is 0: Do not store state
STARTALLOPEN = 0             // Default is 0: Expand root folder only
USEFRAMES = 0                // Default is 1: Use frame-based layout
USEICONS = 0                 // Default is 1: Display folder icons
USETEXTLINKS = 1             // Default is 0: Icon is the only link
WRAPTEXT = 1                 // Default is 0: Do not wrap text

foldersTree = gFld("NITB Home Page", "index.html")
  aux1 = insFld(foldersTree, gFld("NITB web pages:", "javascript:parent.op()"))
    aux2 = insFld(aux1, gFld("Cabin Fever Home Page", "cf-home.htm"))
//      insDoc(aux2, gLnk("T", "Cabin Fever 2011 Flier", "cf-2011fl.htm"))
//      insDoc(aux2, gLnk("T", "Cabin Fever 2011 Application", "cf-2011ap.htm"))
      insDoc(aux2, gLnk("T", "What Is Cabin Fever?", "cf-what.htm"))
      insDoc(aux2, gLnk("T", "Cabin Fever History", "cf-hist.htm"))
    aux2 = insFld(aux1, gFld("Past Events:", "javascript:undefined"))
      aux3 = insFld(aux2, gFld("7 Mile ORV Area:", "javascript:undefined"))
//        insDoc(aux3, gLnk("T", "May 30, 2010"," 7-Mile-2010-05-30.htm"))
//        insDoc(aux3, gLnk("T", "April 5, 2009", "7-Mile-2009-04-05.htm"))
//        insDoc(aux3, gLnk("T", "May 4, 2008"," 7-Mile-2008-05-04.htm"))
//        insDoc(aux3, gLnk("T", "October 14, 2007", "7-Mile-2007-10-14.htm"))
        insDoc(aux3, gLnk("T", "March 17, 2007", "7-Mile-2007-03-17.htm"))
//      aux3 = insFld(aux2, gFld("Cabin Fever:", "javascript:undefined"))
//        insDoc(aux3, gLnk("T", "2010 (April 10)", "cf-2010-04-10.htm"))
//        insDoc(aux3, gLnk("T", "2009 (April 25)", "cf-2009-04-25.htm"))
//        insDoc(aux3, gLnk("T", "2008 (April 12)", "cf-2008-04-12.htm"))
      aux3 = insFld(aux2, gFld("Sprint Boat Races:", "javascript:undefined"))
        insDoc(aux3, gLnk("T", "August 27, 2011", "sprints-2011-08-27.htm"))
        insDoc(aux3, gLnk("T", "June 25, 2011", "sprints-2011-06-25.htm"))
        insDoc(aux3, gLnk("T", "August 28,2010", "sprints-2010-08-28.htm"))
//        insDoc(aux3, gLnk("T", "June 19, 2010", "sprints-2010-06-19.htm"))
        insDoc(aux3, gLnk("T", "August 29,2009", "sprints-2009-08-29.htm"))
//        insDoc(aux3, gLnk("T", "June 20, 2009", "sprints-2010-06-20.htm"))
//        insDoc(aux3, gLnk("T", "August 23, 2008", "sprints-2008-08-23.htm"))
        insDoc(aux3, gLnk("T", "June 21, 2008", "sprints-2008-06-21.htm"))
        insDoc(aux3, gLnk("T", "2007", "sprints-2007.htm"))
//      aux3 = insFld(aux2, gFld("Pine Creek:", "javascript:undefined"))
//        insDoc(aux3, gLnk("T", "July 2007", "pinecrk-2007-07.htm"))
//        insDoc(aux3, gLnk("T", "August 2008", "pinecrk-2008-08.htm"))
      insDoc(aux2, gLnk("T", "VW Tourareg, July 17"," VW%20Tourareg.htm"))
    aux2 = insFld(aux1, gFld("Member\'s Rigs:", "Mbr\%20Rigs.htm"))
      insDoc(aux2, gLnk("T", "Forrest &amp; Debra D"," Mbr_Rigs-Forrest_D.htm"))
      insDoc(aux2, gLnk("T", "Brandon G &amp; Jessica K"," Mbr_Rigs-Brandon_G.htm"))
      insDoc(aux2, gLnk("T", "Alex S"," Mbr_Rigs-Alex_S.htm"))
      insDoc(aux2, gLnk("T", "Paul Y"," Mbr_Rigs-Paul_Y.htm"))
      insDoc(aux2, gLnk("T", "Jesse Y"," Mbr_Rigs-Jesse_Y.htm"))
    aux2 = insFld(aux1, gFld("Member\'s Only Section<br>&nbsp;&nbsp;&nbsp;(username\/password required!)", "members.htm"))
    insDoc(aux1, gLnk("T", "Site map", "site-map.htm"))

  aux1 = insFld(foldersTree, gFld("Useful External Links:", "javascript:parent.op()"))
    aux2 = insFld(aux1, gFld("Idaho Statutes (laws):", "javascript:parent.op()"))
      insDoc(aux2, gLnk("B", "Title 49 - Motor Vehicles", "http://legislature.idaho.gov/idstat/Title49/T49.htm"))
      insDoc(aux2, gLnk("B", "Title 49 Chapter 9 - Vehicle Equipment", "http://legislature.idaho.gov/idstat/Title49/T49CH9.htm"))
    aux2 = insFld(aux1, gFld("Idaho Panhandle National Forest:", "javascript:parent.op()"))
      insDoc(aux2, gLnk("B", "Home Page", "http://fs.usda.gov/wps/portal/fsinternet/!ut/p/c5/04_SB8K8xLLM9MSSzPy8xBz9CP0os3gjAwhwtDDw9_AI8zPwhQoY6IeDdGCqCPOBqwDLG-AAjgb6fh75uan6BdnZaY6OiooA1tkqlQ!!/dl3/d3/L2dJQSEvUUt3QS9ZQnZ3LzZfMjAwMDAwMDBBODBPSEhWTjBNMDAwMDAwMDA!/?ss=110104&amp;navtype=BROWSEBYSUBJECT&amp;cid=FSE_003853&amp;navid=091000000000000&amp;pnavid=null&amp;position=BROWSEBYSUBJECT&amp;ttype=main&amp;pname=Idaho%20Panhandle%20National%20Forest-%20Home/"))
      insDoc(aux2, gLnk("B", "Forest Plan Revision", "http://fs.usda.gov/wps/portal/fsinternet/!ut/p/c5/04_SB8K8xLLM9MSSzPy8xBz9CP0os3gjAwhwtDDw9_AI8zPwhQoY6IeDdGCqCPOBqwDLG-AAjgb6fh75uan6BdnZaY6OiooA1tkqlQ!!/dl3/d3/L2dJQSEvUUt3QS9ZQnZ3LzZfMjAwMDAwMDBBODBPSEhWTjBNMDAwMDAwMDA!/?ss=119984&amp;navtype=BROWSEBYSUBJECT&amp;cid=FSE_003853&amp;navid=091000000000000&amp;pnavid=null&amp;position=BROWSEBYSUBJECT&amp;ttype=main&amp;pname=Kootenai%20&amp;%20Idaho%20Panhandle%20National%20Forests-%20Home/"))
      insDoc(aux2, gLnk("B", "OHV Trail Riding", "http://fs.usda.gov/wps/portal/fsinternet/!ut/p/c4/04_SB8K8xLLM9MSSzPy8xBz9CP0os3gDfxMDT8MwRydLA1cj72BTSw8jAwjQL8h2VAQAng7kaQ!!/?ss=110104&amp;navtype=BROWSEBYSUBJECT&amp;cid=null&amp;navid=110350000000000&amp;pnavid=110000000000000&amp;position=BROWSEBYSUBJECT&amp;recid=6762&amp;actid=93&amp;ttype=activity&amp;pname=Idaho%20Panhandle%20National%20Forests%20-%20OHV%20Trail%20Riding"))
      aux3 = insFld(aux2, gFld("Travel Management Planning:", "javascript:parent.op()"))
        insDoc(aux3, gLnk("B", "Motor Vehicle Use Maps (MVUMs)", "http://fs.usda.gov/wps/portal/fsinternet/!ut/p/c5/04_SB8K8xLLM9MSSzPy8xBz9CP0os3gjAwhwtDDw9_AI8zPwhQoY6IeDdGCqCPOBqwDLG-AAjgb6fh75uan6BdnZaY6OiooA1tkqlQ!!/dl3/d3/L2dJQSEvUUt3QS9ZQnZ3LzZfMjAwMDAwMDBBODBPSEhWTjJNMDAwMDAwMDA!/?navtype=BROWSEBYSUBJECT&amp;cid=stelprdb5144787&amp;navid=360000000000000&amp;pnavid=null&amp;ss=110104&amp;position=Not%20Yet%20Determined.Html&amp;ttype=detail&amp;pname=Idaho%20Panhandle%20National%20Forests-%20Maps"))
        insDoc(aux3, gLnk("B", " ", "javascript:undefined"))
        insDoc(aux3, gLnk("B", "Bonners Ferry Ranger District", "javascript:parent.op()"))
        insDoc(aux3, gLnk("B", "Coeur d'Alene River Ranger District", "http://fs.usda.gov/wps/portal/fsinternet/!ut/p/c4/04_SB8K8xLLM9MSSzPy8xBz9CP0os3gjAwhwtDDw9_AI8zPyhQoY6BdkOyoCAGixyPg!/?ss=110104&amp;navtype=BROWSEBYSUBJECT&amp;cid=stelprdb5066179&amp;navid=130110000000000&amp;pnavid=130000000000000&amp;position=Project.Html&amp;ttype=detail&amp;pname=Idaho%20Panhandle%20National%20Forests-%20Projects"))
        insDoc(aux3, gLnk("B", "Priest Lake Ranger District", "javascript:parent.op()"))
        insDoc(aux3, gLnk("B", "St. Joe Ranger District", "http://fs.usda.gov/wps/portal/fsinternet/!ut/p/c4/04_SB8K8xLLM9MSSzPy8xBz9CP0os3gjAwhwtDDw9_AI8zPyhQoY6BdkOyoCAGixyPg!/?ss=110104&amp;navtype=BROWSEBYSUBJECT&amp;cid=stelprdb5066153&amp;navid=130110000000000&amp;pnavid=130000000000000&amp;position=Project.Html&amp;ttype=detail&amp;pname=Idaho%20Panhandle%20National%20Forests-%20Projects"))
        insDoc(aux3, gLnk("B", "Sandpoint Ranger District", "javascript:parent.op()"))
    aux2 = insFld(aux1, gFld("Idaho BLM:", "javascript:parent.op()"))
      aux3 = insFld(aux2, gFld("Coeur d'Alene BLM Office:", "javascript:parent.op()"))
        insDoc(aux3, gLnk("B", "Home Page", "http://www.blm.gov/id/st/en/fo/coeur_d_alene.html"))
        aux4 = insFld(aux3, gFld("BLM Recreation Access Maps:", "javascript:parent.op()"))
          insDoc(aux4, gLnk("B", "Rochat Divide/Pine Creek Area (PDF)", "http://www.blm.gov/pgdata/etc/medialib/blm/id/travel_management/coeur_d_alene_field.Par.29564.File.dat/silvervalley_travelmap.pdf"))
        aux4 = insFld(aux3, gFld("Motorized Travel Designations:", "javascript:parent.op()"))
          insDoc(aux4, gLnk("B", "Coeur d'Alene (PDF)", "http://www.blm.gov/pgdata/etc/medialib/blm/id/plans/coeur_d_alene_rmp/maps.Par.70724.File.dat/05_Motorized_Travel_CoeurdAlene.pdf"))
          insDoc(aux4, gLnk("B", "Selkirk (PDF)", "http://www.blm.gov/pgdata/etc/medialib/blm/id/plans/coeur_d_alene_rmp/maps.Par.35966.File.dat/06_Motorized_Travel_Selkirk.pdf"))
          insDoc(aux4, gLnk("B", "Silver Valley (PDF)", "http://www.blm.gov/pgdata/etc/medialib/blm/id/plans/coeur_d_alene_rmp/maps.Par.91312.File.dat/04_Motorized_Travel_Silver_Valley.pdf"))
          insDoc(aux4, gLnk("B", "Widow Mountain (PDF)", "http://www.blm.gov/pgdata/etc/medialib/blm/id/plans/coeur_d_alene_rmp/maps.Par.89544.File.dat/07_Motorized_Travel_WidowMtn.pdf"))
    aux2 = insFld(aux1, gFld("Idaho Department of Lands (IDL):", "javascript:parent.op()"))
      insDoc(aux2, gLnk("B", "Home Page", "http://www.idl.idaho.gov"))
      aux3 = insFld(aux2, gFld("IDL Area Offices:", "javascript:parent.op()"))
        insDoc(aux3, gLnk("B", "Cataldo (Kingston)", "http://www.idl.idaho.gov/Areas/Cataldo.htm"))
        insDoc(aux3, gLnk("B", "Kootenai Valley (Bonners Ferry)", "http://www.idl.idaho.gov/Areas/kv.htm"))
        insDoc(aux3, gLnk("B", "Mica (Coeur d'Alene)", "http://www.idl.idaho.gov/Areas/Mica.htm"))
        insDoc(aux3, gLnk("B", "Pend Oreille (Sandpoint)", "http://www.idl.idaho.gov/Areas/PendOreille.htm"))
        insDoc(aux3, gLnk("B", "Ponderosa (Deary)", "http://www.idl.idaho.gov/Areas/Ponderosa.htm"))
        insDoc(aux3, gLnk("B", "Priest Lake (Coolin)", "http://www.idl.idaho.gov/Areas/PriestLake.htm"))
        insDoc(aux3, gLnk("B", "St. Joe (St. Maries)", "http://www.idl.idaho.gov/Areas/StJoe.htm"))
    aux2 = insFld(aux1, gFld("Colville National Forest (WA State):", "javascript:parent.op()"))
      insDoc(aux2, gLnk("B", "Home Page", "http://www.fs.usda.gov/wps/portal/fsinternet/!ut/p/c5/04_SB8K8xLLM9MSSzPy8xBz9CP0os3gjAwhwtDDw9_AI8zPwhQoY6IeDdGCqCPOBqwDLG-AAjgb6fh75uan6BdnZaY6OiooA1tkqlQ!!/dl3/d3/L2dJQSEvUUt3QS9ZQnZ3LzZfMjAwMDAwMDBBODBPSEhWTjBNMDAwMDAwMDA!/?ss=110621&navtype=forestBean&navid=091000000000000&pnavid=null&cid=null&ttype=main&pname=Colville%20National%20Forest%20-%20Home"))
      insDoc(aux2, gLnk("B", "Travel Management Overview (including MVUMs)", "http://www.fs.usda.gov/wps/portal/fsinternet/!ut/p/c5/04_SB8K8xLLM9MSSzPy8xBz9CP0os3gjAwhwtDDw9_AI8zPwhQoY6IeDdGCqCPOBqwDLG-AAjgb6fh75uan6BdnZaY6OiooA1tkqlQ!!/dl3/d3/L2dJQSEvUUt3QS9ZQnZ3LzZfMjAwMDAwMDBBODBPSEhWTjJNMDAwMDAwMDA!/?navtype=BROWSEBYSUBJECT&cid=fsbdev3_035243&navid=360000000000000&pnavid=null&ss=110621&position=Not%2520Yet%2520Determined.Html&ttype=detail&pname=Colville%2520National%2520Forest-%2520Maps"))
      insDoc(aux2, gLnk("B", "Forest Plan Revision", "http://www.fs.usda.gov/wps/portal/fsinternet/!ut/p/c4/04_SB8K8xLLM9MSSzPy8xBz9CP0os3gjAwhwtDDw9_AI8zPyhQoY6BdkOyoCAGixyPg!/?ss=110621&navtype=BROWSEBYSUBJECT&cid=FSBDEV3_053653&navid=091000000000000&position=Feature*&ttype=detail&pname=Colville%20National%20Forest-%20Home"))
    aux2 = insFld(aux1, gFld("Where To Ride:", "javascript:parent.op()"))
      insDoc(aux2, gLnk("B", "Idaho Department of Parks and Recreation", "http://gis.idaho.gov/dpr/prima-web/"))
      insDoc(aux2, gLnk("B", "WOHVA Map Catalog (Where To Ride)<br>&nbsp;&nbsp;&nbsp;(WA State)", "http://www.wohva-map-catalog.org"))
    aux2 = insDoc(aux1, gLnk("B", "Rules and Regulations Governing<br>&nbsp;&nbsp;&nbsp;Equipment and After-Market<br>&nbsp;&nbsp;&nbsp;Equipment on Vehicles (WA state) (PDF)", "http://www.wsp.wa.gov/traveler/docs/equipmt/after_market_vehicle_equipment.pdf"))
    aux2 = insDoc(aux1, gLnk("B", "PNW4WDA", "http://www.pnw4wda.org"))
    aux2 = insDoc(aux1, gLnk("B", "Blueribbon Coalition", "http://www.sharetrails.org/"))
    aux2 = insDoc(aux1, gLnk("B", "Idaho State 4x4 Association", "http://www.id4x4a.com/"))
    aux2 = insDoc(aux1, gLnk("B", "Spokane 4 Wheelers", "http://www.spokane4wheelers.com"))
