var twp = new Array(); var twpIndex = new Array(); twp['Jefferson'] = new Array("All of Jefferson County ","Adams","Adams-Village","Alexandria","Alexandria-Village","Black River-Village","Brownville","Brownville-Village","Cape Vincent","Champion","Chaumont-Village","Clayton","Clayton-Villages","Ellisburg","Evans Mills-Village","Henderson","Hounsfield","Le Ray","Lyme","Orleans","Pamelia","Philadelphia","Philadelphia-Village","Rutland","Sackets Harbor-Village","Theresa","Watertown-City","Watertown-Town","West Carthage-Village","Wilna"); twp['Oswego'] = new Array("All of Oswego County ","Albion","Altmar-Village","Constantia","Granby","Hannibal","Hannibal-Village","Hastings","Mexico","Mexico-Village","New Haven","Orwell","Oswego-City","Oswego-Town","Pulaski-Village","Richland","Sandy Creek","Schroeppel","Scriba","Volney"); twp['Erie'] = new Array("All of Erie County ","Alden","Alden-Village","Amherst","Aurora","Boston","Brant","Buffalo","Cheektowaga","Clarence","Colden","Concord","East Aurora-Village","Eden","Elma","Evans","Grand Island","Hamburg","Holland","Lancaster","Marilla","Newstead","Orchard Park","Orchard Park-Village","Sardinia","Springville-Village","Tonawanda-City","Tonawanda-Town","Wales","West Seneca","Williamsville-Village"); twp['Cattaraugus'] = new Array("All of Cattaraugus County ","Allegany","Allegany-Village","Ashford","East Otto","Ellicottville","Ellicottville-Village","Farmersville","Freedom","Great Valley","Humphrey","Ischua","Leon","Little Valley","Machias","Mansfield","Olean-City","Olean-Town","Otto","Portville","Portville-Village","South Valley","Yorkshire"); twp['Allegany'] = new Array("All of Allegany County ","Amity","Belfast","Caneadea","Centerville","Cuba","Friendship","Rushford","Wellsville"); twp['Wyoming'] = new Array("All of Wyoming County ","Arcade","Castile","Eagle","Middlebury","Perry","Warsaw","Warsaw-Village"); twp['Wayne'] = new Array("All of Wayne County ","Arcadia","Huron","Macedon","Macedon-Village","Ontario","Savannah","Sodus","Sodus Point-Village","Walworth","Williamson"); twp['Cayuga'] = new Array("All of Cayuga County ","Auburn","Aurelius","Aurora-Village","Brutus","Cayuga-Village","Fair Haven-Village","Fleming","Genoa","Ledyard","Moravia","Niles","Owasco","Scipio","Sempronius","Sennett","Springport","Sterling","Venice","Victory"); twp['Livingston'] = new Array("All of Livingston County ","Avon","Avon-Village","Caledonia","Caledonia-Village","Conesus","Dansville-Village","Geneseo","Geneseo-Village","Groveland","Livonia","North Dansville","Nunda","Ossian","Portage","Sparta","West Sparta"); twp['Yates'] = new Array("All of Yates County ","Barrington","Benton","Italy","Jerusalem","Middlesex","Milo","Penn Yan-Village","Starkey","Torrey"); twp['Genesee'] = new Array("All of Genesee County ","Batavia-City","Bethany","Darien","Pembroke"); twp['Steuben'] = new Array("All of Steuben County ","Bath","Bath-Village","Cohocton","Corning-Town","Hammondsport-Village","Jasper","Prattsburg","Pulteney","Urbana","Wayne"); twp['Broome'] = new Array("All of Broome County ","Binghamton-Town","Vestal"); twp['Oneida'] = new Array("All of Oneida County ","Boonville","Clayville-Village","Deerfield","Forestport","Kirkland","Lee","Marcy","Marshall","Oneida Castle-Village","Paris","Sylvan Beach-Village","Trenton","Vernon","Verona","Vienna"); twp['Monroe'] = new Array("All of Monroe County ","Brighton","Brockport-Village","Chili","Clarkson","East Rochester","East Rochester-Village","Fairport-Village","Greece","Hamlin","Henrietta","Irondequoit","Mendon","Ogden","Parma","Penfield","Perinton","Pittsford","Pittsford-Village","Riga","Rochester","Rochester, Browncroft","Rochester, Charlotte","Rochester, Cobbs Hill","Rochester, East Avenue","Rush","Spencerport-Village","Sweden","Webster","Wheatland"); twp['Ontario'] = new Array("All of Ontario County ","Bloomfield-Village","Bristol","Canadice","Canandaigua-City","Canandaigua-Town","Clifton Springs-Village","East Bloomfield","Farmington","Geneva-City","Geneva-Town","Gorham","Hopewell","Manchester","Naples","Phelps","Richmond","South Bristol","Victor","Victor-Village","West Bloomfield"); twp['Niagara'] = new Array("All of Niagara County ","Cambria","Hartland","Lewiston","Lewiston-Village","Lockport-City","Lockport-Town","Newfane","Niagara","Niagara Falls","Pendleton","Porter","Somerset","Wheatfield","Wilson","Wilson-Village","Youngstown-Village"); twp['Onondaga'] = new Array("All of Onondaga County ","Baldwinsville-Village","Camillus","Cicero","Clay","Dewitt","Elbridge","Fayetteville-Village","Geddes","Lafayette","Lysander","Manlius","Manlius-Village","Marcellus","Marcellus-Village","Minoa-Village","Onondaga","Otisco","Pompey","Salina","Skaneateles","Skaneateles-Village","Solvay-Village","Spafford","Syracuse","Van Buren"); twp['Orleans'] = new Array("All of Orleans County ","Carlton","Gaines","Murray","Yates"); twp['Madison'] = new Array("All of Madison County ","Cazenovia","Cazenovia-Village","De Ruyter","Eaton","Fenner","Georgetown","Hamilton","Hamilton-Village","Lebanon","Lenox","Lincoln","Madison","Madison-Village","Nelson","Oneida-Inside","Oneida-Outside","Smithfield","Stockbridge","Sullivan"); twp['Chautauqua'] = new Array("All of Chautauqua County ","Bemus Point-Village","Chautauqua","Dunkirk-City","Ellery","Pomfret"); twp['Cortland'] = new Array("All of Cortland County ","Cortlandville","Homer","Virgil"); twp['Seneca'] = new Array("All of Seneca County ","Covert","Fayette","Lodi","Ovid","Romulus","Seneca Falls","Varick","Waterloo","Waterloo-Village"); twp['Lewis'] = new Array("All of Lewis County ","Croghan","Croghan-Village","Denmark","Diana","Greig","Harrisburg","Harrisville-Village","Leyden","Lowville","Lowville-Village","Martinsburg","Osceola","Pinckney","Watson","West Turin"); twp['Tompkins'] = new Array("All of Tompkins County ","Dryden","Groton"); twp['St Lawrence'] = new Array("All of St Lawrence County ","Gouverneur","Hammond","Morristown","Oswegatchie","Waddington","Waddington-Village"); twp['Otsego'] = new Array("All of Otsego County ","Hartwick","Plainfield"); twp['Schuyler'] = new Array("All of Schuyler County ","Burdett-Village","Hector","Tyrone"); twp['Chemung'] = new Array("All of Chemung County ","Horseheads"); twp['Herkimer'] = new Array("All of Herkimer County ","Little Falls-City","Ohio","Schuyler","Webb"); twp['Chenango'] = new Array("All of Chenango County ","Norwich-City","Smyrna"); twp['Other- International'] = new Array("All of Other- International County ","Other-International"); twp['Sullivan'] = new Array("All of Sullivan County ","Rockland"); 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