var toc = new TOCNR('','All Layers',true,'swatch_layers.gif');

var grp0 = toc.addGroup( new GROUP('Environmental Features',false) );
grp0.addLayer( new LAYER('Toxic Release Inventory (EPA)',null,'../legend/Toxic Release Inventory (EPA).gif') ); 
grp0.addLayer( new LAYER('Hazardous Waste Sites',null,'../legend/Hazardous Waste Sites.gif',null,'../Download/wchazard.zip') ); 
grp0.addLayer( new LAYER('SPDES Permits',null,'../legend/SPDES Permits.gif') ); 
grp0.addLayer( new LAYER('Citizen Water Monitoring Sites',null,'../legend/Citizen Water Monitoring Sites.gif',null,'../Download/wccvmp.zip') );
grp0.addLayer( new LAYER('Stormwater Outfalls',null,'../legend/Stormwater Outfalls.gif',null,'../Download/outfalls.zip') );
grp0.addLayer( new LAYER('County Sewage Treatment Plants',null,'../legend/County Sewage Treatment Plants.gif',null,'../Download/wcsewfac.zip') ); 
grp0.addLayer( new LAYER('Sewage Treatment Facilities (Private)',null,'../legend/Sewage Treatment Facilities (Private).gif',null,'../Download/treatfac.zip') ); 
grp0.addLayer( new LAYER('2-Foot Topo (Download Only)',null,'../legend/2-Foot Topo (Download Only).gif',null,'Topo_download_help.htm') );
grp0.addLayer( new LAYER('Farms, Stables, Nurseries',null,'../legend/Farms, Stables, Nurseries.gif',null,'../Download/wcfarmpts.zip') ); 
grp0.addLayer( new LAYER('County Trail System',null,null,'../legend/County Trail System.gif','../Download/wctrailsys.zip') ); 
grp0.addLayer( new LAYER('Streams',null,'../legend/Streams.gif',null,'../Download/bmstream.zip') ); 
grp0.addLayer( new LAYER('Major Lakes',null,'../legend/Major Lakes.gif',null,'../Download/bmmajlake.zip') ); 
grp0.addLayer( new LAYER('Lakes',null,'../legend/Lakes.gif',null,'../Download/bmlake.zip') ); 
grp0.addLayer( new LAYER('Southern Exposure',null,null,'../legend/Southern Exposure.gif','../Download/southslope.zip') );
grp0.addLayer( new LAYER('Parks',null,'','../legend/Parks.gif','../Download/wcstcopark.zip') ); 
grp0.addLayer( new LAYER('Open Space',null,null,'../legend/Open Space.gif','../Download/wcospace.zip') ); 
grp0.addLayer( new LAYER('Critical Environmental Areas',null,'../legend/Critical Environmental Areas.gif',null,'../Download/wccea.zip') );
grp0.addLayer( new LAYER('Hydric Soil Wetlands',null,'../legend/Hydric Soil Wetlands.gif',null,'../Download/wcscswet.zip') ); 
grp0.addLayer( new LAYER('NYS Regulated Wetlands',null,'../legend/NYS Regulated Wetlands.gif',null,'../Download/wcdecwet.zip') ); 
grp0.addLayer( new LAYER('Tidal Wetlands',null,null,'../legend/Tidal Wetlands.gif','../Download/wctidewet.zip') ); 
grp0.addLayer( new LAYER('Floodplains',null,null,'../legend/Floodplains.gif','../Download/wcflood.zip') ); 
grp0.addLayer( new LAYER('Steep Slopes',null,null,'../legend/Steep Slopes.gif','../Download/wcslopes.zip') ); 
grp0.addLayer( new LAYER('Fish and Wildlife Habitats',null,'../legend/Fish and Wildlife Habitats.gif') ); 
grp0.addLayer( new LAYER('Aquifers',null,null,'../legend/Aquifers.gif') ); 
grp0.addLayer( new LAYER('Land Use',null,null,'../legend/Land Use.gif','../Download/wclui96.zip') );
grp0.addLayer( new LAYER('Drainage Divides',null,'../legend/Drainage Divides.gif',null,'../Download/wcdrain.zip') ); 
grp0.addLayer( new LAYER('Watersheds',null,null,'../legend/Watersheds.gif','../Download/wcmajdrn.zip') ); 
grp0.addLayer( new LAYER('Digital Elevation Model',null,'','../legend/Digital Elevation Model.gif') ); 

//grp0.addLayer( new LAYER('County Boundary',null,'../legend/County Boundary.gif') ); 
//Not sure where to place them:


var grp3 = toc.addGroup( new GROUP('Facilities and Services',false) );
grp3.addLayer( new LAYER('Municipal Buildings',null,'../legend/Municipal Buildings.gif',null,'../Download/wcmunhall.zip') ); 
grp3.addLayer( new LAYER('Public Schools',null,'../legend/Public Schools.gif',null,'../Download/wcschloc.zip') ); 
grp3.addLayer( new LAYER('Private Schools',null,'../legend/Private Schools.gif',null,'../Download/wcpvtsch.zip') ); 
grp3.addLayer( new LAYER('Universities and Colleges',null,'../legend/Universities and Colleges.gif',null,'../Download/wcuniv.zip') ); 
grp3.addLayer( new LAYER('Post Offices',null,'../legend/Post Offices.gif',null,'../Download/wcpost.zip') ); 
grp3.addLayer( new LAYER('Libraries',null,'../legend/Libraries.gif',null,'../Download/wclib.zip') ); 
grp3.addLayer( new LAYER('Fire Stations',null,'../legend/Fire Stations.gif',null,'../Download/wcfire.zip') ); 
grp3.addLayer( new LAYER('Police Stations',null,'../legend/Police Stations.gif',null,'../Download/wcpolice.zip') ); 
grp3.addLayer( new LAYER('Hospitals',null,'../legend/Hospitals.gif',null,'../Download/wchosp.zip') ); 
grp3.addLayer( new LAYER('Volunteer Ambulance Corps',null,'../legend/Volunteer Ambulance Corps.gif',null,'../Download/wcvac.zip') ); 
grp3.addLayer( new LAYER('Health Offices',null,'../legend/Health Offices.gif',null,'../Download/wcdohoffices.zip') ); 
grp3.addLayer( new LAYER('Youth Bureaus',null,'../legend/Youth Bureaus.gif',null,'../Download/wcyouthbureau.zip') ); 
grp3.addLayer( new LAYER('Family Resources',null,'../legend/Family Resources.gif',null,'../Download/wcfamserv.zip') ); 
grp3.addLayer( new LAYER('Food Pantries',null,'../legend/Food Pantries.gif',null,'../Download/wcpantry.zip') ); 
grp3.addLayer( new LAYER('Senior Centers',null,'../legend/Senior Centers.gif',null,'../Download/wcsrcenters.zip') ); 
grp3.addLayer( new LAYER('Stay Cool Centers',null,'../legend/Stay Cool Centers.gif',null,'../Download/stay_cool.zip') );
grp3.addLayer( new LAYER('Shelters',null,'../legend/Shelters.gif',null,'../Download/wcshelter.zip') ); 
grp3.addLayer( new LAYER('Soup Kitchens',null,'../legend/Soup Kitchens.gif',null,'../Download/wcspkitchen.zip') ); 
grp3.addLayer( new LAYER('Cemeteries',null,'../legend/Cemeteries.gif',null,'../Download/wccem.zip') ); 
//grp3.addLayer( new LAYER('Recycling Events',null,'','../legend/Recycling Events.gif','../Download/wcrecycevt.zip') ); 
//grp3.addLayer( new LAYER('Recycling Centers',null,'../legend/Recycling Centers.gif',null,'../Download/wcrecycle.zip') ); 
grp3.addLayer( new LAYER('Dry Cleaner',null,'../legend/Dry Cleaner.gif',null,'../Download/wcgtdrycln.zip') ); 
//grp3.addLayer( new LAYER('Tire Disposal Centers',null,'../legend/Tire Disposal Centers.gif') ); 
// grp3.addLayer( new LAYER('Restaurants',null,'../legend/Restaurants.gif',null,'../Download/wcrestrt.zip') ); 
grp3.addLayer( new LAYER('Restaurants',null,'../legend/Restaurants.gif') );
grp3.addLayer( new LAYER('County Regulated Beaches',null,'../legend/County Regulated Beaches.gif',null,'../Download/wcbeach.zip') ); 
grp3.addLayer( new LAYER('Marinas',null,'../legend/Marinas.gif',null,'../Download/wcmarina.zip') ); 
grp3.addLayer( new LAYER('County Historic Places',null,'../legend/County Historic Places.gif',null,'../Download/wchstinv.zip') ); 
grp3.addLayer( new LAYER('National Register Sites',null,'','../legend/National Register Sites.gif','../Download/wchstreg.zip') ); 
grp3.addLayer( new LAYER('Hotels and Motels',null,null,'../legend/Hotels and Motels.gif','../Download/wchotel.zip') ); 
grp3.addLayer( new LAYER('Theaters',null,'../legend/Theaters.gif',null,'../Download/wctheaters.zip') ); 
grp3.addLayer( new LAYER('Gas Stations',null,'../legend/Gas Stations.gif',null,'../Download/wcgassta.zip') ); 
grp3.addLayer( new LAYER('NYS DMV Offices',null,'../legend/NYS DMV Offices.gif',null,'../Download/nysdmv.zip') ); 
grp3.addLayer( new LAYER('NYS Employment Centers',null,'../legend/NYS Employment Centers.gif',null,'../Download/wcempctr.zip') );
grp3.addLayer( new LAYER('Veterinarians',null,'../legend/veterinarians.gif',null,'../Download/veterinarians.zip') ); 
grp3.addLayer( new LAYER('Publications',null,'../legend/publications.gif',null,'../Download/publications.zip') ); 
grp3.addLayer( new LAYER('Fitness Centers',null,'../legend/Fitness Centers.gif',null,'../Download/fitcenters.zip') ); 
grp3.addLayer( new LAYER('Adult Homes',null,'../legend/Adult Homes.gif',null,'../Download/adulthomes.zip') ); 
grp3.addLayer( new LAYER('Nursing Homes',null,'../legend/Nursing Homes.gif',null,'../Download/nursinghomes.zip') ); 
grp3.addLayer( new LAYER('Buildings',null,'../legend/Buildings.gif') ); 


var grp1 = toc.addGroup( new GROUP('District Boundaries',false) );
grp1.addLayer( new LAYER('County Legislative Districts',null,'../legend/County Legislative Districts.gif',null,'../Download/wclegis.zip') ); 
grp1.addLayer( new LAYER('NYS Senate Districts',null,'../legend/NYS Senate Districts.gif',null,'../Download/wcsendst.zip') ); 
grp1.addLayer( new LAYER('NYS Assembly Districts',null,'../legend/NYS Assembly Districts.gif',null,'../Download/wcassdst.zip') ); 
grp1.addLayer( new LAYER('US Congressional Districts',null,'../legend/US Congressional Districts.gif',null,'../Download/wccondst.zip') ); 
grp1.addLayer( new LAYER('Fire Districts',null,'../legend/Fire Districts.gif',null,'../Download/wcfirdst.zip') ); 
grp1.addLayer( new LAYER('EMS Districts',null,'../legend/EMS Districts.gif',null,'../Download/wcems.zip') ); 
grp1.addLayer( new LAYER('School Districts',null,'../legend/School Districts.gif',null,'../Download/wcschdst.zip') ); 
grp1.addLayer( new LAYER('County Sewer Districts',null,null,'../legend/County Sewer Districts.gif','../Download/wcsewdst.zip') ); 
grp1.addLayer( new LAYER('Zip Code Boundaries',null,'../legend/Zip Code Boundaries.gif',null,'../Download/wczip.zip') );   
grp1.addLayer( new LAYER('Agricultural Districts',null,'../legend/Agricultural Districts.gif',null,'../Download/wcagdist.zip') ); 
grp1.addLayer( new LAYER('Water Districts',null,'','../legend/Water Districts.gif','../Download/wcwatdst.zip') ); 
grp1.addLayer( new LAYER('Municipal Boundaries',null,'../legend/Municipal Boundaries.gif',null,'../Download/wcmun.zip') ); 
grp1.addLayer( new LAYER('Out of County Background',null,null,'../legend/Out of County Background.gif') ); 


var grp2 = toc.addGroup( new GROUP('Transportation',false) );
grp2.addLayer( new LAYER('Railroad Stations',null,'../legend/Railroad Stations.gif') ); 
grp2.addLayer( new LAYER('Metro-North Rail Lines',null,'../legend/Metro-North Rail Lines.gif',null,'../Download/bmrail.zip') ); 
grp2.addLayer( new LAYER('Bee Line Bus Routes',null,'../legend/Bee Line Bus Routes.gif',null,'../Download/wcbusroutes.zip') ); 
grp2.addLayer( new LAYER('Bee Line Bus Stops',null,'../legend/Bee Line Bus Stops.gif') ); 
// grp2.addLayer( new LAYER('Highways and Parkways',null,'../legend/Highways and Parkways.gif') ); 
// grp2.addLayer( new LAYER('Major Roads',null,'../legend/Major Roads.gif') ); 
// grp2.addLayer( new LAYER('Local Roads',null,'../legend/Local Roads.gif') ); 
//Not sure where to place them:
grp2.addLayer( new LAYER('Park and Rides',null,'../legend/Park and Rides.gif') ); 

var grp17 = toc.addGroup( new GROUP('Emergency Zones/Support',false) );
grp17.addLayer( new LAYER('Indian Point',null,'../legend/IndianPoint.gif') );
grp17.addLayer( new LAYER('Indian Point 10-Mile Radius',null,'../legend/ip10m.gif') );
grp17.addLayer( new LAYER('Indian Point Sirens',null,'../legend/Indian Point Sirens.gif') );
grp17.addLayer( new LAYER('Emergency Bus Stops',null,'../legend/Emergency Bus Stops.gif') );
grp17.addLayer( new LAYER('Emergency Reception Centers',null,'../legend/Emergency Reception Centers.gif') );
grp17.addLayer( new LAYER('Evacuation Routes',null,'../legend/Evacuation Routes.gif') );
grp17.addLayer( new LAYER('EPZ Municipality',null,'','../legend/EPZ Municipality.gif') );
grp17.addLayer( new LAYER('Hurricane Storm Surge Zones',null,'','../legend/Hurricane Storm Surge Zones.gif') );  	
grp17.addLayer( new LAYER('Hurricane Evacuation Zone',null,'../legend/Hurricane Evacuation Zone.gif') ); 


var grp4 = toc.addGroup( new GROUP('2000 Census',false) );
grp4.addLayer( new LAYER('Census Tracts',null,'../legend/Census Tracts.gif',null,'../Download/wctigtrt.zip') ); 
grp4.addLayer( new LAYER('Census Block Groups',null,'../legend/Census Block Groups.gif',null,'../Download/wctigbg.zip') );
grp4.addLayer( new LAYER('Census Blocks',null,'../legend/Census Blocks.gif',null,'../Download/wctigblk.zip') ); 
// grp4.addLayer( new LAYER('Census Roads',null,'../legend/Census Roads.gif') ); 
// grp4.addLayer( new LAYER('Census Major Roads',null,'../legend/Census Major Roads.gif') ); 
grp4.addLayer( new LAYER('Median Households Income',null,'','../legend/Median Households Income.gif') );
grp4.addLayer( new LAYER('Under 18 Yrs. Percentage',null,'','../legend/Under 18 Yrs. Percentage.gif') );
grp4.addLayer( new LAYER('15-19 yrs. Percentage',null,'','../legend/15-19 yrs. Percentage.gif') );
grp4.addLayer( new LAYER('10 - 14 yrs. Percentage',null,'','../legend/10 - 14 yrs. Percentage.gif') );
grp4.addLayer( new LAYER('Senior Percentage',null,'','../legend/Senior Percentage.gif') );
grp4.addLayer( new LAYER('Hispanics Percentage',null,'','../legend/Hispanics Percentage.gif') );
grp4.addLayer( new LAYER('Persons Per Square Mile',null,'','../legend/Persons Per Square Mile.gif') ); 

//&#13;
var grp14 = toc.addGroup( new GROUP('Local Government',false,null,'Unique data layers contained within the Local Government folder was provided by respective local government to Westchester County for the use in this application.',null) );
 
var grp14g = grp14.addGroup( new GROUP('Hasting-on-Hudson',false,null,null,'http://www.westchestergov.com/planning/research/Census2000/MunicipalProfiles/has.pdf') );
grp14g.addLayer( new LAYER('Cluster Zoning Overlay',null,'../legend/Cluster Zoning Overlay.gif') ); 
grp14g.addLayer( new LAYER('Neighborhood Commercial Overlay District',null,'../legend/Neighborhood Commercial Overlay District.gif') ); 
grp14g.addLayer( new LAYER('View Preservation District',null,'../legend/View Preservation District.gif') ); 
grp14g.addLayer( new LAYER('Hastings Zoning Districts','Zoning Districts','../legend/Zoning Districts.gif') ); 


var grp15g = grp14.addGroup( new GROUP('Mt. Vernon',false,null,'Mt. Vernon','http://www.westchestergov.com/planning/research/Census2000/MunicipalProfiles/mtv.pdf') );
grp15g.addLayer( new LAYER('Empire Zones',null,'../legend/Empire Zones.gif') ); 
grp15g.addLayer( new LAYER('Garbage Pickup Routes',null,'../legend/Garbage Pickup Routes.gif') ); 
grp15g.addLayer( new LAYER('Recycling Districts',null,'../legend/Recycling Districts.gif') ); 
grp15g.addLayer( new LAYER('Snow Plow Districts',null,'../legend/Snow Plow Districts.gif') ); 
grp15g.addLayer( new LAYER('Sanding Routes',null,'../legend/Sanding Routes.gif') ); 
grp15g.addLayer( new LAYER('Mt Vernon School Districts',null,'../legend/Mt Vernon School Districts.gif') ); 


var grp16g = grp14.addGroup( new GROUP('New Rochelle',false,null,null,'http://www.westchestergov.com/planning/research/Census2000/MunicipalProfiles/nro.pdf') );
grp16g.addLayer( new LAYER('Council Districts',null,'../legend/Council Districts.gif') ); 
grp16g.addLayer( new LAYER('Historic Districts',null,'../legend/Historic Districts.gif') ); 
grp16g.addLayer( new LAYER('New Rochelle Zoning Districts','Zoning Districts','../legend/Zoning Districts.gif') ); 
grp16g.addLayer( new LAYER('Urban Renewal Districts',null,'../legend/Urban Renewal Districts.gif') ); 

var grp17g = grp14.addGroup( new GROUP('Tax Parcels',false,null,null,null) );
grp17g.addLayer( new LAYER('Tax Parcels',null,'../legend/Tax Parcels.gif') ); 


var grp5 = toc.addGroup( new GROUP('Green Facilities and Services',false) );
//grp5.addLayer( new LAYER('Recycling Events',null,'','../legend/Recycling Events.gif','../Download/wcrecycevt.zip') ); 
//grp5.addLayer( new LAYER('Recycling Centers',null,'../legend/Recycling Centers.gif',null,'../Download/wcrecycle.zip') ); 
grp5.addLayer( new LAYER('Tire Disposal Centers',null,'../legend/Tire Disposal Centers.gif',null,'../Download/wctiredisp.zip') );
grp5.addLayer( new LAYER('Cell Phone Drop Off',null,'../legend/Cell Phone Drop Off.gif',null,'../Download/gms_recycle_cell.zip') ); 
grp5.addLayer( new LAYER('Paint Hardener Stores',null,'../legend/Paint Hardener Stores.gif',null,'../Download/gms_recycle_paint.zip') ); 
grp5.addLayer( new LAYER('Recycling Tour',null,'../legend/Recycling Tour.gif',null,'../Download/gms_recycle_tour.zip') ); 
grp5.addLayer( new LAYER('CFL Recycling Center',null,'../legend/CFL Recycling Center.gif',null,'../Download/GMS_Recycle_CFL.zip') ); 
grp5.addLayer( new LAYER('Organic Landscaper',null,'../legend/Organic Landscaper.gif',null,'../Download/GMS_Orglndscpr.zip') ); 
grp5.addLayer( new LAYER('Indoor Farmer Markets',null,'../legend/Indoor Farmer Markets.gif',null,'../Download/GMS_WinterFarmMkt.zip') ); 
grp5.addLayer( new LAYER('Environmental Education Centers',null,'../legend/Environmental Education Centers.gif',null,'../Download/GMS_EnvEdCntr.zip') );
grp5.addLayer( new LAYER('Aquatic Restoration Sites',null,'../legend/Aquatic Restoration Sites.gif',null,'../Download/GMS_AquaticRestoreSites.zip') ); 
grp5.addLayer( new LAYER('Bicycle Parking',null,'../legend/Bicycle Parking.gif',null,'../Download/GMS_BikeRacks.zip') );
grp5.addLayer( new LAYER('Donation Drop Off',null,'../legend/Donation Drop Off.gif',null,'../Download/GMS_REUSE_DONATION.zip') );
grp5.addLayer( new LAYER('Energy Star Retailers',null,'../legend/Energy Star Retailers.gif',null,'../Download/gms_estar_retailers.zip') ); 
grp5.addLayer( new LAYER('Energy Star Builders',null,'../legend/Energy Star Builders.gif',null,'../Download/gms_estar_builders.zip') ); 
grp5.addLayer( new LAYER('Farmers Market',null,'../legend/Farmers Market.gif',null,'../Download/wcagritour.zip') ); 
grp5.addLayer( new LAYER('Nature Preserve',null,'../legend/Nature Preserve.gif',null,'../Download/gms_wcpreserve.zip') ); 
grp5.addLayer( new LAYER('Gardens',null,'../legend/Gardens.gif',null,'../Download/wcgarden.zip') ); 
grp5.addLayer( new LAYER('Ferries',null,'../legend/Ferries.gif',null,'../Download/gms_wcferry.zip') ); 

//var grp16_1 = grp14.addGroup( new GROUP('White Plains',false,null,null,'http://www.westchestergov.com/planning/research/Census2000/MunicipalProfiles/whp.pdf') );

//var grp5 = toc.addGroup( new GROUP('2 Foot Topo Tile Index',false) );
// grp5.addLayer( new LAYER('2 Foot Topo Tile Index',null,'../legend/2 Foot Topo Tile Index.gif') );    


var grp6 = toc.addGroup( new GROUP('Raster Data',false) );
grp6.addLayer( new LAYER('2004 Aerial Photos',null,null) );
grp6.addLayer( new LAYER('USGS Quads',null,null) );    



 //var grpPri = toc.addGroup( new GROUPNV('Community Profile',false) );
  