//---------------------------------------------------------------
// dbgtData.js v.1.5a
// Copyright (C) 2002 David Bollinger (davebollinger@hotmail.com)
//
// Support code for the 'dbGroupToc' modification - A grouped
// table of contents for ArcIMS 3.1+ HTML viewer sites.
//
// Notice:   This code may be freely distributed, used and
//           modified provided that this comment remains intact.
//---------------------------------------------------------------



var toc = new TOC('LAYERS','York GIS',false,'swatch_layers.gif');

// Group Layer for Parcels
	var grpParcel = toc.addGroup( new GROUP('Parcel Layers',false,'') );
		grpParcel.addLayer( new LAYER('Parcel IDs',null,'') );
		grpParcel.addLayer( new LAYER('Parcels',null,'') );	
		grpParcel.addLayer( new LAYER('Parcels - Ortho',null,'') );	

// Group Layer for Base Map Features
	var grpLandBase = toc.addGroup( new GROUP('Base Map Layers',false,'') );
		grpLandBase.addLayer( new LAYER('Buildings',null,'') );
		grpLandBase.addLayer( new LAYER('Roads',null,'') );	
   	grpLandBase.addLayer( new LAYER('Driveways',null,'') );		
   	grpLandBase.addLayer( new LAYER('Trails',null,'') );		
   	grpLandBase.addLayer( new LAYER('Water Bodies',null,'') );		
   	grpLandBase.addLayer( new LAYER('Wet Areas',null,'') );		
   	grpLandBase.addLayer( new LAYER('Streams',null,'') );		
   	grpLandBase.addLayer( new LAYER('10 foot Contours',null,'') );	
    grpLandBase.addLayer( new LAYER('2 foot Contours',null,'') );	
	
   	
// Group Layer for Districts        	
	var grpDistricts = toc.addGroup( new GROUP('Zones and Districts',false,'') );
		grpDistricts.addLayer( new LAYER('Zoning',null,'') );
		grpDistricts.addLayer( new LAYER('Wireless Communication District',null,'') );
		grpDistricts.addLayer( new LAYER('Areas with Known Archeological Sites',null,'') );
		grpDistricts.addLayer( new LAYER('Steep Slopes in Shoreland',null,'') );
		grpDistricts.addLayer( new LAYER('Unstable Coastal Bluffs',null,'') );
		grpDistricts.addLayer( new LAYER('Shoreland Zoning',null,'') );
		grpDistricts.addLayer( new LAYER('Watershed Protection Zone',null,'') );
    grpDistricts.addLayer( new LAYER('Firearms Safety Zones',null,'') );
    grpDistricts.addLayer( new LAYER('Local Historic Districts',null,'') );
    grpDistricts.addLayer( new LAYER('York National Historic District',null,'') );
    grpDistricts.addLayer( new LAYER('York Village Overlay District',null,'') );
    grpDistricts.addLayer( new LAYER('York Village Hospital Overlay District',null,'') );
    grpDistricts.addLayer( new LAYER('Home Occupation Zones',null,'') );
    grpDistricts.addLayer( new LAYER('Cemeteries',null,'') );
    grpDistricts.addLayer( new LAYER('Flood Zones',null,'') );
    grpDistricts.addLayer( new LAYER('Flood Panel Index',null,'') );
    grpDistricts.addLayer( new LAYER('Coastal Barrier Resources',null,'') ); 
    grpDistricts.addLayer( new LAYER('Potential Toll Booth Locations',null,'') );
 
 // Individual Layers not in a Group  
  	toc.addLayer( new LAYER('Road Names',null,'','') );
		toc.addLayer( new LAYER('Aerial Photo - 2005',null,'','') );


//	var shadowTest = toc.addLayer(new LAYERWS('Addresses',null,'') );
//	shadowTest.addShadow (new LAYER('Addresses - Big1',null,'') );	
//	shadowTest.addShadow (new LAYER('Addresses - Small',null,'') );	

	