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.2551,-77.7854)};var g_8d301b693b8a3a19e226c4ef82923f89 = new google.maps.Geocoder();g_8d301b693b8a3a19e226c4ef82923f89.geocode( { 'address': "39 N Main St, Alfred, NY 14802"}, function(results, status) {if (status == google.maps.GeocoderStatus.OK) {$i++;if ($i == 1){document.getElementById('alfred-NY-community-bank-na').style.display = '';map = new google.maps.Map(document.getElementById('alfred-NY-community-bank-na'), mapOptions);}document.getElementById('a96aca95').innerHTML += ' | View Map';var $l8d301b693b8a3a19e226c4ef82923f89 = '

Community Bank Na

Address: 39 N Main St, Alfred, NY 14802
Phone: (607) 587-8444
';var m_8d301b693b8a3a19e226c4ef82923f89 = new google.maps.Marker({position: results[0].geometry.location,map: map,title: 'Community Bank Na',});m_8d301b693b8a3a19e226c4ef82923f89['infowindow'] = new google.maps.InfoWindow({content: $l8d301b693b8a3a19e226c4ef82923f89});var infowindow = new google.maps.InfoWindow({content: $l8d301b693b8a3a19e226c4ef82923f89});google.maps.event.addListener(m_8d301b693b8a3a19e226c4ef82923f89, 'click', function() {infowindow.open(map,m_8d301b693b8a3a19e226c4ef82923f89);});$marker.push(m_8d301b693b8a3a19e226c4ef82923f89);}});}google.maps.event.addDomListener(window, 'load', initialize);