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(43.0636,-77.2238)};var g_cbe1344e4fae084a294dc28055113c17 = new google.maps.Geocoder();g_cbe1344e4fae084a294dc28055113c17.geocode( { 'address': "525 E Main St, Palmyra, NY 14522, USA"}, function(results, status) {if (status == google.maps.GeocoderStatus.OK) {$i++;if ($i == 1){document.getElementById('palmyra-NY-community-bank-na').style.display = '';map = new google.maps.Map(document.getElementById('palmyra-NY-community-bank-na'), mapOptions);}document.getElementById('3bf0a34f').innerHTML += ' | View Map';var $lcbe1344e4fae084a294dc28055113c17 = '

Community Bank, N.A.

Address: 525 E Main St, Palmyra, NY 14522, USA
Phone: (315) 597-3835
';var m_cbe1344e4fae084a294dc28055113c17 = new google.maps.Marker({position: results[0].geometry.location,map: map,title: 'Community Bank, N.A.',});m_cbe1344e4fae084a294dc28055113c17['infowindow'] = new google.maps.InfoWindow({content: $lcbe1344e4fae084a294dc28055113c17});var infowindow = new google.maps.InfoWindow({content: $lcbe1344e4fae084a294dc28055113c17});google.maps.event.addListener(m_cbe1344e4fae084a294dc28055113c17, 'click', function() {infowindow.open(map,m_cbe1344e4fae084a294dc28055113c17);});$marker.push(m_cbe1344e4fae084a294dc28055113c17);}});}google.maps.event.addDomListener(window, 'load', initialize);