var twp = new Array(); var twpIndex = new Array(); var county = new Array(); county['Buffalo'] = new Array('Niagara', 'Erie', 'Allegany','Cattaraugus','Chautauqua','Genesee','Orleans','Wyoming'); county['Rochester'] = new Array('Allegany','Genesee','Livingston','Monroe','Ontario','Orleans','Schuyler','Seneca','Steuben','Yates','Wayne','Wyoming'); county['Syracuse'] = new Array('Cayuga','Cortland','Jefferson','Madison','Oneida','Onondaga','Oswego','Seneca'); twp['Jefferson'] = new Array("All of Jefferson County ","Adams","Adams-Village","Alexandria","Alexandria-Village","Antwerp","Antwerp-Village","Black River-Village","Brownville","Brownville-Village","Cape Vincent","Cape Vincent-Village","Carthage-Village","Champion","Chaumont-Village","Clayton","Clayton-Villages","Deferiet-Village","Dexter-Village","Ellisburg","Ellisburg-Villages","Evans Mills-Village","Glen Park-Village","Henderson","Herrings-Village","Hounsfield","Le Ray","Lorraine","Lyme","Mannsville-Village","Orleans","Pamelia","Philadelphia","Philadelphia-Village","Rodman","Rutland","Sackets Harbor-Village","Theresa","Theresa-Village","Watertown-City","Watertown-Town","West Carthage-Village","Wilna","Worth"); twp['Steuben'] = new Array("All of Steuben County ","Addison","Avoca","Avoca-Village","Bath","Bath-Village","Campbell","Canisteo","Canisteo-Village","Caton","Cohocton","Cohocton-Village","Corning-Town","Dansville","Fremont","Greenwood","Hammondsport-Village","Hartsville","Hornell","Hornellsville","Howard","Jasper","Prattsburg","Pulteney","Thurston","Urbana","Wayland","Wayland-Village","Wayne","Wheeler","Woodhull"); twp['Genesee'] = new Array("All of Genesee County ","Alabama","Alexander","Alexander-Village","Batavia-City","Batavia-Town","Bergen","Bergen-Village","Bethany","Byron","Corfu-Village","Darien","Elba","Elba-Village","LeRoy","LeRoy-Village","Oakfield","Oakfield-Village","Pavilion","Pembroke","Stafford"); twp['Oswego'] = new Array("All of Oswego County ","Albion","Albion-Village","Altmar-Village","Amboy","Boylston","Central Square-Village","Cleveland-Village","Constantia","Fulton","Granby","Hannibal","Hannibal-Village","Hastings","Lacona-Village","Mexico","Mexico-Village","Minetto","New Haven","Orwell","Oswego-City","Oswego-Town","Palermo","Parish","Parish-Village","Phoenix-Village","Pulaski-Village","Redfield","Richland","Sandy Creek","Sandy Creek-Village","Schroeppel","Scriba","Volney","West Monroe","Williamstown"); twp['Orleans'] = new Array("All of Orleans County ","Albion","Albion-Village","Barre","Carlton","Clarendon","Gaines","Holley-Village","Kendall","Lyndonville-Village","Medina-Village","Murray","Ridgeway","Shelby","Yates"); twp['Erie'] = new Array("All of Erie County ","Akron-Village","Alden","Alden-Village","Amherst","Angola-Village","Aurora","Blasdell-Village","Boston","Brant","Buffalo","Buffalo, Allentown","Buffalo, Black Rock","Buffalo, Cold Springs","Buffalo, Delaware District","Buffalo, Downtown","Buffalo, East Side","Buffalo, Elmwood Strip","Buffalo, First Ward","Buffalo, Fruit Belt","Buffalo, Hamlin Park","Buffalo, Humboldt Park","Buffalo, Kaisertown","Buffalo, Kensington","Buffalo, Kensington Heights","Buffalo, Lovejoy","Buffalo, Masten","Buffalo, North Buffalo","Buffalo, Riverside","Buffalo, Schiller Park","Buffalo, South Buffalo","Buffalo, University District","Buffalo, University Heights","Buffalo, Waterfront","Buffalo, West Side","Cheektowaga","Clarence","Colden","Collins","Concord","Depew-Village","East Aurora-Village","Eden","Elma","Evans","Farnham-Village","Gowanda-Village","Grand Island","Hamburg","Hamburg-Village","Holland","Kenmore-Village","Lackawanna","Lancaster","Lancaster-Village","Marilla","Newstead","North Collins","North Collins-Village","Orchard Park","Orchard Park-Village","Sardinia","Sloan-Village","Springville-Village","Tonawanda-City","Tonawanda-Town","Wales","West Seneca","Williamsville-Village"); twp['Allegany'] = new Array("All of Allegany County ","Alfred","Alfred-Village","Allen","Alma","Almond","Amity","Andover","Angelica","Angelica-Village","Belfast","Belmont-Village","Birdsall","Bolivar","Bolivar-Village","Burns","Canaseraga-Village","Caneadea","Centerville","Clarksville","Cuba","Cuba-Village","Friendship","Genesee","Granger","Grove","Hume","Independence","New Hudson","Richburg-Village","Rushford","Scio","Ward","Wellsville","Wellsville-Village","Willing","Wirt"); twp['Cattaraugus'] = new Array("All of Cattaraugus County ","Allegany","Allegany-Village","Ashford","Carrollton","Cattaraugus-Village","Cold Spring","Conewango","Dayton","Delevan-Village","East Otto","East Randolph-Village","Ellicottville","Ellicottville-Village","Farmersville","Franklinville","Franklinville-Village","Freedom","Gowanda-Village","Great Valley","Hinsdale","Humphrey","Ischua","Leon","Limestone-Village","Little Valley","Little Valley-Village","Lyndon","Machias","Mansfield","Napoli","New Albion","Olean-City","Olean-Town","Otto","Perrysburg","Perrysburg-Village","Persia","Portville","Portville-Village","Randolph","Salamanca-City","Salamanca-Town","South Valley","Yorkshire"); twp['Oneida'] = new Array("All of Oneida County ","Annsville","Augusta","Ava","Barneveld-Village","Boonville","Boonville-Village","Bridgewater","Bridgewater-Village","Camden","Camden-Village","Clayville-Village","Clinton-Village","Deerfield","Florence","Floyd","Forestport","Kirkland","Lee","Marcy","Marshall","New Hartford","New Hartford-Village","Oneida Castle-Village","Oriskany Falls-Village","Oriskany-Village","Paris","Prospect-Village","Remsen","Remsen-Village","Rome","Rome-Inside","Rome-Outside","Sangerfield","Sherrill","Sherrill-Village","Steuben","Sylvan Beach-Village","Trenton","Utica","Vernon","Vernon-Village","Verona","Vienna","Waterville-Village","Western","Westmoreland","Whitesboro-Village","Whitestown","Yorkville-Village"); twp['Wyoming'] = new Array("All of Wyoming County ","Arcade","Arcade-Village","Attica","Attica-Village","Bennington","Castile","Castile-Village","Covington","Eagle","Gainesville","Gainesville-Village","Genesee Falls","Java","Middlebury","Orangeville","Perry","Perry-Village","Pike","Sheldon","Silver Springs-Village","Warsaw","Warsaw-Village","Wethersfield","Wyoming-Village"); twp['Wayne'] = new Array("All of Wayne County ","Arcadia","Butler","Clyde-Village","Galen","Huron","Lyons","Lyons-Village","Macedon","Macedon-Village","Marion","Newark-Village","Ontario","Palmyra","Palmyra-Village","Red Creek-Village","Rose","Savannah","Sodus","Sodus Point-Village","Sodus-Village","Walworth","Williamson","Wolcott","Wolcott-Village"); twp['Chautauqua'] = new Array("All of Chautauqua County ","Arkwright","Bemus Point-Village","Busti","Charlotte","Chautauqua","Cherry Creek","Cherry Creek-Village","Clymer","Dunkirk-City","Dunkirk-Town","Ellery","Ellington","Forestville-Village","Fredonia-Village","Hanover","Harmony","Jamestown","Kiantone","Lakewood-Village","North Harmony","Poland","Pomfret","Sheridan","Sherman","Silver Creek-Village","Stockton","Villenova","Westfield"); twp['Cayuga'] = new Array("All of Cayuga County ","Auburn","Aurelius","Aurora-Village","Brutus","Cato","Cato-Village","Cayuga-Village","Conquest","Fair Haven-Village","Fleming","Genoa","Ira","Ledyard","Locke","Mentz","Meridian-Village","Montezuma","Moravia","Moravia-Village","Niles","Owasco","Port Byron-Village","Scipio","Sempronius","Sennett","Springport","Sterling","Summerhill","Throop","Union Springs-Village","Venice","Victory","Weedsport-Village"); twp['Livingston'] = new Array("All of Livingston County ","Avon","Avon-Village","Caledonia","Caledonia-Village","Conesus","Dansville-Village","Geneseo","Geneseo-Village","Groveland","Leicester","Leicester-Village","Lima","Lima-Village","Livonia","Livonia-Village","Mount Morris","Mount Morris-Village","North Dansville","Nunda","Nunda-Village","Ossian","Portage","Sparta","Springwater","West Sparta","York"); twp['Chenango'] = new Array("All of Chenango County ","Bainbridge","Bainbridge-Village","Columbus","Earlville-Village","Lincklaen","New Berlin","New Berlin-Village","North Norwich","Norwich-City","Norwich-Town","Otselic","Pharsalia","Pitcher","Plymouth","Preston","Sherburne","Sherburne-Village","Smyrna"); twp['Yates'] = new Array("All of Yates County ","Barrington","Benton","Dresden-Village","Dundee-Village","Italy","Jerusalem","Middlesex","Milo","Penn Yan-Village","Potter","Rushville-Village","Starkey","Torrey"); twp['Franklin'] = new Array("All of Franklin County ","Bellmont","Chateaugay","Dickinson"); twp['Chemung'] = new Array("All of Chemung County ","Big Flats","Catlin","Horseheads","Millport-Village","Van Etten","Veteran"); twp['Broome'] = new Array("All of Broome County ","Binghamton-Town","Johnson City-Village","Union","Vestal","Windsor"); twp['Warren'] = new Array("All of Warren County ","Bolton"); twp['St Lawrence'] = new Array("All of St Lawrence County ","Brasher","Canton","Clifton","De Peyster","Dekalb","Edwards","Edwards-Village","Fine","Fowler","Gouverneur","Gouverneur-Village","Hammond","Hammond-Village","Hermon","Lisbon","Macomb","Massena","Massena-Village","Morristown","Morristown-Village","Ogdensburg","Oswegatchie","Pierrepont","Pitcairn","Potsdam","Richville-Village","Rossie","Russell","Stockholm","Waddington","Waddington-Village"); twp['Monroe'] = new Array("All of Monroe County ","Brighton","Brockport-Village","Chili","Churchville-Village","Clarkson","East Rochester","East Rochester-Village","Fairport-Village","Gates","Greece","Hamlin","Henrietta","Hilton-Village","Honeoye Falls-Village","Irondequoit","Mendon","Ogden","Parma","Penfield","Perinton","Pittsford","Pittsford-Village","Riga","Rochester","Rochester, 14621","Rochester, 19th Ward","Rochester, Atlantic-University","Rochester, B.E.S.T.","Rochester, Beechwood","Rochester, Brown Square","Rochester, Browncroft","Rochester, Central Business District","Rochester, Charlotte","Rochester, Cobbs Hill","Rochester, Corn Hill","Rochester, Culver-Winton","Rochester, East Avenue","Rochester, Edgerton","Rochester, Ellwanger-Barry","Rochester, Genesee-Jefferson","Rochester, Highland","Rochester, Homestead Heights","Rochester, JOSANA","Rochester, Lyell-Otis","Rochester, Maplewood","Rochester, MarketView Heights","Rochester, Mayors Heights","Rochester, North Winton Village","Rochester, Northland-Lyceum","Rochester, Park Avenue","Rochester, Pearl-Meigs-Monroe","Rochester, People of Dutchtown","Rochester, Plymouth-Exchange","Rochester, South Wedge","Rochester, Strong","Rochester, Susan B. Anthony","Rochester, Swillburg","Rochester, U.N.I.T.","Rochester, Upper Falls","Rochester, Upper Monroe","Rush","Scottsville-Village","Spencerport-Village","Sweden","Webster","Webster-Village","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","Manchester-Village","Naples","Naples-Village","Phelps","Phelps-Village","Richmond","Rushville-Village","Seneca","Shortsville-Village","South Bristol","Victor","Victor-Village","West Bloomfield"); twp['Madison'] = new Array("All of Madison County ","Brookfield","Canastota-Village","Cazenovia","Cazenovia-Village","Chittenango-Village","De Ruyter","De Ruyter-Village","Earlville-Village","Eaton","Fenner","Georgetown","Hamilton","Hamilton-Village","Lebanon","Lenox","Lincoln","Madison","Madison-Village","Morrisville-Village","Munnsville-Village","Nelson","Oneida","Oneida-Inside","Oneida-Outside","Smithfield","Stockbridge","Sullivan","Wampsville-Village"); twp['Otsego'] = new Array("All of Otsego County ","Burlington","Hartwick","Plainfield","Springfield"); twp['Niagara'] = new Array("All of Niagara County ","Barker-Village","Cambria","Hartland","Lewiston","Lewiston-Village","Lockport","Lockport-City","Lockport-Town","Middleport-Village","Newfane","Niagara","Niagara Falls","North Tonawanda","Pendleton","Porter","Royalton","Somerset","Wheatfield","Wilson","Wilson-Village","Youngstown-Village"); twp['Onondaga'] = new Array("All of Onondaga County ","Baldwinsville-Village","Camillus","Camillus-Village","Cicero","Clay","Dewitt","East Syracuse-Village","Elbridge","Elbridge-Village","Fabius","Fabius-Village","Fayetteville-Village","Geddes","Jordan-Village","Lafayette","Liverpool-Village","Lysander","Manlius","Manlius-Village","Marcellus","Marcellus-Village","Minoa-Village","North Syracuse-Village","Onondaga","Otisco","Pompey","Salina","Skaneateles","Skaneateles-Village","Solvay-Village","Spafford","Syracuse","Syracuse, Brighton","Syracuse, Downtown","Syracuse, Eastwood","Syracuse, Elmwood","Syracuse, Far Westside","Syracuse, Lincoln Park","Syracuse, Meadowbrook","Syracuse, Near Eastside","Syracuse, Near Northeast","Syracuse, Near Westside","Syracuse, North Valley","Syracuse, Northside","Syracuse, Outer Comstock","Syracuse, Salt Springs","Syracuse, Sedgwick","Syracuse, Skunk City","Syracuse, South Valley","Syracuse, Southwest","Syracuse, Strathmore","Syracuse, University Hill","Syracuse, University Neighborhood","Syracuse, Washington Square","Syracuse, West Side","Syracuse, Westcott","Syracuse, Westside","Tully","Tully-Village","Van Buren"); twp['Tioga'] = new Array("All of Tioga County ","Candor","Owego","Richford"); twp['Cortland'] = new Array("All of Cortland County ","Cincinnatus","Cortland","Cortlandville","Cuyler","Freetown","Harford","Homer","Homer-Village","Lapeer","Marathon","Mc Graw-Village","Preble","Scott","Solon","Taylor","Truxton","Virgil"); twp['Clinton'] = new Array("All of Clinton County ","Clinton","Peru"); twp['Delaware'] = new Array("All of Delaware County ","Colchester","Franklin"); twp['Seneca'] = new Array("All of Seneca County ","Covert","Fayette","Interlaken-Village","Junius","Lodi","Ovid","Ovid-Village","Romulus","Seneca Falls","Seneca Falls-Village","Tyre","Varick","Waterloo","Waterloo-Village"); twp['Greene'] = new Array("All of Greene County ","Coxsackie"); twp['Lewis'] = new Array("All of Lewis County ","Castorland-Village","Constableville-Village","Copenhagen-Village","Croghan","Croghan-Village","Denmark","Diana","Greig","Harrisburg","Harrisville-Village","Lewis","Leyden","Lowville","Lowville-Village","Lyons Falls-Village","Lyonsdale","Martinsburg","Montague","New Bremen","Osceola","Pinckney","Port Leyden-Village","Turin","Turin-Village","Watson","West Turin"); twp['Herkimer'] = new Array("All of Herkimer County ","Cold Brook-Village","Danube","Frankfort","Frankfort-Village","German Flatts","Herkimer","Herkimer-Village","Litchfield","Little Falls-City","Mohawk-Village","Ohio","Russia","Salisbury","Schuyler","Stark","Warren","Webb","West Winfield-Village","Winfield"); twp['Schuyler'] = new Array("All of Schuyler County ","Burdett-Village","Dix","Hector","Montour","Montour Falls-Village","Orange","Reading","Tyrone","Watkins Glen-Village"); twp['Tompkins'] = new Array("All of Tompkins County ","Dryden","Dryden-Village","Freeville-Village","Groton","Groton-Village","Ithaca-City","Ithaca-Town","Lansing"); twp['McKean-PA'] = new Array("All of McKean-PA County ","Eldred-Borough"); twp['Fulton'] = new Array("All of Fulton County ","Gloversville","Johnstown","Stratford"); twp['Hamilton'] = new Array("All of Hamilton County ","Hope"); twp['New York City (All 5 Boroughs)'] = new Array("All of New York City (All 5 Boroughs) County ","Marcy"); twp['Essex'] = new Array("All of Essex County ","Lake Placid-Village","North Elba","Westport"); twp['Other- International'] = new Array("All of Other- International County ","Other-International"); twp['Sullivan'] = new Array("All of Sullivan County ","Rockland"); function changeCty(region) { document.forms[2].elements["county"].options.length = 0; var max = county[region].length; for (i=0;i