var map;var $marker = [];function $setCursor($lat, $lng, $index){$marker[$index - 1]['infowindow'].open(map, $marker[$index - 1]);var $lat_lng = new google.maps.LatLng($lat, $lng);map.setCenter($lat_lng);map.setZoom(20);}function initialize(){var $i = 0;var mapOptions = {zoom: 10,center: new google.maps.LatLng()};var g_ae502204564aafbffb712be630e3910b = new google.maps.Geocoder();g_ae502204564aafbffb712be630e3910b.geocode( { 'address': "3500 Main St, Amherst, NY 14226"}, function(results, status) {if (status == google.maps.GeocoderStatus.OK) {$i++;if ($i == 1){document.getElementById('amherst-NY-citizens-bank').style.display = '';map = new google.maps.Map(document.getElementById('amherst-NY-citizens-bank'), mapOptions);}document.getElementById('498f18fd').innerHTML += ' | View Map';var $lae502204564aafbffb712be630e3910b = '

Citizens Bank

Address: 3500 Main St, Amherst, NY 14226
Phone: (716) 862-0525
';var m_ae502204564aafbffb712be630e3910b = new google.maps.Marker({position: results[0].geometry.location,map: map,title: 'Citizens Bank',});m_ae502204564aafbffb712be630e3910b['infowindow'] = new google.maps.InfoWindow({content: $lae502204564aafbffb712be630e3910b});var infowindow = new google.maps.InfoWindow({content: $lae502204564aafbffb712be630e3910b});google.maps.event.addListener(m_ae502204564aafbffb712be630e3910b, 'click', function() {infowindow.open(map,m_ae502204564aafbffb712be630e3910b);});$marker.push(m_ae502204564aafbffb712be630e3910b);}});var g_c08801e8fe6cc49c3f4c80588829282a = new google.maps.Geocoder();g_c08801e8fe6cc49c3f4c80588829282a.geocode( { 'address': "2797 Niagara Falls Blvd, Amherst, NY 14228"}, function(results, status) {if (status == google.maps.GeocoderStatus.OK) {$i++;if ($i == 1){document.getElementById('amherst-NY-citizens-bank').style.display = '';map = new google.maps.Map(document.getElementById('amherst-NY-citizens-bank'), mapOptions);}document.getElementById('2c06cadb').innerHTML += ' | View Map';var $lc08801e8fe6cc49c3f4c80588829282a = '

Citizens Bank

Address: 2797 Niagara Falls Blvd, Amherst, NY 14228
Phone: (716) 564-2126
';var m_c08801e8fe6cc49c3f4c80588829282a = new google.maps.Marker({position: results[0].geometry.location,map: map,title: 'Citizens Bank',});m_c08801e8fe6cc49c3f4c80588829282a['infowindow'] = new google.maps.InfoWindow({content: $lc08801e8fe6cc49c3f4c80588829282a});var infowindow = new google.maps.InfoWindow({content: $lc08801e8fe6cc49c3f4c80588829282a});google.maps.event.addListener(m_c08801e8fe6cc49c3f4c80588829282a, 'click', function() {infowindow.open(map,m_c08801e8fe6cc49c3f4c80588829282a);});$marker.push(m_c08801e8fe6cc49c3f4c80588829282a);}});var g_001bf9e1206bf15adc0bef185ce3442f = new google.maps.Geocoder();g_001bf9e1206bf15adc0bef185ce3442f.geocode( { 'address': "2351 Maple Rd, Amherst, NY 14221"}, function(results, status) {if (status == google.maps.GeocoderStatus.OK) {$i++;if ($i == 1){document.getElementById('amherst-NY-citizens-bank').style.display = '';map = new google.maps.Map(document.getElementById('amherst-NY-citizens-bank'), mapOptions);}document.getElementById('d3cc613f').innerHTML += ' | View Map';var $l001bf9e1206bf15adc0bef185ce3442f = '

Citizens Bank

Address: 2351 Maple Rd, Amherst, NY 14221
Phone: (716) 634-4970
';var m_001bf9e1206bf15adc0bef185ce3442f = new google.maps.Marker({position: results[0].geometry.location,map: map,title: 'Citizens Bank',});m_001bf9e1206bf15adc0bef185ce3442f['infowindow'] = new google.maps.InfoWindow({content: $l001bf9e1206bf15adc0bef185ce3442f});var infowindow = new google.maps.InfoWindow({content: $l001bf9e1206bf15adc0bef185ce3442f});google.maps.event.addListener(m_001bf9e1206bf15adc0bef185ce3442f, 'click', function() {infowindow.open(map,m_001bf9e1206bf15adc0bef185ce3442f);});$marker.push(m_001bf9e1206bf15adc0bef185ce3442f);}});}google.maps.event.addDomListener(window, 'load', initialize);