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","Bethany","Byron","Corfu-Village","Darien","Elba","Elba-Village","LeRoy","LeRoy-Village","Pavilion","Pembroke","Stafford"); 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, Lovejoy","Buffalo, Masten","Buffalo, North Buffalo","Buffalo, Riverside","Buffalo, Schiller Park","Buffalo, South Buffalo","Buffalo, University District","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['Cattaraugus'] = new Array("All of Cattaraugus County ","Allegany","Allegany-Village","Ashford","Carrollton","Cattaraugus-Village","Cold Spring","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","Machias","Mansfield","Napoli","New Albion","Olean-City","Olean-Town","Otto","Perrysburg","Persia","Portville","Portville-Village","Randolph","Salamanca-City","Salamanca-Town","South Dayton-Village","South Valley","Yorkshire"); twp['Allegany'] = new Array("All of Allegany County ","Allen","Alma","Amity","Andover","Angelica","Belfast","Bolivar","Bolivar-Village","Caneadea","Centerville","Clarksville","Cuba","Cuba-Village","Friendship","Genesee","Granger","Grove","Hume","New Hudson","Richburg-Village","Rushford","Scio","Ward","Wellsville","Wellsville-Village","West Almond","Willing","Wirt"); 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['Wayne'] = new Array("All of Wayne County ","Arcadia","Marion","Newark-Village","Williamson"); twp['Chautauqua'] = new Array("All of Chautauqua County ","Arkwright","Busti","Carroll","Cassadaga-Village","Chautauqua","Cherry Creek","Cherry Creek-Village","Dunkirk-City","Dunkirk-Town","Ellicott","Ellington","Forestville-Village","Fredonia-Village","Hanover","Jamestown","Mayville-Village","Pomfret","Portland","Ripley","Sheridan","Silver Creek-Village","Stockton","Villenova"); twp['Livingston'] = new Array("All of Livingston County ","Avon","Conesus","Geneseo","Leicester","Livonia","Mount Morris","Ossian","York"); twp['Otsego'] = new Array("All of Otsego County ","Burlington","Plainfield"); 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","Clarkson","Ogden","Pittsford","Rochester","Rochester, Beechwood","Rochester, Genesee-Jefferson","Rush","Sweden","Wheatland"); twp['Steuben'] = new Array("All of Steuben County ","Cohocton","Dansville","Hammondsport-Village","Lindley","Tuscarora","Urbana","Wayland"); twp['Broome'] = new Array("All of Broome County ","Conklin"); twp['Onondaga'] = new Array("All of Onondaga County ","Baldwinsville-Village","Salina","Syracuse","Syracuse, Northside","Van Buren"); twp['Oswego'] = new Array("All of Oswego County ","Schroeppel"); twp['Ontario'] = new Array("All of Ontario County ","Victor","Victor-Village"); function changeCty(region) { document.forms[2].elements["county"].options.length = 0; var max = county[region].length; for (i=0;i