// You can find instructions for this file at http://www.treeview.net
//Update web/menu.js!!
//HIGHLIGHT=1, highlights the text on the active page, also changed var HIGHLIGHT_COLOR, var HIGHLIGHT_BG in the ftiens.js
//Environment variables are usually set at the top of this file.
USETEXTLINKS = 1
STARTALLOPEN = 0
USEFRAMES = 0
USEICONS = 0
WRAPTEXT = 1
PRESERVESTATE = 1
//HIGHLIGHT = 1
ICONPATH="/GeoComm/template_ft_images/"
var url = document.location.hostname;
var path = document.location.pathname;
var subpath = path.substring(0,3);
var server = url.substring(0,3);


  foldersTree = gFld("<b>GeoCommunicator</b>", "/GeoComm/index.shtm")
  foldersTree.xID = "ftA1"  
  aux1 = insFld(foldersTree, gLnk("S", "<b>About</b>", "/GeoComm/about.shtm"))
  aux1.xID = "ftA2"
  aux1 = insFld(foldersTree, gLnk("B", "<b>What's New</b>", "http://www.blm.gov/nils/GeoComm/home_whatsnew.html"))
  aux1.xID = "ftA3"
  aux1 = insFld(foldersTree, gFld("<b>Interactive Maps</b>", "/GeoComm/index.shtm"))
  aux1.xID = "ftA4"
		aux1a = insFld(aux1, gLnk("B", "Download PLSS", "/LSIS6/map.jsp"))
		aux1a.xID = "ftA5"
		aux1a = insFld(aux1, gLnk("B", "Energy", "/blmMap/Map.jsp?MAP=Energy"))
		aux1a.xID = "ftA6"
//		aux1a = insFld(aux1, gLnk("B", "Geothermal", "/NILS-PARCEL2/map.jsp?MAP=GT"))
//		aux1a.xID = "ftA7"
		aux1a = insFld(aux1, gLnk("B", "Healthy Lands", "/blmMap/Map.jsp?MAP=HL"))
		aux1a.xID = "ftA8"
		aux1a = insFld(aux1, gLnk("B", "Land Status", "/blmMap/Map.jsp?MAP=LAND"))
		aux1a.xID = "ftA9"
		aux1a = insFld(aux1, gLnk("B", "Land Use Permits", "/blmMap/Map.jsp?MAP=SM"))
		aux1a.xID = "ftA9c"
		aux1a = insFld(aux1, gLnk("B", "Mining Claims", "/blmMap/Map.jsp?MAP=MC"))
		aux1a.xID = "ftA10"
//		aux1a = insFld(aux1, gLnk("B", "Oil and Gas", "/NILS-PARCEL2/map.jsp?MAP=OG"))
//		aux1a.xID = "ftA11"
		aux1a = insFld(aux1, gLnk("B", "Rangeland", "/blmMap/Map.jsp?MAP=GA"))
		aux1a.xID = "ftA12"
		aux1a = insFld(aux1, gLnk("B", "Site Mapper", "/blmMap/Map.jsp?MAP=SITEMAPPER"))
		aux1a.xID = "ftA13"
		aux1a = insFld(aux1, gLnk("B", "Solid Minerals", "/blmMap/Map.jsp?MAP=SM"))
		aux1a.xID = "ftA14"
  aux1 = insFld(foldersTree, gFld("<b>Land & Minerals</b>", "/GeoComm/landmin/home/index.shtm"))
  aux1.xID = "ftA16"
		aux1a = insFld(aux1, gLnk("S", "Home", "/GeoComm/landmin/home/index.shtm"))
		aux1a.xID = "ftA17"
		aux1a = insFld(aux1, gLnk("S", "About", "/GeoComm/landmin/home/landmin_about.shtm"))
		aux1a.xID = "ftA18"
		aux1a = insFld(aux1, gLnk("B", "Map Viewer", "/blmMap/Map.jsp?MAP=LAND"))
		aux1a.xID = "ftA19"
		aux1a = insFld(aux1, gLnk("B", "How-to-Guide", "http://www.blm.gov/nils/GeoComm/documents/NILS_GC_How_to_use_guide_LM.pdf"))
		aux1a.xID = "ftA20"
		aux1a = insFld(aux1, gFld("Viewer Help", "/GeoComm/landmin/help/overview.shtm"))
		aux1a.xID = "ftA21"
			aux1b = insFld(aux1a, gFld("Map Tools", "/GeoComm/landmin/help/map_tools.shtm"))
			aux1b.xID = "ftA22"
			aux1b = insFld(aux1a, gFld("Search Tools", "/GeoComm/landmin/help/search_tools.shtm"))
			aux1b.xID = "ftA23"
			aux1b = insFld(aux1a, gFld("Identify Info", "/GeoComm/landmin/help/identify_info.shtm"))
			aux1b.xID = "ftA24"
			aux1b = insFld(aux1a, gFld("Find & Derive LD", "/GeoComm/landmin/help/georss.shtm"))
			aux1b.xID = "ftA24a"

  aux1 = insFld(foldersTree, gFld("<b>Federal Lands</b>", "/GeoComm/fedland/home/index.shtm"))
  aux1.xID = "ftA25"
  		aux1a = insFld(aux1, gLnk("S", "Home", "/GeoComm/fedland/home/index.shtm"))
		aux1a.xID = "ftA26"
		aux1a = insFld(aux1, gLnk("S", "About", "/GeoComm/fedland/home/fedland_about.shtm"))
		aux1a.xID = "ftA27"
		aux1a = insFld(aux1, gLnk("B", "Map Viewer", "/blmMap/Map.jsp?MAP=LAND"))
		aux1a.xID = "ftA28"
  aux1 = insFld(foldersTree, gFld("<b>Land Survey Info.</b>", "/GeoComm/lsis_home/home/index.shtm"))
  aux1.xID = "ftA29"
		aux1a = insFld(aux1, gLnk("S", "Home", "/GeoComm/lsis_home/home/index.shtm"))
		aux1a.xID = "ftA30"
		aux1a = insFld(aux1, gLnk("S", "About", "/GeoComm/lsis_home/home/about.shtm"))
		aux1a.xID = "ftA31"
		aux1a = insFld(aux1, gLnk("B", "Map Viewer", "/LSIS6/map.jsp"))
		aux1a.xID = "ftA32"
		aux1a = insFld(aux1, gLnk("B", "GCDB", "http://www.blm.gov/wo/st/en/prog/more/gcdb.html"))
		aux1a.xID = "ftA33"
		aux1a = insFld(aux1, gLnk("B", "How-to-Guide", "http://www.blm.gov/nils/GeoComm/documents/NILS_GC_How_to_use_guide_LSIS.pdf"))
		aux1a.xID = "ftA34"
		aux1a = insFld(aux1, gFld("Viewer Help", "/GeoComm/lsis_home/help/overview.shtm"))
		aux1a.xID = "ftA35"
			aux1b = insFld(aux1a, gFld("Map Tools", "/GeoComm/lsis_home/help/map_tools.shtm"))
			aux1b.xID = "ftA36"
			aux1b = insFld(aux1a, gFld("Download", "/GeoComm/lsis_home/help/ts_download.shtm"))
			aux1b.xID = "ftA37"
			aux1b = insFld(aux1a, gFld("Select Township", "/GeoComm/lsis_home/help/ts_select.shtm"))
			aux1b.xID = "ftA38"
			aux1b = insFld(aux1a, gLnk("B", "GCDB Standards", "http://www.blm.gov/wo/st/en/prog/more/gcdb/blm_gcdb_standards.html" ))
			aux1b.xID = "ftA39"
		
   aux1 = insFld(foldersTree, gFld("<b>Township GeoCoder</b>", "/GeoComm/lsis_home/townshipdecoder/index.shtm"))
   aux1.xID = "ftA40"
   		aux1a = insFld(aux1, gLnk("S", "Home", "/GeoComm/lsis_home/townshipdecoder/index.shtm"))
		aux1a.xID = "ftA41"
		aux1a = insFld(aux1, gLnk("B", "GeoCoder", "/NIFC/twnship-range_input.htm"))
		aux1a.xID = "ftA42"
		aux1a = insFld(aux1, gLnk("B", "How-to-Guide", "http://www.blm.gov/nils/GeoComm/documents/NILS_GC_How_to_use_guide_township_decoder.pdf"))
		aux1a.xID = "ftA43"
		aux1a = insFld(aux1, gLnk("S", "Help", "/GeoComm/lsis_home/townshipdecoder/help.shtm"))
		aux1a.xID = "ftA44"
  
/*
  
  aux1 = insFld(foldersTree, gFld("<b>Digital Rights of Way</b>", "/GeoComm/DROW/home/index.shtm"))
  aux1.xID = "ftA57"
     		aux1a = insFld(aux1, gLnk("S", "Home", "/GeoComm/DROW/home/index.shtm"))
  		aux1a.xID = "ftA58"
  		aux1a = insFld(aux1, gLnk("B", "Job Console", "/JTXWeb/Frames.faces?MapWidth=778&MapHeight=306"))
  		aux1a.xID = "ftA59"
  		aux1a = insFld(aux1, gLnk("B", "Resources", "/GeoComm/DROW/home/resources.html"))
  		aux1a.xID = "ftA60"
  		
aux1 = insFld(foldersTree, gFld("<b>Aerial Photo SI</b>", "/GeoComm/APSI/home/index.shtm"))
aux1.xID = "ftA61"
      		aux1a = insFld(aux1, gLnk("S", "Home", "/GeoComm/APSI/home/index.shtm"))
   		aux1a.xID = "ftA62"
   		aux1a = insFld(aux1, gLnk("B", "Map Viewer", "/blmMap/MapAerial.jsp"))
   		aux1a.xID = "ftA63"
   		aux1a = insFld(aux1, gLnk("B", "Resources", "/GeoComm/APSI/home/Resources.html"))
  		aux1a.xID = "ft64"
  		
 */
 		
  aux1 = insFld(foldersTree, gFld("<b>Healthy Lands</b>", "/GeoComm/healthy_lands/home/index.shtm"))
  aux1.xID = "ftA45"

//  aux1 = insFld(foldersTree, gFld("<b>U.S. Forest Service</b>", ""))

//adds site mapper and nils review to web but hides it from www
if (server == "dev" || server == "test")
{
   aux1 = insFld(foldersTree, gFld("<b>Site Mapper (Web)</b>", "/web/site_mapper/home/index.shtm"))
   aux1.xID = "ftA46"
   aux1 = insFld(foldersTree, gFld("<b>Site Mapper RCA</b>", "/web/site_mapper_rca/home/index.shtm"))
   aux1.xID = "ftA47"
   aux1 = insFld(foldersTree, gFld("<b>Site Mapper </b>", "/GeoComm/site_mapper/home/index.shtm"))
   aux1.xID = "ftA48"
   //aux1 = insFld(foldersTree, gFld("<b>NILS Review</b>", "/web/nils_review/home/index.shtm"))
}
else if (server == "web")
{
   aux1 = insFld(foldersTree, gFld("<b>Site Mapper</b>", "/web/site_mapper/home/index.shtm"))
   aux1.xID = "ftA49"
   aux1 = insFld(foldersTree, gFld("<b>Site Mapper RCA</b>", "/web/site_mapper_rca/home/index.shtm"))
   aux1.xID = "ftA50"
   //aux1 = insFld(foldersTree, gFld("<b>NILS Review</b>", "/web/nils_review/home/index.shtm"))
 }
else
{
   aux1 = insFld(foldersTree, gFld("<b>Site Mapper</b>", "/GeoComm/site_mapper/home/index.shtm"))
   aux1.xID = "ftA51"
}
   aux1 = insFld(foldersTree, gLnk("B", "<b>Map & Data Services</b>", "http://www.blm.gov/nils/GeoComm/home_services.html"))
 	aux1.xID = "ftA52C"
 
 
  aux1 = insFld(foldersTree, gLnk("B", "<b>Metadata</b>", "http://www.blm.gov/nils/GeoComm/Metadata/home.html"))
  aux1.xID = "ftA53"
  aux1 = insFld(foldersTree, gLnk("S", "<b>References</b>", "/GeoComm/reference.shtm"))
  aux1.xID = "ftA54"

  aux1 = insFld(foldersTree, gLnk("S", "<b>FAQ</b>", "/GeoComm/faq.shtm"))
  aux1.xID = "ftA55"
  aux1 = insFld(foldersTree, gLnk("S", "<b>Contact Us</b>", "/GeoComm/contact.shtm"))
  aux1.xID = "ftA56"

  
//self.location.href = '_BLM';   this is the javascript target code
// us "B" if you want to open a new window and us "S" to open in same window