var url_root_gistc 	= "https://services.wvgis.wvu.edu/arcgis/rest/services";
var url_root_apps 	= "https://appservices.wvgis.wvu.edu/arcgis/rest/services";
var url_root_esri 	= "https://services.arcgisonline.com/ArcGIS/rest/services";

var services_application = {
	"Footprints"	: url_root_apps + "/DOTScanning/wv_DOT_PlanFinder/MapServer",
	"Images"		: url_root_apps + "/DOTScanning/wv_DOT_Planfinder/ImageServer",
	"Counties"		: url_root_gistc + "/Applications/trails_trailService/MapServer",
	"geometry"		: url_root_gistc + "/Utilities/Geometry/GeometryServer/",
	"gnistask"		: url_root_gistc + "/Location/wv_locations_QuickZoom/MapServer/",
	"wvLocator"		: url_root_gistc + "/Geocode/WV_Composite/GeocodeServer/",
	//"printTask"		: url_root_gistc + "/Applications/Printing/GPServer/Export%20Web%20Map",
	"printTask"		: url_root_apps + "/Utilities/PrintingTools/GPServer/Export%20Web%20Map%20Task",
	"Task_zoom"		: url_root_gistc + "/Location/wv_locations_QuickZoom/MapServer/"
};

var services_reference = {
	"Quad"				: url_root_gistc + "/Boundaries/wv_quad_index/MapServer",
	"GeneralRef"		: url_root_gistc + "/Applications/wv_reference_streams_placeNames/MapServer",
	"Highway"			: "https://gis.transportation.wv.gov/arcgis/rest/services/Routes/MapServer",
};

var services_basemap = {
	"gistc_basemap": 	url_root_gistc + "/Imagery_BaseMaps_EarthCover/wv_basemap_WVGISTC_3D_elevation_contours/MapServer",
	"gistc_leafoff": 	url_root_gistc + "/Imagery_BaseMaps_EarthCover/wv_imagery_WVGISTC_leaf_off_mosaic/MapServer",
	"esri_imagery":		url_root_esri + "/World_Imagery/MapServer",
	"esri_street":		url_root_esri + "/World_Street_Map/MapServer",
	"esri_topo":		url_root_esri + "/World_Topo_Map/MapServer",
	"esri_NatGeo":		url_root_esri + "/NatGeo_World_Map/MapServer",
	"esri_usa_topo": 	url_root_esri + "/USA_Topo_Maps/MapServer",
	"esri_dark_gray": 	url_root_esri + "/Canvas/World_Dark_Gray_Base/MapServer",
    "esri_light_gray": 	url_root_esri + "/Canvas/World_Light_Gray_Base/MapServer",
	"wvdep_topo":		"https://tagis.dep.wv.gov/arcgis/rest/services/webMercator/WVtopo_wm/MapServer",
	"wvdep_hill":		"https://tagis.dep.wv.gov/arcgis/rest/services/webMercator/WVhillshade_wm/MapServer",
	"esri_locator": 	"https://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer"
};

var basemapEsriImage,
	basemapEsriRoad,
	basemapEsriTopo,
	basemapUsaTopo,
	basemapEsriNationalGeographiy,
	basemapGISTC_Basemap,
	basemapSheriff,
	basemapBestLeavesOff,
	basemapNAIP2014,
	basemapNAIP2016;

var map, mapextent, mappoint, screenpoint;
var gp;
var tb;

var snappingManager;

var criteriaArea, criteriaSpec, criteriaAmen;

var searchType_current = "";				// record the current search type
var searchType_new = "";					// record the new search type

var LIST_MSAG = [], LIST_POSTAL = []; 

var addressInfo = {};								// populated in wvgistcLocator.js, used in search.js
var ADDRESS_DISCLAIMER = "<b>LOCATOR SERVICES</b>: Addresses are checked using three cascading locator services in the following order:<br>" 
						+ "(1) SAMS Site<br>(2) SAMS Street<br>(3) a nationwide service. <br><br>" 
						+ "If an address match is not made with a SITE or STREET range from the statewide addressing and mapping system (SAMS), then a Nationwide Locator Service is utilized. "
						+ "The SAMS SITE LOCATOR matches an address to the structure centroid and is the most spatially accurate locator service. " 
						+ "The SITE LOCATOR requires street and 5-digit zip code information to attain a 100% match. Rural addresses and post office boxes can only be address-matched to a zip code centroid. "
						+ "<br><br>If you have questions about your street address, please contact the Statewide Addressing and Mapping Coordinator, Jennings Starcher, via email <a href='mailto:Jennings.N.Starcher@wv.gov'>Jennings.N.Starcher@wv.gov</a>, phone (304) 558-5380, or website <a href='http://www.dhsem.wv.gov/gis' target='_blank'>http://www.dhsem.wv.gov/gis</a>.";

var gnisname = new Array();							// This variable used in two files: main.js for populating the variable for GNIS Search
													//									search.js for autocomplete in the secction of GNIS search 


var cityList = new Array();							// This variable used in two files: util_flood.js for populating the variable for GNIS Search
//var cityOptions = "<option value='citynull'>---Select a city---</option>";
var cntyList = new Array();
//var cntyOptions = "<option value='cntynull'>---Select a county---</option>";
var quadList = new Array();
//var quadOptions = "<option value='quadnull'>---Select a quad---</option>"; 	
var handleStandardAddress = new Object();		// 

// for ShareLink variables
var mapExtent, mapCenter, mapScale, mapLevel;

var basemapChanged = 0;
var basemapSelected = "galleryNode_ESRI_STREET";
//var streetSelected = "galleryNode_ESRI_STREET";
//var imagerySelected = "galleryNode_IMAGE_BESTLEAVESOFF";
//var topoSelected = "galleryNode_ESRI_TOPO";

var planSelected;

//var txtBold = "normal", txtItaclic = "normal", txtUnderline = "none", txtAlign = "start";

var storageName = 'DOT_bookmarks';
//var useLocalStorage = supports_local_storage();

// end of ShareLink variables

var zipcode=[{zip:'24701', city:'Bluefield', cnty:'Mercer'},{zip:'24712', city:'Athens', cnty:'Mercer'},{zip:'24714', city:'Beeson', cnty:'Mercer'},{zip:'24715', city:'Bramwell', cnty:'Mercer'},{zip:'24716', city:'Bud', cnty:'Wyoming'},{zip:'24719', city:'Covel', cnty:'Wyoming'},{zip:'24724', city:'Freeman', cnty:'Mercer'},{zip:'24726', city:'Herndon', cnty:'Wyoming'},{zip:'24729', city:'Hiawatha', cnty:'Mercer'},{zip:'24731', city:'Kegley', cnty:'Mercer'},{zip:'24732', city:'Kellysville', cnty:'Mercer'},{zip:'24733', city:'Lashmeet', cnty:'Mercer'},{zip:'24736', city:'Matoaka', cnty:'Mercer'},{zip:'24737', city:'Montcalm', cnty:'Mercer'},{zip:'24738', city:'Nemours', cnty:'Mercer'},{zip:'24739', city:'Oakvale', cnty:'Mercer'},{zip:'24740', city:'Princeton', cnty:'Mercer'},{zip:'24747', city:'Rock', cnty:'Mercer'},{zip:'24751', city:'Wolfe', cnty:'Mercer'},{zip:'24801', city:'Welch', cnty:'Mcdowell'},{zip:'24808', city:'Anawalt', cnty:'Mcdowell'},{zip:'24811', city:'Avondale', cnty:'Mcdowell'},{zip:'24813', city:'Bartley', cnty:'Mcdowell'},{zip:'24815', city:'Berwind', cnty:'Mcdowell'},{zip:'24816', city:'Big Sandy', cnty:'Mcdowell'},{zip:'24817', city:'Bradshaw', cnty:'Mcdowell'},{zip:'24818', city:'Brenton', cnty:'Wyoming'},{zip:'24822', city:'Clear Fork', cnty:'Wyoming'},{zip:'24823', city:'Coal Mountain', cnty:'Wyoming'},{zip:'24824', city:'Coalwood', cnty:'Mcdowell'},{zip:'24826', city:'Cucumber', cnty:'Mcdowell'},{zip:'24827', city:'Cyclone', cnty:'Wyoming'},{zip:'24828', city:'Davy', cnty:'Mcdowell'},{zip:'24829', city:'Eckman', cnty:'Mcdowell'},{zip:'24830', city:'Elbert', cnty:'Mcdowell'},{zip:'24831', city:'Elkhorn', cnty:'Mcdowell'},{zip:'24834', city:'Fanrock', cnty:'Wyoming'},{zip:'24836', city:'Gary', cnty:'Mcdowell'},{zip:'24839', city:'Hanover', cnty:'Wyoming'},{zip:'24842', city:'Hemphill', cnty:'Mcdowell'},{zip:'24843', city:'Hensley', cnty:'Mcdowell'},{zip:'24844', city:'Iaeger', cnty:'Mcdowell'},{zip:'24845', city:'Ikes Fork', cnty:'Wyoming'},{zip:'24846', city:'Isaban', cnty:'Mcdowell'},{zip:'24847', city:'Itmann', cnty:'Wyoming'},{zip:'24848', city:'Jenkinjones', cnty:'Mcdowell'},{zip:'24849', city:'Jesse', cnty:'Wyoming'},{zip:'24850', city:'Jolo', cnty:'Mcdowell'},{zip:'24851', city:'Justice', cnty:'Mingo'},{zip:'24853', city:'Kimball', cnty:'Mcdowell'},{zip:'24854', city:'Kopperston', cnty:'Wyoming'},{zip:'24855', city:'Kyle', cnty:'Mcdowell'},{zip:'24857', city:'Lynco', cnty:'Wyoming'},{zip:'24859', city:'Marianna', cnty:'Wyoming'},{zip:'24860', city:'Matheny', cnty:'Wyoming'},{zip:'24861', city:'Maybeury', cnty:'Mcdowell'},{zip:'24862', city:'Mohawk', cnty:'Mcdowell'},{zip:'24866', city:'Newhall', cnty:'Mcdowell'},{zip:'24867', city:'New Richmond', cnty:'Wyoming'},{zip:'24868', city:'Northfork', cnty:'Mcdowell'},{zip:'24869', city:'North Spring', cnty:'Wyoming'},{zip:'24870', city:'Oceana', cnty:'Wyoming'},{zip:'24871', city:'Pageton', cnty:'Mcdowell'},{zip:'24872', city:'Panther', cnty:'Mcdowell'},{zip:'24873', city:'Paynesville', cnty:'Mcdowell'},{zip:'24874', city:'Pineville', cnty:'Wyoming'},{zip:'24878', city:'Premier', cnty:'Mcdowell'},{zip:'24879', city:'Raysal', cnty:'Mcdowell'},{zip:'24880', city:'Rock View', cnty:'Wyoming'},{zip:'24881', city:'Roderfield', cnty:'Mcdowell'},{zip:'24882', city:'Simon', cnty:'Wyoming'},{zip:'24884', city:'Squire', cnty:'Mcdowell'},{zip:'24887', city:'Switchback', cnty:'Mcdowell'},{zip:'24888', city:'Thorpe', cnty:'Mcdowell'},{zip:'24892', city:'War', cnty:'Mcdowell'},{zip:'24894', city:'Warriormine', cnty:'Mcdowell'},{zip:'24895', city:'Wilcoe', cnty:'Mcdowell'},{zip:'24898', city:'Wyoming', cnty:'Wyoming'},{zip:'24901', city:'Lewisburg', cnty:'Greenbrier'},{zip:'24902', city:'Fairlea', cnty:'Greenbrier'},{zip:'24910', city:'Alderson', cnty:'Greenbrier'},{zip:'24915', city:'Arbovale', cnty:'Pocahontas'},{zip:'24916', city:'Asbury', cnty:'Greenbrier'},{zip:'24918', city:'Ballard', cnty:'Monroe'},{zip:'24920', city:'Bartow', cnty:'Pocahontas'},{zip:'24924', city:'Buckeye', cnty:'Pocahontas'},{zip:'24925', city:'Caldwell', cnty:'Greenbrier'},{zip:'24927', city:'Cass', cnty:'Pocahontas'},{zip:'24931', city:'Crawley', cnty:'Greenbrier'},{zip:'24934', city:'Dunmore', cnty:'Pocahontas'},{zip:'24935', city:'Forest Hill', cnty:'Summers'},{zip:'24938', city:'Frankford', cnty:'Greenbrier'},{zip:'24941', city:'Gap Mills', cnty:'Monroe'},{zip:'24943', city:'Grassy Meadows', cnty:'Greenbrier'},{zip:'24944', city:'Green Bank', cnty:'Pocahontas'},{zip:'24945', city:'Greenville', cnty:'Monroe'},{zip:'24946', city:'Hillsboro', cnty:'Pocahontas'},{zip:'24951', city:'Lindside', cnty:'Monroe'},{zip:'24954', city:'Marlinton', cnty:'Pocahontas'},{zip:'24957', city:'Maxwelton', cnty:'Greenbrier'},{zip:'24961', city:'Neola', cnty:'Greenbrier'},{zip:'24962', city:'Pence Springs', cnty:'Summers'},{zip:'24963', city:'Peterstown', cnty:'Monroe'},{zip:'24966', city:'Renick', cnty:'Greenbrier'},{zip:'24970', city:'Ronceverte', cnty:'Greenbrier'},{zip:'24974', city:'Secondcreek', cnty:'Monroe'},{zip:'24976', city:'Sinks Grove', cnty:'Monroe'},{zip:'24977', city:'Smoot', cnty:'Greenbrier'},{zip:'24981', city:'Talcott', cnty:'Summers'},{zip:'24983', city:'Union', cnty:'Monroe'},{zip:'24984', city:'Waiteville', cnty:'Monroe'},{zip:'24985', city:'Wayside', cnty:'Monroe'},{zip:'24986', city:'White Sulphur Springs', cnty:'Greenbrier'},{zip:'24991', city:'Williamsburg', cnty:'Greenbrier'},{zip:'24993', city:'Wolfcreek', cnty:'Monroe'},{zip:'25002', city:'Alloy', cnty:'Fayette'},{zip:'25003', city:'Alum Creek', cnty:'Kanawha'},{zip:'25005', city:'Amma', cnty:'Roane'},{zip:'25007', city:'Arnett', cnty:'Raleigh'},{zip:'25008', city:'Artie', cnty:'Raleigh'},{zip:'25009', city:'Ashford', cnty:'Boone'},{zip:'25011', city:'Bancroft', cnty:'Putnam'},{zip:'25015', city:'Belle', cnty:'Kanawha'},{zip:'25019', city:'Bickmore', cnty:'Clay'},{zip:'25021', city:'Bim', cnty:'Boone'},{zip:'25022', city:'Blair', cnty:'Logan'},{zip:'25024', city:'Bloomingrose', cnty:'Boone'},{zip:'25025', city:'Blount', cnty:'Kanawha'},{zip:'25026', city:'Blue Creek', cnty:'Kanawha'},{zip:'25028', city:'Bob White', cnty:'Boone'},{zip:'25030', city:'Bomont', cnty:'Clay'},{zip:'25031', city:'Boomer', cnty:'Fayette'},{zip:'25033', city:'Buffalo', cnty:'Putnam'},{zip:'25035', city:'Cabin Creek', cnty:'Kanawha'},{zip:'25036', city:'Cannelton', cnty:'Fayette'},{zip:'25039', city:'Cedar Grove', cnty:'Kanawha'},{zip:'25040', city:'Charlton Heights', cnty:'Fayette'},{zip:'25043', city:'Clay', cnty:'Clay'},{zip:'25044', city:'Clear Creek', cnty:'Raleigh'},{zip:'25045', city:'Clendenin', cnty:'Kanawha'},{zip:'25047', city:'Clothier', cnty:'Logan'},{zip:'25048', city:'Colcord', cnty:'Raleigh'},{zip:'25049', city:'Comfort', cnty:'Boone'},{zip:'25051', city:'Costa', cnty:'Boone'},{zip:'25053', city:'Danville', cnty:'Boone'},{zip:'25054', city:'Dawes', cnty:'Kanawha'},{zip:'25057', city:'Deep Water', cnty:'Fayette'},{zip:'25059', city:'Dixie', cnty:'Nicholas'},{zip:'25060', city:'Dorothy', cnty:'Raleigh'},{zip:'25061', city:'Drybranch', cnty:'Kanawha'},{zip:'25062', city:'Dry Creek', cnty:'Raleigh'},{zip:'25063', city:'Duck', cnty:'Clay'},{zip:'25064', city:'Dunbar', cnty:'Kanawha'},{zip:'25067', city:'East Bank', cnty:'Kanawha'},{zip:'25070', city:'Eleanor', cnty:'Putnam'},{zip:'25071', city:'Elkview', cnty:'Kanawha'},{zip:'25075', city:'Eskdale', cnty:'Kanawha'},{zip:'25076', city:'Ethel', cnty:'Logan'},{zip:'25079', city:'Falling Rock', cnty:'Kanawha'},{zip:'25081', city:'Foster', cnty:'Boone'},{zip:'25082', city:'Fraziers Bottom', cnty:'Putnam'},{zip:'25083', city:'Gallagher', cnty:'Kanawha'},{zip:'25085', city:'Gauley Bridge', cnty:'Fayette'},{zip:'25086', city:'Glasgow', cnty:'Kanawha'},{zip:'25088', city:'Glen', cnty:'Clay'},{zip:'25090', city:'Glen Ferris', cnty:'Fayette'},{zip:'25093', city:'Gordon', cnty:'Boone'},{zip:'25102', city:'Handley', cnty:'Kanawha'},{zip:'25103', city:'Hansford', cnty:'Kanawha'},{zip:'25106', city:'Henderson', cnty:'Mason'},{zip:'25107', city:'Hernshaw', cnty:'Kanawha'},{zip:'25108', city:'Hewett', cnty:'Boone'},{zip:'25109', city:'Hometown', cnty:'Putnam'},{zip:'25110', city:'Hugheston', cnty:'Kanawha'},{zip:'25111', city:'Indore', cnty:'Clay'},{zip:'25112', city:'Institute', cnty:'Kanawha'},{zip:'25113', city:'Ivydale', cnty:'Clay'},{zip:'25114', city:'Jeffrey', cnty:'Boone'},{zip:'25115', city:'Kanawha Falls', cnty:'Fayette'},{zip:'25118', city:'Kimberly', cnty:'Fayette'},{zip:'25119', city:'Kincaid', cnty:'Fayette'},{zip:'25121', city:'Lake', cnty:'Logan'},{zip:'25123', city:'Leon', cnty:'Mason'},{zip:'25124', city:'Liberty', cnty:'Putnam'},{zip:'25125', city:'Lizemores', cnty:'Clay'},{zip:'25126', city:'London', cnty:'Kanawha'},{zip:'25130', city:'Madison', cnty:'Boone'},{zip:'25132', city:'Mammoth', cnty:'Kanawha'},{zip:'25133', city:'Maysel', cnty:'Clay'},{zip:'25134', city:'Miami', cnty:'Kanawha'},{zip:'25136', city:'Montgomery', cnty:'Fayette'},{zip:'25139', city:'Mount Carbon', cnty:'Fayette'},{zip:'25140', city:'Naoma', cnty:'Raleigh'},{zip:'25141', city:'Nebo', cnty:'Clay'},{zip:'25142', city:'Nellis', cnty:'Boone'},{zip:'25143', city:'Nitro', cnty:'Kanawha'},{zip:'25148', city:'Orgas', cnty:'Boone'},{zip:'25149', city:'Ottawa', cnty:'Boone'},{zip:'25152', city:'Page', cnty:'Fayette'},{zip:'25154', city:'Peytona', cnty:'Boone'},{zip:'25156', city:'Pinch', cnty:'Kanawha'},{zip:'25159', city:'Poca', cnty:'Putnam'},{zip:'25160', city:'Pond Gap', cnty:'Kanawha'},{zip:'25161', city:'Powellton', cnty:'Fayette'},{zip:'25162', city:'Pratt', cnty:'Kanawha'},{zip:'25164', city:'Procious', cnty:'Clay'},{zip:'25165', city:'Racine', cnty:'Boone'},{zip:'25168', city:'Red House', cnty:'Putnam'},{zip:'25169', city:'Ridgeview', cnty:'Boone'},{zip:'25173', city:'Robson', cnty:'Fayette'},{zip:'25174', city:'Rock Creek', cnty:'Raleigh'},{zip:'25177', city:'Saint Albans', cnty:'Kanawha'},{zip:'25180', city:'Saxon', cnty:'Boone'},{zip:'25181', city:'Seth', cnty:'Boone'},{zip:'25183', city:'Sharples', cnty:'Logan'},{zip:'25185', city:'Mount Olive', cnty:'Fayette'},{zip:'25186', city:'Smithers', cnty:'Fayette'},{zip:'25187', city:'Southside', cnty:'Mason'},{zip:'25193', city:'Sylvester', cnty:'Boone'},{zip:'25201', city:'Tad', cnty:'Kanawha'},{zip:'25202', city:'Tornado', cnty:'Kanawha'},{zip:'25203', city:'Turtle Creek', cnty:'Boone'},{zip:'25204', city:'Twilight', cnty:'Boone'},{zip:'25205', city:'Uneeda', cnty:'Boone'},{zip:'25206', city:'Van', cnty:'Boone'},{zip:'25208', city:'Wharton', cnty:'Boone'},{zip:'25209', city:'Whitesville', cnty:'Boone'},{zip:'25211', city:'Widen', cnty:'Clay'},{zip:'25213', city:'Winfield', cnty:'Putnam'},{zip:'25214', city:'Winifrede', cnty:'Kanawha'},{zip:'25231', city:'Advent', cnty:'Jackson'},{zip:'25234', city:'Arnoldsburg', cnty:'Calhoun'},{zip:'25235', city:'Chloe', cnty:'Calhoun'},{zip:'25239', city:'Cottageville', cnty:'Jackson'},{zip:'25241', city:'Evans', cnty:'Jackson'},{zip:'25243', city:'Gandeeville', cnty:'Roane'},{zip:'25244', city:'Gay', cnty:'Jackson'},{zip:'25245', city:'Given', cnty:'Jackson'},{zip:'25247', city:'Hartford', cnty:'Mason'},{zip:'25248', city:'Kenna', cnty:'Jackson'},{zip:'25251', city:'Left Hand', cnty:'Roane'},{zip:'25252', city:'Le Roy', cnty:'Jackson'},{zip:'25253', city:'Letart', cnty:'Mason'},{zip:'25259', city:'Looneyville', cnty:'Roane'},{zip:'25260', city:'Mason', cnty:'Mason'},{zip:'25261', city:'Millstone', cnty:'Calhoun'},{zip:'25262', city:'Millwood', cnty:'Jackson'},{zip:'25264', city:'Mount Alto', cnty:'Mason'},{zip:'25265', city:'New Haven', cnty:'Mason'},{zip:'25266', city:'Newton', cnty:'Roane'},{zip:'25267', city:'Normantown', cnty:'Gilmer'},{zip:'25268', city:'Orma', cnty:'Calhoun'},{zip:'25270', city:'Reedy', cnty:'Roane'},{zip:'25271', city:'Ripley', cnty:'Jackson'},{zip:'25275', city:'Sandyville', cnty:'Jackson'},{zip:'25276', city:'Spencer', cnty:'Roane'},{zip:'25285', city:'Wallback', cnty:'Clay'},{zip:'25286', city:'Walton', cnty:'Roane'},{zip:'25287', city:'West Columbia', cnty:'Mason'},{zip:'25301', city:'Charleston', cnty:'Kanawha'},{zip:'25302', city:'Charleston', cnty:'Kanawha'},{zip:'25303', city:'Charleston', cnty:'Kanawha'},{zip:'25304', city:'Charleston', cnty:'Kanawha'},{zip:'25305', city:'Charleston', cnty:'Kanawha'},{zip:'25306', city:'Charleston', cnty:'Kanawha'},{zip:'25309', city:'Charleston', cnty:'Kanawha'},{zip:'25311', city:'Charleston', cnty:'Kanawha'},{zip:'25312', city:'Charleston', cnty:'Kanawha'},{zip:'25313', city:'Charleston', cnty:'Kanawha'},{zip:'25314', city:'Charleston', cnty:'Kanawha'},{zip:'25315', city:'Charleston', cnty:'Kanawha'},{zip:'25317', city:'Charleston', cnty:'Kanawha'},{zip:'25320', city:'Charleston', cnty:'Kanawha'},{zip:'25321', city:'Charleston', cnty:'Kanawha'},{zip:'25322', city:'Charleston', cnty:'Kanawha'},{zip:'25323', city:'Charleston', cnty:'Kanawha'},{zip:'25324', city:'Charleston', cnty:'Kanawha'},{zip:'25325', city:'Charleston', cnty:'Kanawha'},{zip:'25326', city:'Charleston', cnty:'Kanawha'},{zip:'25327', city:'Charleston', cnty:'Kanawha'},{zip:'25328', city:'Charleston', cnty:'Kanawha'},{zip:'25329', city:'Charleston', cnty:'Kanawha'},{zip:'25330', city:'Charleston', cnty:'Kanawha'},{zip:'25331', city:'Charleston', cnty:'Kanawha'},{zip:'25332', city:'Charleston', cnty:'Kanawha'},{zip:'25333', city:'Charleston', cnty:'Kanawha'},{zip:'25334', city:'Charleston', cnty:'Kanawha'},{zip:'25335', city:'Charleston', cnty:'Kanawha'},{zip:'25336', city:'Charleston', cnty:'Kanawha'},{zip:'25337', city:'Charleston', cnty:'Kanawha'},{zip:'25338', city:'Charleston', cnty:'Kanawha'},{zip:'25339', city:'Charleston', cnty:'Kanawha'},{zip:'25350', city:'Charleston', cnty:'Kanawha'},{zip:'25356', city:'Charleston', cnty:'Kanawha'},{zip:'25357', city:'Charleston', cnty:'Kanawha'},{zip:'25358', city:'Charleston', cnty:'Kanawha'},{zip:'25360', city:'Charleston', cnty:'Kanawha'},{zip:'25361', city:'Charleston', cnty:'Kanawha'},{zip:'25362', city:'Charleston', cnty:'Kanawha'},{zip:'25364', city:'Charleston', cnty:'Kanawha'},{zip:'25365', city:'Charleston', cnty:'Kanawha'},{zip:'25375', city:'Charleston', cnty:'Kanawha'},{zip:'25387', city:'Charleston', cnty:'Kanawha'},{zip:'25389', city:'Charleston', cnty:'Kanawha'},{zip:'25392', city:'Charleston', cnty:'Kanawha'},{zip:'25396', city:'Charleston', cnty:'Kanawha'},{zip:'25401', city:'Martinsburg', cnty:'Berkeley'},{zip:'25402', city:'Martinsburg', cnty:'Berkeley'},{zip:'25403', city:'Martinsburg', cnty:'Berkeley'},{zip:'25404', city:'Martinsburg', cnty:'Berkeley'},{zip:'25405', city:'Martinsburg', cnty:'Berkeley'},{zip:'25410', city:'Bakerton', cnty:'Jefferson'},{zip:'25411', city:'Berkeley Springs', cnty:'Morgan'},{zip:'25413', city:'Bunker Hill', cnty:'Berkeley'},{zip:'25414', city:'Charles Town', cnty:'Jefferson'},{zip:'25419', city:'Falling Waters', cnty:'Berkeley'},{zip:'25420', city:'Gerrardstown', cnty:'Berkeley'},{zip:'25421', city:'Glengary', cnty:'Berkeley'},{zip:'25422', city:'Great Cacapon', cnty:'Morgan'},{zip:'25423', city:'Halltown', cnty:'Jefferson'},{zip:'25425', city:'Harpers Ferry', cnty:'Jefferson'},{zip:'25427', city:'Hedgesville', cnty:'Berkeley'},{zip:'25428', city:'Inwood', cnty:'Berkeley'},{zip:'25429', city:'Martinsburg', cnty:'Berkeley'},{zip:'25430', city:'Kearneysville', cnty:'Jefferson'},{zip:'25431', city:'Levels', cnty:'Hampshire'},{zip:'25432', city:'Millville', cnty:'Jefferson'},{zip:'25434', city:'Paw Paw', cnty:'Morgan'},{zip:'25437', city:'Points', cnty:'Hampshire'},{zip:'25438', city:'Ranson', cnty:'Jefferson'},{zip:'25440', city:'Ridgeway', cnty:'Berkeley'},{zip:'25441', city:'Rippon', cnty:'Jefferson'},{zip:'25442', city:'Shenandoah Junction', cnty:'Jefferson'},{zip:'25443', city:'Shepherdstown', cnty:'Jefferson'},{zip:'25444', city:'Slanesville', cnty:'Hampshire'},{zip:'25446', city:'Summit Point', cnty:'Jefferson'},{zip:'25501', city:'Alkol', cnty:'Lincoln'},{zip:'25502', city:'Apple Grove', cnty:'Mason'},{zip:'25503', city:'Ashton', cnty:'Mason'},{zip:'25504', city:'Barboursville', cnty:'Cabell'},{zip:'25505', city:'Big Creek', cnty:'Logan'},{zip:'25506', city:'Branchland', cnty:'Lincoln'},{zip:'25507', city:'Ceredo', cnty:'Wayne'},{zip:'25508', city:'Chapmanville', cnty:'Logan'},{zip:'25510', city:'Culloden', cnty:'Cabell'},{zip:'25511', city:'Dunlow', cnty:'Wayne'},{zip:'25512', city:'East Lynn', cnty:'Wayne'},{zip:'25514', city:'Fort Gay', cnty:'Wayne'},{zip:'25515', city:'Gallipolis Ferry', cnty:'Mason'},{zip:'25517', city:'Genoa', cnty:'Wayne'},{zip:'25520', city:'Glenwood', cnty:'Mason'},{zip:'25521', city:'Griffithsville', cnty:'Lincoln'},{zip:'25523', city:'Hamlin', cnty:'Lincoln'},{zip:'25524', city:'Harts', cnty:'Lincoln'},{zip:'25526', city:'Hurricane', cnty:'Putnam'},{zip:'25529', city:'Julian', cnty:'Boone'},{zip:'25530', city:'Kenova', cnty:'Wayne'},{zip:'25534', city:'Kiahsville', cnty:'Wayne'},{zip:'25535', city:'Lavalette', cnty:'Wayne'},{zip:'25537', city:'Lesage', cnty:'Cabell'},{zip:'25540', city:'Midkiff', cnty:'Lincoln'},{zip:'25541', city:'Milton', cnty:'Cabell'},{zip:'25544', city:'Myra', cnty:'Lincoln'},{zip:'25545', city:'Ona', cnty:'Cabell'},{zip:'25547', city:'Pecks Mill', cnty:'Logan'},{zip:'25550', city:'Point Pleasant', cnty:'Mason'},{zip:'25555', city:'Prichard', cnty:'Wayne'},{zip:'25557', city:'Ranger', cnty:'Lincoln'},{zip:'25559', city:'Salt Rock', cnty:'Cabell'},{zip:'25560', city:'Scott Depot', cnty:'Putnam'},{zip:'25562', city:'Shoals', cnty:'Wayne'},{zip:'25564', city:'Sod', cnty:'Lincoln'},{zip:'25565', city:'Spurlockville', cnty:'Lincoln'},{zip:'25567', city:'Sumerco', cnty:'Lincoln'},{zip:'25569', city:'Teays', cnty:'Putnam'},{zip:'25570', city:'Wayne', cnty:'Wayne'},{zip:'25571', city:'West Hamlin', cnty:'Lincoln'},{zip:'25572', city:'Woodville', cnty:'Boone'},{zip:'25573', city:'Yawkey', cnty:'Lincoln'},{zip:'25601', city:'Logan', cnty:'Logan'},{zip:'25606', city:'Accoville', cnty:'Logan'},{zip:'25607', city:'Amherstdale', cnty:'Logan'},{zip:'25608', city:'Baisden', cnty:'Mingo'},{zip:'25611', city:'Bruno', cnty:'Logan'},{zip:'25612', city:'Chauncey', cnty:'Logan'},{zip:'25614', city:'Cora', cnty:'Logan'},{zip:'25617', city:'Davin', cnty:'Logan'},{zip:'25621', city:'Gilbert', cnty:'Mingo'},{zip:'25624', city:'Henlawson', cnty:'Logan'},{zip:'25625', city:'Holden', cnty:'Logan'},{zip:'25628', city:'Kistler', cnty:'Logan'},{zip:'25630', city:'Lorado', cnty:'Logan'},{zip:'25632', city:'Lyburn', cnty:'Logan'},{zip:'25634', city:'Mallory', cnty:'Logan'},{zip:'25635', city:'Man', cnty:'Logan'},{zip:'25637', city:'Mount Gay', cnty:'Logan'},{zip:'25638', city:'Omar', cnty:'Logan'},{zip:'25639', city:'Peach Creek', cnty:'Logan'},{zip:'25644', city:'Sarah Ann', cnty:'Logan'},{zip:'25646', city:'Stollings', cnty:'Logan'},{zip:'25647', city:'Switzer', cnty:'Logan'},{zip:'25649', city:'Verdunville', cnty:'Logan'},{zip:'25650', city:'Verner', cnty:'Mingo'},{zip:'25651', city:'Wharncliffe', cnty:'Mingo'},{zip:'25652', city:'Whitman', cnty:'Logan'},{zip:'25653', city:'Wilkinson', cnty:'Logan'},{zip:'25654', city:'Yolyn', cnty:'Logan'},{zip:'25661', city:'Williamson', cnty:'Mingo'},{zip:'25665', city:'Borderland', cnty:'Mingo'},{zip:'25666', city:'Breeden', cnty:'Mingo'},{zip:'25667', city:'Chattaroy', cnty:'Mingo'},{zip:'25669', city:'Crum', cnty:'Wayne'},{zip:'25670', city:'Delbarton', cnty:'Mingo'},{zip:'25671', city:'Dingess', cnty:'Mingo'},{zip:'25672', city:'Edgarton', cnty:'Mingo'},{zip:'25674', city:'Kermit', cnty:'Mingo'},{zip:'25676', city:'Lenore', cnty:'Mingo'},{zip:'25678', city:'Matewan', cnty:'Mingo'},{zip:'25685', city:'Naugatuck', cnty:'Mingo'},{zip:'25686', city:'Newtown', cnty:'Mingo'},{zip:'25688', city:'North Matewan', cnty:'Mingo'},{zip:'25690', city:'Ragland', cnty:'Mingo'},{zip:'25691', city:'Rawl', cnty:'Mingo'},{zip:'25692', city:'Red Jacket', cnty:'Mingo'},{zip:'25696', city:'Varney', cnty:'Mingo'},{zip:'25697', city:'Vulcan', cnty:'Mingo'},{zip:'25699', city:'Wilsondale', cnty:'Wayne'},{zip:'25701', city:'Huntington', cnty:'Cabell'},{zip:'25702', city:'Huntington', cnty:'Cabell'},{zip:'25703', city:'Huntington', cnty:'Cabell'},{zip:'25704', city:'Huntington', cnty:'Wayne'},{zip:'25705', city:'Huntington', cnty:'Cabell'},{zip:'25706', city:'Huntington', cnty:'Cabell'},{zip:'25707', city:'Huntington', cnty:'Cabell'},{zip:'25708', city:'Huntington', cnty:'Cabell'},{zip:'25709', city:'Huntington', cnty:'Cabell'},{zip:'25710', city:'Huntington', cnty:'Cabell'},{zip:'25711', city:'Huntington', cnty:'Cabell'},{zip:'25712', city:'Huntington', cnty:'Cabell'},{zip:'25713', city:'Huntington', cnty:'Cabell'},{zip:'25714', city:'Huntington', cnty:'Cabell'},{zip:'25715', city:'Huntington', cnty:'Cabell'},{zip:'25716', city:'Huntington', cnty:'Cabell'},{zip:'25717', city:'Huntington', cnty:'Cabell'},{zip:'25718', city:'Huntington', cnty:'Cabell'},{zip:'25719', city:'Huntington', cnty:'Cabell'},{zip:'25720', city:'Huntington', cnty:'Cabell'},{zip:'25721', city:'Huntington', cnty:'Cabell'},{zip:'25722', city:'Huntington', cnty:'Cabell'},{zip:'25723', city:'Huntington', cnty:'Cabell'},{zip:'25724', city:'Huntington', cnty:'Cabell'},{zip:'25725', city:'Huntington', cnty:'Cabell'},{zip:'25726', city:'Huntington', cnty:'Cabell'},{zip:'25727', city:'Huntington', cnty:'Cabell'},{zip:'25728', city:'Huntington', cnty:'Cabell'},{zip:'25729', city:'Huntington', cnty:'Cabell'},{zip:'25755', city:'Huntington', cnty:'Cabell'},{zip:'25770', city:'Huntington', cnty:'Cabell'},{zip:'25771', city:'Huntington', cnty:'Cabell'},{zip:'25772', city:'Huntington', cnty:'Cabell'},{zip:'25773', city:'Huntington', cnty:'Cabell'},{zip:'25774', city:'Huntington', cnty:'Cabell'},{zip:'25775', city:'Huntington', cnty:'Cabell'},{zip:'25776', city:'Huntington', cnty:'Cabell'},{zip:'25777', city:'Huntington', cnty:'Cabell'},{zip:'25778', city:'Huntington', cnty:'Cabell'},{zip:'25779', city:'Huntington', cnty:'Cabell'},{zip:'25801', city:'Beckley', cnty:'Raleigh'},{zip:'25802', city:'Beckley', cnty:'Raleigh'},{zip:'25810', city:'Allen Junction', cnty:'Wyoming'},{zip:'25811', city:'Amigo', cnty:'Wyoming'},{zip:'25812', city:'Ansted', cnty:'Fayette'},{zip:'25813', city:'Beaver', cnty:'Raleigh'},{zip:'25816', city:'Blue Jay', cnty:'Raleigh'},{zip:'25817', city:'Bolt', cnty:'Raleigh'},{zip:'25818', city:'Bradley', cnty:'Raleigh'},{zip:'25820', city:'Camp Creek', cnty:'Mercer'},{zip:'25823', city:'Coal City', cnty:'Raleigh'},{zip:'25825', city:'Cool Ridge', cnty:'Raleigh'},{zip:'25826', city:'Corinne', cnty:'Wyoming'},{zip:'25827', city:'Crab Orchard', cnty:'Raleigh'},{zip:'25831', city:'Danese', cnty:'Fayette'},{zip:'25832', city:'Daniels', cnty:'Raleigh'},{zip:'25833', city:'Dothan', cnty:'Fayette'},{zip:'25836', city:'Eccles', cnty:'Raleigh'},{zip:'25837', city:'Edmond', cnty:'Fayette'},{zip:'25839', city:'Fairdale', cnty:'Raleigh'},{zip:'25840', city:'Fayetteville', cnty:'Fayette'},{zip:'25841', city:'Flat Top', cnty:'Mercer'},{zip:'25843', city:'Ghent', cnty:'Raleigh'},{zip:'25844', city:'Glen Daniel', cnty:'Raleigh'},{zip:'25845', city:'Glen Fork', cnty:'Wyoming'},{zip:'25846', city:'Glen Jean', cnty:'Fayette'},{zip:'25848', city:'Glen Rogers', cnty:'Wyoming'},{zip:'25849', city:'Glen White', cnty:'Raleigh'},{zip:'25851', city:'Harper', cnty:'Raleigh'},{zip:'25853', city:'Helen', cnty:'Raleigh'},{zip:'25854', city:'Hico', cnty:'Fayette'},{zip:'25855', city:'Hilltop', cnty:'Fayette'},{zip:'25857', city:'Josephine', cnty:'Raleigh'},{zip:'25860', city:'Lanark', cnty:'Raleigh'},{zip:'25862', city:'Lansing', cnty:'Fayette'},{zip:'25864', city:'Layland', cnty:'Fayette'},{zip:'25865', city:'Lester', cnty:'Raleigh'},{zip:'25866', city:'Lochgelly', cnty:'Fayette'},{zip:'25868', city:'Lookout', cnty:'Fayette'},{zip:'25870', city:'Maben', cnty:'Wyoming'},{zip:'25871', city:'Mabscott', cnty:'Raleigh'},{zip:'25873', city:'Mac Arthur', cnty:'Raleigh'},{zip:'25875', city:'Mc Graws', cnty:'Wyoming'},{zip:'25876', city:'Saulsville', cnty:'Wyoming'},{zip:'25878', city:'Midway', cnty:'Raleigh'},{zip:'25879', city:'Minden', cnty:'Fayette'},{zip:'25880', city:'Mount Hope', cnty:'Fayette'},{zip:'25882', city:'Mullens', cnty:'Wyoming'},{zip:'25901', city:'Oak Hill', cnty:'Fayette'},{zip:'25902', city:'Odd', cnty:'Raleigh'},{zip:'25904', city:'Pax', cnty:'Fayette'},{zip:'25906', city:'Piney View', cnty:'Raleigh'},{zip:'25907', city:'Prince', cnty:'Fayette'},{zip:'25908', city:'Princewick', cnty:'Raleigh'},{zip:'25909', city:'Prosperity', cnty:'Raleigh'},{zip:'25911', city:'Raleigh', cnty:'Raleigh'},{zip:'25913', city:'Ravencliff', cnty:'Wyoming'},{zip:'25914', city:'Redstar', cnty:'Fayette'},{zip:'25915', city:'Rhodell', cnty:'Raleigh'},{zip:'25916', city:'Sabine', cnty:'Wyoming'},{zip:'25917', city:'Scarbro', cnty:'Fayette'},{zip:'25918', city:'Shady Spring', cnty:'Raleigh'},{zip:'25919', city:'Skelton', cnty:'Raleigh'},{zip:'25920', city:'Slab Fork', cnty:'Raleigh'},{zip:'25921', city:'Sophia', cnty:'Raleigh'},{zip:'25922', city:'Spanishburg', cnty:'Mercer'},{zip:'25926', city:'Sprague', cnty:'Raleigh'},{zip:'25927', city:'Stanaford', cnty:'Raleigh'},{zip:'25928', city:'Stephenson', cnty:'Wyoming'},{zip:'25932', city:'Surveyor', cnty:'Raleigh'},{zip:'25936', city:'Thurmond', cnty:'Fayette'},{zip:'25938', city:'Victor', cnty:'Fayette'},{zip:'25942', city:'Winona', cnty:'Fayette'},{zip:'25943', city:'Wyco', cnty:'Wyoming'},{zip:'25951', city:'Hinton', cnty:'Summers'},{zip:'25958', city:'Charmco', cnty:'Greenbrier'},{zip:'25962', city:'Rainelle', cnty:'Greenbrier'},{zip:'25965', city:'Elton', cnty:'Summers'},{zip:'25966', city:'Green Sulphur Springs', cnty:'Summers'},{zip:'25969', city:'Jumping Branch', cnty:'Summers'},{zip:'25971', city:'Lerona', cnty:'Mercer'},{zip:'25972', city:'Leslie', cnty:'Greenbrier'},{zip:'25976', city:'Meadow Bridge', cnty:'Fayette'},{zip:'25977', city:'Meadow Creek', cnty:'Summers'},{zip:'25978', city:'Nimitz', cnty:'Summers'},{zip:'25979', city:'Pipestem', cnty:'Summers'},{zip:'25981', city:'Quinwood', cnty:'Greenbrier'},{zip:'25984', city:'Rupert', cnty:'Greenbrier'},{zip:'25985', city:'Sandstone', cnty:'Summers'},{zip:'25986', city:'Spring Dale', cnty:'Fayette'},{zip:'25989', city:'White Oak', cnty:'Raleigh'},{zip:'26003', city:'Wheeling', cnty:'Ohio'},{zip:'26030', city:'Beech Bottom', cnty:'Brooke'},{zip:'26031', city:'Benwood', cnty:'Marshall'},{zip:'26032', city:'Bethany', cnty:'Brooke'},{zip:'26033', city:'Cameron', cnty:'Marshall'},{zip:'26034', city:'Chester', cnty:'Hancock'},{zip:'26035', city:'Colliers', cnty:'Brooke'},{zip:'26036', city:'Dallas', cnty:'Marshall'},{zip:'26037', city:'Follansbee', cnty:'Brooke'},{zip:'26038', city:'Glen Dale', cnty:'Marshall'},{zip:'26039', city:'Glen Easton', cnty:'Marshall'},{zip:'26040', city:'Mcmechen', cnty:'Marshall'},{zip:'26041', city:'Moundsville', cnty:'Marshall'},{zip:'26047', city:'New Cumberland', cnty:'Hancock'},{zip:'26050', city:'Newell', cnty:'Hancock'},{zip:'26055', city:'Proctor', cnty:'Marshall'},{zip:'26056', city:'New Manchester', cnty:'Hancock'},{zip:'26058', city:'Short Creek', cnty:'Brooke'},{zip:'26059', city:'Triadelphia', cnty:'Ohio'},{zip:'26060', city:'Valley Grove', cnty:'Ohio'},{zip:'26062', city:'Weirton', cnty:'Hancock'},{zip:'26070', city:'Wellsburg', cnty:'Brooke'},{zip:'26074', city:'West Liberty', cnty:'Ohio'},{zip:'26075', city:'Windsor Heights', cnty:'Brooke'},{zip:'26101', city:'Parkersburg', cnty:'Wood'},{zip:'26102', city:'Parkersburg', cnty:'Wood'},{zip:'26103', city:'Parkersburg', cnty:'Wood'},{zip:'26104', city:'Parkersburg', cnty:'Wood'},{zip:'26105', city:'Vienna', cnty:'Wood'},{zip:'26106', city:'Parkersburg', cnty:'Wood'},{zip:'26120', city:'Mineral Wells', cnty:'Wood'},{zip:'26121', city:'Mineral Wells', cnty:'Wood'},{zip:'26133', city:'Belleville', cnty:'Wood'},{zip:'26134', city:'Belmont', cnty:'Pleasants'},{zip:'26136', city:'Big Bend', cnty:'Calhoun'},{zip:'26137', city:'Big Springs', cnty:'Calhoun'},{zip:'26138', city:'Brohard', cnty:'Wirt'},{zip:'26141', city:'Creston', cnty:'Wirt'},{zip:'26142', city:'Davisville', cnty:'Wood'},{zip:'26143', city:'Elizabeth', cnty:'Wirt'},{zip:'26146', city:'Friendly', cnty:'Tyler'},{zip:'26147', city:'Grantsville', cnty:'Calhoun'},{zip:'26148', city:'Macfarlan', cnty:'Ritchie'},{zip:'26149', city:'Middlebourne', cnty:'Tyler'},{zip:'26150', city:'Mineral Wells', cnty:'Wood'},{zip:'26151', city:'Mount Zion', cnty:'Calhoun'},{zip:'26152', city:'Munday', cnty:'Calhoun'},{zip:'26155', city:'New Martinsville', cnty:'Wetzel'},{zip:'26159', city:'Paden City', cnty:'Wetzel'},{zip:'26160', city:'Palestine', cnty:'Wirt'},{zip:'26161', city:'Petroleum', cnty:'Ritchie'},{zip:'26162', city:'Porters Falls', cnty:'Wetzel'},{zip:'26164', city:'Ravenswood', cnty:'Jackson'},{zip:'26167', city:'Reader', cnty:'Wetzel'},{zip:'26169', city:'Rockport', cnty:'Wood'},{zip:'26170', city:'Saint Marys', cnty:'Pleasants'},{zip:'26175', city:'Sistersville', cnty:'Tyler'},{zip:'26178', city:'Smithville', cnty:'Ritchie'},{zip:'26180', city:'Walker', cnty:'Wood'},{zip:'26181', city:'Washington', cnty:'Wood'},{zip:'26184', city:'Waverly', cnty:'Wood'},{zip:'26186', city:'Wileyville', cnty:'Wetzel'},{zip:'26187', city:'Williamstown', cnty:'Wood'},{zip:'26201', city:'Buckhannon', cnty:'Upshur'},{zip:'26202', city:'Fenwick', cnty:'Nicholas'},{zip:'26203', city:'Erbacon', cnty:'Webster'},{zip:'26205', city:'Craigsville', cnty:'Nicholas'},{zip:'26206', city:'Cowen', cnty:'Webster'},{zip:'26208', city:'Camden On Gauley', cnty:'Webster'},{zip:'26209', city:'Snowshoe', cnty:'Pocahontas'},{zip:'26210', city:'Adrian', cnty:'Upshur'},{zip:'26215', city:'Cleveland', cnty:'Upshur'},{zip:'26217', city:'Diana', cnty:'Webster'},{zip:'26218', city:'French Creek', cnty:'Upshur'},{zip:'26219', city:'Frenchton', cnty:'Upshur'},{zip:'26222', city:'Hacker Valley', cnty:'Webster'},{zip:'26224', city:'Helvetia', cnty:'Randolph'},{zip:'26228', city:'Kanawha Head', cnty:'Upshur'},{zip:'26229', city:'Lorentz', cnty:'Upshur'},{zip:'26230', city:'Pickens', cnty:'Randolph'},{zip:'26234', city:'Rock Cave', cnty:'Upshur'},{zip:'26236', city:'Selbyville', cnty:'Upshur'},{zip:'26237', city:'Tallmansville', cnty:'Upshur'},{zip:'26238', city:'Volga', cnty:'Barbour'},{zip:'26241', city:'Elkins', cnty:'Randolph'},{zip:'26250', city:'Belington', cnty:'Barbour'},{zip:'26253', city:'Beverly', cnty:'Randolph'},{zip:'26254', city:'Bowden', cnty:'Tucker'},{zip:'26257', city:'Coalton', cnty:'Randolph'},{zip:'26259', city:'Dailey', cnty:'Randolph'},{zip:'26260', city:'Davis', cnty:'Tucker'},{zip:'26261', city:'Richwood', cnty:'Nicholas'},{zip:'26263', city:'Dryfork', cnty:'Randolph'},{zip:'26264', city:'Durbin', cnty:'Pocahontas'},{zip:'26266', city:'Upperglade', cnty:'Webster'},{zip:'26267', city:'Ellamore', cnty:'Randolph'},{zip:'26268', city:'Glady', cnty:'Randolph'},{zip:'26269', city:'Hambleton', cnty:'Tucker'},{zip:'26270', city:'Harman', cnty:'Randolph'},{zip:'26271', city:'Hendricks', cnty:'Tucker'},{zip:'26273', city:'Huttonsville', cnty:'Randolph'},{zip:'26275', city:'Junior', cnty:'Barbour'},{zip:'26276', city:'Kerens', cnty:'Randolph'},{zip:'26278', city:'Mabie', cnty:'Randolph'},{zip:'26280', city:'Mill Creek', cnty:'Randolph'},{zip:'26282', city:'Monterville', cnty:'Randolph'},{zip:'26283', city:'Montrose', cnty:'Randolph'},{zip:'26285', city:'Norton', cnty:'Randolph'},{zip:'26287', city:'Parsons', cnty:'Tucker'},{zip:'26288', city:'Webster Springs', cnty:'Webster'},{zip:'26289', city:'Red Creek', cnty:'Tucker'},{zip:'26291', city:'Slatyfork', cnty:'Pocahontas'},{zip:'26292', city:'Thomas', cnty:'Tucker'},{zip:'26293', city:'Valley Bend', cnty:'Randolph'},{zip:'26294', city:'Valley Head', cnty:'Randolph'},{zip:'26296', city:'Whitmer', cnty:'Randolph'},{zip:'26298', city:'Bergoo', cnty:'Webster'},{zip:'26301', city:'Clarksburg', cnty:'Harrison'},{zip:'26302', city:'Clarksburg', cnty:'Harrison'},{zip:'26306', city:'Clarksburg', cnty:'Harrison'},{zip:'26320', city:'Alma', cnty:'Tyler'},{zip:'26321', city:'Alum Bridge', cnty:'Lewis'},{zip:'26323', city:'Anmoore', cnty:'Harrison'},{zip:'26325', city:'Auburn', cnty:'Ritchie'},{zip:'26327', city:'Berea', cnty:'Ritchie'},{zip:'26330', city:'Bridgeport', cnty:'Harrison'},{zip:'26335', city:'Burnsville', cnty:'Braxton'},{zip:'26337', city:'Cairo', cnty:'Ritchie'},{zip:'26338', city:'Camden', cnty:'Lewis'},{zip:'26339', city:'Center Point', cnty:'Doddridge'},{zip:'26342', city:'Coxs Mills', cnty:'Gilmer'},{zip:'26343', city:'Crawford', cnty:'Lewis'},{zip:'26346', city:'Ellenboro', cnty:'Ritchie'},{zip:'26347', city:'Flemington', cnty:'Taylor'},{zip:'26348', city:'Folsom', cnty:'Wetzel'},{zip:'26349', city:'Galloway', cnty:'Barbour'},{zip:'26351', city:'Glenville', cnty:'Gilmer'},{zip:'26354', city:'Grafton', cnty:'Taylor'},{zip:'26361', city:'Gypsy', cnty:'Harrison'},{zip:'26362', city:'Harrisville', cnty:'Ritchie'},{zip:'26366', city:'Haywood', cnty:'Harrison'},{zip:'26369', city:'Hepzibah', cnty:'Harrison'},{zip:'26372', city:'Horner', cnty:'Lewis'},{zip:'26374', city:'Independence', cnty:'Preston'},{zip:'26376', city:'Ireland', cnty:'Lewis'},{zip:'26377', city:'Jacksonburg', cnty:'Wetzel'},{zip:'26378', city:'Jane Lew', cnty:'Lewis'},{zip:'26384', city:'Linn', cnty:'Gilmer'},{zip:'26385', city:'Lost Creek', cnty:'Harrison'},{zip:'26386', city:'Lumberport', cnty:'Harrison'},{zip:'26404', city:'Meadowbrook', cnty:'Harrison'},{zip:'26405', city:'Moatsville', cnty:'Barbour'},{zip:'26408', city:'Mount Clare', cnty:'Harrison'},{zip:'26410', city:'Newburg', cnty:'Preston'},{zip:'26411', city:'New Milton', cnty:'Doddridge'},{zip:'26412', city:'Orlando', cnty:'Lewis'},{zip:'26415', city:'Pennsboro', cnty:'Ritchie'},{zip:'26416', city:'Philippi', cnty:'Barbour'},{zip:'26419', city:'Pine Grove', cnty:'Wetzel'},{zip:'26421', city:'Pullman', cnty:'Ritchie'},{zip:'26422', city:'Reynoldsville', cnty:'Harrison'},{zip:'26424', city:'Rosemont', cnty:'Taylor'},{zip:'26425', city:'Rowlesburg', cnty:'Preston'},{zip:'26426', city:'Salem', cnty:'Harrison'},{zip:'26430', city:'Sand Fork', cnty:'Gilmer'},{zip:'26431', city:'Shinnston', cnty:'Harrison'},{zip:'26434', city:'Shirley', cnty:'Tyler'},{zip:'26435', city:'Simpson', cnty:'Taylor'},{zip:'26436', city:'Smithburg', cnty:'Doddridge'},{zip:'26437', city:'Smithfield', cnty:'Wetzel'},{zip:'26438', city:'Spelter', cnty:'Harrison'},{zip:'26440', city:'Thornton', cnty:'Taylor'},{zip:'26443', city:'Troy', cnty:'Gilmer'},{zip:'26444', city:'Tunnelton', cnty:'Preston'},{zip:'26447', city:'Walkersville', cnty:'Lewis'},{zip:'26448', city:'Wallace', cnty:'Harrison'},{zip:'26451', city:'West Milford', cnty:'Harrison'},{zip:'26452', city:'Weston', cnty:'Lewis'},{zip:'26456', city:'West Union', cnty:'Doddridge'},{zip:'26461', city:'Wilsonburg', cnty:'Harrison'},{zip:'26463', city:'Wyatt', cnty:'Harrison'},{zip:'26501', city:'Morgantown', cnty:'Monongalia'},{zip:'26502', city:'Morgantown', cnty:'Monongalia'},{zip:'26504', city:'Morgantown', cnty:'Monongalia'},{zip:'26505', city:'Morgantown', cnty:'Monongalia'},{zip:'26506', city:'Morgantown', cnty:'Monongalia'},{zip:'26507', city:'Morgantown', cnty:'Monongalia'},{zip:'26508', city:'Morgantown', cnty:'Monongalia'},{zip:'26519', city:'Albright', cnty:'Preston'},{zip:'26520', city:'Arthurdale', cnty:'Preston'},{zip:'26521', city:'Blacksville', cnty:'Monongalia'},{zip:'26524', city:'Bretz', cnty:'Preston'},{zip:'26525', city:'Bruceton Mills', cnty:'Preston'},{zip:'26527', city:'Cassville', cnty:'Monongalia'},{zip:'26531', city:'Dellslow', cnty:'Monongalia'},{zip:'26534', city:'Granville', cnty:'Monongalia'},{zip:'26537', city:'Kingwood', cnty:'Preston'},{zip:'26541', city:'Maidsville', cnty:'Monongalia'},{zip:'26542', city:'Masontown', cnty:'Preston'},{zip:'26543', city:'Osage', cnty:'Monongalia'},{zip:'26544', city:'Pentress', cnty:'Monongalia'},{zip:'26546', city:'Pursglove', cnty:'Monongalia'},{zip:'26547', city:'Reedsville', cnty:'Preston'},{zip:'26554', city:'Fairmont', cnty:'Marion'},{zip:'26555', city:'Fairmont', cnty:'Marion'},{zip:'26559', city:'Barrackville', cnty:'Marion'},{zip:'26560', city:'Baxter', cnty:'Marion'},{zip:'26561', city:'Big Run', cnty:'Wetzel'},{zip:'26562', city:'Burton', cnty:'Wetzel'},{zip:'26563', city:'Carolina', cnty:'Marion'},{zip:'26566', city:'Colfax', cnty:'Marion'},{zip:'26568', city:'Enterprise', cnty:'Harrison'},{zip:'26570', city:'Fairview', cnty:'Marion'},{zip:'26571', city:'Farmington', cnty:'Marion'},{zip:'26572', city:'Four States', cnty:'Marion'},{zip:'26574', city:'Grant Town', cnty:'Marion'},{zip:'26575', city:'Hundred', cnty:'Wetzel'},{zip:'26576', city:'Idamay', cnty:'Marion'},{zip:'26578', city:'Kingmont', cnty:'Marion'},{zip:'26581', city:'Littleton', cnty:'Wetzel'},{zip:'26582', city:'Mannington', cnty:'Marion'},{zip:'26585', city:'Metz', cnty:'Marion'},{zip:'26586', city:'Montana Mines', cnty:'Marion'},{zip:'26587', city:'Rachel', cnty:'Marion'},{zip:'26588', city:'Rivesville', cnty:'Marion'},{zip:'26590', city:'Wana', cnty:'Monongalia'},{zip:'26591', city:'Worthington', cnty:'Marion'},{zip:'26601', city:'Sutton', cnty:'Braxton'},{zip:'26610', city:'Birch River', cnty:'Nicholas'},{zip:'26611', city:'Cedarville', cnty:'Gilmer'},{zip:'26615', city:'Copen', cnty:'Braxton'},{zip:'26617', city:'Dille', cnty:'Clay'},{zip:'26619', city:'Exchange', cnty:'Braxton'},{zip:'26621', city:'Flatwoods', cnty:'Braxton'},{zip:'26623', city:'Frametown', cnty:'Braxton'},{zip:'26624', city:'Gassaway', cnty:'Braxton'},{zip:'26627', city:'Heaters', cnty:'Braxton'},{zip:'26629', city:'Little Birch', cnty:'Braxton'},{zip:'26631', city:'Napier', cnty:'Braxton'},{zip:'26636', city:'Rosedale', cnty:'Gilmer'},{zip:'26638', city:'Shock', cnty:'Gilmer'},{zip:'26651', city:'Summersville', cnty:'Nicholas'},{zip:'26656', city:'Belva', cnty:'Nicholas'},{zip:'26660', city:'Calvin', cnty:'Nicholas'},{zip:'26662', city:'Canvas', cnty:'Nicholas'},{zip:'26667', city:'Drennen', cnty:'Nicholas'},{zip:'26671', city:'Gilboa', cnty:'Nicholas'},{zip:'26675', city:'Keslers Cross Lanes', cnty:'Nicholas'},{zip:'26676', city:'Leivasy', cnty:'Nicholas'},{zip:'26678', city:'Mount Lookout', cnty:'Nicholas'},{zip:'26679', city:'Mount Nebo', cnty:'Nicholas'},{zip:'26680', city:'Nallen', cnty:'Fayette'},{zip:'26681', city:'Nettie', cnty:'Nicholas'},{zip:'26684', city:'Pool', cnty:'Nicholas'},{zip:'26690', city:'Swiss', cnty:'Nicholas'},{zip:'26691', city:'Tioga', cnty:'Nicholas'},{zip:'26704', city:'Augusta', cnty:'Hampshire'},{zip:'26705', city:'Aurora', cnty:'Preston'},{zip:'26707', city:'Bayard', cnty:'Grant'},{zip:'26710', city:'Burlington', cnty:'Mineral'},{zip:'26711', city:'Capon Bridge', cnty:'Hampshire'},{zip:'26714', city:'Delray', cnty:'Hampshire'},{zip:'26716', city:'Eglon', cnty:'Preston'},{zip:'26717', city:'Elk Garden', cnty:'Mineral'},{zip:'26719', city:'Fort Ashby', cnty:'Mineral'},{zip:'26720', city:'Gormania', cnty:'Grant'},{zip:'26722', city:'Green Spring', cnty:'Hampshire'},{zip:'26726', city:'Keyser', cnty:'Mineral'},{zip:'26731', city:'Lahmansville', cnty:'Grant'},{zip:'26739', city:'Mount Storm', cnty:'Grant'},{zip:'26743', city:'New Creek', cnty:'Mineral'},{zip:'26750', city:'Piedmont', cnty:'Mineral'},{zip:'26753', city:'Ridgeley', cnty:'Mineral'},{zip:'26755', city:'Rio', cnty:'Hampshire'},{zip:'26757', city:'Romney', cnty:'Hampshire'},{zip:'26761', city:'Shanks', cnty:'Hampshire'},{zip:'26763', city:'Springfield', cnty:'Hampshire'},{zip:'26764', city:'Terra Alta', cnty:'Preston'},{zip:'26767', city:'Wiley Ford', cnty:'Mineral'},{zip:'26801', city:'Baker', cnty:'Hardy'},{zip:'26802', city:'Brandywine', cnty:'Pendleton'},{zip:'26804', city:'Circleville', cnty:'Pendleton'},{zip:'26807', city:'Franklin', cnty:'Pendleton'},{zip:'26808', city:'High View', cnty:'Hampshire'},{zip:'26810', city:'Lost City', cnty:'Hardy'},{zip:'26812', city:'Mathias', cnty:'Hardy'},{zip:'26814', city:'Riverton', cnty:'Pendleton'},{zip:'26815', city:'Sugar Grove', cnty:'Pendleton'},{zip:'26817', city:'Bloomery', cnty:'Hampshire'},{zip:'26818', city:'Fisher', cnty:'Hardy'},{zip:'26823', city:'Capon Springs', cnty:'Hampshire'},{zip:'26833', city:'Maysville', cnty:'Grant'},{zip:'26836', city:'Moorefield', cnty:'Hardy'},{zip:'26838', city:'Milam', cnty:'Hardy'},{zip:'26845', city:'Old Fields', cnty:'Hardy'},{zip:'26847', city:'Petersburg', cnty:'Grant'},{zip:'26851', city:'Wardensville', cnty:'Hardy'},{zip:'26852', city:'Purgitsville', cnty:'Hampshire'},{zip:'26855', city:'Cabins', cnty:'Grant'},{zip:'26865', city:'Yellow Spring', cnty:'Hampshire'},{zip:'26866', city:'Upper Tract', cnty:'Pendleton'},{zip:'26884', city:'Seneca Rocks', cnty:'Pendleton'},{zip:'26886', city:'Onego', cnty:'Pendleton'}];

//var cntyOptions = "<option value='cntyAll'>Any</option><option>1 | Barbour</option><option>2 | Berkeley</option><option>3 | Boone</option><option>4 | Braxton</option><option>5 | Brooke</option><option>6 | Cabell</option><option>7 | Calhoun</option><option>8 | Clay</option><option>9 | Doddridge</option><option>10 | Fayette</option><option>11 | Gilmer</option><option>12 | Grant</option><option>13 | Greenbrier</option><option>14 | Hampshire</option><option>15 | Hancock</option><option>16 | Hardy</option><option>17 | Harrison</option><option>18 | Jackson</option><option>19 | Jefferson</option><option>20 | Kanawha</option><option>21 | Lewis</option><option>22 | Lincoln</option><option>23 | Logan</option><option>24 | Marion</option><option>25 | Marshall</option><option>26 | Mason</option><option>27 | McDowell</option><option>28 | Mercer</option><option>29 | Mineral</option><option>30 | Mingo</option><option>31 | Monongalia</option><option>32 | Monroe</option><option>33 | Morgan</option><option>34 | Nicholas</option><option>35 | Ohio</option><option>36 | Pendleton</option><option>37 | Pleasants</option><option>38 | Pocahontas</option><option>39 | Preston</option><option>40 | Putnam</option><option>41 | Raleigh</option><option>42 | Randolph</option><option>43 | Ritchie</option><option>44 | Roane</option><option>45 | Summers</option><option>46 | Taylor</option><option>47 | Tucker</option><option>48 | Tyler</option><option>49 | Upshur</option><option>50 | Wayne</option><option>51 | Webster</option><option>52 | Wetzel</option><option>53 | Wirt</option><option>54 | Wood</option><option>55 | Wyoming</option>";
var cntyOptions = "<option value='cntyAll'>Any</option><option>Barbour</option><option>Berkeley</option><option>Boone</option><option>Braxton</option><option>Brooke</option><option>Cabell</option><option>Calhoun</option><option>Clay</option><option>Doddridge</option><option>Fayette</option><option>Gilmer</option><option>Grant</option><option>Greenbrier</option><option>Hampshire</option><option>Hancock</option><option>Hardy</option><option>Harrison</option><option>Jackson</option><option>Jefferson</option><option>Kanawha</option><option>Lewis</option><option>Lincoln</option><option>Logan</option><option>Marion</option><option>Marshall</option><option>Mason</option><option>McDowell</option><option>Mercer</option><option>Mineral</option><option>Mingo</option><option>Monongalia</option><option>Monroe</option><option>Morgan</option><option>Nicholas</option><option>Ohio</option><option>Pendleton</option><option>Pleasants</option><option>Pocahontas</option><option>Preston</option><option>Putnam</option><option>Raleigh</option><option>Randolph</option><option>Ritchie</option><option>Roane</option><option>Summers</option><option>Taylor</option><option>Tucker</option><option>Tyler</option><option>Upshur</option><option>Wayne</option><option>Webster</option><option>Wetzel</option><option>Wirt</option><option>Wood</option><option>Wyoming</option>";
var signOptions = "<option value='signAll'>Any</option><option>Interstate</option><option>U.S. Highway</option><option>WV State Route</option><option>County Route</option><option>State Parks and Forest</option><option>FANS</option><option>HARP</option><option>US Forest Road</option><option>WV State Rail Authority</option><option>Trails</option><option>Municipal Non-State</option><option>Other</option><option>N/A</option>"

var customLods =[
	{
		level : 0,
		resolution : 611.49622628138,
		scale : 2311162.217155
	}, {
		level : 1,
		resolution : 305.748113140558,
		scale : 1155581.108577
	}, {
		level : 2,
		resolution : 152.874056570411,
		scale : 577790.554289
	}, {
		level : 3,
		resolution : 76.4370282850732,
		scale : 288895.277144
	}, {
		level : 4,
		resolution : 38.2185141425366,
		scale : 144447.638572
	}, {
		level : 5,
		resolution : 19.1092570712683,
		scale : 72223.819286
	}, {
		level : 6,
		resolution : 9.55462853563415,
		scale : 36111.909643
	}, {
		level : 7,
		resolution : 4.77731426794937,
		scale : 18055.954822
	}, {
		level : 8,
		resolution : 2.38865713397468,
		scale : 9027.977411
	}, {
		level : 9,
		resolution : 1.19432856685505,
		scale : 4513.988705
	}, {
		level : 10,
		resolution : 0.597164283559817,
		scale : 2256.994353
	}, {
		level : 11,
		resolution : 0.298582141647617,
		scale : 1128.497176
	}, {
		level : 12,
		resolution : 0.149291070823808,
		scale : 564.248588
	}
];