
// class definitions for use in grouping national atlas layers and chapter info

function NAChapter (theId, theShortName, theLongName, theExample, theSortOrder, showIt, theLayers) {
	this.idString = theId;
	this.shortName = theShortName;
	this.longName = theLongName;
  this.example = theExample;
	this.sortOrder = theSortOrder;
	if (typeof showIt == "boolean") {
		this.show = showIt;
	} else {
		this.show = (showIt == 't' || showIt == 'true' || showIt == 1);
	}
	if (theLayers == null || typeof theLayers != "object") {
		this.layers = new Array();
	} else {
		this.layers = theLayers;
	}
}

function NALayerDesc (theId, theAltMldId, theTitle, theMetadataCreationDate, theMetadataOffsiteLink, theMapLink, showIt, theDataItems) {
	this.idString = theId;
	this.altMldId = theAltMldId;
	this.title = theTitle;	
	this.metaDataDate = theMetadataCreationDate;
  this.metaDataOffsiteLink = theMetadataOffsiteLink;
	if (typeof showIt == "boolean") {
		this.show = showIt;
	} else {
		this.show = (showIt == 't' || showIt == 'true' || showIt == 1);
	}
	this.mapLink = theMapLink;
	if (theDataItems == null || typeof theDataItems != "object") {
		this.dataItems = new Array();
	} else {
		this.dataItems = theDataItems;
	}
}

function NADataItem (theId, theType, theFileName, theOffsiteText, theUrl, theRBytes, theCBytes, theCreationDate, showIt) {
	this.idString = theId;
	this.type = theType;
	this.fileName = theFileName;
	this.offsiteText = theOffsiteText;
	this.downloadUrl = theUrl;
	this.rawBytes = theRBytes;
	this.compressedBytes = theCBytes;
	//this.creationDate = theCreationDate.toString();
	this.creationDate = theCreationDate;
	if (typeof showIt == "boolean") {
		this.show = showIt;
	} else {
		this.show = (showIt == 't' || showIt == 'true' || showIt == 1);
	}
}

var allChapters = new Object();
var allLayerDescs = new Object();
var allDataItems = new Object();

function addChapter(id, shortName, longName, example, sortOrder, showIt) {
	var c = new NAChapter(id, shortName, longName, example, sortOrder, showIt);
	allChapters[id] = c;
}

function addLayerDesc (id, altMldId, title, metadataDate, metadataOffsiteLink, parentChapterId, mapLink, showIt) {
	var d = new NALayerDesc (id, altMldId, title, metadataDate, metadataOffsiteLink, mapLink, showIt);
	allLayerDescs[id] = d;
	arrayPush(allChapters[parentChapterId]["layers"], id);
}

function addDataItem (id, type, fName, osText, url, rBytes, cBytes, cDate, parentLayerDescId, showIt) {
	var di = new NADataItem (id, type, fName, osText, url, rBytes, cBytes, cDate, showIt);
	allDataItems[id] = di;
	arrayPush(allLayerDescs[parentLayerDescId]["dataItems"], id);
}
	

addChapter('chpagri', 'Agriculture', 'Agriculture of the United States', 'Agriculture Census 2007 - Crops, Expenses, Farmland...', 2, true);
  addLayerDesc('agcensp020', null, 'Agriculture Census, 2002', '2006-04-01', null, 'chpagri', null, true );
    
    addDataItem('agcensp020', 'Shapefile', 'agcensp020.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/agcensp020.tar.gz', 15459840, 9482555, '2005-06-01', 'agcensp020', true );
	
	addLayerDesc('agcn07', null, 'Agriculture Census, 2007', '2010-06-01', null, 'chpagri', '/mapmaker?AppCmd=CUSTOM&LayerList=opchar%3B2&visCats=CAT-agri,CAT-agri', true );
    
    addDataItem('agcn07', 'Shapefile', 'agcn07p020.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/agcn07p020.tar.gz', 15459840, 9482555, '2010-06-01', 'agcn07', true );

addChapter('chpbio', 'Biology', 'Biology of the United States', 'Bat Ranges, Butterflies, Forests, Invasive Species, Land Cover...', 4, true);
  addLayerDesc('amphibt', null, 'Amphibian Distributions', '2006-04-29', null, 'chpbio', '/mapmaker?AppCmd=CUSTOM&LayerList=amp%3B1&visCats=CAT-bio,CAT-bio', true );
    addDataItem('amphibt', 'DBF', 'amphibt.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/amphibt.tar.gz', 232448, 37192, '2002-03-29', 'amphibt', true );
		
  addLayerDesc('bat000m020', null, 'Bat Ranges', '2006-04-06', null, 'chpbio', '/mapmaker?AppCmd=CUSTOM&LayerList=bat13%3B8&visCats=CAT-bio,CAT-bio', true );
    addDataItem('bat000m020', 'Shapefile', 'bat000m020.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/bat000m020.tar.gz', 28948992, 10550141, '2003-05-06', 'bat000m020', true );
  addLayerDesc('bbsrtsl020', null, 'Breeding Bird Survey Route Locations', '2006-04-04', null, 'chpbio', '/mapmaker?AppCmd=CUSTOM&LayerList=Bird&visCats=CAT-bio,CAT-bio', true );
    addDataItem('bbsrtsl020', 'Shapefile', 'bbsrtsl020.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/bbsrtsl020.tar.gz', 13698048, 10177380, '1999-08-09', 'bbsrtsl020', true );
  addLayerDesc('butflyt', null, 'Butterfly Occurrence', '2006-04-11', null, 'chpbio', '/mapmaker?AppCmd=CUSTOM&LayerList=BflyC&visCats=CAT-bio,CAT-butterfly', true );
    addDataItem('butflyt', 'DBF', 'butflyt.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/butflyt.tar.gz', 2587136, 180118, '2002-02-11', 'butflyt', true );
  addLayerDesc('ecoregp075', null, 'Ecoregions - Bailey', '2006-04-16', null, 'chpbio', '/mapmaker?AppCmd=CUSTOM&LayerList=eco%3B3&visCats=CAT-bio,CAT-bio', true );
    addDataItem('ecoregp075', 'Shapefile', 'ecoregp075.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/ecoregp075.tar.gz', 6921216, 2041563, '2004-03-18', 'ecoregp075', true );
	addLayerDesc('ecoomrp075', null, 'Ecoregions - Omernik', '2006-04-10', null, 'chpbio', '/mapmaker?AppCmd=CUSTOM&LayerList=ecoomr&visCats=CAT-bio,CAT-bio', true );
    addDataItem('ecoomrp075', 'Shapefile', 'ecoomrp075.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/ecoomrp075.tar.gz', 14616576, 10985548, '2005-06-10', 'ecoomrp075', true );
  addLayerDesc('foresti020l', null, 'Forest Cover Types', '2006-04-14', null, 'chpbio', '/mapmaker?AppCmd=CUSTOM&LayerList=Forcov&visCats=CAT-bio,CAT-bio', true );
    addDataItem('foresti020l', 'GeoTiff', 'foresti020l.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/foresti020l.tar.gz', 4341760, 1701709, '2002-12-20', 'foresti020l', true );
  addLayerDesc('frfrg2i1kml', null, 'Forest Fragmentation - Causes 1 Kilometer Resolution', '2006-04-14', null, 'chpbio', '/mapmaker?AppCmd=CUSTOM&LayerList=frg&visCats=CAT-bio,CAT-bio', true );
    addDataItem('frfrg2i1kml', 'GeoTiff', 'frfrg2i1kml.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/frfrg2i1kml.tar.gz', 226273280, 9365973, '2004-02-10', 'frfrg2i1kml', true );
  addLayerDesc('frfrg2i270l', null, 'Forest Fragmentation - Causes 270 Meter Resolution', '2006-04-14', null, 'chpbio', '/mapmaker?AppCmd=CUSTOM&LayerList=frg&visCats=CAT-bio,CAT-bio', true );
    addDataItem('frfrg2i270l', 'GeoTiff', 'frfrg2i270l.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/frfrg2i270l.tar.gz', 732313600, 105538115, '2004-06-24', 'frfrg2i270l', true );
  addLayerDesc('frfrg2i540l', null, 'Forest Fragmentation - Causes 540 Meter Resolution', '2006-04-14', null, 'chpbio', '/mapmaker?AppCmd=CUSTOM&LayerList=frg&visCats=CAT-bio,CAT-bio', true );
    addDataItem('frfrg2i540l', 'GeoTiff', 'frfrg2i540l.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/frfrg2i540l.tar.gz', 183121920, 28171443, '2004-06-24', 'frfrg2i540l', true );
  addLayerDesc('forfrgi1kml', null, 'Forest Fragmentation - Classification', '2006-04-14', null, 'chpbio', '/mapmaker?AppCmd=CUSTOM&LayerList=Forest&visCats=CAT-bio,CAT-bio', true );
    addDataItem('forfrgi1kml', 'GeoTiff', 'forfrgi1kml.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/forfrgi1kml.tar.gz', 5488640, 2193913, '2002-12-20', 'forfrgi1kml', true );
  addLayerDesc('afrbeep020', null, 'Invasive Species - Africanized Honey Bees', '2010-06-30', null, 'chpbio', '/mapmaker?AppCmd=CUSTOM&LayerList=afrbee%3B14&visCats=CAT-bio,CAT-invasive', true );
        addDataItem('afrbeep020', 'Shapefile', 'afrbeep020.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/afrbeep020.tar.gz', 14680064, 4718592, '2010-06-30', 'afrbeep020', true );
  addLayerDesc('wdligut', null, 'Invasive Species - Chinese Privet, Ligustrum sinense', '2006-04-11', null, 'chpbio', '/mapmaker?AppCmd=CUSTOM&LayerList=privet&visCats=CAT-bio,CAT-invasive', true );
    addDataItem('wdligut', 'DBF', 'wdligut.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/wdligut.tar.gz', 67584, 10098, '2000-09-06', 'wdligut', true );
  addLayerDesc('wdulext', null, 'Invasive Species - Common Gorse, Ulex europaeus', '2006-04-11', null, 'chpbio', '/mapmaker?AppCmd=CUSTOM&LayerList=gorse&visCats=CAT-bio,CAT-invasive', true );
    addDataItem('wdulext', 'DBF', 'wdulext.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/wdulext.tar.gz', 22016, 5458, '2000-09-06', 'wdulext', true );
  addLayerDesc('wdeupht', null, 'Invasive Species - Leafy Spurge, Euphorbia esula', '2006-04-11', null, 'chpbio', '/mapmaker?AppCmd=CUSTOM&LayerList=spurge&visCats=CAT-bio,CAT-invasive', true );
    addDataItem('wdeupht', 'DBF', 'wdeupht.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/wdeupht.tar.gz', 58880, 10180, '2000-09-06', 'wdeupht', true );
  addLayerDesc('wdlytht', null, 'Invasive Species - Purple Loosestrife, Lythrum salicaria', '2006-04-11', null, 'chpbio', '/mapmaker?AppCmd=CUSTOM&LayerList=loosestrife&visCats=CAT-bio,CAT-invasive', true );
    addDataItem('wdlytht', 'DBF', 'wdlytht.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/wdlytht.tar.gz', 110592, 15274, '2000-09-06', 'wdlytht', true );
  addLayerDesc('wdtriat', null, 'Invasive Species - Tallowtree, Triadica sebifera', '2006-04-24', null, 'chpbio', '/mapmaker?AppCmd=CUSTOM&LayerList=tallow&visCats=CAT-bio,CAT-invasive', true );
    addDataItem('wdtriat', 'DBF', 'wdtriat.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/wdtriat.tar.gz', 38912, 7511, '2000-09-06', 'wdtriat', true );
  addLayerDesc('zmusslx020', null, 'Invasive Species - Zebra Mussel Distribution', '2008-02-25', null, 'chpbio', '/mapmaker?AppCmd=CUSTOM&LayerList=ZebM&visCats=CAT-bio,CAT-invasive', true );
  
    addDataItem('zmusslsx020', 'Shapefile', 'zmusslsx020.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/zmusslx020.tar.gz', 844800, 88779, '2007-12-25', 'zmusslx020', true );
	addLayerDesc('landcvi020l', null, 'Land Cover 1 Kilometer Resolution', '2006-04-08', null, 'chpbio', '/mapmaker?AppCmd=CUSTOM&LayerList=LandCover&visCats=CAT-bio,CAT-bio', true );
    addDataItem('landcvi020l', 'GeoTiff', 'landcvi020l.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/landcvi020l.tar.gz', 8448000, 3966373, '2002-12-20', 'landcvi020l', true );
	addLayerDesc('lancovi200l', null, 'Land Cover 200 Meter Resolution', '2006-04-27', null, 'chpbio', '/mapmaker?AppCmd=CUSTOM&LayerList=lancov&visCats=CAT-bio,CAT-bio', true );
    addDataItem('lancovi200l', 'GeoTiff', 'lancovi200l.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/lancovi200l.tar.gz', 444958720, 50904884, '2005-09-27', 'lancovi200l', true );
  addLayerDesc('lcdvrsi020l', null, 'Land Cover Diversity', '2006-04-14', null, 'chpbio', '/mapmaker?AppCmd=CUSTOM&LayerList=Diversity&visCats=CAT-bio,CAT-bio', true );
    addDataItem('lcdvrsi020l', 'GeoTiff', 'lcdvrsi020l.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/lcdvrsi020l.tar.gz', 20838400, 14931054, '2002-12-20', 'lcdvrsi020l', true );
  addLayerDesc('moths0t', null, 'Moth Occurrence', '2006-04-11', null, 'chpbio', '/mapmaker?AppCmd=CUSTOM&LayerList=MothC&visCats=CAT-bio,CAT-moth', true );
    addDataItem('moths0t', 'DBF', 'moths0t.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/moths0t.tar.gz', 1172992, 56214, '2002-02-11', 'moths0t', true );
	addLayerDesc('firplnp020', null, 'National Fire Plan - Hazardous Fuels Reduction Program 2004', '2006-05-27', null, 'chpbio', '/mapmaker?AppCmd=CUSTOM&LayerList=firpln%3B1&visCats=CAT-bio,CAT-firpln', true );
    addDataItem('firplnp020', 'Shapefile', 'firplnp020.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/firplnp020.tar.gz', 14233600, 4586865, '2005-09-27', 'firplnp020', true );
	addLayerDesc('vgav90i1kml', null, 'Vegetation Growth - Average: 1990', '2006-05-14', null, 'chpbio', '/mapmaker?AppCmd=CUSTOM&LayerList=vgav90%3B1&visCats=CAT-bio,CAT-bio', true );
    addDataItem('vgav90i1kml', 'GeoTiff', 'vgav90i1kml.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/vgav90i1kml.tar.gz', 75479040, 5285750, '2005-12-14', 'vgav90i1kml', true );
	addLayerDesc('vgav91i1kml', 'vgav90i', 'Vegetation Growth - Average: 1991', '2006-05-14', null, 'chpbio', '/mapmaker?AppCmd=CUSTOM&LayerList=vgav91%3B2&visCats=CAT-bio,CAT-bio', true );
    addDataItem('vgav91i1kml', 'GeoTiff', 'vgav91i1kml.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/vgav91i1kml.tar.gz', 75479040, 5179459, '2005-12-14', 'vgav91i1kml', true );
	addLayerDesc('vgav92i1kml', 'vgav90i', 'Vegetation Growth - Average: 1992', '2006-05-14', null, 'chpbio', '/mapmaker?AppCmd=CUSTOM&LayerList=vgav92%3B3&visCats=CAT-bio,CAT-bio', true );
    addDataItem('vgav92i1kml', 'GeoTiff', 'vgav92i1kml.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/vgav92i1kml.tar.gz', 75479040, 4821103, '2005-12-14', 'vgav92i1kml', true );
	addLayerDesc('vgav93i1kml', 'vgav90i', 'Vegetation Growth - Average: 1993', '2006-05-14', null, 'chpbio', '/mapmaker?AppCmd=CUSTOM&LayerList=vgav93%3B4&visCats=CAT-bio,CAT-bio', true );
    addDataItem('vgav93i1kml', 'GeoTiff', 'vgav93i1kml.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/vgav93i1kml.tar.gz', 75479040, 5125674, '2005-12-14', 'vgav93i1kml', true );
	addLayerDesc('vgav94i1kml', 'vgav90i', 'Vegetation Growth - Average: 1994', '2006-05-14', null, 'chpbio', '/mapmaker?AppCmd=CUSTOM&LayerList=vgav94%3B5&visCats=CAT-bio,CAT-bio', true );
    addDataItem('vgav94i1kml', 'GeoTiff', 'vgav94i1kml.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/vgav94i1kml.tar.gz', 75479040, 5520011, '2005-12-14', 'vgav94i1kml', true );
	addLayerDesc('vgav95i1kml', 'vgav90i', 'Vegetation Growth - Average: 1995', '2006-05-14', null, 'chpbio', '/mapmaker?AppCmd=CUSTOM&LayerList=vgav95%3B6&visCats=CAT-bio,CAT-bio', true );
    addDataItem('vgav95i1kml', 'GeoTiff', 'vgav95i1kml.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/vgav95i1kml.tar.gz', 75479040, 5422690, '2005-12-14', 'vgav95i1kml', true );
	addLayerDesc('vgav96i1kml', 'vgav90i', 'Vegetation Growth - Average: 1996', '2006-05-14', null, 'chpbio', '/mapmaker?AppCmd=CUSTOM&LayerList=vgav96%3B7&visCats=CAT-bio,CAT-bio', true );
    addDataItem('vgav96i1kml', 'GeoTiff', 'vgav96i1kml.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/vgav96i1kml.tar.gz', 75479040, 5436016, '2005-12-14', 'vgav96i1kml', true );
	addLayerDesc('vgav97i1kml', 'vgav90i', 'Vegetation Growth - Average: 1997', '2006-05-14', null, 'chpbio', '/mapmaker?AppCmd=CUSTOM&LayerList=vgav97%3B8&visCats=CAT-bio,CAT-bio', true );
    addDataItem('vgav97i1kml', 'GeoTiff', 'vgav97i1kml.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/vgav97i1kml.tar.gz', 75479040, 5415873, '2005-12-14', 'vgav97i1kml', true );
	addLayerDesc('vgav98i1kml', 'vgav90i', 'Vegetation Growth - Average: 1998', '2006-05-14', null, 'chpbio', '/mapmaker?AppCmd=CUSTOM&LayerList=vgav98%3B9&visCats=CAT-bio,CAT-bio', true );
    addDataItem('vgav98i1kml', 'GeoTiff', 'vgav98i1kml.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/vgav98i1kml.tar.gz', 75479040, 5453839, '2005-12-14', 'vgav98i1kml', true );
	addLayerDesc('vgav99i1kml', 'vgav90i', 'Vegetation Growth - Average: 1999', '2006-05-14', null, 'chpbio', '/mapmaker?AppCmd=CUSTOM&LayerList=vgav99%3B10&visCats=CAT-bio,CAT-bio', true );
    addDataItem('vgav99i1kml', 'GeoTiff', 'vgav99i1kml.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/vgav99i1kml.tar.gz', 75479040, 5571485, '2005-12-14', 'vgav99i1kml', true );
	addLayerDesc('vgav00i1kml', 'vgav90i', 'Vegetation Growth - Average: 2000', '2006-05-14', null, 'chpbio', '/mapmaker?AppCmd=CUSTOM&LayerList=vgav00%3B11&visCats=CAT-bio,CAT-bio', true );
    addDataItem('vgav00i1kml', 'GeoTiff', 'vgav00i1kml.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/vgav00i1kml.tar.gz', 75479040, 5733278, '2005-12-14', 'vgav00i1kml', true );
	addLayerDesc('vgav01i1kml', 'vgav90i', 'Vegetation Growth - Average: 2001', '2006-05-14', null, 'chpbio', '/mapmaker?AppCmd=CUSTOM&LayerList=vgav01%3B12&visCats=CAT-bio,CAT-bio', true );
    addDataItem('vgav01i1kml', 'GeoTiff', 'vgav01i1kml.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/vgav01i1kml.tar.gz', 75479040, 5759237, '2005-12-14', 'vgav01i1kml', true );
	addLayerDesc('vgav02i1kml', 'vgav90i', 'Vegetation Growth - Average: 2002', '2006-05-14', null, 'chpbio', '/mapmaker?AppCmd=CUSTOM&LayerList=vgav02%3B13&visCats=CAT-bio,CAT-bio', true );
    addDataItem('vgav02i1kml', 'GeoTiff', 'vgav02i1kml.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/vgav02i1kml.tar.gz', 75479040, 5830366, '2005-12-14', 'vgav02i1kml', true );
	addLayerDesc('vgav03i1kml', 'vgav90i', 'Vegetation Growth - Average: 2003', '2006-05-14', null, 'chpbio', '/mapmaker?AppCmd=CUSTOM&LayerList=vgav03%3B14&visCats=CAT-bio,CAT-bio', true );
    addDataItem('vgav03i1kml', 'GeoTiff', 'vgav03i1kml.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/vgav03i1kml.tar.gz', 75479040, 5688231, '2005-12-14', 'vgav03i1kml', true );
	addLayerDesc('vgav04i1kml', 'vgav90i', 'Vegetation Growth - Average: 2004', '2006-05-14', null, 'chpbio', '/mapmaker?AppCmd=CUSTOM&LayerList=vgav04%3B15&visCats=CAT-bio,CAT-bio', true );
    addDataItem('vgav04i1kml', 'GeoTiff', 'vgav04i1kml.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/vgav04i1kml.tar.gz', 75479040, 5678491, '2005-12-14', 'vgav04i1kml', true );
	
	addLayerDesc('vgav05i1kml', 'vgav90i', 'Vegetation Growth - Average: 2005', '2006-05-14', null, 'chpbio', '/mapmaker?AppCmd=CUSTOM&LayerList=vgav05%3B16&visCats=CAT-bio,CAT-bio', true );
    addDataItem('vgav05i1kml', 'GeoTiff', 'vgav05i1kml.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/vgav05i1kml.tar.gz', 75479040, 5728764, '2006-04-14', 'vgav05i1kml', true );
	
	addLayerDesc('vgpk90i1kml', null, 'Vegetation Growth - Peak: 1990', '2006-05-14', null, 'chpbio', '/mapmaker?AppCmd=CUSTOM&LayerList=vgpk90%3B1&visCats=CAT-bio,CAT-bio', true );
    addDataItem('vgpk90i1kml', 'GeoTiff', 'vgpk90i1kml.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/vgpk90i1kml.tar.gz', 75479040, 6235315, '2005-12-14', 'vgpk90i1kml', true );
	addLayerDesc('vgpk91i1kml', 'vgpk90i', 'Vegetation Growth - Peak: 1991', '2006-05-14', null, 'chpbio', '/mapmaker?AppCmd=CUSTOM&LayerList=vgpk91%3B2&visCats=CAT-bio,CAT-bio', true );
    addDataItem('vgpk91i1kml', 'GeoTiff', 'vgpk91i1kml.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/vgpk91i1kml.tar.gz', 75479040, 6373731, '2005-12-14', 'vgpk91i1kml', true );
	addLayerDesc('vgpk92i1kml', 'vgpk90i', 'Vegetation Growth - Peak: 1992', '2006-05-14', null, 'chpbio', '/mapmaker?AppCmd=CUSTOM&LayerList=vgpk92%3B3&visCats=CAT-bio,CAT-bio', true );
    addDataItem('vgpk92i1kml', 'GeoTiff', 'vgpk92i1kml.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/vgpk92i1kml.tar.gz', 75479040, 6308804, '2005-12-14', 'vgpk92i1kml', true );
	addLayerDesc('vgpk93i1kml', 'vgpk90i', 'Vegetation Growth - Peak: 1993', '2006-05-14', null, 'chpbio', '/mapmaker?AppCmd=CUSTOM&LayerList=vgpk93%3B4&visCats=CAT-bio,CAT-bio', true );
    addDataItem('vgpk93i1kml', 'GeoTiff', 'vgpk93i1kml.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/vgpk93i1kml.tar.gz', 75479040, 6437446, '2005-12-14', 'vgpk93i1kml', true );
	addLayerDesc('vgpk94i1kml', 'vgpk90i', 'Vegetation Growth - Peak: 1994', '2006-05-14', null, 'chpbio', '/mapmaker?AppCmd=CUSTOM&LayerList=vgpk94%3B5&visCats=CAT-bio,CAT-bio', true );
    addDataItem('vgpk94i1kml', 'GeoTiff', 'vgpk94i1kml.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/vgpk94i1kml.tar.gz', 75479040, 6590461, '2005-12-14', 'vgpk94i1kml', true );
	addLayerDesc('vgpk95i1kml', 'vgpk90i', 'Vegetation Growth - Peak: 1995', '2006-05-14', null, 'chpbio', '/mapmaker?AppCmd=CUSTOM&LayerList=vgpk95%3B6&visCats=CAT-bio,CAT-bio', true );
    addDataItem('vgpk95i1kml', 'GeoTiff', 'vgpk95i1kml.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/vgpk95i1kml.tar.gz', 75479040, 6324889, '2005-12-14', 'vgpk95i1kml', true );
	addLayerDesc('vgpk96i1kml', 'vgpk90i', 'Vegetation Growth - Peak: 1996', '2006-05-14', null, 'chpbio', '/mapmaker?AppCmd=CUSTOM&LayerList=vgpk96%3B7&visCats=CAT-bio,CAT-bio', true );
    addDataItem('vgpk96i1kml', 'GeoTiff', 'vgpk96i1kml.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/vgpk96i1kml.tar.gz', 75479040, 6423431, '2005-12-14', 'vgpk96i1kml', true );
	addLayerDesc('vgpk97i1kml', 'vgpk90i', 'Vegetation Growth - Peak: 1997', '2006-05-14', null, 'chpbio', '/mapmaker?AppCmd=CUSTOM&LayerList=vgpk97%3B8&visCats=CAT-bio,CAT-bio', true );
    addDataItem('vgpk97i1kml', 'GeoTiff', 'vgpk97i1kml.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/vgpk97i1kml.tar.gz', 75479040, 6298121, '2005-12-14', 'vgpk97i1kml', true );
	addLayerDesc('vgpk98i1kml', 'vgpk90i', 'Vegetation Growth - Peak: 1998', '2006-05-14', null, 'chpbio', '/mapmaker?AppCmd=CUSTOM&LayerList=vgpk98%3B9&visCats=CAT-bio,CAT-bio', true );
    addDataItem('vgpk98i1kml', 'GeoTiff', 'vgpk98i1kml.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/vgpk98i1kml.tar.gz', 75479040, 6401679, '2005-12-14', 'vgpk98i1kml', true );
	addLayerDesc('vgpk99i1kml', 'vgpk90i', 'Vegetation Growth - Peak: 1999', '2006-05-14', null, 'chpbio', '/mapmaker?AppCmd=CUSTOM&LayerList=vgpk99%3B10&visCats=CAT-bio,CAT-bio', true );
    addDataItem('vgpk99i1kml', 'GeoTiff', 'vgpk99i1kml.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/vgpk99i1kml.tar.gz', 75479040, 6474920, '2005-12-14', 'vgpk99i1kml', true );
	addLayerDesc('vgpk00i1kml', 'vgpk90i', 'Vegetation Growth - Peak: 2000', '2006-05-14', null, 'chpbio', '/mapmaker?AppCmd=CUSTOM&LayerList=vgpk00%3B11&visCats=CAT-bio,CAT-bio', true );
    addDataItem('vgpk00i1kml', 'GeoTiff', 'vgpk00i1kml.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/vgpk00i1kml.tar.gz', 75479040, 6696631, '2005-12-14', 'vgpk00i1kml', true );
	addLayerDesc('vgpk01i1kml', 'vgpk90i', 'Vegetation Growth - Peak: 2001', '2006-05-14', null, 'chpbio', '/mapmaker?AppCmd=CUSTOM&LayerList=vgpk01%3B12&visCats=CAT-bio,CAT-bio', true );
    addDataItem('vgpk01i1kml', 'GeoTiff', 'vgpk01i1kml.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/vgpk01i1kml.tar.gz', 75479040, 6643677, '2005-12-14', 'vgpk01i1kml', true );
	addLayerDesc('vgpk02i1kml', 'vgpk90i', 'Vegetation Growth - Peak: 2002', '2006-05-14', null, 'chpbio', '/mapmaker?AppCmd=CUSTOM&LayerList=vgpk02%3B13&visCats=CAT-bio,CAT-bio', true );
    addDataItem('vgpk02i1kml', 'GeoTiff', 'vgpk02i1kml.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/vgpk02i1kml.tar.gz', 75479040, 6716100, '2005-12-14', 'vgpk02i1kml', true );
	addLayerDesc('vgpk03i1kml', 'vgpk90i', 'Vegetation Growth - Peak: 2003', '2006-05-14', null, 'chpbio', '/mapmaker?AppCmd=CUSTOM&LayerList=vgpk03%3B14&visCats=CAT-bio,CAT-bio', true );
    addDataItem('vgpk03i1kml', 'GeoTiff', 'vgpk03i1kml.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/vgpk03i1kml.tar.gz', 75479040, 6470962, '2005-12-14', 'vgpk03i1kml', true );
	addLayerDesc('vgpk04i1kml', 'vgpk90i', 'Vegetation Growth - Peak: 2004', '2006-05-14', null, 'chpbio', '/mapmaker?AppCmd=CUSTOM&LayerList=vgpk04%3B15&visCats=CAT-bio,CAT-bio', true );
    addDataItem('vgpk04i1kml', 'GeoTiff', 'vgpk04i1kml.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/vgpk04i1kml.tar.gz', 75479040, 6431185, '2005-12-14', 'vgpk04i1kml', true );
	
		addLayerDesc('vgpk05i1kml', 'vgpk90i', 'Vegetation Growth - Peak: 2005', '2006-05-14', null, 'chpbio', '/mapmaker?AppCmd=CUSTOM&LayerList=vgpk05%3B16&visCats=CAT-bio,CAT-bio', true );
    addDataItem('vgpk05i1kml', 'GeoTiff', 'vgpk05i1kml.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/vgpk05i1kml.tar.gz', 75479040, 6509053, '2006-04-14', 'vgpk05i1kml', true );
	   
  addLayerDesc('wlbotut', null, 'Wildlife Mortality: Avian Botulism', '2006-03-30', null, 'chpbio', '/mapmaker?AppCmd=CUSTOM&LayerList=Bot&visCats=CAT-bio,CAT-wild-mort', true );
    addDataItem('wlbotut', 'DBF', 'wlbotut.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/wlbotut.tar.gz', 645120, 70737, '2005-06-03', 'wlbotut', true );
  addLayerDesc('wlcholt', null, 'Wildlife Mortality: Avian Cholera', '2006-03-30', null, 'chpbio', '/mapmaker?AppCmd=CUSTOM&LayerList=Chol&visCats=CAT-bio,CAT-wild-mort', true );
    addDataItem('wlcholt', 'DBF', 'wlcholt.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/wlcholt.tar.gz', 389120, 43467, '2005-06-03', 'wlcholt', true );
  addLayerDesc('wlleadt', null, 'Wildlife Mortality: Avian Lead Poisoning', '2006-03-30', null, 'chpbio', '/mapmaker?AppCmd=CUSTOM&LayerList=Lpois&visCats=CAT-bio,CAT-wild-mort', true );
    addDataItem('wlleadt', 'DBF', 'wlleadt.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/wlleadt.tar.gz', 184320, 22784, '2005-06-03', 'wlleadt', true );
  addLayerDesc('wlmtfrt', null, 'Wildlife Mortality: Frequency Data', '2006-03-30', null, 'chpbio', '/mapmaker?AppCmd=CUSTOM&LayerList=Bot&visCats=CAT-bio,CAT-wild-mort', true );
    addDataItem('wlmtfrt', 'DBF', 'wlmtfrt.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/wlmtfrt.tar.gz', 399360, 38551, '2005-06-03', 'wlmtfrt', true );
  addLayerDesc('wlopcat', null, 'Wildlife Mortality: Organophosphate / Carbamate Poisoning', '2006-03-30', null, 'chpbio', '/mapmaker?AppCmd=CUSTOM&LayerList=Cpois&visCats=CAT-bio,CAT-wild-mort', true );
    addDataItem('wlopcat', 'DBF', 'wlopcat.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/wlopcat.tar.gz', 245760, 31925, '2005-06-03', 'wlopcat', true );

addChapter('chpbound', 'Boundaries', 'Boundaries of the United States', 'Congressional Districts, Counties, Federal lands, States...', 6, true);
  addLayerDesc('cgd106p020', 'cgd109p020', 'Congressional Districts of the United States - 106th Congress', '2000-04-10', null, 'chpbound', null, true );
    addDataItem('cgd106p020', 'Shapefile', 'cgd106p020.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/cgd106p020.tar.gz', 11965223, 4043257, '2000-04-10', 'cgd106p020', true );
  addLayerDesc('cgd107p020', 'cgd109p020', 'Congressional Districts of the United States - 107th Congress', '2002-01-11', null, 'chpbound', null, true );
    addDataItem('cgd107p020', 'Shapefile', 'cgd107p020.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/cgd107p020.tar.gz', 11950222, 4041378, '2002-01-11', 'cgd107p020', true );
  addLayerDesc('cgd108p020', 'cgd109p020', 'Congressional Districts of the United States - 108th Congress', '2004-11-10', null, 'chpbound', null, true );
    addDataItem('cgd108p020', 'Shapefile', 'cgd108p020.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/cgd108p020.tar.gz', 19744768, 6404489, '2003-09-16', 'cgd108p020', true );
  addLayerDesc('cgd109p020', null, 'Congressional Districts of the United States - 109th Congress', '2005-09-27', null, 'chpbound', null, true );
    addDataItem('cgd109p020', 'Shapefile', 'cgd109p020.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/cgd109p020.tar.gz', 19230720, 6244619, '2005-09-27', 'cgd109p020', true );
  addLayerDesc('cgd110p020', null, 'Congressional Districts of the United States - 110th Congress', '2007-10-31', null, 'chpbound', null, true );
    addDataItem('cgd110p020', 'Shapefile', 'cgd110p020.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/cgd110p020.tar.gz', 19370272, 12355348, '2007-10-31', 'cgd110p020', true );
	
	addLayerDesc('cgd111p020', null, 'Congressional Districts of the United States - 111th Congress', '2010-06-01', null, 'chpbound', '/mapmaker?AppCmd=CUSTOM&LayerList=CDL&visCats=CAT-boundary,CAT-boundary', true );
    addDataItem('cgd111p020', 'Shapefile', 'cgd111p020.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/cgd111p020.tar.gz', 19398656, 12373196, '2010-06-01', 'cgd111p020', true );
	
	addLayerDesc('cgd112p020', null, 'Congressional Districts of the United States - 112th Congress', '2011-01-01', null, 'chpbound', '/mapmaker?AppCmd=CUSTOM&LayerList=CDL&visCats=CAT-boundary,CAT-boundary', true );
    addDataItem('cgd112p020', 'Shapefile', 'cgd112p020.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/cgd112p020.tar.gz', 19398656, 12373196, '2011-01-01', 'cgd112p020', true );
	
  addLayerDesc('co1980p020', 'countyp020', 'County Boundaries, 1980', '2005-06-02', null, 'chpbound', null, true );
    addDataItem('co1980p020', 'Shapefile', 'co1980p020.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/co1980p020.tar.gz', 13616640, 4725540, '2005-06-02', 'co1980p020', true );
  addLayerDesc('co1990p020', 'countyp020', 'County Boundaries, 1990', '2005-06-02', null, 'chpbound', null, true );
    addDataItem('co1990p020', 'Shapefile', 'co1990p020.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/co1990p020.tar.gz', 13640192, 4734292, '2005-06-02', 'co1990p020', true );
  addLayerDesc('co2000p020', 'countyp020', 'County Boundaries, 2000', '2005-06-02', null, 'chpbound', null, true );
    addDataItem('co2000p020', 'Shapefile', 'co2000p020.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/co2000p020.tar.gz', 13643776, 4734725, '2005-06-02', 'co2000p020', true );
  addLayerDesc('countyp020', null, 'County Boundaries, 2001', '2005-06-02', null, 'chpbound', '/mapmaker?AppCmd=CUSTOM&LayerList=Counties&visCats=CAT-boundary,CAT-boundary', true );
    addDataItem('countyp020', 'Shapefile', 'countyp020.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/countyp020.tar.gz', 13646848, 4735875, '2005-06-02', 'countyp020', true );
  addLayerDesc('fedlanp020', null, 'Federal Lands', '2005-12-14', null, 'chpbound', '/mapmaker?AppCmd=CUSTOM&LayerList=FederalLands&visCats=CAT-boundary,CAT-boundary', true );
    addDataItem('fedlanp020', 'Shapefile', 'fedlanp020.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/fedlanp020.tar.gz', 57825280, 8673230, '2005-12-14', 'fedlanp020', true );
  addLayerDesc('indlanp020', null, 'Indian Lands', '2005-12-14', null, 'chpbound','/mapmaker?AppCmd=CUSTOM&LayerList=indlan&visCats=CAT-boundary,CAT-boundary', true );
    addDataItem('indlanp020', 'Shapefile', 'indlanp020.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/indlanp020.tar.gz', 716800, 203259, '2005-12-14', 'indlanp020', true );
	addLayerDesc('bound0m', null, 'North American Atlas - Political Boundaries', '2004-07-09', null, 'chpbound', null, true );
    addDataItem('bound0m_e00', 'Export', 'bound0m_e00.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/bound0m_e00.tar.gz', 13803520, 3521926, '2004-07-09', 'bound0m', true );
    addDataItem('bound0m_shp', 'Shapefile', 'bound0m_shp.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/bound0m_shp.tar.gz', 12032000, 7541127, '2004-07-09', 'bound0m', true );
  addLayerDesc('opdlm0p020', null, 'Official Protraction Diagrams and Leasing Map Boundaries', '2003-03-28', null, 'chpbound', '/mapmaker?AppCmd=CUSTOM&LayerList=Pro&visCats=CAT-boundary,CAT-boundary', true );
    addDataItem('opdlm0p020', 'Shapefile', 'opdlm0p020.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/opdlm0p020.tar.gz', 1550336, 1047829, '2001-05-14', 'opdlm0p020', true );
  addLayerDesc('plss00p020', null, 'Public Land Survey System', '2010-11-12', null, 'chpbound', '/mapmaker?AppCmd=CUSTOM&LayerList=Plss&visCats=CAT-boundary,CAT-boundary', true );
    
    addDataItem('plss00p020', 'Shapefile', 'plss00p020.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/plss00p020.tar.gz', 76196352, 9060502, '2010-11-12', 'plss00p020', true );
  addLayerDesc('statesp020', null, 'State Boundaries', '2005-06-01', null, 'chpbound', '/mapmaker?AppCmd=CUSTOM&LayerList=States&visCats=CAT-boundary,CAT-boundary', true );
    addDataItem('statesp020', 'Shapefile', 'statesp020.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/statesp020.tar.gz', 7077888, 2432147, '2005-06-01', 'statesp020', true );
	
  addLayerDesc('timeznp020', null, 'Time Zones', '2010-06-04', null, 'chpbound', '/mapmaker?AppCmd=CUSTOM&LayerList=TimeZones&visCats=CAT-boundary,CAT-boundary', true );
    
    addDataItem('timeznp020', 'Shapefile', 'timeznp020.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/timeznp020.tar.gz', 6501171, 2097152, '2010-06-16', 'timeznp020', true );
		
  addLayerDesc('wildrnp020', null, 'Wilderness Preservation System Areas', '2005-12-14', null, 'chpbound', '/mapmaker?AppCmd=CUSTOM&LayerList=wa&visCats=CAT-boundary,CAT-boundary', true );
    addDataItem('wildrnp020', 'Shapefile', 'wildrnp020.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/wildrnp020.tar.gz', 3307520, 967898, '2005-12-14', 'wildrnp020', true );

addChapter('chpclim', 'Climate', 'Climate of the United States', 'Precipitation, Hazard Events, Hurricanes, Sea Temperature...', 8, true);
  addLayerDesc('prism0p020', null, 'Average Annual Precipitation, 1961-1990', '2004-10-19', null, 'chpclim', '/mapmaker?AppCmd=CUSTOM&LayerList=precip&visCats=CAT-climate,CAT-climate', true );
    addDataItem('prism0p020', 'Shapefile', 'prism0p020.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/prism0p020.tar.gz', 10177536, 7041312, '2000-04-28', 'prism0p020', true );
  addLayerDesc('sstalli4km', null, 'Seasonal Sea Surface Temperature Averages, 1985-2001', '2005-12-14', null, 'chpclim', '/mapmaker?AppCmd=CUSTOM&LayerList=sst003%3B3&visCats=CAT-climate,CAT-climate', true );
    addDataItem('sstalli4km', 'GeoTiff', 'sstalli4km.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/sstalli4km.tar.gz', 37826560, 20187517, '2004-12-17', 'sstalli4km', true );
  addLayerDesc('sheld0t', null, 'Spatial Hazard Events and Losses for the United States, 1995-2000', '2004-11-30', null, 'chpclim', '/mapmaker?AppCmd=CUSTOM&LayerList=shelsm%3B1&visCats=CAT-climate,CAT-climate', true );
    addDataItem('sheld0t', 'DBF', 'sheld0t.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/sheld0t.tar.gz', 3180032, 398495, '2004-11-30', 'sheld0t', true );
  addLayerDesc('tornadx020', null, 'Tornadoes 1950-2008', '2009-06-01', null, 'chpclim', '/mapmaker?AppCmd=CUSTOM&LayerList=to0004%3B11&visCats=CAT-climate,CAT-climate', true );
    addDataItem('tornadx020', 'Shapefile', 'tornadx020.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/tornadx020.tar.gz', 13316915, 2306867, '2009-06-27', 'tornadx020', true );
  addLayerDesc('huralll020', null, 'Tropical Cyclones - Atlantic Tropical Cyclones', '2005-09-27', null, 'chpclim', '/mapmaker?AppCmd=CUSTOM&LayerList=allstorm200%3B16&visCats=CAT-climate,CAT-tropicalcyclones', true );
    addDataItem(' huralll020', 'Shapefile', 'huralll020.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/huralll020.tar.gz', 9216000, 1292750, '2005-09-27', 'huralll020', true );
  addLayerDesc('hurmjrl020', 'huralll020', 'Tropical Cyclones - Major Landfalling Atlantic Hurricanes', '2005-09-27', null, 'chpclim', '/mapmaker?AppCmd=CUSTOM&LayerList=hur199%3B15&visCats=CAT-climate,CAT-tropicalcyclones', true );
    addDataItem(' hurmjrl020', 'Shapefile', 'hurmjrl020.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/hurmjrl020.tar.gz', 1064960, 136087, '2005-09-27', 'hurmjrl020', true );
  addLayerDesc('phralll020', 'huralll020', 'Tropical Cyclones - Pacific Tropical Cyclones', '2005-09-27', null, 'chpclim', '/mapmaker?AppCmd=CUSTOM&LayerList=phr_all_200%3B7&visCats=CAT-climate,CAT-tropicalcyclones', true );
    addDataItem('phralll020', 'Shapefile', 'phralll020.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/phralll020.tar.gz', 4751360, 669313, '2005-09-27', 'phralll020', true );

addChapter('chpenvi', 'Environment', 'Environment of the United States', 'Air Releases, Hazardous Waste, Toxics Release...', 10, true);
  addLayerDesc('efct03x', null, 'EPA Envirofacts Data - Air Releases', null, null, 'chpenvi', '/mapmaker?AppCmd=CUSTOM&LayerList=ef03&visCats=CAT-enviro,CAT-enviro', true );
    addDataItem('efct03x', 'unknown', null, 'DATA NOT AVAILABLE, SEE EPA WEB SITE', 'http://www.epa.gov/enviro/html/airs/', null, null, '2005-05-26', 'efct03x', true );
  addLayerDesc('efct01x', null, 'EPA Envirofacts Data - Hazardous Waste Handlers', null, null, 'chpenvi', '/mapmaker?AppCmd=CUSTOM&LayerList=Hazard&visCats=CAT-enviro,CAT-enviro', true );
    addDataItem('efct01x', 'unknown', null, 'DATA NOT AVAILABLE, SEE EPA WEB SITE', 'http://www.epa.gov/enviro/html/rcris/rcris_overview.html', null, null, '2005-05-26', 'efct01x', true );
  addLayerDesc('efct05x', null, 'EPA Envirofacts Data - Superfund National Priorities List Sites', null, null, 'chpenvi', '/mapmaker?AppCmd=CUSTOM&LayerList=Superfund&visCats=CAT-enviro,CAT-enviro', true );
    addDataItem('efct05x', 'unknown', null, 'DATA NOT AVAILABLE, SEE EPA WEB SITE', 'http://www.epa.gov/enviro/html/cerclis/index.html', null, null, '2005-05-26', 'efct05x', true );
  addLayerDesc('efct17x', null, 'EPA Envirofacts Data - Toxics Release Inventory', null, null, 'chpenvi', '/mapmaker?AppCmd=CUSTOM&LayerList=Toxic&visCats=CAT-enviro,CAT-enviro', true );
    addDataItem('efct17x', 'unknown', null, 'DATA NOT AVAILABLE, SEE EPA WEB SITE', 'http://www.epa.gov/enviro/html/tris/', null, null, '2005-05-26', 'efct17x', true );
  addLayerDesc('efct02x', null, 'EPA Envirofacts Data - Water Discharge Permits', null, null, 'chpenvi', '/mapmaker?AppCmd=CUSTOM&LayerList=Discharge&visCats=CAT-enviro,CAT-enviro', true );
    addDataItem('efct02x', 'unknown', null, 'DATA NOT AVAILABLE, SEE EPA WEB SITE', 'http://www.epa.gov/enviro/html/pcs/pcs_overview.html', null, null, '2005-05-26', 'efct02x', true );

addChapter('chpgeol', 'Geology', 'Geology of the United States', 'Earthquakes, Landslides, Shaded Relief, Volcanoes...', 12, true);
  addLayerDesc('coalfdp050', null, 'Coal Fields', '2001-08-01', null, 'chpgeol', '/mapmaker?AppCmd=CUSTOM&LayerList=coal&visCats=CAT-geo,CAT-geo', true );
    addDataItem('coalfdp050', 'Shapefile', 'coalfdp050.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/coalfdp050.tar.gz', 5910528, 2088131, '2001-08-01', 'coalfdp050', true );
  addLayerDesc('condivl020', null, 'Continental Divide', '2002-01-09', null, 'chpgeol', '/mapmaker?AppCmd=CUSTOM&LayerList=div&visCats=CAT-geo,CAT-geo', true );
    addDataItem('condivl020', 'Shapefile', 'condivl020.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/condivl020.tar.gz', 89088, 32023, '2002-01-09', 'condivl020', true );
  addLayerDesc('quksigx020', null, 'Earthquakes, 1568-2009', '2010-06-12', null, 'chpgeol', '/mapmaker?AppCmd=CUSTOM&LayerList=Earthquake&visCats=CAT-geo,CAT-geo', true );
    addDataItem('quksigx020', 'Shapefile', 'quksigx020.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/quksigx020.tar.gz', 619142, 3670016, '2010-06-12', 'quksigx020', true );
  addLayerDesc('geology48', null, 'Geologic Map - Conterminous United States', '2005-12-14', null, 'chpgeol', '/mapmaker?AppCmd=CUSTOM&LayerList=Geology&visCats=CAT-geo,CAT-geo', true );
    addDataItem('geology48', 'various', null, 'DATA AVAILABLE FROM USGS-GEOLOGY WEB SITE', 'http://pubs.usgs.gov/atlas/geologic/', null, null, '2005-12-14', 'geology48', true );
  addLayerDesc('geology01', 'geology', 'Geologic Map - Alaska, Hawaii, Puerto Rico, and the U.S. Virgin Islands', '2005-12-14', null, 'chpgeol', '/mapmaker?AppCmd=CUSTOM&LayerList=Geology&visCats=CAT-geo,CAT-geo', true );
    addDataItem('geology01', 'various', null, 'DATA AVAILABLE FROM USGS-GEOLOGY WEB SITE', 'http://pubs.usgs.gov/atlas/geologic/', null, null, '2005-12-14', 'geology01', true );
  addLayerDesc('karst0m075', null, 'Karst, Engineering Aspects', '2005-04-22', null, 'chpgeol', '/mapmaker?AppCmd=CUSTOM&LayerList=karst0&visCats=CAT-geo,CAT-geo', true );
    addDataItem('karst0m075', 'Shapefile', 'karst0m075.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/karst0m075.tar.gz', 1883136, 1123821, '2005-04-22', 'karst0m075', true );
  addLayerDesc('lsoverp020', null, 'Landslide Incidence and Susceptibility', '2002-09-04', null, 'chpgeol', '/mapmaker?AppCmd=CUSTOM&LayerList=lslide&visCats=CAT-geo,CAT-geo', true );
    addDataItem('lsoverp020', 'Shapefile', 'lsoverp020.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/lsoverp020.tar.gz', 4493824, 1720198, '2001-01-18', 'lsoverp020', true );
  addLayerDesc('landslx020', null, 'Landslides - Costly Events', '2001-12-17', null, 'chpgeol', '/mapmaker?AppCmd=CUSTOM&LayerList=landx&visCats=CAT-geo,CAT-geo', true );
    addDataItem('landslx020', 'Shapefile', 'landslx020.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/landslx020.tar.gz', 57856, 12496, '2001-03-28', 'landslx020', true );
  addLayerDesc('landslp020', 'landslx020', 'Landslides - Costly Regional Events', '2001-10-22', null, 'chpgeol', '/mapmaker?AppCmd=CUSTOM&LayerList=landl&visCats=CAT-geo,CAT-geo', true );
    addDataItem('landslp020', 'Shapefile', 'landslp020.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/landslp020.tar.gz', 824320, 278867, '2001-10-22', 'landslp020', true );
  
  
  addLayerDesc('dmfc10l020', 'dmfcntl020', 'Magnetic Field - Declination Component', '2011-04-01', null, 'chpgeol', '/mapmaker?AppCmd=CUSTOM&LayerList=dmf&visCats=CAT-geo,CAT-magnetic', true );
    addDataItem('dmfc10l020', 'Shapefile', 'dmfc10l020.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/dmfc10l020.tar.gz', 2621440, 1887436, '2011-01-01', 'dmfc10l020', true );
  
  addLayerDesc('dsvc10l020', 'dsvcntl020', 'Magnetic Field - Declination Secular Variation Component', '2011-04-01', null, 'chpgeol', '/mapmaker?AppCmd=CUSTOM&LayerList=dsv&visCats=CAT-geo,CAT-magnetic', true );
    addDataItem('dsvc10l020', 'Shapefile', 'dsvc10l020.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/dsvc10l020.tar.gz', 5242880, 2621440, '2011-01-01', 'dsvc10l020', true );
  
  addLayerDesc('hmfc10l020', 'hmfcntl020', 'Magnetic Field - Horizontal Intensity', '2011-04-01', null, 'chpgeol', '/mapmaker?AppCmd=CUSTOM&LayerList=hmf&visCats=CAT-geo,CAT-magnetic', true );
    addDataItem('hmfc10l020', 'Shapefile', 'hmfc10l020.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/hmfc10l020.tar.gz', 219136, 100192, '2011-01-01', 'hmfc10l020', true );
  
  addLayerDesc('hsvc10l020', 'hsvcntl020', 'Magnetic Field - Horizontal Intensity Secular Variation', '2011-04-01', null, 'chpgeol', '/mapmaker?AppCmd=CUSTOM&LayerList=hsv&visCats=CAT-geo,CAT-magnetic', true );
    addDataItem('hsvc10l020', 'Shapefile', 'hsvc10l020.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/hsvc10l020.tar.gz', 621568, 302683, '2011-01-01', 'hsvc10l020', true );
  
  addLayerDesc('imfc10l020', 'imfcntl020', 'Magnetic Field - Inclination Component', '2011-04-01', null, 'chpgeol', '/mapmaker?AppCmd=CUSTOM&LayerList=imf&visCats=CAT-geo,CAT-magnetic', true );
    addDataItem('imfc10l020', 'Shapefile', 'imfc10l020.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/imfc10l020.tar.gz', 181248, 79666, '2011-01-01', 'imfc10l020', true );
  
  addLayerDesc('isvc10l020', 'isvcntl020', 'Magnetic Field - Inclination Component Secular Variation', '2011-04-01', null, 'chpgeol', '/mapmaker?AppCmd=CUSTOM&LayerList=isv&visCats=CAT-geo,CAT-magnetic', true );
    addDataItem('isvcntl020', 'Shapefile', 'isvc10l020.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/isvc10l020.tar.gz', 109568, 45332, '2011-01-01', 'isvc10l020', true );
  
  addLayerDesc('fmfc10l020', 'fmfcntl020', 'Magnetic Field - Total Field Intensity', '2011-04-01', null, 'chpgeol', '/mapmaker?AppCmd=CUSTOM&LayerList=fmf&visCats=CAT-geo,CAT-magnetic', true );
    addDataItem('fmfc10l020', 'Shapefile', 'fmfc10l020.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/fmfc10l020.tar.gz', 210944, 95209, '2011-01-01', 'fmfc10l020', true );
  
  addLayerDesc('fsvc10l020', 'fsvcntl020', 'Magnetic Field - Total Field Intensity Secular Variation', '2011-04-01', null, 'chpgeol', '/mapmaker?AppCmd=CUSTOM&LayerList=fsv&visCats=CAT-geo,CAT-magnetic', true );
    addDataItem('fsvc10l020', 'Shapefile', 'fsvc10l020.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/fsvc10l020.tar.gz', 562176, 268691, '2011-01-01', 'fsvc10l020', true );
  
  addLayerDesc('zmfc10l020', 'zmfcntl020', 'Magnetic Field - Vertical Intensity', '2011-04-01', null, 'chpgeol', '/mapmaker?AppCmd=CUSTOM&LayerList=zmf&visCats=CAT-geo,CAT-magnetic', true );
    addDataItem('zmfc10l020', 'Shapefile', 'zmfc10l020.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/zmfc10l020.tar.gz', 283648, 125233, '2011-01-01', 'zmfc10l020', true );
  
  addLayerDesc('zsvc10l020', 'zsvcntl020', 'Magnetic Field - Vertical Intensity Secular Variation', '2011-04-01', null, 'chpgeol', '/mapmaker?AppCmd=CUSTOM&LayerList=zsv&visCats=CAT-geo,CAT-magnetic', true );
    addDataItem('zsvc10l020', 'Shapefile', 'zsvc10l020.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/zsvc10l020.tar.gz', 385536, 185579, '2011-01-01', 'zsvc10l020', true );
  
  
  
  
  addLayerDesc('minop1x020', null, 'Mineral Operations - Agricultural', '2005-12-14', null, 'chpgeol', '/mapmaker?AppCmd=CUSTOM&LayerList=agricultural&visCats=CAT-geo,CAT-min-op', true );
    addDataItem('minop1x020', 'Shapefile', 'minop1x020.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/minop1x020.tar.gz', 81920, 19008, '2005-12-14', 'minop1x020', true );
  addLayerDesc('minop2x020', null, 'Mineral Operations - Construction', '2005-12-14', null, 'chpgeol', '/mapmaker?AppCmd=CUSTOM&LayerList=Construction&visCats=CAT-geo,CAT-min-op', true );
    addDataItem('minop2x020', 'Shapefile', 'minop2x020.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/minop2x020.tar.gz', 194560, 47489, '2005-12-14', 'minop2x020', true );
  addLayerDesc('minop3x020', null, 'Mineral Operations - Ferrous Metal Mines', '2005-12-14', null, 'chpgeol', '/mapmaker?AppCmd=CUSTOM&LayerList=FerMines&visCats=CAT-geo,CAT-min-op', true );
    addDataItem('minop3x020', 'Shapefile', 'minop3x020.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/minop3x020.tar.gz', 30720, 6269, '2005-12-14', 'minop3x020', true );
  addLayerDesc('minop4x020', null, 'Mineral Operations - Ferrous Metal Processing Plants', '2005-12-14', null, 'chpgeol', '/mapmaker?AppCmd=CUSTOM&LayerList=FerPlants&visCats=CAT-geo,CAT-min-op', true );
    addDataItem('minop4x020', 'Shapefile', 'minop4x020.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/minop4x020.tar.gz', 30720, 7420, '2005-12-14', 'minop4x020', true );
  addLayerDesc('minop5x020', null, 'Mineral Operations - Miscellaneous Industrial', '2005-12-14', null, 'chpgeol', '/mapmaker?AppCmd=CUSTOM&LayerList=Miscellaneous&visCats=CAT-geo,CAT-min-op', true );
    addDataItem('minop5x020', 'Shapefile', 'minop5x020.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/minop5x020.tar.gz', 102400, 23380, '2005-12-14', 'minop5x020', true );
  addLayerDesc('minop6x020', null, 'Mineral Operations - Nonferrous Metal Mines', '2005-12-14', null, 'chpgeol', '/mapmaker?AppCmd=CUSTOM&LayerList=NnfM&visCats=CAT-geo,CAT-min-op', true );
    addDataItem('minop6x020', 'Shapefile', 'minop6x020.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/minop6x020.tar.gz', 51200, 9503, '2005-12-14', 'minop6x020', true );
  addLayerDesc('minop7x020', null, 'Mineral Operations - Nonferrous Metal Processing Plants', '2005-12-14', null, 'chpgeol', '/mapmaker?AppCmd=CUSTOM&LayerList=NonPl&visCats=CAT-geo,CAT-min-op', true );
    addDataItem('minop7x020', 'Shapefile', 'minop7x020.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/minop7x020.tar.gz', 40960, 8817, '2005-12-14', 'minop7x020', true );
  addLayerDesc('minop8x020', null, 'Mineral Operations - Refractory, Abrasive and Other Industrial Minerals', '2005-12-14', null, 'chpgeol', '/mapmaker?AppCmd=CUSTOM&LayerList=Refractory&visCats=CAT-geo,CAT-min-op', true );
    addDataItem('minop8x020', 'Shapefile', 'minop8x020.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/minop8x020.tar.gz', 81920, 19613, '2005-12-14', 'minop8x020', true );
  addLayerDesc('sndgrvx020', null, 'Mineral Operations - Sand and Gravel', '2005-06-07', null, 'chpgeol', '/mapmaker?AppCmd=CUSTOM&LayerList=sand&visCats=CAT-geo,CAT-min-op', true );
    addDataItem('sndgrvx020', 'Shapefile', 'sndgrvx020.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/sndgrvx020.tar.gz', 6266880, 192318, '2005-06-07', 'sndgrvx020', true );
  addLayerDesc('crstonx020', null, 'Mineral Operations - Stone, Crushed', '2005-06-07', null, 'chpgeol', '/mapmaker?AppCmd=CUSTOM&LayerList=crush&visCats=CAT-geo,CAT-min-op', true );
    addDataItem('crstonx020', 'Shapefile', 'crstonx020.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/crstonx020.tar.gz', 4956160, 152720, '2005-06-07', 'crstonx020', true );
	addLayerDesc('bathy0m', null, 'North American Atlas - Bathymetry', '2004-07-09', null, 'chpgeol', null, true );
    addDataItem('bathy0m_e00', 'Export', 'bathy0m_e00.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/bathy0m_e00.tar.gz', 21268480, 5258081, '2004-07-09', 'bathy0m', true );
    addDataItem('bathy0m_shp', 'Shapefile', 'bathy0m_shp.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/bathy0m_shp.tar.gz', 19783680, 12397646, '2004-07-09', 'bathy0m', true );
	addLayerDesc('bathymi3kml', null, 'Ocean Depth - Bathymetry', '2005-07-26', null, 'chpgeol', '/mapmaker?AppCmd=CUSTOM&LayerList=bathym&visCats=CAT-geo,CAT-geo', true );
    addDataItem('bathymi3kml', 'GeoTiff', 'bathymi3kml.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/bathymi3kml.tar.gz', 7833600, 290244, '2005-05-13', 'bathymi3kml', true );
  addLayerDesc('qfaultm_25', null, 'Quaternary Faults', '2006-08-08', null, 'chpgeol', '/mapmaker?AppCmd=CUSTOM&LayerList=qfaultp&visCats=CAT-geo,CAT-geo', true );
    addDataItem('qfaultm_25', 'Shapefile', 'qfaultm_25.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/qfaultm_25.tar.gz', 19894272, 3723911, '2005-01-11', 'qfaultm_25', true );	
  addLayerDesc('stvak2i200l', 'stv482i', 'Satellite View - Alaska', '2006-05-30', null, 'chpgeol', '/mapmaker?AppCmd=CUSTOM&LayerList=stv&visCats=CAT-geo,CAT-geo', true );
    addDataItem('stvak2i200l', 'GeoTiff', 'stvak2i200l.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/stvak2i200l.tar.gz', 684646432, 106188816, '2006-05-30', 'stvak2i200l', true );	
	
  addLayerDesc('stv482i200l', null, 'Satellite View - Conterminous United States', '2006-05-30', null, 'chpgeol', '/mapmaker?AppCmd=CUSTOM&LayerList=stv&visCats=CAT-geo,CAT-geo', true );
    addDataItem('stv482i200l', 'GeoTiff', 'stv482i200l.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/stv482i200l.tar.gz', 1334528000, 553362692, '2006-03-30', 'stv482i200l', true );
	
  addLayerDesc('stvhi2i200l', 'stv482i', 'Satellite View - Hawaii', '2006-05-30', null, 'chpgeol', '/mapmaker?AppCmd=CUSTOM&LayerList=stv&visCats=CAT-geo,CAT-geo', true );
    addDataItem('stvhi2i200l', 'GeoTiff', 'stvhi2i200l.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/stvhi2i200l.tar.gz', 48148480, 1241099, '2006-03-30', 'stvhi2i200l', true );
	
  addLayerDesc('stvak0i200l', 'satvw0i', 'Satellite View with Shaded Relief - Alaska', '2006-05-30', null, 'chpgeol', '/mapmaker?AppCmd=CUSTOM&LayerList=satvw0&visCats=CAT-geo,CAT-geo', true );
    addDataItem('stvak0i200l', 'GeoTiff', 'stvak0i200l.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/stvak0i200l.tar.gz', 684646487, 110489622, '2006-05-30', 'stvak0i200l', true );
	
  addLayerDesc('satvw0i200l', null, 'Satellite View with Shaded Relief - Conterminous United States', '2006-05-30', null, 'chpgeol', '/mapmaker?AppCmd=CUSTOM&LayerList=satvw0&visCats=CAT-geo,CAT-geo', true );
    addDataItem('satvw0i200l', 'GeoTiff', 'satvw0i200l.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/satvw0i200l.tar.gz', 1334528000, 555991956, '2005-12-30', 'satvw0i200l', true );
  addLayerDesc('stvhi0i200l', 'satvw0i', 'Satellite View with Shaded Relief - Hawaii', '2006-05-30', null, 'chpgeol', '/mapmaker?AppCmd=CUSTOM&LayerList=satvw0&visCats=CAT-geo,CAT-geo', true );
    addDataItem('stvhi0i200l', 'GeoTiff', 'stvhi0i200l.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/stvhi0i200l.tar.gz', 48148480, 1325696, '2006-03-30', 'stvhi0i200l', true );
  addLayerDesc('seihazp020', null, 'Seismic Hazard', '2012-01-23', null, 'chpgeol', '/mapmaker?AppCmd=CUSTOM&LayerList=seihaz&visCats=CAT-geo,CAT-geo', true );
    addDataItem('seihazp020', 'Shapefile', 'seihazp020.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/seihazp020.tar.gz', 11300864, 15994880, '2012-01-18', 'seihazp020', true );
  addLayerDesc('shdrlfi020l', null, 'Shaded Relief Land - Color - 1 Kilometer Resolution', '2006-08-29', null, 'chpgeol', '/mapmaker?AppCmd=CUSTOM&LayerList=ShadedRelief&visCats=CAT-geo,CAT-geo', true );
    addDataItem('shdrlfi0201', 'GeoTiff', 'shdrlfi0201.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/shdrlfi020l.tar.gz', 226273280, 41255381, '2003-04-15', 'shdrlfi020l', true );
  addLayerDesc('srld48i200l', null, 'Shaded Relief Land - Color - Conterminous United States 200 Meter Resolution', '2006-08-29', null, 'chpgeol', '/mapmaker?AppCmd=CUSTOM&LayerList=ShadedRelief&visCats=CAT-geo,CAT-geo', true );
    addDataItem('srld48i200l', 'GeoTiff', 'srld48i200l.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/srld48i200l.tar.gz', 1334528000, 395360783, '2005-12-14', 'srld48i200l', true );
  addLayerDesc('srld48i200a', 'srld48i200l', 'Shaded Relief Land - Color - Conterminous United States 200 Meter Resolution Albers Projection', '2006-08-29', null, 'chpgeol', null, true );
    addDataItem('srld48i200a', 'GeoTiff', 'srld48i200a.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/srld48i200a.tar.gz', 1212139520, 346282026, '2006-03-30', 'srld48i200a', true );
  addLayerDesc('srldaki200l', 'srld48i200l', 'Shaded Relief Land - Color - Alaska 200 Meter Resolution', '2006-08-29', null, 'chpgeol', '/mapmaker?AppCmd=CUSTOM&LayerList=ShadedRelief&visCats=CAT-geo,CAT-geo', true );
    addDataItem('srldaki200l', 'GeoTiff', 'srldaki200l.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/srldaki200l.tar.gz', 668631040, 53393529, '2005-12-14', 'srldaki200l', true );
  addLayerDesc('srldaki200a', 'srld48i200l', 'Shaded Relief Land - Color - Alaska 200 Meter Resolution Albers Projection', '2006-08-29', null, 'chpgeol', null, true );
    addDataItem('srldaki200a', 'GeoTiff', 'srldaki200a.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/srldaki200a.tar.gz', 810915840, 69608148, '2006-03-30', 'srldaki200a', true );
  addLayerDesc('srldhii200l', 'srld48i200l', 'Shaded Relief Land - Color - Hawaii 200 Meter Resolution', '2006-08-29', null, 'chpgeol', '/mapmaker?AppCmd=CUSTOM&LayerList=ShadedRelief&visCats=CAT-geo,CAT-geo', true );
    addDataItem('srldhii200l', 'GeoTiff', 'srldhii200l.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/srldhii200l.tar.gz', 48148480, 970198, '2005-12-14', 'srldhii200l', true );
  addLayerDesc('srldhii200a', 'srld48i200l', 'Shaded Relief Land - Color - Hawaii 200 Meter Resolution Albers Projection', '2006-08-29', null, 'chpgeol', null, true );
    addDataItem('srldhii200a', 'GeoTiff', 'srldhii200a.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/srldhii200a.tar.gz', 23449600, 1029717, '2006-03-30', 'srldhii200a', true );
  addLayerDesc('srldpri200l', 'srld48i200l', 'Shaded Relief Land - Color - Puerto Rico and the U.S. Virgin Islands 200 Meter Resolution', '2006-08-29', null, 'chpgeol', '/mapmaker?AppCmd=CUSTOM&LayerList=ShadedRelief&visCats=CAT-geo,CAT-geo', true );
    addDataItem('srldpri200l', 'GeoTiff', 'srldpri200l.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/srldpri200l.tar.gz', 11827200, 478654, '2005-12-14', 'srldpri200l', true );
  addLayerDesc('srldpri200a', 'srld48i200l', 'Shaded Relief Land - Color - Puerto Rico and the U.S. Virgin Islands 200 Meter Resolution Albers Projection', '2006-08-29', null, 'chpgeol', null, true );
    addDataItem('srldpri200a', 'GeoTiff', 'srldpri200a.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/srldpri200a.tar.gz', 7557120, 428197, '2006-03-30', 'srldpri200a', true );
  addLayerDesc('srgrayi1kml', null, 'Shaded Relief Land - Gray - North America 1 Kilometer Resolution', '2006-09-06', null, 'chpgeol', '/mapmaker?AppCmd=CUSTOM&LayerList=srgy&visCats=CAT-geo,CAT-geo', true );
    addDataItem('srgrayi1kml', 'GeoTiff', 'srgrayi1kml.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/srgrayi1kml.tar.gz', 75479040, 19835432, '2005-09-27', 'srgrayi1kml', true );
  addLayerDesc('srgy48i200l', null, 'Shaded Relief Land - Gray - Conterminous United States 200 Meter Resolution', '2006-08-29', null, 'chpgeol', '/mapmaker?AppCmd=CUSTOM&LayerList=srgy&visCats=CAT-geo,CAT-geo', true );
    addDataItem('srgy48i200l', 'GeoTiff', 'srgy48i200l.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/srgy48i200l.tar.gz', 444948480, 173811459, '2005-09-27', 'srgy48i200l', true );
  addLayerDesc('srgy48i200a', 'srgy48i200l', 'Shaded Relief Land - Gray - Conterminous United States 200 Meter Resolution Albers Projection', '2006-08-29', null, 'chpgeol', null, true );
    addDataItem('srgy48i200a', 'GeoTiff', 'srgy48i200a.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/srgy48i200a.tar.gz', 404152320, 174027132, '2006-03-30', 'srgy48i200a', true );
  addLayerDesc('srgyaki200l', 'srgy48i200l', 'Shaded Relief Land - Gray - Alaska 200 Meter Resolution', '2006-08-29', null, 'chpgeol', '/mapmaker?AppCmd=CUSTOM&LayerList=srgy&visCats=CAT-geo,CAT-geo', true );
    addDataItem('srgyaki200l', 'GeoTiff', 'srgyaki200l.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/srgyaki200l.tar.gz', 222976000, 32403224, '2005-09-27', 'srgyaki200l', true );
  addLayerDesc('srgyaki200a', 'srgy48i200l', 'Shaded Relief Land - Gray - Alaska 200 Meter Resolution Albers Projection', '2006-08-29', null, 'chpgeol', null, true );
    addDataItem('srgyaki200a', 'GeoTiff', 'srgyaki200a.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/srgyaki200a.tar.gz', 270376960, 33176517, '2006-03-30', 'srgyaki200a', true );
  addLayerDesc('srgyhii200l', 'srgy48i200l', 'Shaded Relief Land - Gray - Hawaii 200 Meter Resolution', '2006-08-29', null, 'chpgeol', '/mapmaker?AppCmd=CUSTOM&LayerList=srgy&visCats=CAT-geo,CAT-geo', true );
    addDataItem('srgyhii200l', 'GeoTiff', 'srgyhii200l.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/srgyhii200l.tar.gz', 16066560, 429769, '2005-09-27', 'srgyhii200l', true );
  addLayerDesc('srgyhii200a', 'srgy48i200l', 'Shaded Relief Land - Gray - Hawaii 200 Meter Resolution Albers Projection', '2006-08-29', null, 'chpgeol', null, true );
    addDataItem('srgyhii200a', 'GeoTiff', 'srgyhii200a.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/srgyhii200a.tar.gz', 7843840, 409775, '2006-03-30', 'srgyhii200a', true );
  addLayerDesc('srgypri200l', 'srgy48i200l', 'Shaded Relief Land - Gray - Puerto Rico and U.S. Virgin Islands 200 Meter Resolution', '2006-08-29', null, 'chpgeol', '/mapmaker?AppCmd=CUSTOM&LayerList=srgy&visCats=CAT-geo,CAT-geo', true );
    addDataItem('srgypri200l', 'GeoTiff', 'srgypri200l.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/srgypri200l.tar.gz', 3952640, 235030, '2005-09-27', 'srgypri200l', true );
  addLayerDesc('srgypri200a', 'srgy48i200l', 'Shaded Relief Land - Gray - Puerto Rico and U.S. Virgin Islands 200 Meter Resolution Albers Projection', '2006-08-29', null, 'chpgeol', null, true );
    addDataItem('srgypri200a', 'GeoTiff', 'srgypri200a.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/srgypri200a.tar.gz', 2539520, 230542, '2006-03-30', 'srgypri200a', true );
  addLayerDesc('shrfbti3kml', null, 'Shaded Relief Land and Ocean', '2005-09-27', null, 'chpgeol', '/mapmaker?AppCmd=CUSTOM&LayerList=shrfbl&visCats=CAT-geo,CAT-geo', true );
    addDataItem('shrfbti3kml', 'GeoTiff', 'shrfbti3kml.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/shrfbti3kml.tar.gz', 226263040, 111221619, '2005-09-27', 'shrfbti3kml', true );
  addLayerDesc('bathsri3kml', null, 'Shaded Relief Ocean', '2005-09-27', null, 'chpgeol', '/mapmaker?AppCmd=CUSTOM&LayerList=bathsr&visCats=CAT-geo,CAT-geo', true );
    addDataItem('bathsri3kml', 'GeoTiff', 'bathsri3kml.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/bathsri3kml.tar.gz', 23449600, 7771602, '2005-09-27', 'bathsri3kml', true );
  addLayerDesc('sfgeoep', null, 'Surficial Deposits and Materials', '2004-02-18', null, 'chpgeol', '/mapmaker?AppCmd=CUSTOM&LayerList=sfgeo&visCats=CAT-geo,CAT-geo', true );
    addDataItem('sfgeoem', 'various', null, 'DATA AVAILABLE FROM USGS-GEOLOGY WEB SITE', 'http://pubs.usgs.gov/imap/i-2789/', null, null, '2004-02-18', 'sfgeoep', true );
  addLayerDesc('volcanx020', null, 'Volcanoes', '2006-12-29', null, 'chpgeol', '/mapmaker?AppCmd=CUSTOM&LayerList=Volcanoes&visCats=CAT-geo,CAT-geo', true );
    addDataItem('volcanx020', 'Shapefile', 'volcanx020.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/volcanx020.tar.gz', 174080, 38014, '2005-09-27', 'volcanx020', true );

addChapter('chphist', 'History', 'History of the United States', 'Presidential Elections Results, Territorial Acquisitions...', 16, true);
  addLayerDesc('el2000t', null, 'Presidential General Election, State Results, 2000', '2006-09-11', null, 'chphist', '/mapmaker?AppCmd=CUSTOM&LayerList=elec&visCats=CAT-hist,CAT-hist', true );
    addDataItem('el2000t', 'DBF', 'el2000t.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/el2000t.tar.gz', 27648, 5895, '2002-02-11', 'el2000t', true );
  addLayerDesc('eldistp', null, 'Presidential General Election, County Results, 2000', null, null, 'chphist', '/mapmaker?AppCmd=CUSTOM&LayerList=elcty&visCats=CAT-hist,CAT-hist', true );
    addDataItem('eldistp', 'various', null, 'DATA AVAILABLE FROM ELECTION DATA SERVICES WEB SITE', 'http://www.electiondataservices.com/content/datafiles.htm', null, null, '2004-04-12', 'eldistp', true );
  addLayerDesc('elel04p', null, 'Presidential General Election, State Results, 2004', '2009-04-01', null, 'chphist', '/mapmaker?AppCmd=CUSTOM&LayerList=elec04&visCats=CAT-hist,CAT-hist', true );
    addDataItem('elel04p', 'DBF', 'elel04p020.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/elel04p020.tar.gz', 7549747, 2411724, '2009-04-01', 'elel04p', true );
  addLayerDesc('popul04', null, 'Presidential General Election, County Results, 2004', '2009-04-01', null, 'chphist', '/mapmaker?AppCmd=CUSTOM&LayerList=elcty04&visCats=CAT-hist,CAT-hist', true );
    addDataItem('popul04', 'DBF', 'elpo04p020.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/elpo04p020.tar.gz', 14889779, 7130316, '2009-04-01', 'popul04', true );
  addLayerDesc('elect08', null, 'Presidential General Election, State Results, 2008', '2009-09-01', null, 'chphist', '/mapmaker?AppCmd=CUSTOM&LayerList=elec08&visCats=CAT-hist,CAT-hist', true );
    addDataItem('elect08', 'DBF', 'elpo08p020.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/elpo08p020.tar.gz', 7549747, 2411724, '2009-09-01', 'elect08', true );
  addLayerDesc('popul08', null, 'Presidential General Election, County Results, 2008', '2009-09-01', null, 'chphist', '/mapmaker?AppCmd=CUSTOM&LayerList=elcty08&visCats=CAT-hist,CAT-hist', true );
    addDataItem('popul08', 'DBF', 'elpo08p020.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/elpo08p020.tar.gz', 14889779, 7130316, '2009-09-01', 'popul08', true );	
  addLayerDesc('usacqup020', null, 'Territorial Acquisitions', '2006-09-12', null, 'chphist', '/mapmaker?AppCmd=CUSTOM&LayerList=usacqu&visCats=CAT-hist,CAT-hist', true );
    addDataItem('usacqup020', 'Shapefile', 'usacqup020.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/usacqup020.tar.gz', 7045120, 4846911, '2005-04-12', 'usacqup020', true );

addChapter('chpref', 'Map Reference', 'Map Reference Data', ' Cities and Towns, Urban Areas, Topo Map Index...', 18, true);
  addLayerDesc('citiesx020', null, 'Cities and Towns', '2006-09-03', null, 'chpref', '/mapmaker?AppCmd=CUSTOM&LayerList=CitiesTowns&visCats=CAT-ref,CAT-ref', true );
    addDataItem('citiesx020', 'Shapefile', 'citiesx020.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/citiesx020.tar.gz', 7911424, 1186226, '2004-08-11', 'citiesx020', true );
  addLayerDesc('idx3x5p', null, 'Index to Digital Aerial Photographs', null, null, 'chpref', '/mapmaker?AppCmd=CUSTOM&LayerList=DOQgrid&visCats=CAT-ref,CAT-ref', true );
  addLayerDesc('idx24kp', null, 'Index to Topographic Maps - 1:24,000 and Other Large Scales', null, null, 'chpref', '/mapmaker?AppCmd=CUSTOM&LayerList=DRG&visCats=CAT-ref,CAT-ref', true );
  addLayerDesc('idx100p', null, 'Index to Topographic Maps - 1:100,000 Scale', null, null, 'chpref', '/mapmaker?AppCmd=CUSTOM&LayerList=D100&visCats=CAT-ref,CAT-ref', true );
  addLayerDesc('idx250p', null, 'Index to Topographic Maps - 1:250,000 Scale', null, null, 'chpref', '/mapmaker?AppCmd=CUSTOM&LayerList=D250&visCats=CAT-ref,CAT-ref', true );
  addLayerDesc('grid00l', null, 'Latitude/Longitude', null, null, 'chpref', '/mapmaker?AppCmd=CUSTOM&LayerList=Grid&visCats=CAT-ref,CAT-ref', true );
  addLayerDesc('pop000x', null, 'North American Atlas - Populated Places', '2004-07-09', null, 'chpref', null, true );
    addDataItem('pop000x_e00', 'Export', 'pop000x_e00.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/pop000x_e00.tar.gz', 655360, 95254, '2004-07-09', 'pop000x', true );
    addDataItem('pop000x_shp', 'Shapefile', 'pop000x_shp.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/pop000x_shp.tar.gz', 327680, 76367, '2004-07-09', 'pop000x', true );
  addLayerDesc('urbanap020', null, 'Urban Areas', '2006-09-29', null, 'chpref', '/mapmaker?AppCmd=CUSTOM&LayerList=USUrban&visCats=CAT-ref,CAT-ref', true );
    addDataItem('urbanap020', 'Shapefile', 'urbanap020.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/urbanap020.tar.gz', 2870784, 867430, '2001-01-04', 'urbanap020', true );

addChapter('chppeopl', 'People', 'People of the United States', 'Crime, Economy, Health, Energy Consumption...', 20, true);
  addLayerDesc('ce1980t', null, 'Census, 1980', '2006-09-16', null, 'chppeopl', '/mapmaker?AppCmd=CUSTOM&LayerList=MtoF80&visCats=CAT-people,CAT-population', true );
    addDataItem('ce1980t', 'DBF', 'ce1980t.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/ce1980t.tar.gz', 915968, 254432, '2000-04-07', 'ce1980t', true );
  addLayerDesc('ce1990t', null, 'Census, 1990', '2006-09-02', null, 'chppeopl', '/mapmaker?AppCmd=CUSTOM&LayerList=Ethnic90%3B1&visCats=CAT-people,CAT-population', true );
    addDataItem('ce1990t', 'DBF', 'ce1990t.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/ce1990t.tar.gz', 959488, 268551, '2004-07-02', 'ce1990t', true );
  addLayerDesc('ce2000t', null, 'Census, 2000', '2006-09-02', null, 'chppeopl', '/mapmaker?AppCmd=CUSTOM&LayerList=pop00sq&visCats=CAT-people,CAT-population', true );
    addDataItem('ce2000t', 'DBF', 'ce2000t.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/ce2000t.tar.gz', 986112, 205656, '2004-07-02', 'ce2000t', true );
  addLayerDesc('crimesp020', null, 'Crimes, 1994-2000', '2006-09-20', null, 'chppeopl', '/mapmaker?AppCmd=CUSTOM&LayerList=Cr95%3B7&visCats=CAT-people,CAT-crime', true );
    addDataItem('crimesp020', 'Shapefile', 'crimesp020.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/crimesp020.tar.gz', 24528896, 10649586, '2005-05-20', 'crimesp020', true );
  addLayerDesc('crime2p020', 'crimesp020', 'Crimes, 2001-2002', '2006-09-25', null, 'chppeopl', '/mapmaker?AppCmd=CUSTOM&LayerList=Cr02%3B7&visCats=CAT-people,CAT-crime', true );
    addDataItem('crime2p020', 'Shapefile', 'crime2p020.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/crime2p020.tar.gz', 17893888, 9945217, '2005-05-25', 'crime2p020', true );
  addLayerDesc('ete000t', null, 'Energy Consumption - Total Estimated Energy per Capita, 1960-2008', '2010-06-02', null, 'chppeopl', '/mapmaker?AppCmd=CUSTOM&LayerList=etetpb&visCats=CAT-people,CAT-energy', true );
    addDataItem('ete000t', 'DBF', 'ete000t.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/ete000t.tar.gz', 15833497, 338944, '2010-06-02', 'ete000t', true );
  addLayerDesc('fd8902t', null, 'Food Stamp Recipients', '2005-12-14', null, 'chppeopl', '/mapmaker?AppCmd=CUSTOM&LayerList=fd0002%3B9&visCats=CAT-people,CAT-economy', true );
    addDataItem('fd8902t', 'DBF', 'fd8902t.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/fd8902t.tar.gz', 778240, 256372, '2005-12-14', 'fd8902t', true );
  addLayerDesc('bea001p020', null, 'Income and Employment, 1979-1981', '2006-09-30', null, 'chppeopl', '/mapmaker?AppCmd=CUSTOM&LayerList=bea13b1%3B1&visCats=CAT-people,CAT-economy', true );
    addDataItem('bea001p020', 'Shapefile', 'bea001p020.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/bea001p020.tar.gz', 14141440, 4734765, '2006-03-30', 'bea001p020', true );
  addLayerDesc('bea002p020', 'bea001p020', 'Income and Employment, 1982', '2006-09-30', null, 'chppeopl', '/mapmaker?AppCmd=CUSTOM&LayerList=bea13b2%3B4&visCats=CAT-people,CAT-economy', true );
    addDataItem('bea002p020', 'Shapefile', 'bea002p020.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/bea002p020.tar.gz', 13445120, 4608303, '2006-03-30', 'bea002p020', true );
  addLayerDesc('bea003p020', 'bea001p020', 'Income and Employment, 1983-1987', '2006-09-30', null, 'chppeopl', '/mapmaker?AppCmd=CUSTOM&LayerList=bea13b3%3B5&visCats=CAT-people,CAT-economy', true );
    addDataItem('bea003p020', 'Shapefile', 'bea003p020.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/bea003p020.tar.gz', 14837760, 4870451, '2006-03-30', 'bea003p020', true );
  addLayerDesc('bea004p020', 'bea001p020', 'Income and Employment, 1988', '2006-09-30', null, 'chppeopl', '/mapmaker?AppCmd=CUSTOM&LayerList=bea13b4%3B10&visCats=CAT-people,CAT-economy', true );
    addDataItem('bea004p020', 'Shapefile', 'bea004p020.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/bea004p020.tar.gz', 13445120, 4609992, '2006-03-30', 'bea004p020', true );
  addLayerDesc('bea005p020', 'bea001p020', 'Income and Employment, 1989-1990', '2006-09-30', null, 'chppeopl', '/mapmaker?AppCmd=CUSTOM&LayerList=bea13b5%3B11&visCats=CAT-people,CAT-economy', true );
    addDataItem('bea005p020', 'Shapefile', 'bea005p020.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/bea005p020.tar.gz', 13793280, 4676226, '2006-03-30', 'bea005p020', true );
  addLayerDesc('bea006p020', 'bea001p020', 'Income and Employment, 1991-1992', '2006-09-30', null, 'chppeopl', '/mapmaker?AppCmd=CUSTOM&LayerList=bea13b6%3B13&visCats=CAT-people,CAT-economy', true );
    addDataItem('bea006p020', 'Shapefile', 'bea006p020.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/bea006p020.tar.gz', 13803520, 4680213, '2006-03-30', 'bea006p020', true );
  addLayerDesc('bea007p020', 'bea001p020', 'Income and Employment, 1993-2001', '2006-09-30', null, 'chppeopl', '/mapmaker?AppCmd=CUSTOM&LayerList=bea13b7%3B15&visCats=CAT-people,CAT-economy', true );
    addDataItem('bea007p020', 'Shapefile', 'bea007p020.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/bea007p020.tar.gz', 16230400, 5143932, '2006-03-30', 'bea007p020', true );
  addLayerDesc('bea008p020', 'bea001p020', 'Income and Employment, 2002-2003', '2006-09-30', null, 'chppeopl', '/mapmaker?AppCmd=CUSTOM&LayerList=bea13b8%3B24&visCats=CAT-people,CAT-economy', true );
    addDataItem('bea008p020', 'Shapefile', 'bea008p020.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/bea008p020.tar.gz', 13608960, 4653742, '2006-03-30', 'bea008p020', true );
  addLayerDesc('bea009p020', 'bea001p020', 'Income and Employment, 2004-2008', '2011-04-30', null, 'chppeopl', '/mapmaker?AppCmd=CUSTOM&LayerList=bea13b9%3B29&visCats=CAT-people,CAT-economy', true );
    addDataItem('bea009p020', 'Shapefile', 'bea009p020.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/bea009p020.tar.gz', 16252928, 5662310, '2011-04-30', 'bea009p020', true );
  addLayerDesc('labr01p020', null, 'Labor Statistics - Annual Averages for 2000 and 2001', '2006-09-27', null, 'chppeopl', '/mapmaker?AppCmd=CUSTOM&LayerList=labr01%3B1&visCats=CAT-people,CAT-economy', true );
    addDataItem('labr01p020', 'Shapefile', 'labr01p020.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/labr01p020.tar.gz', 13598720, 4646345, '2005-09-27', 'labr01p020', true );
  addLayerDesc('labr02p020', 'labr01p020', 'Labor Statistics - Annual Averages for 2002 to 2004', '2006-09-14', null, 'chppeopl', '/mapmaker?AppCmd=CUSTOM&LayerList=labr02%3B5&visCats=CAT-people,CAT-economy', true );
    addDataItem('labr02p020', 'Shapefile', 'labr02p020.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/labr02p020.tar.gz', 13824000, 4695120, '2005-12-14', 'labr02p020', true );
  addLayerDesc('labr09p020', 'labr01p020', 'Labor Statistics - Annual Averages for 2005 to 2009', '2010-06-27', null, 'chppeopl', '/mapmaker?AppCmd=CUSTOM&LayerList=labr03%3B10&visCats=CAT-people,CAT-economy', true );
    addDataItem('labr09p020', 'Shapefile', 'labr09p020.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/labr09p020.tar.gz', 18874368, 3145728, '2010-06-27', 'labr09p020', true );
  addLayerDesc('cancerp020', null, 'Mortality, Cancer, 1970-1994', '2006-09-19', null, 'chppeopl', '/mapmaker?AppCmd=CUSTOM&LayerList=Allcancer%3B7&visCats=CAT-people,CAT-health', true );
    addDataItem('cancerp020', 'Shapefile', 'cancerp020.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/cancerp020.tar.gz', 31592960, 6934668, '2000-08-16', 'cancerp020', true );
  addLayerDesc('mortalp020', null, 'Mortality, Various Causes, 1988-1992', '2006-09-18', null, 'chppeopl', '/mapmaker?AppCmd=CUSTOM&LayerList=Mortal%3B1&visCats=CAT-people,CAT-health', true );
    addDataItem('mortalp020', 'Shapefile', 'mortalp020.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/mortalp020.tar.gz', 19549696, 3711805, '1999-12-02', 'mortalp020', true );
  addLayerDesc('nitelti020l', null, 'Nighttime Lights', '2006-09-14', null, 'chppeopl', '/mapmaker?AppCmd=CUSTOM&LayerList=NightLights&visCats=CAT-people,CAT-population', true );
    addDataItem('nitelti020l', 'GeoTiff', 'nitelti020l.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/nitelti020l.tar.gz', 5263360, 2125400, '2003-01-08', 'nitelti020l', true );
  addLayerDesc('pv9800t', null, 'Poverty and Median Income 1998-2000', '2006-09-14', null, 'chppeopl', '/mapmaker?AppCmd=CUSTOM&LayerList=pv9818%3B3&visCats=CAT-people,CAT-economy', true );
    addDataItem('pv9800t', 'DBF', 'pv9800t.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/pv9800t.tar.gz', 942080, 113664, '2005-12-14', 'pv9800t', true );
  addLayerDesc('pv0102t', 'pv9800t', 'Poverty and Median Income 2001-2002', '2006-09-14', null, 'chppeopl', '/mapmaker?AppCmd=CUSTOM&LayerList=pv0102%3B5&visCats=CAT-people,CAT-economy', true );
    addDataItem('pv0102t', 'DBF', 'pv0102t.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/pv0102t.tar.gz', 1187840, 146105, '2005-12-14', 'pv0102t', true );
  addLayerDesc('rha01_t', null, 'Reproductive Health: Fetal and Infant Mortality, 1995-1999', '2006-11-16', null, 'chppeopl', '/mapmaker?AppCmd=CUSTOM&LayerList=rha01c%3B1&visCats=CAT-people,CAT-health', true );
    addDataItem('rha01_t', 'DBF', 'rha01_t.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/rha01_t.tar.gz', 672256, 137852, '2004-11-16', 'rha01_t', true );
  addLayerDesc('rha03_t', null, 'Reproductive Health: Infant Health - Preterm Delivery, 1995-1999', '2006-11-16', null, 'chppeopl', '/mapmaker?AppCmd=CUSTOM&LayerList=rha03c%3B1&visCats=CAT-people,CAT-health', true );
    addDataItem('rha03_t', 'DBF', 'rha03_t.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/rha03_t.tar.gz', 756736, 176996, '2004-11-16', 'rha03_t', true );
  addLayerDesc('rha02_t', null, 'Reproductive Health: Live Births (Fertility), 1995-1999', '2006-11-16', null, 'chppeopl', '/mapmaker?AppCmd=CUSTOM&LayerList=rha02c%3B1&visCats=CAT-people,CAT-health', true );
    addDataItem('rha02_t', 'DBF', 'rha02_t.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/rha02_t.tar.gz', 884224, 254822, '2004-11-16', 'rha02_t', true );
  addLayerDesc('rha05_t', null, 'Reproductive Health: Maternal Risks - Multiple Gestation, 1995-1999', '2006-11-16', null, 'chppeopl', '/mapmaker?AppCmd=CUSTOM&LayerList=rha05c%3B1&visCats=CAT-people,CAT-health', true );
    addDataItem('rha05_t', 'DBF', 'rha05_t.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/rha05_t.tar.gz', 577024, 98673, '2004-11-16', 'rha05_t', true );
  addLayerDesc('rha04_t', null, 'Reproductive Health: Maternal Risks - Smoking, 1995-1999', '2006-11-16', null, 'chppeopl', '/mapmaker?AppCmd=CUSTOM&LayerList=rha04c%3B1&visCats=CAT-people,CAT-health', true );
    addDataItem('rha04_t', 'DBF', 'rha04_t.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/rha04_t.tar.gz', 576512, 119775, '2004-11-16', 'rha04_t', true );
 
	
addChapter('chptrans', 'Transportation', 'Transportation of the United States', 'Airports, Parkways and Scenic Rivers, Railroads, Roads...', 22, true);
  addLayerDesc('airprtx020', null, 'Airports', '2006-11-18', null, 'chptrans', '/mapmaker?AppCmd=CUSTOM&LayerList=Airports&visCats=CAT-trans,CAT-trans', true );
    addDataItem('airprtx020', 'Shapefile', 'airprtx020.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/airprtx020.tar.gz', 306176, 44284, '2001-10-18', 'airprtx020', true );
  addLayerDesc('amtrakx020', null, 'Amtrak Stations', '2006-11-27', null, 'chptrans', '/mapmaker?AppCmd=CUSTOM&LayerList=amtrak&visCats=CAT-trans,CAT-trans', true );
    addDataItem('amtrakx020', 'Shapefile', 'amtrakx020.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/amtrakx020.tar.gz', 307200, 77948, '2005-09-27', 'amtrakx020', true );
  addLayerDesc('rail00l', null, 'North American Atlas - Railroads', '2004-07-09', null, 'chptrans', null, true );
    addDataItem('rail00l_e00', 'Export', 'rail00l_e00.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/rail00l_e00.tar.gz', 3184640, 1124780, '2004-07-09', 'rail00l', true );
    addDataItem('rail00l_shp', 'Shapefile', 'rail00l_shp.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/rail00l_shp.tar.gz', 1259520, 998942, '2004-07-09', 'rail00l', true );
  addLayerDesc('road00l', null, 'North American Atlas - Roads', '2004-07-09', null, 'chptrans', null, true );
    addDataItem('road00l_e00', 'Export', 'road00l_e00.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/road00l_e00.tar.gz', 7004160, 2408939, '2004-07-09', 'road00l', true );
    addDataItem('road00l_shp', 'Shapefile', 'road00l_shp.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/road00l_shp.tar.gz', 2652160, 1988153, '2004-07-09', 'road00l', true );
  addLayerDesc('fedlanl020', null, 'Parkways and Scenic Rivers', '2005-12-14', null, 'chptrans', '/mapmaker?AppCmd=CUSTOM&LayerList=FederalTr&visCats=CAT-trans,CAT-trans', true );
    addDataItem('fedlanl020', 'Shapefile', 'fedlanl020.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/fedlanl020.tar.gz', 665600, 218866, '2005-12-14', 'fedlanl020', true );
  addLayerDesc('railrdl020', null, 'Railroads', '2005-09-27', null, 'chptrans', '/mapmaker?AppCmd=CUSTOM&LayerList=Rail&visCats=CAT-trans,CAT-trans', true );
    addDataItem('railrdl020', 'Shapefile', 'railrdl020.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/railrdl020.tar.gz', 13312000, 3987066, '2005-09-27', 'railrdl020', true );
  addLayerDesc('roadtrl020', null, 'Roads', '2006-11-25', null, 'chptrans', '/mapmaker?AppCmd=CUSTOM&LayerList=Roads&visCats=CAT-trans,CAT-trans', true );
    addDataItem('roadtrl020', 'Shapefile', 'roadtrl020.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/roadtrl020.tar.gz', 23143424, 4597538, '1999-10-25', 'roadtrl020', true );

addChapter('chpwater', 'Water', 'Water of the United States', 'Aquifers, Dams, Watersheds, Streams and Waterbodies...', 24, true);
  addLayerDesc('aquifrp025', null, 'Aquifers', '2006-11-26', null, 'chpwater', '/mapmaker?AppCmd=CUSTOM&LayerList=Aquifers&visCats=CAT-hydro,CAT-aquifers', true );
    addDataItem('g_aquifr', 'Geodatabase', 'g_aquifr.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/g_aquifr.tar.gz', 12908544, 8384570, '2003-10-21', 'aquifrp025', true );
    addDataItem('aquifrm025', 'Shapefile', 'aquifrp025.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/aquifrp025.tar.gz', 11060224, 7787575, '2003-10-21', 'aquifrp025', true );
  addLayerDesc('alvaqfp025', null, 'Aquifers of Alluvial and Glacial Origin', '2006-11-26', null, 'chpwater', '/mapmaker?AppCmd=CUSTOM&LayerList=alv&visCats=CAT-hydro,CAT-aquifers', true );
    addDataItem('e_alvaqf', 'Export', 'e_alvaqf.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/e_alvaqf.tar.gz', 5181440, 1404834, '2002-11-26', 'alvaqfp025', true );
    addDataItem('alvaqfp025', 'Shapefile', 'alvaqfp025.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/alvaqfp025.tar.gz', 3216896, 1147009, '2002-11-26', 'alvaqfp025', true );
  addLayerDesc('arsenci020l', null, 'Arsenic in Ground Water', '2006-12-14', null, 'chpwater', '/mapmaker?AppCmd=CUSTOM&LayerList=ar&visCats=CAT-hydro,CAT-hydro', true );
    addDataItem('arsenci020l', 'GeoTiff', 'arsenci020l.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/arsenci020l.tar.gz', 3072000, 695677, '2002-12-20', 'arsenci020l', true );
  addLayerDesc('dams00x020', null, 'Dams', '2006-11-30', null, 'chpwater', '/mapmaker?AppCmd=CUSTOM&LayerList=dams&visCats=CAT-hydro,CAT-hydro', true );
    addDataItem('dams00x020', 'Shapefile', 'dams00x020.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/dams00x020.tar.gz', 7301120, 846450, '2006-03-30', 'dams00x020', true );
	addLayerDesc('gwwst0x020', null, 'Ground Water Climate Response Network', '2006-11-13', null, 'chpwater', '/mapmaker?AppCmd=CUSTOM&LayerList=gwwst0&visCats=CAT-hydro,CAT-hydro', true );
    addDataItem('gwwst0x020', 'Shapefile', 'gwwst0x020.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/gwwst0x020.tar.gz', 82944, 20296, '2005-04-13', 'gwwst0x020', true );
  addLayerDesc('hucs00m020', null, 'Hydrologic Units (Watersheds)', '2006-11-30', null, 'chpwater', '/mapmaker?AppCmd=CUSTOM&LayerList=Hucs&visCats=CAT-hydro,CAT-hydro', true );
    addDataItem('e_hucs00', 'Export', 'e_hucs00.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/e_hucs00.tar.gz', 41492480, 12830542, '2005-06-06', 'hucs00m020', true );
    addDataItem('hucs00m020', 'Shapefile', 'hucs00m020.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/hucs00m020.tar.gz', 33730560, 12197009, '2005-06-06', 'hucs00m020', true );
  addLayerDesc('sw9194x020', null, 'NAWQA Surface Water Sampling Sites', '2006-11-25', null, 'chpwater', '/mapmaker?AppCmd=CUSTOM&LayerList=surface&visCats=CAT-hydro,CAT-hydro', true );
    addDataItem('sw9194x020', 'Shapefile', 'sw9194x020.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/sw9194x020.tar.gz', 273408, 62204, '2000-12-12', 'sw9194x020', true );
  addLayerDesc('ice000p', null, 'North American Atlas - Glaciers', '2004-07-09', null, 'chpwater', null, true );
    addDataItem('ice000p_e00', 'Export', 'ice000p_e00.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/ice000p_e00.tar.gz', 9277440, 2786099, '2004-07-09', 'ice000p', true );
    addDataItem('ice000p_shp', 'Shapefile', 'ice000p_shp.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/ice000p_shp.tar.gz', 2959360, 1913077, '2004-07-09', 'ice000p', true );
  addLayerDesc('hydro0m', null, 'North American Atlas - Hydrography', '2004-07-09', null, 'chpwater', null, true );
    addDataItem('hydro0m_e00', 'Export', 'hydro0m_e00.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/hydro0m_e00.tar.gz', 26368000, 7277497, '2004-07-09', 'hydro0m', true );
    addDataItem('hydro0m_shp', 'Shapefile', 'hydro0m_shp.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/hydro0m_shp.tar.gz', 20684800, 11411729, '2004-07-09', 'hydro0m', true );
  addLayerDesc('seaicep', null, 'North American Atlas - Sea Ice', '2004-07-09', null, 'chpwater', null, true );
    addDataItem('seaicep_e00', 'Export', 'seaicep_e00.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/seaicep_e00.tar.gz', 430080, 143047, '2004-07-09', 'seaicep', true );
    addDataItem('seaicep_shp', 'Shapefile', 'seaicep_shp.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/seaicep_shp.tar.gz', 204800, 131830, '2004-07-09', 'seaicep', true );
  addLayerDesc('realstx020', null, 'Realtime Streamflow Stations', '2004-11-08', 'http://water.usgs.gov/GIS/metadata/usgswrd/XML/realstx.xml', 'chpwater', '/mapmaker?AppCmd=CUSTOM&LayerList=wrdgage&visCats=CAT-hydro,CAT-hydro', true );
    addDataItem('osrealstexport', 'Export', 'realstx.e00.gz', null, 'http://water.usgs.gov/waterwatch/realstx/realstx.e00.gz', 3551528, 565477, 'REAL_TIME', 'realstx020', true );
    addDataItem('osrealstshp', 'Shapefile', 'realstx_shp.tar.gz', null, 'http://water.usgs.gov/waterwatch/realstx/realstx_shp.tar.gz', 3727360, 565477, '2004-08-04', 'realstx020', true );
  addLayerDesc('hydrogm020', null, 'Streams and Waterbodies', '2006-10-14', null, 'chpwater', '/mapmaker?AppCmd=CUSTOM&LayerList=LakesRivers&visCats=CAT-hydro,CAT-hydro', true );
    addDataItem('hydrogm020', 'Shapefile', 'hydrogm020.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/hydrogm020.tar.gz', 122920960, 35555527, '2005-12-14', 'hydrogm020', true );
  addLayerDesc('wu1985t', 'wu2000t', 'Water Use 1985', '2006-03-14', null, 'chpwater', '/mapmaker?AppCmd=CUSTOM&LayerList=wu1985%3B20&visCats=CAT-hydro,CAT-hydro', true );
    addDataItem('wu1985t', 'DBF', 'wu1985t.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/wu1985t.tar.gz', 1024000, 174306, '2005-12-14', 'wu1985t', true );
  addLayerDesc('wu1990t', 'wu2000t', 'Water Use 1990', '2006-03-14', null, 'chpwater', '/mapmaker?AppCmd=CUSTOM&LayerList=wu1990%3B20&visCats=CAT-hydro,CAT-hydro', true );
    addDataItem('wu1990t', 'DBF', 'wu1990t.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/wu1990t.tar.gz', 1024000, 174306, '2005-12-14', 'wu1990t', true );
  addLayerDesc('wu1995t', 'wu2000t', 'Water Use 1995', '2006-03-14', null, 'chpwater', '/mapmaker?AppCmd=CUSTOM&LayerList=wu1995%3B20&visCats=CAT-hydro,CAT-hydro', true );
    addDataItem('wu1995t', 'DBF', 'wu1995t.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/wu1995t.tar.gz', 1024000, 174306, '2005-12-14', 'wu1995t', true );
  addLayerDesc('wu2000t', null, 'Water Use 2000', '2006-03-27', null, 'chpwater', '/mapmaker?AppCmd=CUSTOM&LayerList=wu2000%3B5&visCats=CAT-hydro,CAT-hydro', true );
    addDataItem('wu2000t', 'DBF', 'wu2000t.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/wu2000t.tar.gz', 1126400, 170073, '2005-09-27', 'wu2000t', true );
  addLayerDesc('wu2005t', null, 'Water Use 2005', '2010-06-27', null, 'chpwater', '/mapmaker?AppCmd=CUSTOM&LayerList=wu2005%3B5&visCats=CAT-hydro,CAT-hydro', true );
    addDataItem('wu2005t', 'DBF', 'wu2005t.tar.gz', null, 'http://dds.cr.usgs.gov/pub/data/nationalatlas/wu2005t.tar.gz', 2936012, 200704, '2010-06-27', 'wu2005t', true );

