var twp = new Array(); var twpIndex = new Array(); twp['Jefferson'] = new Array("All of Jefferson County ","Adams","Adams-Village","Alexandria","Alexandria-Village","Antwerp","Black River-Village","Brownville","Brownville-Village","Cape Vincent","Cape Vincent-Village","Champion","Clayton","Clayton-Villages","Dexter-Village","Ellisburg","Evans Mills-Village","Glen Park-Village","Henderson","Hounsfield","Le Ray","Lyme","Orleans","Pamelia","Philadelphia","Rodman","Rutland","Sackets Harbor-Village","Theresa","Watertown","Watertown-City","Watertown-Town","West Carthage-Village","Wilna"); twp['Oswego'] = new Array("All of Oswego County ","Albion","Boylston","Cleveland-Village","Constantia","Granby","Hastings","Mexico","Mexico-Village","Minetto","New Haven","Orwell","Oswego-City","Oswego-Town","Palermo","Parish","Phoenix-Village","Pulaski-Village","Redfield","Richland","Sandy Creek","Schroeppel","Scriba","Volney","West Monroe"); twp['Erie'] = new Array("All of Erie County ","Akron-Village","Alden","Amherst","Aurora","Boston","Buffalo","Cheektowaga","Clarence","Colden","Collins","Concord","East Aurora-Village","Eden","Elma","Evans","Grand Island","Hamburg","Hamburg-Village","Holland","Lancaster","Marilla","Newstead","North Collins","Orchard Park","Orchard Park-Village","Springville-Village","Tonawanda-City","Tonawanda-Town","Wales","West Seneca","Williamsville-Village"); twp['Cattaraugus'] = new Array("All of Cattaraugus County ","Allegany","Allegany-Village","Ashford","Dayton","East Otto","Ellicottville","Ellicottville-Village","Farmersville","Franklinville","Freedom","Great Valley","Humphrey","Ischua","Little Valley","Machias","Mansfield","Olean-City","Olean-Town","Otto","Salamanca-City","South Valley","Yorkshire"); twp['Allegany'] = new Array("All of Allegany County ","Amity","Belfast","Centerville","Cuba","Cuba-Village","Friendship","New Hudson","Rushford","Wellsville"); twp['Oneida'] = new Array("All of Oneida County ","Annsville","Barneveld-Village","Camden","Clinton-Village","Deerfield","Floyd","Forestport","Kirkland","Marcy","New Hartford","Paris","Rome","Rome-Outside","Sangerfield","Sherrill","Sylvan Beach-Village","Trenton","Vernon","Verona","Vienna","Whitesboro-Village","Whitestown"); twp['Wyoming'] = new Array("All of Wyoming County ","Arcade","Arcade-Village","Attica","Bennington","Castile","Covington","Gainesville","Java","Middlebury","Orangeville","Perry","Perry-Village","Sheldon","Warsaw","Warsaw-Village"); twp['Wayne'] = new Array("All of Wayne County ","Arcadia","Huron","Macedon","Marion","Newark-Village","Ontario","Palmyra","Sodus","Sodus Point-Village","Walworth","Williamson","Wolcott"); twp['Cayuga'] = new Array("All of Cayuga County ","Auburn","Aurelius","Aurora-Village","Brutus","Cato","Cayuga-Village","Fleming","Ledyard","Locke","Niles","Owasco","Scipio","Sempronius","Sennett","Springport","Sterling","Throop","Union Springs-Village"); twp['Livingston'] = new Array("All of Livingston County ","Avon","Avon-Village","Caledonia","Caledonia-Village","Conesus","Dansville-Village","Geneseo","Geneseo-Village","Groveland","Lima","Livonia","Mount Morris","Mount Morris-Village","North Dansville","Nunda","Ossian","Portage","West Sparta","York"); twp['Chenango'] = new Array("All of Chenango County ","Bainbridge","Bainbridge-Village","Otselic"); twp['Yates'] = new Array("All of Yates County ","Barrington","Benton","Dundee-Village","Jerusalem","Middlesex","Milo","Penn Yan-Village","Potter","Rushville-Village","Starkey","Torrey"); twp['Genesee'] = new Array("All of Genesee County ","Batavia-Town","Byron","Darien","Elba","LeRoy","Pembroke"); twp['Steuben'] = new Array("All of Steuben County ","Bath","Bath-Village","Cohocton","Erwin","Hammondsport-Village","Hartsville","Hornell","Hornellsville","Prattsburg","Pulteney","Urbana","Wayland","Wayne"); twp['Chemung'] = new Array("All of Chemung County ","Big Flats"); twp['Broome'] = new Array("All of Broome County ","Binghamton-City","Lisle","Vestal"); twp['Monroe'] = new Array("All of Monroe County ","Brighton","Brockport-Village","Chili","Churchville-Village","Clarkson","East Rochester","East Rochester-Village","Fairport-Village","Greece","Hamlin","Henrietta","Honeoye Falls-Village","Irondequoit","Mendon","Ogden","Parma","Penfield","Perinton","Pittsford","Pittsford-Village","Riga","Rochester","Rochester, 14621","Rochester, Browncroft","Rochester, Charlotte","Rochester, Cobbs Hill","Rochester, East Avenue","Rochester, Highland","Rochester, Park Avenue","Rush","Spencerport-Village","Sweden","Webster","Wheatland"); twp['Ontario'] = new Array("All of Ontario County ","Bloomfield-Village","Bristol","Canadice","Canandaigua-City","Canandaigua-Town","East Bloomfield","Farmington","Geneva-City","Geneva-Town","Gorham","Hopewell","Naples","Richmond","South Bristol","Victor","Victor-Village","West Bloomfield"); twp['Madison'] = new Array("All of Madison County ","Brookfield","Cazenovia","Cazenovia-Village","Chittenango-Village","De Ruyter","Eaton","Georgetown","Hamilton","Hamilton-Village","Lebanon","Lenox","Lincoln","Madison","Nelson","Oneida","Oneida-Inside","Oneida-Outside","Stockbridge","Sullivan"); twp['Niagara'] = new Array("All of Niagara County ","Cambria","Hartland","Lewiston","Lewiston-Village","Lockport-City","Lockport-Town","Middleport-Village","Newfane","Niagara","Niagara Falls","Pendleton","Porter","Wheatfield","Wilson","Youngstown-Village"); twp['Onondaga'] = new Array("All of Onondaga County ","Baldwinsville-Village","Camillus","Cicero","Clay","Dewitt","Elbridge","Elbridge-Village","Fabius","Fayetteville-Village","Geddes","Lafayette","Liverpool-Village","Lysander","Manlius","Manlius-Village","Marcellus","Minoa-Village","Onondaga","Otisco","Pompey","Salina","Skaneateles","Skaneateles-Village","Solvay-Village","Spafford","Syracuse","Tully","Van Buren"); twp['Orleans'] = new Array("All of Orleans County ","Carlton","Clarendon","Kendall","Lyndonville-Village","Medina-Village","Ridgeway","Shelby","Yates"); twp['Chautauqua'] = new Array("All of Chautauqua County ","Chautauqua","Dunkirk-Town","Ellery","Fredonia-Village","Hanover","Mayville-Village","North Harmony","Pomfret","Sherman"); twp['Herkimer'] = new Array("All of Herkimer County ","Columbia","Frankfort","German Flatts","Ilion-Village","Little Falls-City","Little Falls-Town","Mohawk-Village","Webb"); twp['Cortland'] = new Array("All of Cortland County ","Cortland","Cortlandville","Marathon","Marathon-Village","Preble","Scott","Virgil"); twp['Seneca'] = new Array("All of Seneca County ","Covert","Fayette","Lodi","Ovid","Romulus","Seneca Falls","Seneca Falls-Village","Varick","Waterloo"); twp['Lewis'] = new Array("All of Lewis County ","Constableville-Village","Croghan","Croghan-Village","Denmark","Diana","Greig","Harrisburg","Harrisville-Village","Leyden","Lowville","Lowville-Village","Lyonsdale","Montague","New Bremen","Watson","West Turin"); twp['Delaware'] = new Array("All of Delaware County ","Deposit","Deposit-Village"); twp['Tompkins'] = new Array("All of Tompkins County ","Dryden","Ithaca-Town","Lansing","Ulysses"); twp['Saint Lawrence'] = new Array("All of Saint Lawrence County ","Gouverneur","Hammond","Lisbon","Morristown","Morristown-Village","Oswegatchie"); twp['St Lawrence'] = new Array("All of St Lawrence County ","Gouverneur","Hammond","Hermon","Macomb","Morristown","Ogdensburg"); twp['Schuyler'] = new Array("All of Schuyler County ","Hector","Orange","Reading","Tyrone"); twp['Hamilton'] = new Array("All of Hamilton County ","Lake Pleasant","Long Lake"); twp['Otsego'] = new Array("All of Otsego County ","Unadilla","Unadilla- Village"); twp['Franklin'] = new Array("All of Franklin County ","Waverly"); function changeTwp() { var county = document.forms[0].county.selectedIndex; if (county == -1) return; document.forms[0].elements["township[]"].options.length = 0; county=document.forms[0].county.options[county].value; var max = twp[county].length; for (i=0;i