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(42.8638,-78.2803)};var g_42d7fcb2e8e45b7b64fd15011b713412 = new google.maps.Geocoder();g_42d7fcb2e8e45b7b64fd15011b713412.geocode( { 'address': "84 Main St, Attica, NY 14011, USA"}, function(results, status) {if (status == google.maps.GeocoderStatus.OK) {$i++;if ($i == 1){document.getElementById('attica-NY-first-niagara-bank---attica-branch').style.display = '';map = new google.maps.Map(document.getElementById('attica-NY-first-niagara-bank---attica-branch'), mapOptions);}document.getElementById('669484da').innerHTML += ' | View Map';var $l42d7fcb2e8e45b7b64fd15011b713412 = '

First Niagara Bank - Attica Branch

Address: 84 Main St, Attica, NY 14011, USA
Phone: (585) 591-2525
';var m_42d7fcb2e8e45b7b64fd15011b713412 = new google.maps.Marker({position: results[0].geometry.location,map: map,title: 'First Niagara Bank - Attica Branch',});m_42d7fcb2e8e45b7b64fd15011b713412['infowindow'] = new google.maps.InfoWindow({content: $l42d7fcb2e8e45b7b64fd15011b713412});var infowindow = new google.maps.InfoWindow({content: $l42d7fcb2e8e45b7b64fd15011b713412});google.maps.event.addListener(m_42d7fcb2e8e45b7b64fd15011b713412, 'click', function() {infowindow.open(map,m_42d7fcb2e8e45b7b64fd15011b713412);});$marker.push(m_42d7fcb2e8e45b7b64fd15011b713412);}});}google.maps.event.addDomListener(window, 'load', initialize);