var counties = new Array();
counties[57]=new county('LMA',LMA,''); // local market area

var LMA = new Array();  //local market area

function town(name) { this.name=name; }

function county(name,towns,state) {
	this.name=name;
	this.towns=towns;
	this.state=state;
}

function showstate(state) {
	// first, remove all from the counties select box
	var ctybox=document.getElementById("searchform").countybox;
	removeallitems(ctybox);
	var townbox=document.getElementById("searchform").townbox;
	removeallitems(townbox);


	// now go and get the new items from the jsarray and drop them in..
	// document.write (counties.length);
	// document.write ("looking for: " + state);
	for (x in counties) {
		// document.write(x);

		if (counties[x].state==state) {
			// add this item
			//document.write(counties[x].name + counties[x].state + "<br />");
			additembyname(ctybox,counties[x].name);
		}
	}
}

function showcountynew(thiscounty) {
	// first, remove all from the counties select box
    // alert(thiscounty);
	var townbox=document.getElementById("searchform").townbox;
	var bct=townbox.length;

	removeallitems(townbox);

	// now go and get the new items from the jsarray and drop them in..
	//thisarray = document.getElementById(thiscounty);

		for (x in counties) {
			if (counties[x].name==thiscounty) {
				var countyid=x;
				break;
			}
		}

		   // alert("CountyID: " + countyid);
            // alert("n: " + counties[countyid].towns.length);
		for (x in counties[countyid].towns) {
			// add this item
            // alert(counties[countyid].towns[x].name);
            if(counties[countyid].towns[x].name != undefined) {
			 addtownbyname(townbox,counties[countyid].towns[x].name, counties[countyid].towns[x].id)
            }
		}
		changecountyname(thiscounty);
}


function selectstate(frombox) {
	// var sel=document.getElementById("state").toString
	for(var i=0; i<frombox.options.length; i++) {
		if(frombox.options[i].selected && frombox.options[i].value != "") {
			// alert(frombox.options[i].value);
			thisstate = frombox.options[i].value;
			showstate(thisstate);

		}
	}
}

function selectcounty(frombox) {
	// var sel=document.getElementById("state").toString
	for(var i=0; i<frombox.options.length; i++) {
		if(frombox.options[i].selected && frombox.options[i].value != "") {
			// alert(frombox.options[i].value);
			thiscounty = frombox.options[i].value;
			showcountynew(thiscounty);

		}
	}
}

//======================================================================
function addtown() {
 	// alert("addtown");
 	var v=document.aasearchform.county_townlist.selectedIndex;
 	var o=document.aasearchform.county_townlist.options[v].text;
 	var vo=document.aasearchform.county_townlist.options[v].value;
 	// alert(vo+o);
 	//new Option(text, value, defaultSelected, selected)
 	var ns=document.aasearchform.townlist.options.length;
}

function selecttowns(box) {
	// selects all towns in the thetowns list
	for(var i=0; i<box.options.length; i++) {
		if (box.options[i].value != "None Selected") {
			box.options[i].selected=true;
		}
	}
}


sortem = 1;  //true

function changecountyname(nv) {
	// document.getElementById("countyname").innerText=nv;

	if (document.all) {
		countyname.innerHTML=nv;
	} else if (document.getElementById) {
		rng = document.createRange();
		el = document.getElementById("countyname");
		rng.setStartBefore(el);
		htmlFrag = rng.createContextualFragment(nv);
		while (el.hasChildNodes()) el.removeChild(el.lastChild);
		el.appendChild(htmlFrag);
	}

}


var Barnstable_MA = new Array();
var Berkshire_MA = new Array();
var Bristol_MA = new Array();
var Cheshire_MA = new Array();
var Dukes_MA = new Array();
var Essex_MA = new Array();
var Franklin_MA = new Array();
var Grafton_MA = new Array();
var Hampden_MA = new Array();
var Hampshire_MA = new Array();
var Middlesex_MA = new Array();
var Nantucket_MA = new Array();
var Norfolk_MA = new Array();
var Other_MA = new Array();
var Plymouth_MA = new Array();
var Rockingham_MA = new Array();
var Suffolk_MA = new Array();
var Windsor_MA = new Array();
var Worcester_MA = new Array();
var Aroostook_ME = new Array();
var Cumberland_ME = new Array();
var Other_ME = new Array();
var Oxford_ME = new Array();
var Penobscot_ME = new Array();
var Washington_ME = new Array();
var York_ME = new Array();
var Belknap_NH = new Array();
var Carroll_NH = new Array();
var Cheshire_NH = new Array();
var Coos_NH = new Array();
var Franklin_NH = new Array();
var Grafton_NH = new Array();
var Hillsborough_NH = new Array();
var Merrimack_NH = new Array();
var Rockingham_NH = new Array();
var Strafford_NH = new Array();
var Sullivan_NH = new Array();
var Addison_VT = new Array();
var Bennington_VT = new Array();
var Caledonia_VT = new Array();
var Chittenden_VT = new Array();
var Essex_VT = new Array();
var Franklin_VT = new Array();
var Grandisle_VT = new Array();
var Lamoille_VT = new Array();
var Orange_VT = new Array();
var Orleans_VT = new Array();
var Rutland_VT = new Array();
var Washington_VT = new Array();
var Windham_VT = new Array();
var Windsor_VT = new Array();

counties[0]=new county('Barnstable_MA',Barnstable_MA,'MA');
counties[1]=new county('Berkshire_MA',Berkshire_MA,'MA');
counties[2]=new county('Bristol_MA',Bristol_MA,'MA');
counties[3]=new county('Cheshire_MA',Cheshire_MA,'MA');
counties[4]=new county('Dukes_MA',Dukes_MA,'MA');
counties[5]=new county('Essex_MA',Essex_MA,'MA');
counties[6]=new county('Franklin_MA',Franklin_MA,'MA');
counties[7]=new county('Grafton_MA',Grafton_MA,'MA');
counties[8]=new county('Hampden_MA',Hampden_MA,'MA');
counties[9]=new county('Hampshire_MA',Hampshire_MA,'MA');
counties[10]=new county('Middlesex_MA',Middlesex_MA,'MA');
counties[11]=new county('Nantucket_MA',Nantucket_MA,'MA');
counties[12]=new county('Norfolk_MA',Norfolk_MA,'MA');
counties[13]=new county('Other_MA',Other_MA,'MA');
counties[14]=new county('Plymouth_MA',Plymouth_MA,'MA');
counties[15]=new county('Rockingham_MA',Rockingham_MA,'MA');
counties[16]=new county('Suffolk_MA',Suffolk_MA,'MA');
counties[17]=new county('Windsor_MA',Windsor_MA,'MA');
counties[18]=new county('Worcester_MA',Worcester_MA,'MA');
counties[19]=new county('Aroostook_ME',Aroostook_ME,'ME');
counties[20]=new county('Cumberland_ME',Cumberland_ME,'ME');
counties[21]=new county('Other_ME',Other_ME,'ME');
counties[22]=new county('Oxford_ME',Oxford_ME,'ME');
counties[23]=new county('Penobscot_ME',Penobscot_ME,'ME');
counties[24]=new county('Washington_ME',Washington_ME,'ME');
counties[25]=new county('York_ME',York_ME,'ME');
counties[26]=new county('Belknap_NH',Belknap_NH,'NH');
counties[27]=new county('Carroll_NH',Carroll_NH,'NH');
counties[28]=new county('Cheshire_NH',Cheshire_NH,'NH');
counties[29]=new county('Coos_NH',Coos_NH,'NH');
counties[30]=new county('Franklin_NH',Franklin_NH,'NH');
counties[31]=new county('Grafton_NH',Grafton_NH,'NH');
counties[32]=new county('Hillsborough_NH',Hillsborough_NH,'NH');
counties[33]=new county('Merrimack_NH',Merrimack_NH,'NH');
counties[34]=new county('Rockingham_NH',Rockingham_NH,'NH');
counties[35]=new county('Strafford_NH',Strafford_NH,'NH');
counties[36]=new county('Sullivan_NH',Sullivan_NH,'NH');
counties[37]=new county('Addison_VT',Addison_VT,'VT');
counties[38]=new county('Bennington_VT',Bennington_VT,'VT');
counties[39]=new county('Caledonia_VT',Caledonia_VT,'VT');
counties[40]=new county('Chittenden_VT',Chittenden_VT,'VT');
counties[41]=new county('Essex_VT',Essex_VT,'VT');
counties[42]=new county('Franklin_VT',Franklin_VT,'VT');
counties[43]=new county('Grandisle_VT',Grandisle_VT,'VT');
counties[44]=new county('Lamoille_VT',Lamoille_VT,'VT');
counties[45]=new county('Orange_VT',Orange_VT,'VT');
counties[46]=new county('Orleans_VT',Orleans_VT,'VT');
counties[47]=new county('Rutland_VT',Rutland_VT,'VT');
counties[48]=new county('Washington_VT',Washington_VT,'VT');
counties[49]=new county('Windham_VT',Windham_VT,'VT');
counties[50]=new county('Windsor_VT',Windsor_VT,'VT');

Barnstable_MA[0]= new town('Barnstable MA');
Barnstable_MA[1]= new town('Bourne MA');
Barnstable_MA[2]= new town('Brewster MA');
Barnstable_MA[3]= new town('Chatham MA');
Barnstable_MA[4]= new town('Cotuit MA');
Barnstable_MA[5]= new town('Dennis MA');
Barnstable_MA[6]= new town('Eastham MA');
Barnstable_MA[7]= new town('Falmouth MA');
Barnstable_MA[8]= new town('Harwich MA');
Barnstable_MA[9]= new town('Hyannis MA');
Barnstable_MA[10]= new town('Mashpee MA');
Barnstable_MA[11]= new town('Orleans MA');
Barnstable_MA[12]= new town('Provincetown MA');
Barnstable_MA[13]= new town('Sandwich MA');
Barnstable_MA[14]= new town('Wellfleet MA');
Barnstable_MA[15]= new town('Woods Hole MA');
Barnstable_MA[16]= new town('Yarmouth MA');
Berkshire_MA[0]= new town('Adams MA');
Berkshire_MA[1]= new town('Alford MA');
Berkshire_MA[2]= new town('Becket MA');
Berkshire_MA[3]= new town('Cheshire MA');
Berkshire_MA[4]= new town('Clarksburg MA');
Berkshire_MA[5]= new town('Dalton MA');
Berkshire_MA[6]= new town('Egremont MA');
Berkshire_MA[7]= new town('Florida MA');
Berkshire_MA[8]= new town('Great Barrington MA');
Berkshire_MA[9]= new town('Hancock MA');
Berkshire_MA[10]= new town('Hindsdale MA');
Berkshire_MA[11]= new town('Lanesborough MA');
Berkshire_MA[12]= new town('Lee MA');
Berkshire_MA[13]= new town('Lenox MA');
Berkshire_MA[14]= new town('Monterey MA');
Berkshire_MA[15]= new town('Mount Washington MA');
Berkshire_MA[16]= new town('New Ashford MA');
Berkshire_MA[17]= new town('New Marlborough MA');
Berkshire_MA[18]= new town('North Adams MA');
Berkshire_MA[19]= new town('Otis MA');
Berkshire_MA[20]= new town('Peru MA');
Berkshire_MA[21]= new town('Pittsfield MA');
Berkshire_MA[22]= new town('Richmond MA');
Berkshire_MA[23]= new town('Savoy MA');
Berkshire_MA[24]= new town('Sheffield MA');
Berkshire_MA[25]= new town('Stockbridge MA');
Berkshire_MA[26]= new town('Tyringham MA');
Berkshire_MA[27]= new town('Washington MA');
Berkshire_MA[28]= new town('West Stockbridge MA');
Berkshire_MA[29]= new town('Williamstown MA');
Berkshire_MA[30]= new town('Windsor MA');
Bristol_MA[0]= new town('Acushnet MA');
Bristol_MA[1]= new town('Berkley MA');
Bristol_MA[2]= new town('Dartmouth MA');
Bristol_MA[3]= new town('Dighton MA');
Bristol_MA[4]= new town('Easton MA');
Bristol_MA[5]= new town('Fairhaven MA');
Bristol_MA[6]= new town('Fall River MA');
Bristol_MA[7]= new town('Freetown MA');
Bristol_MA[8]= new town('Mansfield MA');
Bristol_MA[9]= new town('New Bedford MA');
Bristol_MA[10]= new town('North Attleboro MA');
Bristol_MA[11]= new town('Norton MA');
Bristol_MA[12]= new town('Raynham MA');
Bristol_MA[13]= new town('Rehoboth MA');
Bristol_MA[14]= new town('Seekonk MA');
Bristol_MA[15]= new town('Somerset MA');
Bristol_MA[16]= new town('Swansea MA');
Bristol_MA[17]= new town('Taunton MA');
Bristol_MA[18]= new town('Westport MA');
Cheshire_MA[0]= new town('Attleboro MA');
Dukes_MA[0]= new town('Aquinnah MA');
Dukes_MA[1]= new town('Chilmark MA');
Dukes_MA[2]= new town('Edgartown MA');
Dukes_MA[3]= new town('Gay Head MA');
Dukes_MA[4]= new town('Gosnold MA');
Dukes_MA[5]= new town('Oak Bluffs MA');
Dukes_MA[6]= new town('Tisbury MA');
Dukes_MA[7]= new town('Vineyard Haven MA');
Dukes_MA[8]= new town('West Tisbury MA');
Essex_MA[0]= new town('Amesbury MA');
Essex_MA[1]= new town('Andover MA');
Essex_MA[2]= new town('Beverly MA');
Essex_MA[3]= new town('Boxford MA');
Essex_MA[4]= new town('Danvers MA');
Essex_MA[5]= new town('Essex MA');
Essex_MA[6]= new town('Georgetown MA');
Essex_MA[7]= new town('Gloucester MA');
Essex_MA[8]= new town('Groveland MA');
Essex_MA[9]= new town('Hamilton MA');
Essex_MA[10]= new town('Haverhill MA');
Essex_MA[11]= new town('Ipswich MA');
Essex_MA[12]= new town('Lawrence MA');
Essex_MA[13]= new town('Lynn MA');
Essex_MA[14]= new town('Lynnfield MA');
Essex_MA[15]= new town('Manchester by-the-Sea MA');
Essex_MA[16]= new town('Marblehead MA');
Essex_MA[17]= new town('Merrimac MA');
Essex_MA[18]= new town('Methuen MA');
Essex_MA[19]= new town('Middleton MA');
Essex_MA[20]= new town('Nahant MA');
Essex_MA[21]= new town('Newbury MA');
Essex_MA[22]= new town('Newburyport MA');
Essex_MA[23]= new town('North Andover MA');
Essex_MA[24]= new town('Peabody MA');
Essex_MA[25]= new town('Rockport MA');
Essex_MA[26]= new town('Rowley MA');
Essex_MA[27]= new town('Salem MA');
Essex_MA[28]= new town('Salisbury MA');
Essex_MA[29]= new town('Saugus MA');
Essex_MA[30]= new town('Swampscott MA');
Essex_MA[31]= new town('Topsfield MA');
Essex_MA[32]= new town('Wenham MA');
Essex_MA[33]= new town('West Newbury MA');
Franklin_MA[0]= new town('Ashfield MA');
Franklin_MA[1]= new town('Bernardston MA');
Franklin_MA[2]= new town('Buckland MA');
Franklin_MA[3]= new town('Charlemont MA');
Franklin_MA[4]= new town('Colrain MA');
Franklin_MA[5]= new town('Conway MA');
Franklin_MA[6]= new town('Deerfield MA');
Franklin_MA[7]= new town('Erving MA');
Franklin_MA[8]= new town('Gill MA');
Franklin_MA[9]= new town('Greenfield MA');
Franklin_MA[10]= new town('Hawley MA');
Franklin_MA[11]= new town('Heath MA');
Franklin_MA[12]= new town('Leverett MA');
Franklin_MA[13]= new town('Leyden MA');
Franklin_MA[14]= new town('Monroe MA');
Franklin_MA[15]= new town('Montague MA');
Franklin_MA[16]= new town('New Salem MA');
Franklin_MA[17]= new town('Northfield MA');
Franklin_MA[18]= new town('Orange MA');
Franklin_MA[19]= new town('Rowe MA');
Franklin_MA[20]= new town('Shelburne MA');
Franklin_MA[21]= new town('Shutesbury MA');
Franklin_MA[22]= new town('Sunderland MA');
Franklin_MA[23]= new town('Warwick MA');
Franklin_MA[24]= new town('Wendell MA');
Franklin_MA[25]= new town('Whatley MA');
Grafton_MA[0]= new town('Truro MA');
Hampden_MA[0]= new town('Agawam MA');
Hampden_MA[1]= new town('Blandford MA');
Hampden_MA[2]= new town('Brimfield MA');
Hampden_MA[3]= new town('Chester MA');
Hampden_MA[4]= new town('Chicopee MA');
Hampden_MA[5]= new town('East Longmeadow MA');
Hampden_MA[6]= new town('Granville MA');
Hampden_MA[7]= new town('Hampden MA');
Hampden_MA[8]= new town('Holland MA');
Hampden_MA[9]= new town('Holyoke MA');
Hampden_MA[10]= new town('Longmeadow MA');
Hampden_MA[11]= new town('Ludlow MA');
Hampden_MA[12]= new town('Monson MA');
Hampden_MA[13]= new town('Montgomery MA');
Hampden_MA[14]= new town('Palmer MA');
Hampden_MA[15]= new town('Russell MA');
Hampden_MA[16]= new town('Southwick MA');
Hampden_MA[17]= new town('Springfield MA');
Hampden_MA[18]= new town('Tolland MA');
Hampden_MA[19]= new town('Wales MA');
Hampden_MA[20]= new town('West Springfield MA');
Hampden_MA[21]= new town('Westfield MA');
Hampden_MA[22]= new town('Wilbraham MA');
Hampshire_MA[0]= new town('Amherst MA');
Hampshire_MA[1]= new town('Belchertown MA');
Hampshire_MA[2]= new town('Chesterfield MA');
Hampshire_MA[3]= new town('Cummington MA');
Hampshire_MA[4]= new town('Easthampton MA');
Hampshire_MA[5]= new town('Goshen MA');
Hampshire_MA[6]= new town('Granby MA');
Hampshire_MA[7]= new town('Hadley MA');
Hampshire_MA[8]= new town('Hatfield MA');
Hampshire_MA[9]= new town('Huntington MA');
Hampshire_MA[10]= new town('Middlefield MA');
Hampshire_MA[11]= new town('Northampton MA');
Hampshire_MA[12]= new town('Pelham MA');
Hampshire_MA[13]= new town('Plainfield MA');
Hampshire_MA[14]= new town('South Hadley MA');
Hampshire_MA[15]= new town('Southampton MA');
Hampshire_MA[16]= new town('Ware MA');
Hampshire_MA[17]= new town('Westhampton MA');
Hampshire_MA[18]= new town('Williamsburg MA');
Hampshire_MA[19]= new town('Worthington MA');
Middlesex_MA[0]= new town('Acton MA');
Middlesex_MA[1]= new town('Arlington MA');
Middlesex_MA[2]= new town('Ashby MA');
Middlesex_MA[3]= new town('Ashland MA');
Middlesex_MA[4]= new town('Ayer MA');
Middlesex_MA[5]= new town('Bedford MA');
Middlesex_MA[6]= new town('Belmont MA');
Middlesex_MA[7]= new town('Billerica MA');
Middlesex_MA[8]= new town('Boxborough MA');
Middlesex_MA[9]= new town('Burlington MA');
Middlesex_MA[10]= new town('Cambridge MA');
Middlesex_MA[11]= new town('Carlisle MA');
Middlesex_MA[12]= new town('Chelmsford MA');
Middlesex_MA[13]= new town('Concord MA');
Middlesex_MA[14]= new town('Dracut MA');
Middlesex_MA[15]= new town('Dunstable MA');
Middlesex_MA[16]= new town('Everett MA');
Middlesex_MA[17]= new town('Framingham MA');
Middlesex_MA[18]= new town('Groton MA');
Middlesex_MA[19]= new town('Holliston MA');
Middlesex_MA[20]= new town('Hopkinton MA');
Middlesex_MA[21]= new town('Lexington MA');
Middlesex_MA[22]= new town('Lincoln MA');
Middlesex_MA[23]= new town('Littleton MA');
Middlesex_MA[24]= new town('Lowell MA');
Middlesex_MA[25]= new town('Malden MA');
Middlesex_MA[26]= new town('Marlborough MA');
Middlesex_MA[27]= new town('Maynard MA');
Middlesex_MA[28]= new town('Medford MA');
Middlesex_MA[29]= new town('Melrose MA');
Middlesex_MA[30]= new town('Natick MA');
Middlesex_MA[31]= new town('Newton MA');
Middlesex_MA[32]= new town('North Reading MA');
Middlesex_MA[33]= new town('Pepperell MA');
Middlesex_MA[34]= new town('Reading MA');
Middlesex_MA[35]= new town('Sherborn MA');
Middlesex_MA[36]= new town('Shirley MA');
Middlesex_MA[37]= new town('Somerville MA');
Middlesex_MA[38]= new town('Stoneham MA');
Middlesex_MA[39]= new town('Stow MA');
Middlesex_MA[40]= new town('Sudbury MA');
Middlesex_MA[41]= new town('Tewksbury MA');
Middlesex_MA[42]= new town('Townsend MA');
Middlesex_MA[43]= new town('Tyngsborough MA');
Middlesex_MA[44]= new town('Wakefield MA');
Middlesex_MA[45]= new town('Waltham MA');
Middlesex_MA[46]= new town('Watertown MA');
Middlesex_MA[47]= new town('Wayland MA');
Middlesex_MA[48]= new town('Westford MA');
Middlesex_MA[49]= new town('Weston MA');
Middlesex_MA[50]= new town('Wilmington MA');
Middlesex_MA[51]= new town('Winchester MA');
Middlesex_MA[52]= new town('Woburn MA');
Nantucket_MA[0]= new town('Nantucket MA');
Norfolk_MA[0]= new town('Avon MA');
Norfolk_MA[1]= new town('Bellingham MA');
Norfolk_MA[2]= new town('Braintree MA');
Norfolk_MA[3]= new town('Brookline MA');
Norfolk_MA[4]= new town('Canton MA');
Norfolk_MA[5]= new town('Cohasset MA');
Norfolk_MA[6]= new town('Dedham MA');
Norfolk_MA[7]= new town('Dover MA');
Norfolk_MA[8]= new town('Foxboro MA');
Norfolk_MA[9]= new town('Franklin MA');
Norfolk_MA[10]= new town('Holbrook MA');
Norfolk_MA[11]= new town('Medfield MA');
Norfolk_MA[12]= new town('Medway MA');
Norfolk_MA[13]= new town('Millis MA');
Norfolk_MA[14]= new town('Milton MA');
Norfolk_MA[15]= new town('Needham MA');
Norfolk_MA[16]= new town('Norfolk MA');
Norfolk_MA[17]= new town('Norwood MA');
Norfolk_MA[18]= new town('Plainville MA');
Norfolk_MA[19]= new town('Randolph MA');
Norfolk_MA[20]= new town('Sharon MA');
Norfolk_MA[21]= new town('Stoughton MA');
Norfolk_MA[22]= new town('Walpole MA');
Norfolk_MA[23]= new town('Wellesley MA');
Norfolk_MA[24]= new town('Westwood MA');
Norfolk_MA[25]= new town('Weymouth MA');
Norfolk_MA[26]= new town('Wrentham MA');
Other_MA[0]= new town('Other MA');
Plymouth_MA[0]= new town('Abington MA');
Plymouth_MA[1]= new town('Bridgewater MA');
Plymouth_MA[2]= new town('Brockton MA');
Plymouth_MA[3]= new town('Carver MA');
Plymouth_MA[4]= new town('Duxbury MA');
Plymouth_MA[5]= new town('East Bridgewater MA');
Plymouth_MA[6]= new town('Halifax MA');
Plymouth_MA[7]= new town('Hanover MA');
Plymouth_MA[8]= new town('Hanson MA');
Plymouth_MA[9]= new town('Hingham MA');
Plymouth_MA[10]= new town('Hull MA');
Plymouth_MA[11]= new town('Kingston MA');
Plymouth_MA[12]= new town('Lakeville MA');
Plymouth_MA[13]= new town('Marion MA');
Plymouth_MA[14]= new town('Marshfield MA');
Plymouth_MA[15]= new town('Mattapoisett MA');
Plymouth_MA[16]= new town('Middleborough MA');
Plymouth_MA[17]= new town('Norwell MA');
Plymouth_MA[18]= new town('Pembroke MA');
Plymouth_MA[19]= new town('Plymouth MA');
Plymouth_MA[20]= new town('Plympton MA');
Plymouth_MA[21]= new town('Rochester MA');
Plymouth_MA[22]= new town('Rockland MA');
Plymouth_MA[23]= new town('Scituate MA');
Plymouth_MA[24]= new town('Wareham MA');
Plymouth_MA[25]= new town('West Bridgewater MA');
Plymouth_MA[26]= new town('Whitman MA');
Rockingham_MA[0]= new town('Sandisfield MA');
Suffolk_MA[0]= new town('Boston MA');
Suffolk_MA[1]= new town('Chelsea MA');
Suffolk_MA[2]= new town('Revere MA');
Suffolk_MA[3]= new town('Winthrop MA');
Windsor_MA[0]= new town('Quincy MA');
Worcester_MA[0]= new town('Ashburnham MA');
Worcester_MA[1]= new town('Athol MA');
Worcester_MA[2]= new town('Auburn MA');
Worcester_MA[3]= new town('Barre MA');
Worcester_MA[4]= new town('Berlin MA');
Worcester_MA[5]= new town('Blackstone MA');
Worcester_MA[6]= new town('Bolton MA');
Worcester_MA[7]= new town('Boylston MA');
Worcester_MA[8]= new town('Brookfield MA');
Worcester_MA[9]= new town('Charlton MA');
Worcester_MA[10]= new town('Clinton MA');
Worcester_MA[11]= new town('Devens MA');
Worcester_MA[12]= new town('Douglas MA');
Worcester_MA[13]= new town('Dudley MA');
Worcester_MA[14]= new town('East Brookfield MA');
Worcester_MA[15]= new town('Fitchburg MA');
Worcester_MA[16]= new town('Gardner MA');
Worcester_MA[17]= new town('Grafton MA');
Worcester_MA[18]= new town('Hardwick MA');
Worcester_MA[19]= new town('Harvard MA');
Worcester_MA[20]= new town('Holden MA');
Worcester_MA[21]= new town('Hopedale MA');
Worcester_MA[22]= new town('Hubbardston MA');
Worcester_MA[23]= new town('Lancaster MA');
Worcester_MA[24]= new town('Leicester MA');
Worcester_MA[25]= new town('Leominister MA');
Worcester_MA[26]= new town('Lunenburg MA');
Worcester_MA[27]= new town('Mendon MA');
Worcester_MA[28]= new town('Milford MA');
Worcester_MA[29]= new town('Millbury MA');
Worcester_MA[30]= new town('Millville MA');
Worcester_MA[31]= new town('New Braintree MA');
Worcester_MA[32]= new town('North Brookfield MA');
Worcester_MA[33]= new town('Northborough MA');
Worcester_MA[34]= new town('Northbridge MA');
Worcester_MA[35]= new town('Oakham MA');
Worcester_MA[36]= new town('Oxford MA');
Worcester_MA[37]= new town('Paxton MA');
Worcester_MA[38]= new town('Petersham MA');
Worcester_MA[39]= new town('Philipston MA');
Worcester_MA[40]= new town('Princeton MA');
Worcester_MA[41]= new town('Royalston MA');
Worcester_MA[42]= new town('Rutland MA');
Worcester_MA[43]= new town('Shrewsbury MA');
Worcester_MA[44]= new town('Southborough MA');
Worcester_MA[45]= new town('Southbridge MA');
Worcester_MA[46]= new town('Spencer MA');
Worcester_MA[47]= new town('Sterling MA');
Worcester_MA[48]= new town('Sturbridge MA');
Worcester_MA[49]= new town('Sutton MA');
Worcester_MA[50]= new town('Templeton MA');
Worcester_MA[51]= new town('Upton MA');
Worcester_MA[52]= new town('Uxbridge MA');
Worcester_MA[53]= new town('Warren MA');
Worcester_MA[54]= new town('Webster MA');
Worcester_MA[55]= new town('West Brookfield MA');
Worcester_MA[56]= new town('Westborough MA');
Worcester_MA[57]= new town('Westminister MA');
Worcester_MA[58]= new town('Winchendon MA');
Worcester_MA[59]= new town('Worcester MA');
Aroostook_ME[0]= new town('Oxbow Twp ME');
Cumberland_ME[0]= new town('Bridgton ME');
Cumberland_ME[1]= new town('Portland ME');
Other_ME[0]= new town('Other ME');
Oxford_ME[0]= new town('Adamstown ME');
Oxford_ME[1]= new town('Albany ME');
Oxford_ME[2]= new town('Andover ME');
Oxford_ME[3]= new town('Bethel ME');
Oxford_ME[4]= new town('Bowmantown Twp ME');
Oxford_ME[5]= new town('Brownfield ME');
Oxford_ME[6]= new town('Buckfield ME');
Oxford_ME[7]= new town('Byron ME');
Oxford_ME[8]= new town('C Surplus ME');
Oxford_ME[9]= new town('Canton ME');
Oxford_ME[10]= new town('Denmark ME');
Oxford_ME[11]= new town('Dixfield ME');
Oxford_ME[12]= new town('Fryeburg ME');
Oxford_ME[13]= new town('Gilead ME');
Oxford_ME[14]= new town('Grafton ME');
Oxford_ME[15]= new town('Greenwood ME');
Oxford_ME[16]= new town('Hanover ME');
Oxford_ME[17]= new town('Hartford ME');
Oxford_ME[18]= new town('Hebron ME');
Oxford_ME[19]= new town('Hiram ME');
Oxford_ME[20]= new town('Lovell ME');
Oxford_ME[21]= new town('Lower Cupsuptic ME');
Oxford_ME[22]= new town('Lynchtown ME');
Oxford_ME[23]= new town('Magalloway Plantation ME');
Oxford_ME[24]= new town('Mason ME');
Oxford_ME[25]= new town('Mexico ME');
Oxford_ME[26]= new town('Milton Twp ME');
Oxford_ME[27]= new town('Newry ME');
Oxford_ME[28]= new town('North Andover ME');
Oxford_ME[29]= new town('Norway ME');
Oxford_ME[30]= new town('Otisfield ME');
Oxford_ME[31]= new town('Oxford ME');
Oxford_ME[32]= new town('Paris ME');
Oxford_ME[33]= new town('Parkertown ME');
Oxford_ME[34]= new town('Parmachenee ME');
Oxford_ME[35]= new town('Pembroke ME');
Oxford_ME[36]= new town('Peru ME');
Oxford_ME[37]= new town('Porter ME');
Oxford_ME[38]= new town('Richardsontown ME');
Oxford_ME[39]= new town('Riley ME');
Oxford_ME[40]= new town('Roxbury ME');
Oxford_ME[41]= new town('Rumford ME');
Oxford_ME[42]= new town('Stoneham ME');
Oxford_ME[43]= new town('Stow ME');
Oxford_ME[44]= new town('Sumner ME');
Oxford_ME[45]= new town('Sweden ME');
Oxford_ME[46]= new town('Township C ME');
Oxford_ME[47]= new town('Upper Cupsuptic ME');
Oxford_ME[48]= new town('Upton ME');
Oxford_ME[49]= new town('West Andover ME');
Oxford_ME[50]= new town('West Paris ME');
Oxford_ME[51]= new town('Woodstock ME');
Penobscot_ME[0]= new town('Lincoln ME');
Washington_ME[0]= new town('Perry ME');
York_ME[0]= new town('Acton ME');
York_ME[1]= new town('Alfred ME');
York_ME[2]= new town('Arundel ME');
York_ME[3]= new town('Berwick ME');
York_ME[4]= new town('Biddeford ME');
York_ME[5]= new town('Buxton ME');
York_ME[6]= new town('Cornish ME');
York_ME[7]= new town('Dayton ME');
York_ME[8]= new town('East Lebanon ME');
York_ME[9]= new town('Eliot ME');
York_ME[10]= new town('Hollis ME');
York_ME[11]= new town('Kennebunk ME');
York_ME[12]= new town('Kennebunkport ME');
York_ME[13]= new town('Kittery ME');
York_ME[14]= new town('Lebanon ME');
York_ME[15]= new town('Limerick ME');
York_ME[16]= new town('Limington ME');
York_ME[17]= new town('Lyman ME');
York_ME[18]= new town('Newfield ME');
York_ME[19]= new town('North Berwick ME');
York_ME[20]= new town('Ogunquit ME');
York_ME[21]= new town('Old Orchard Beach ME');
York_ME[22]= new town('Parsonsfield ME');
York_ME[23]= new town('Saco ME');
York_ME[24]= new town('Sanford ME');
York_ME[25]= new town('Shapleigh ME');
York_ME[26]= new town('South Berwick ME');
York_ME[27]= new town('South Lebanon ME');
York_ME[28]= new town('Waterboro ME');
York_ME[29]= new town('Wells ME');
York_ME[30]= new town('West Lebanon ME');
York_ME[31]= new town('York Beach ME');
York_ME[32]= new town('York Harbor ME');
York_ME[33]= new town('York ME');
Belknap_NH[0]= new town('Alton Bay NH');
Belknap_NH[1]= new town('Alton NH');
Belknap_NH[2]= new town('Barnstead NH');
Belknap_NH[3]= new town('Belmont NH');
Belknap_NH[4]= new town('Center Barnstead NH');
Belknap_NH[5]= new town('Center Harbor NH');
Belknap_NH[6]= new town('East Alton NH');
Belknap_NH[7]= new town('East Tilton NH');
Belknap_NH[8]= new town('Gilford NH');
Belknap_NH[9]= new town('Gilmanton Iron Works NH');
Belknap_NH[10]= new town('Gilmanton NH');
Belknap_NH[11]= new town('Glendale NH');
Belknap_NH[12]= new town('Laconia NH');
Belknap_NH[13]= new town('Lakeport NH');
Belknap_NH[14]= new town('Lower Gilmanton NH');
Belknap_NH[15]= new town('Meredith Center NH');
Belknap_NH[16]= new town('Meredith Neck NH');
Belknap_NH[17]= new town('Meredith NH');
Belknap_NH[18]= new town('New Hampton NH');
Belknap_NH[19]= new town('North Barnstead NH');
Belknap_NH[20]= new town('Sanbornton NH');
Belknap_NH[21]= new town('South Barnstead NH');
Belknap_NH[22]= new town('Tilton NH');
Belknap_NH[23]= new town('Weirs Beach NH');
Belknap_NH[24]= new town('West Alton NH');
Belknap_NH[25]= new town('West Center Harbor NH');
Belknap_NH[26]= new town('West Sanbornton NH');
Belknap_NH[27]= new town('Winnisquam NH');
Belknap_NH[28]= new town('Winona NH');
Carroll_NH[0]= new town('Albany NH');
Carroll_NH[1]= new town('Bartlett NH');
Carroll_NH[2]= new town('Brookfield NH');
Carroll_NH[3]= new town('Center Ossipee NH');
Carroll_NH[4]= new town('Center Sandwich NH');
Carroll_NH[5]= new town('Center Tuftonboro NH');
Carroll_NH[6]= new town('Chatham NH');
Carroll_NH[7]= new town('Chocorua NH');
Carroll_NH[8]= new town('Conway NH');
Carroll_NH[9]= new town('Copple Crown NH');
Carroll_NH[10]= new town('East Sandwich NH');
Carroll_NH[11]= new town('East Wakefield NH');
Carroll_NH[12]= new town('East Wolfeboro NH');
Carroll_NH[13]= new town('Eaton NH');
Carroll_NH[14]= new town('Effingham NH');
Carroll_NH[15]= new town('Freedom NH');
Carroll_NH[16]= new town('Granite NH');
Carroll_NH[17]= new town('Hales Location NH');
Carroll_NH[18]= new town('Harts Location NH');
Carroll_NH[19]= new town('Jackson NH');
Carroll_NH[20]= new town('Madison NH');
Carroll_NH[21]= new town('Melvin Village NH');
Carroll_NH[22]= new town('Mirror Lake NH');
Carroll_NH[23]= new town('Moultonboro Neck NH');
Carroll_NH[24]= new town('Moultonborough NH');
Carroll_NH[25]= new town('Moultonville NH');
Carroll_NH[26]= new town('North Conway NH');
Carroll_NH[27]= new town('North Sandwich NH');
Carroll_NH[28]= new town('North Wakefield NH');
Carroll_NH[29]= new town('North Wolfeboro NH');
Carroll_NH[30]= new town('Ossipee NH');
Carroll_NH[31]= new town('Ossipee Village NH');
Carroll_NH[32]= new town('Sanbornville NH');
Carroll_NH[33]= new town('Sandwich NH');
Carroll_NH[34]= new town('South Tamworth NH');
Carroll_NH[35]= new town('South Wolfeboro NH');
Carroll_NH[36]= new town('Tamworth NH');
Carroll_NH[37]= new town('Tuftonboro NH');
Carroll_NH[38]= new town('Union NH');
Carroll_NH[39]= new town('Wakefield NH');
Carroll_NH[40]= new town('West Ossipee NH');
Carroll_NH[41]= new town('Whittier NH');
Carroll_NH[42]= new town('Wolfeboro Center NH');
Carroll_NH[43]= new town('Wolfeboro Falls NH');
Carroll_NH[44]= new town('Wolfeboro NH');
Cheshire_NH[0]= new town('Alstead NH');
Cheshire_NH[1]= new town('Ashuelot NH');
Cheshire_NH[2]= new town('Chesham NH');
Cheshire_NH[3]= new town('Chesterfield NH');
Cheshire_NH[4]= new town('Drewsville NH');
Cheshire_NH[5]= new town('Dublin NH');
Cheshire_NH[6]= new town('Fitzwilliam NH');
Cheshire_NH[7]= new town('Gilsum NH');
Cheshire_NH[8]= new town('Harrisville NH');
Cheshire_NH[9]= new town('Hinsdale NH');
Cheshire_NH[10]= new town('Jaffrey NH');
Cheshire_NH[11]= new town('Keene NH');
Cheshire_NH[12]= new town('Marlborough NH');
Cheshire_NH[13]= new town('Marlow NH');
Cheshire_NH[14]= new town('Nelson NH');
Cheshire_NH[15]= new town('North Swanzey NH');
Cheshire_NH[16]= new town('Richmond NH');
Cheshire_NH[17]= new town('Rindge NH');
Cheshire_NH[18]= new town('Roxbury NH');
Cheshire_NH[19]= new town('Spofford NH');
Cheshire_NH[20]= new town('Stoddard NH');
Cheshire_NH[21]= new town('Sullivan NH');
Cheshire_NH[22]= new town('Surry NH');
Cheshire_NH[23]= new town('Swanzey NH');
Cheshire_NH[24]= new town('Troy NH');
Cheshire_NH[25]= new town('Walpole NH');
Cheshire_NH[26]= new town('Westmoreland NH');
Cheshire_NH[27]= new town('Westport NH');
Cheshire_NH[28]= new town('Winchester NH');
Coos_NH[0]= new town('Beans Grant NH');
Coos_NH[1]= new town('Beans Purchase NH');
Coos_NH[2]= new town('Berlin NH');
Coos_NH[3]= new town('Cambridge NH');
Coos_NH[4]= new town('Carroll NH');
Coos_NH[5]= new town('Chandlers Purchase NH');
Coos_NH[6]= new town('Clarksville NH');
Coos_NH[7]= new town('Colebrook NH');
Coos_NH[8]= new town('Columbia NH');
Coos_NH[9]= new town('Crawfords Purchase NH');
Coos_NH[10]= new town('Cutts Grant NH');
Coos_NH[11]= new town('Dalton NH');
Coos_NH[12]= new town('Dixs Grant NH');
Coos_NH[13]= new town('Dixville NH');
Coos_NH[14]= new town('Dummer NH');
Coos_NH[15]= new town('Errol NH');
Coos_NH[16]= new town('Ervings Location NH');
Coos_NH[17]= new town('Gorham NH');
Coos_NH[18]= new town('Greens Grant NH');
Coos_NH[19]= new town('Groveton NH');
Coos_NH[20]= new town('Hadleys Purchase NH');
Coos_NH[21]= new town('Hanover NH');
Coos_NH[22]= new town('Jefferson NH');
Coos_NH[23]= new town('Kilkinney NH');
Coos_NH[24]= new town('Lancaster NH');
Coos_NH[25]= new town('Low/Burbanks Grant NH');
Coos_NH[26]= new town('Martins Location NH');
Coos_NH[27]= new town('Milan NH');
Coos_NH[28]= new town('Millsfield NH');
Coos_NH[29]= new town('Northumberland NH');
Coos_NH[30]= new town('Odell NH');
Coos_NH[31]= new town('Pinkhams Grant NH');
Coos_NH[32]= new town('Pittsburg NH');
Coos_NH[33]= new town('Randolph NH');
Coos_NH[34]= new town('Sargents Purchase NH');
Coos_NH[35]= new town('Second College Grant NH');
Coos_NH[36]= new town('Shelburne NH');
Coos_NH[37]= new town('Stark NH');
Coos_NH[38]= new town('Stewartstown NH');
Coos_NH[39]= new town('Stratford NH');
Coos_NH[40]= new town('Success NH');
Coos_NH[41]= new town('Thompson & Meserves Purchase N');
Coos_NH[42]= new town('Wentworths Location NH');
Coos_NH[43]= new town('Whitefield NH');
Grafton_NH[0]= new town('Alexandria NH');
Grafton_NH[1]= new town('Ashland NH');
Grafton_NH[2]= new town('Bath NH');
Grafton_NH[3]= new town('Benton NH');
Grafton_NH[4]= new town('Bethlehem NH');
Grafton_NH[5]= new town('Blair NH');
Grafton_NH[6]= new town('Bridgewater NH');
Grafton_NH[7]= new town('Bristol NH');
Grafton_NH[8]= new town('Campton Lower Village NH');
Grafton_NH[9]= new town('Campton NH');
Grafton_NH[10]= new town('Campton Upper Village NH');
Grafton_NH[11]= new town('Canaan NH');
Grafton_NH[12]= new town('Dorchester NH');
Grafton_NH[13]= new town('East Hebron NH');
Grafton_NH[14]= new town('East Holderness NH');
Grafton_NH[15]= new town('Easton NH');
Grafton_NH[16]= new town('Ellsworth NH');
Grafton_NH[17]= new town('Enfield NH');
Grafton_NH[18]= new town('Franconia NH');
Grafton_NH[19]= new town('Glencliff NH');
Grafton_NH[20]= new town('Grafton NH');
Grafton_NH[21]= new town('Groton NH');
Grafton_NH[22]= new town('Haverhill NH');
Grafton_NH[23]= new town('Hebron NH');
Grafton_NH[24]= new town('Holderness NH');
Grafton_NH[25]= new town('Landaff NH');
Grafton_NH[26]= new town('Lebanon NH');
Grafton_NH[27]= new town('Lincoln NH');
Grafton_NH[28]= new town('Lisbon NH');
Grafton_NH[29]= new town('Littleton NH');
Grafton_NH[30]= new town('Livermore NH');
Grafton_NH[31]= new town('Lyman NH');
Grafton_NH[32]= new town('Lyme NH');
Grafton_NH[33]= new town('Monroe NH');
Grafton_NH[34]= new town('Orange NH');
Grafton_NH[35]= new town('Orford NH');
Grafton_NH[36]= new town('Piermont NH');
Grafton_NH[37]= new town('Plymouth NH');
Grafton_NH[38]= new town('Rumney Depot NH');
Grafton_NH[39]= new town('Rumney NH');
Grafton_NH[40]= new town('Stinson Lake NH');
Grafton_NH[41]= new town('Sugar Hill NH');
Grafton_NH[42]= new town('Thornton NH');
Grafton_NH[43]= new town('Warren NH');
Grafton_NH[44]= new town('Waterville Valley NH');
Grafton_NH[45]= new town('Wentworth NH');
Grafton_NH[46]= new town('West Campton NH');
Grafton_NH[47]= new town('West Plymouth NH');
Grafton_NH[48]= new town('West Rumney NH');
Grafton_NH[49]= new town('Woodstock NH');
Hillsborough_NH[0]= new town('Amherst NH');
Hillsborough_NH[1]= new town('Antrim NH');
Hillsborough_NH[2]= new town('Bedford NH');
Hillsborough_NH[3]= new town('Bennington NH');
Hillsborough_NH[4]= new town('Brookline NH');
Hillsborough_NH[5]= new town('Deering NH');
Hillsborough_NH[6]= new town('Francestown NH');
Hillsborough_NH[7]= new town('Goffstown NH');
Hillsborough_NH[8]= new town('Greenfield NH');
Hillsborough_NH[9]= new town('Greenville NH');
Hillsborough_NH[10]= new town('Hancock NH');
Hillsborough_NH[11]= new town('Hillsboro NH');
Hillsborough_NH[12]= new town('Hollis NH');
Hillsborough_NH[13]= new town('Hudson NH');
Hillsborough_NH[14]= new town('Litchfield NH');
Hillsborough_NH[15]= new town('Lyndeborough NH');
Hillsborough_NH[16]= new town('Manchester NH');
Hillsborough_NH[17]= new town('Mason NH');
Hillsborough_NH[18]= new town('Merrimack NH');
Hillsborough_NH[19]= new town('Milford NH');
Hillsborough_NH[20]= new town('Mont Vernon NH');
Hillsborough_NH[21]= new town('Nashua NH');
Hillsborough_NH[22]= new town('New Boston NH');
Hillsborough_NH[23]= new town('New Ipswich NH');
Hillsborough_NH[24]= new town('Pelham NH');
Hillsborough_NH[25]= new town('Peterborough NH');
Hillsborough_NH[26]= new town('Sharon NH');
Hillsborough_NH[27]= new town('Temple NH');
Hillsborough_NH[28]= new town('Weare NH');
Hillsborough_NH[29]= new town('Wilton NH');
Hillsborough_NH[30]= new town('Windsor NH');
Merrimack_NH[0]= new town('Allenstown NH');
Merrimack_NH[1]= new town('Andover NH');
Merrimack_NH[2]= new town('Boscawen NH');
Merrimack_NH[3]= new town('Bow NH');
Merrimack_NH[4]= new town('Bradford NH');
Merrimack_NH[5]= new town('Canterbury NH');
Merrimack_NH[6]= new town('Chichester NH');
Merrimack_NH[7]= new town('Concord NH');
Merrimack_NH[8]= new town('Contoocook NH');
Merrimack_NH[9]= new town('Danbury NH');
Merrimack_NH[10]= new town('Dunbarton NH');
Merrimack_NH[11]= new town('East Andover NH');
Merrimack_NH[12]= new town('Elkins NH');
Merrimack_NH[13]= new town('Epsom NH');
Merrimack_NH[14]= new town('Franklin NH');
Merrimack_NH[15]= new town('Henniker NH');
Merrimack_NH[16]= new town('Hill NH');
Merrimack_NH[17]= new town('Hooksett NH');
Merrimack_NH[18]= new town('Hopkinton NH');
Merrimack_NH[19]= new town('Loudon NH');
Merrimack_NH[20]= new town('New London NH');
Merrimack_NH[21]= new town('Newbury NH');
Merrimack_NH[22]= new town('Northfield NH');
Merrimack_NH[23]= new town('Pembroke NH');
Merrimack_NH[24]= new town('Penacook NH');
Merrimack_NH[25]= new town('Pittsfield NH');
Merrimack_NH[26]= new town('Salisbury NH');
Merrimack_NH[27]= new town('Suncook NH');
Merrimack_NH[28]= new town('Sutton NH');
Merrimack_NH[29]= new town('Warner NH');
Merrimack_NH[30]= new town('Webster NH');
Merrimack_NH[31]= new town('West Franklin NH');
Merrimack_NH[32]= new town('Wilmot NH');

Rockingham_NH[0]= new town('Atkinson NH');
Rockingham_NH[1]= new town('Auburn NH');
Rockingham_NH[2]= new town('Brentwood NH');
Rockingham_NH[3]= new town('Candia NH');
Rockingham_NH[4]= new town('Chester NH');
Rockingham_NH[5]= new town('Danville NH');
Rockingham_NH[6]= new town('Deerfield NH');
Rockingham_NH[7]= new town('Derry NH');
Rockingham_NH[8]= new town('East Kingston NH');
Rockingham_NH[9]= new town('Epping NH');
Rockingham_NH[10]= new town('Exeter NH');
Rockingham_NH[11]= new town('Fremont NH');
Rockingham_NH[12]= new town('Greenland NH');
Rockingham_NH[13]= new town('Hampstead NH');
Rockingham_NH[14]= new town('Hampton Beach NH');
Rockingham_NH[15]= new town('Hampton Falls NH');
Rockingham_NH[16]= new town('Hampton NH');
Rockingham_NH[17]= new town('Kensington NH');
Rockingham_NH[18]= new town('Kingston NH');
Rockingham_NH[19]= new town('Londonderry NH');
Rockingham_NH[20]= new town('New Castle NH');
Rockingham_NH[21]= new town('Newfields NH');
Rockingham_NH[22]= new town('Newington NH');
Rockingham_NH[23]= new town('Newmarket NH');
Rockingham_NH[24]= new town('Newton NH');
Rockingham_NH[25]= new town('North Hampton NH');
Rockingham_NH[26]= new town('Northwood NH');
Rockingham_NH[27]= new town('Nottingham NH');
Rockingham_NH[28]= new town('Plaistow NH');
Rockingham_NH[29]= new town('Portsmouth NH');
Rockingham_NH[30]= new town('Raymond NH');
Rockingham_NH[31]= new town('Red Wing NH');
Rockingham_NH[32]= new town('Rye Beach NH');
Rockingham_NH[33]= new town('Rye NH');
Rockingham_NH[34]= new town('Salem NH');
Rockingham_NH[35]= new town('Sandown NH');
Rockingham_NH[36]= new town('Seabrook Beach NH');
Rockingham_NH[37]= new town('Seabrook NH');
Rockingham_NH[38]= new town('South Hampton NH');
Rockingham_NH[40]= new town('Stratham NH');
Rockingham_NH[39]= new town('Windham NH');
Strafford_NH[0]= new town('Barrington NH');
Strafford_NH[1]= new town('Dover NH');
Strafford_NH[2]= new town('Durham NH');
Strafford_NH[3]= new town('Farmington NH');
Strafford_NH[4]= new town('Lee NH');
Strafford_NH[5]= new town('Madbury NH');
Strafford_NH[6]= new town('Middleton Corner NH');
Strafford_NH[7]= new town('Middleton NH');
Strafford_NH[8]= new town('Milton NH');
Strafford_NH[9]= new town('New Durham NH');
Strafford_NH[10]= new town('Rochester NH');
Strafford_NH[11]= new town('Rollinsford NH');
Strafford_NH[12]= new town('Somersworth NH');
Strafford_NH[13]= new town('Strafford NH');
Sullivan_NH[0]= new town('Acworth NH');
Sullivan_NH[1]= new town('Charlestown NH');
Sullivan_NH[2]= new town('Claremont NH');
Sullivan_NH[3]= new town('Cornish NH');
Sullivan_NH[4]= new town('Croydon NH');
Sullivan_NH[5]= new town('Eastman NH');
Sullivan_NH[6]= new town('Goshen NH');
Sullivan_NH[7]= new town('Grantham NH');
Sullivan_NH[8]= new town('Langdon NH');
Sullivan_NH[9]= new town('Lempster NH');
Sullivan_NH[10]= new town('Newport NH');
Sullivan_NH[11]= new town('Plainfield NH');
Sullivan_NH[12]= new town('Springfield NH');
Sullivan_NH[13]= new town('Sunapee NH');
Sullivan_NH[14]= new town('Unity NH');
Sullivan_NH[15]= new town('Washington NH');
Addison_VT[0]= new town('Addison VT');
Addison_VT[1]= new town('Bridport VT');
Addison_VT[2]= new town('Bristol VT');
Addison_VT[3]= new town('Cornwall VT');
Addison_VT[4]= new town('Ferrisburg VT');
Addison_VT[5]= new town('Goshen VT');
Addison_VT[6]= new town('Granville VT');
Addison_VT[7]= new town('Hancock VT');
Addison_VT[8]= new town('Leicester VT');
Addison_VT[9]= new town('Lincoln VT');
Addison_VT[10]= new town('Middlebury VT');
Addison_VT[11]= new town('Monkton VT');
Addison_VT[12]= new town('New Haven VT');
Addison_VT[13]= new town('Orwell VT');
Addison_VT[14]= new town('Panton VT');
Addison_VT[15]= new town('Ripton VT');
Addison_VT[16]= new town('Salisbury VT');
Addison_VT[17]= new town('Shoreham VT');
Addison_VT[18]= new town('Starksboro VT');
Addison_VT[19]= new town('Vergennes VT');
Addison_VT[20]= new town('Waltham VT');
Addison_VT[21]= new town('Weybridge VT');
Addison_VT[22]= new town('Whiting VT');
Bennington_VT[0]= new town('Arlington VT');
Bennington_VT[1]= new town('Bennington VT');
Bennington_VT[2]= new town('Dorset VT');
Bennington_VT[3]= new town('Glastenbury VT');
Bennington_VT[4]= new town('Landgrove VT');
Bennington_VT[5]= new town('Manchester VT');
Bennington_VT[6]= new town('Peru VT');
Bennington_VT[7]= new town('Poultney VT');
Bennington_VT[8]= new town('Readsboro VT');
Bennington_VT[9]= new town('Rupert VT');
Bennington_VT[10]= new town('Sandgate VT');
Bennington_VT[11]= new town('Searsburg VT');
Bennington_VT[12]= new town('Shaftsbury VT');
Bennington_VT[13]= new town('Stamford VT');
Bennington_VT[14]= new town('Sunderland VT');
Bennington_VT[15]= new town('Winhall VT');
Bennington_VT[16]= new town('Woodford VT');
Caledonia_VT[0]= new town('Barnet VT');
Caledonia_VT[1]= new town('Burke VT');
Caledonia_VT[2]= new town('Danville VT');
Caledonia_VT[3]= new town('Groton VT');
Caledonia_VT[4]= new town('Hardwick VT');
Caledonia_VT[5]= new town('Kirby VT');
Caledonia_VT[6]= new town('Lyndon VT');
Caledonia_VT[7]= new town('Newark VT');
Caledonia_VT[8]= new town('Peacham VT');
Caledonia_VT[9]= new town('Ryegate VT');
Caledonia_VT[10]= new town('Sheffield VT');
Caledonia_VT[11]= new town('St.Johnsbury VT');
Caledonia_VT[12]= new town('Stannard VT');
Caledonia_VT[13]= new town('Sutton VT');
Caledonia_VT[14]= new town('Walden VT');
Caledonia_VT[15]= new town('Waterford VT');
Caledonia_VT[16]= new town('Wheelock VT');
Chittenden_VT[0]= new town('Bolton VT');
Chittenden_VT[1]= new town('Buels Gore VT');
Chittenden_VT[2]= new town('Burlington VT');
Chittenden_VT[3]= new town('Charlotte VT');
Chittenden_VT[4]= new town('Colchester VT');
Chittenden_VT[5]= new town('Essex VT');
Chittenden_VT[6]= new town('Hinesburg VT');
Chittenden_VT[7]= new town('Jericho VT');
Chittenden_VT[8]= new town('Milton VT');
Chittenden_VT[9]= new town('Richmond VT');
Chittenden_VT[10]= new town('Shelburne VT');
Chittenden_VT[11]= new town('South Burlington VT');
Chittenden_VT[12]= new town('St.George VT');
Chittenden_VT[13]= new town('Underhill VT');
Chittenden_VT[14]= new town('Westford VT');
Chittenden_VT[15]= new town('Williston VT');
Chittenden_VT[16]= new town('Winooski VT');
Essex_VT[0]= new town('Averill VT');
Essex_VT[1]= new town('Averys Gore VT');
Essex_VT[2]= new town('Bloomfield VT');
Essex_VT[3]= new town('Brighton VT');
Essex_VT[4]= new town('Brunswick VT');
Essex_VT[5]= new town('Canaan VT');
Essex_VT[6]= new town('Concord VT');
Essex_VT[7]= new town('East Haven VT');
Essex_VT[8]= new town('Ferdinand VT');
Essex_VT[9]= new town('Gilman VT');
Essex_VT[10]= new town('Granby VT');
Essex_VT[11]= new town('Guildhall VT');
Essex_VT[12]= new town('Lemington VT');
Essex_VT[13]= new town('Lewis VT');
Essex_VT[14]= new town('Lunenburg VT');
Essex_VT[15]= new town('Maidstone VT');
Essex_VT[16]= new town('Norton VT');
Essex_VT[17]= new town('Victory VT');
Essex_VT[18]= new town('Warners Grant VT');
Essex_VT[19]= new town('Warren Gore VT');
Franklin_VT[0]= new town('Bakersfield VT');
Franklin_VT[1]= new town('Berkshire VT');
Franklin_VT[2]= new town('Enosburg VT');
Franklin_VT[3]= new town('Fairfax VT');
Franklin_VT[4]= new town('Fairfield VT');
Franklin_VT[5]= new town('Fletcher VT');
Franklin_VT[6]= new town('Franklin VT');
Franklin_VT[7]= new town('Georgia VT');
Franklin_VT[8]= new town('Highgate VT');
Franklin_VT[9]= new town('Montgomery VT');
Franklin_VT[10]= new town('Richford VT');
Franklin_VT[11]= new town('Sheldon VT');
Franklin_VT[12]= new town('St. Albans VT');
Franklin_VT[13]= new town('St.Albans VT');
Franklin_VT[14]= new town('Swanton VT');
Grandisle_VT[0]= new town('Alburg VT');
Grandisle_VT[1]= new town('Grand Isle VT');
Grandisle_VT[2]= new town('Isle La Motte VT');
Grandisle_VT[3]= new town('North Hero VT');
Grandisle_VT[4]= new town('South Hero VT');
Lamoille_VT[0]= new town('Belvidere VT');
Lamoille_VT[1]= new town('Cambridge VT');
Lamoille_VT[2]= new town('Eden VT');
Lamoille_VT[3]= new town('Elmore VT');
Lamoille_VT[4]= new town('Hyde Park VT');
Lamoille_VT[5]= new town('Johnson VT');
Lamoille_VT[6]= new town('Morristown VT');
Lamoille_VT[7]= new town('Stowe VT');
Lamoille_VT[8]= new town('Waterville VT');
Lamoille_VT[9]= new town('Wolcott VT');
Orange_VT[0]= new town('Bradford VT');
Orange_VT[1]= new town('Braintree VT');
Orange_VT[2]= new town('Brookfield VT');
Orange_VT[3]= new town('Chelsea VT');
Orange_VT[4]= new town('Corinth VT');
Orange_VT[5]= new town('Fairlee VT');
Orange_VT[6]= new town('Newbury VT');
Orange_VT[7]= new town('Orange VT');
Orange_VT[8]= new town('Randolph VT');
Orange_VT[9]= new town('Strafford VT');
Orange_VT[10]= new town('Thetford VT');
Orange_VT[11]= new town('Topsham VT');
Orange_VT[12]= new town('Tunbridge VT');
Orange_VT[13]= new town('Vershire VT');
Orange_VT[14]= new town('Washington VT');
Orange_VT[15]= new town('West Fairlee VT');
Orange_VT[16]= new town('Williamstown VT');
Orleans_VT[0]= new town('Albany VT');
Orleans_VT[1]= new town('Barton VT');
Orleans_VT[2]= new town('Brownington VT');
Orleans_VT[3]= new town('Charleston VT');
Orleans_VT[4]= new town('Coventry VT');
Orleans_VT[5]= new town('Craftsbury VT');
Orleans_VT[6]= new town('Derby VT');
Orleans_VT[7]= new town('Glover VT');
Orleans_VT[8]= new town('Greensboro VT');
Orleans_VT[9]= new town('Holland VT');
Orleans_VT[10]= new town('Hubbardton VT');
Orleans_VT[11]= new town('Huntington VT');
Orleans_VT[12]= new town('Irasburg VT');
Orleans_VT[13]= new town('Jay VT');
Orleans_VT[14]= new town('Lowell VT');
Orleans_VT[15]= new town('Morgan VT');
// Orleans_VT[16]= new town('Newport Center VT');
Orleans_VT[17]= new town('Newport City VT');
Orleans_VT[18]= new town('Newport Town VT');
// Orleans_VT[19]= new town('Newport VT');
Orleans_VT[20]= new town('Troy VT');
Orleans_VT[21]= new town('Westfield VT');
Orleans_VT[22]= new town('Westmore VT');
Rutland_VT[0]= new town('Benson VT');
Rutland_VT[1]= new town('Brandon VT');
Rutland_VT[2]= new town('Castleton VT');
Rutland_VT[3]= new town('Chittenden VT');
Rutland_VT[4]= new town('Clarendon VT');
Rutland_VT[5]= new town('Danby VT');
Rutland_VT[6]= new town('Fair Haven VT');
Rutland_VT[7]= new town('Ira VT');
Rutland_VT[8]= new town('Killington VT');
Rutland_VT[9]= new town('Mendon VT');
Rutland_VT[10]= new town('Middletown Springs VT');
Rutland_VT[11]= new town('Mount Holly VT');
Rutland_VT[12]= new town('Mount Tabor VT');
Rutland_VT[13]= new town('Pawlet VT');
Rutland_VT[14]= new town('Pittsfield VT');
Rutland_VT[15]= new town('Pittsford VT');
Rutland_VT[16]= new town('Pownal VT');
Rutland_VT[17]= new town('Putney VT');
Rutland_VT[18]= new town('Rutland City VT');
Rutland_VT[19]= new town('Rutland Town VT');
Rutland_VT[20]= new town('Rutland VT');
Rutland_VT[21]= new town('Shrewsbury VT');
Rutland_VT[22]= new town('Sudbury VT');
Rutland_VT[23]= new town('Tinmouth VT');
Rutland_VT[24]= new town('Wallingford VT');
Rutland_VT[25]= new town('Wells VT');
Rutland_VT[26]= new town('West Haven VT');
Rutland_VT[27]= new town('West Rutland VT');
Washington_VT[0]= new town('Barre City VT');
Washington_VT[1]= new town('Barre Town VT');
Washington_VT[2]= new town('Berlin VT');
Washington_VT[3]= new town('Cabot VT');
Washington_VT[4]= new town('Calais VT');
Washington_VT[5]= new town('Duxbury VT');
Washington_VT[6]= new town('East Montpelier VT');
Washington_VT[7]= new town('Fayston VT');
Washington_VT[8]= new town('Marshfield VT');
Washington_VT[9]= new town('Middlesex VT');
Washington_VT[10]= new town('Montpelier VT');
Washington_VT[11]= new town('Moretown VT');
Washington_VT[12]= new town('Northfield VT');
Washington_VT[13]= new town('Plainfield VT');
Washington_VT[14]= new town('Roxbury VT');
Washington_VT[15]= new town('Waitsfield VT');
Washington_VT[16]= new town('Warren VT');
Washington_VT[17]= new town('Waterbury VT');
Washington_VT[18]= new town('Wells River VT');
Washington_VT[19]= new town('Woodbury VT');
Washington_VT[20]= new town('Worcester VT');
Windham_VT[0]= new town('Athens VT');
Windham_VT[1]= new town('Bellows Falls VT');
Windham_VT[2]= new town('Brattleboro VT');
Windham_VT[3]= new town('Brookline VT');
Windham_VT[4]= new town('Dover VT');
Windham_VT[5]= new town('Dummerston VT');
Windham_VT[6]= new town('Grafton VT');
Windham_VT[7]= new town('Guilford VT');
Windham_VT[8]= new town('Halifax VT');
Windham_VT[9]= new town('Jamaica VT');
Windham_VT[10]= new town('Londonderry VT');
Windham_VT[11]= new town('Marlboro VT');
Windham_VT[12]= new town('Newfane VT');
Windham_VT[13]= new town('Proctor VT');
Windham_VT[14]= new town('Rockingham VT');
Windham_VT[15]= new town('Somerset VT');
Windham_VT[16]= new town('Stratton VT');
Windham_VT[17]= new town('Townshend VT');
Windham_VT[18]= new town('Vernon VT');
Windham_VT[19]= new town('Wardsboro VT');
Windham_VT[20]= new town('Westminister VT');
Windham_VT[21]= new town('Whitingham VT');
Windham_VT[22]= new town('Wilmington VT');
Windham_VT[23]= new town('Windham VT');
Windsor_VT[0]= new town('Andover VT');
Windsor_VT[1]= new town('Ascutney VT');
Windsor_VT[2]= new town('Baltimore VT');
Windsor_VT[3]= new town('Barnard VT');
Windsor_VT[4]= new town('Bethel VT');
Windsor_VT[5]= new town('Bridgewater VT');
Windsor_VT[6]= new town('Brownsville VT');
Windsor_VT[7]= new town('Cavendish VT');
Windsor_VT[8]= new town('Chester VT');
Windsor_VT[9]= new town('Hartford VT');
Windsor_VT[10]= new town('Hartland VT');
Windsor_VT[11]= new town('Ludlow VT');
Windsor_VT[12]= new town('Norwich VT');
Windsor_VT[13]= new town('Perkinsville VT');
Windsor_VT[14]= new town('Plymouth VT');
Windsor_VT[15]= new town('Pomfret VT');
Windsor_VT[16]= new town('Quechee VT');
Windsor_VT[17]= new town('Reading VT');
Windsor_VT[18]= new town('Rochester VT');
Windsor_VT[19]= new town('Royalton VT');
Windsor_VT[20]= new town('Sharon VT');
Windsor_VT[21]= new town('Springfield VT');
Windsor_VT[22]= new town('Stockbridge VT');
Windsor_VT[23]= new town('Weathersfield VT');
Windsor_VT[24]= new town('West Windsor VT');
Windsor_VT[25]= new town('Weston VT');
Windsor_VT[26]= new town('Windsor VT');
Windsor_VT[27]= new town('Woodstock VT');

