;// You can find instructions for this file at http://www.treeview.net
//Update web/menu.js!! 
//Environment variables are usually set at the top of this file.
USETEXTLINKS = 1
STARTALLOPEN = 0
USEFRAMES = 0
USEICONS = 0
WRAPTEXT = 1
PRESERVESTATE = 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")
  aux1 = insFld(foldersTree, gLnk("S", "<b>About</b>", "/GeoComm/about.shtm"))
  aux1 = insFld(foldersTree, gLnk("B", "<b>What's New</b>", "http://www.blm.gov/nils/GeoComm/home_whatsnew.html"))
  aux1 = insFld(foldersTree, gFld("<b>Interactive Maps</b>", "javascript:parent.openFolderInTree(3)"))
		aux1a = insFld(aux1, gLnk("B", "Download PLSS", "/LSIS6/map.jsp"))
		aux1a = insFld(aux1, gLnk("B", "Energy", "/NILS-PARCEL2/map.jsp?MAP=Energy"))
		aux1a = insFld(aux1, gLnk("B", "Geothermal", "/NILS-PARCEL2/map.jsp?MAP=GT"))
		aux1a = insFld(aux1, gLnk("B", "Healthy Lands", "/HealthyLands/map.jsp"))
		aux1a = insFld(aux1, gLnk("B", "Land Status", "/NILS-PARCEL2/map.jsp?MAP=LAND"))
		aux1a = insFld(aux1, gLnk("B", "Mining Claims", "/NILS-PARCEL2/map.jsp?MAP=MC"))
		aux1a = insFld(aux1, gLnk("B", "Oil and Gas", "/NILS-PARCEL2/map.jsp?MAP=OG"))
		aux1a = insFld(aux1, gLnk("B", "Rangeland", "/NILS-PARCEL2/map.jsp?MAP=GA"))
		aux1a = insFld(aux1, gLnk("B", "Site Mapper", "/SiteMapper6/map.jsp"))
		aux1a = insFld(aux1, gLnk("B", "Solid Minerals", "/NILS-PARCEL2/map.jsp?MAP=SM"))
		aux1a = insFld(aux1, gLnk("B", "USFS Rural School", "/NILS-PARCEL2/map.jsp?MAP=USFS"))
  aux1 = insFld(foldersTree, gFld("<b>Land & Minerals</b>", "/GeoComm/landmin/home/index.shtm"))
		aux1a = insFld(aux1, gLnk("S", "Home", "/GeoComm/landmin/home/index.shtm"))
		aux1a = insFld(aux1, gLnk("S", "About", "/GeoComm/landmin/home/landmin_about.shtm"))
		aux1a = insFld(aux1, gLnk("B", "Map Viewer", "/NILS-PARCEL2/map.jsp"))
		aux1a = insFld(aux1, gLnk("B", "How-to-Guide", "/GeoComm/reference/NILS_GC_How_to_use_guide_LM.pdf"))
		aux1a = insFld(aux1, gFld("Viewer Help", "/GeoComm/landmin/help/overview.shtm"))
			aux1b = insFld(aux1a, gFld("Map Tools", "/GeoComm/landmin/help/map_tools.shtm"))
			aux1b = insFld(aux1a, gFld("Search Tools", "/GeoComm/landmin/help/search_tools.shtm"))
			aux1b = insFld(aux1a, gFld("Identify Info", "/GeoComm/landmin/help/identify_info.shtm"))
  aux1 = insFld(foldersTree, gFld("<b>Federal Lands</b>", "/GeoComm/fedland/home/index.shtm"))
  		aux1a = insFld(aux1, gLnk("S", "Home", "/GeoComm/fedland/home/index.shtm"))
		aux1a = insFld(aux1, gLnk("S", "About", "/GeoComm/fedland/home/fedland_about.shtm"))
		aux1a = insFld(aux1, gLnk("B", "Map Viewer", "/NILS-PARCEL2/map.jsp?MAP=LAND"))
  aux1 = insFld(foldersTree, gFld("<b>Land Survey Info.</b>", "/GeoComm/lsis_home/home/index.shtm"))
		aux1a = insFld(aux1, gLnk("S", "Home", "/GeoComm/lsis_home/home/index.shtm"))
		aux1a = insFld(aux1, gLnk("S", "About", "/GeoComm/lsis_home/home/about.shtm"))
		aux1a = insFld(aux1, gLnk("B", "Map Viewer", "/LSIS6/map.jsp"))
		aux1a = insFld(aux1, gLnk("B", "GCDB", "http://www.blm.gov/wo/st/en/prog/more/gcdb.html"))
		aux1a = insFld(aux1, gLnk("B", "How-to-Guide", "/GeoComm/reference/NILS_GC_How_to_use_guide_LSIS.pdf"))
		aux1a = insFld(aux1, gFld("Viewer Help", "/GeoComm/lsis_home/help/overview.shtm"))
			aux1b = insFld(aux1a, gFld("Map Tools", "/GeoComm/lsis_home/help/map_tools.shtm"))
			aux1b = insFld(aux1a, gFld("Download", "/GeoComm/lsis_home/help/ts_download.shtm"))
			aux1b = insFld(aux1a, gFld("Select Township", "/GeoComm/lsis_home/help/ts_select.shtm"))
			aux1b = insFld(aux1a, gLnk("B", "GCDB Standards", "http://www.blm.gov/wo/st/en/prog/more/gcdb/blm_gcdb_standards.html" ))
		
   aux1 = insFld(foldersTree, gFld("<b>Township GeoCoder</b>", "/GeoComm/lsis_home/townshipdecoder/index.shtm"))
   		aux1a = insFld(aux1, gLnk("S", "Home", "/GeoComm/lsis_home/townshipdecoder/index.shtm"))
		aux1a = insFld(aux1, gLnk("B", "GeoCoder", "/NIFC/twnship-range_input.htm"))
		aux1a = insFld(aux1, gLnk("B", "How-to-Guide", "/GeoComm/reference/how_to_township_decoder.pdf"))
		aux1a = insFld(aux1, gLnk("S", "Help", "/GeoComm/lsis_home/townshipdecoder/help.shtm"))
  aux1 = insFld(foldersTree, gFld("<b>Healthy Lands</b>", "/GeoComm/healthy_lands/home/index.shtm"))
//  aux1 = insFld(foldersTree, gFld("<b>Aerial Photography</b>", ""))
//  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 = insFld(foldersTree, gFld("<b>Site Mapper RCA</b>", "/web/site_mapper_rca/home/index.shtm"))
   aux1 = insFld(foldersTree, gFld("<b>Site Mapper </b>", "/GeoComm/site_mapper/home/index.shtm"))
   //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 = insFld(foldersTree, gFld("<b>Site Mapper RCA</b>", "/web/site_mapper_rca/home/index.shtm"))
   //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 = insFld(foldersTree, gLnk("S", "<b>Map Services</b>", "/GeoComm/services.shtm"))
  aux1 = insFld(foldersTree, gLnk("B", "<b>Metadata</b>", "http://www.blm.gov/nils/GeoComm/Metadata/home.html"))
  aux1 = insFld(foldersTree, gLnk("S", "<b>References</b>", "/GeoComm/reference.shtm"))

  aux1 = insFld(foldersTree, gLnk("S", "<b>FAQ</b>", "/GeoComm/faq.shtm"))
  aux1 = insFld(foldersTree, gLnk("S", "<b>Contact Us</b>", "/GeoComm/contact.shtm"))

  
//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