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['Genesee'] = new Array("All of Genesee County ","Alabama","Alexander","Alexander-Village","Batavia-City","Batavia-Town","Bergen","Bethany","Byron","Corfu-Village","Darien","Elba","Elba-Village","LeRoy","LeRoy-Village","Oakfield","Oakfield-Village","Pavilion","Pembroke","Stafford"); twp['Orleans'] = new Array("All of Orleans County ","Albion","Albion-Village","Barre","Carlton","Clarendon","Gaines","Holley-Village","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, 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","Angelica","Angelica-Village","Belfast","Belmont-Village","Birdsall","Bolivar","Bolivar-Village","Caneadea","Centerville","Clarksville","Cuba","Cuba-Village","Friendship","Genesee","Granger","Hume","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","Dayton","Delevan-Village","East Otto","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","Randolph-Village","Salamanca-City","Salamanca-Town","South Dayton-Village","South Valley","Yorkshire"); twp['Wyoming'] = new Array("All of Wyoming County ","Arcade","Arcade-Village","Attica","Attica-Village","Bennington","Castile","Castile-Village","Covington","Eagle","Gainesville","Gainesville-Village","Java","Middlebury","Orangeville","Perry","Perry-Village","Pike","Pike-Village","Sheldon","Silver Springs-Village","Warsaw","Warsaw-Village","Wethersfield","Wyoming-Village"); twp['Livingston'] = new Array("All of Livingston County ","Avon","Avon-Village","Caledonia","Conesus","Leicester","Leicester-Village","Livonia","Livonia-Village","Mount Morris","Mount Morris-Village","Ossian","Portage","York"); twp['McKean-PA'] = new Array("All of McKean-PA County ","Bradford-City"); twp['Otsego'] = new Array("All of Otsego County ","Burlington","Plainfield"); twp['Chautauqua'] = new Array("All of Chautauqua County ","Bemus Point-Village","Brocton-Village","Busti","Cassadaga-Village","Chautauqua","Cherry Creek","Cherry Creek-Village","Dunkirk-City","Dunkirk-Town","Ellery","Ellington","Forestville-Village","Fredonia-Village","Hanover","Jamestown","Lakewood-Village","Mayville-Village","North Harmony","Poland","Pomfret","Portland","Sheridan","Silver Creek-Village","Stockton","Westfield","Westfield-Village"); twp['Niagara'] = new Array("All of Niagara County ","Barker-Village","Cambria","Hartland","Lewiston","Lewiston-Village","Lockport-City","Lockport-Town","Middleport-Village","Newfane","Niagara","Niagara Falls","North Tonawanda","Pendleton","Porter","Royalton","Somerset","Wheatfield","Wilson","Wilson-Village","Youngstown-Village"); twp['Monroe'] = new Array("All of Monroe County ","Brockport-Village","Chili","Greece","Irondequoit","Ogden","Parma","Perinton","Rochester","Rochester, 14621","Rochester, Beechwood","Rochester, North Winton Village","Rochester, People of Dutchtown","Rochester, Upper Falls","Rush","Sweden","Wheatland"); twp['Broome'] = new Array("All of Broome County ","Conklin"); twp['Wayne'] = new Array("All of Wayne County ","Huron","Palmyra"); twp['Ontario'] = new Array("All of Ontario County ","Phelps","Phelps-Village","Richmond"); twp['Onondaga'] = new Array("All of Onondaga County ","Baldwinsville-Village","Salina","Syracuse","Syracuse, Far Westside","Van Buren"); twp['Steuben'] = new Array("All of Steuben County ","Tuscarora"); function changeCty(region) { document.forms[2].elements["county"].options.length = 0; var max = county[region].length; for (i=0;i