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.7304,-76.3806)};var g_b93bd2e6a6a51d5535c7a6a244d4d946 = new google.maps.Geocoder();g_b93bd2e6a6a51d5535c7a6a244d4d946.geocode( { 'address': "105 Main St, Moravia, NY 13118"}, function(results, status) {if (status == google.maps.GeocoderStatus.OK) {$i++;if ($i == 1){document.getElementById('moravia-NY-community-bank').style.display = '';map = new google.maps.Map(document.getElementById('moravia-NY-community-bank'), mapOptions);}document.getElementById('247074e1').innerHTML += ' | View Map';var $lb93bd2e6a6a51d5535c7a6a244d4d946 = '

Community Bank

Address: 105 Main St, Moravia, NY 13118
Phone: (315) 497-3047
';var m_b93bd2e6a6a51d5535c7a6a244d4d946 = new google.maps.Marker({position: results[0].geometry.location,map: map,title: 'Community Bank',});m_b93bd2e6a6a51d5535c7a6a244d4d946['infowindow'] = new google.maps.InfoWindow({content: $lb93bd2e6a6a51d5535c7a6a244d4d946});var infowindow = new google.maps.InfoWindow({content: $lb93bd2e6a6a51d5535c7a6a244d4d946});google.maps.event.addListener(m_b93bd2e6a6a51d5535c7a6a244d4d946, 'click', function() {infowindow.open(map,m_b93bd2e6a6a51d5535c7a6a244d4d946);});$marker.push(m_b93bd2e6a6a51d5535c7a6a244d4d946);}});}google.maps.event.addDomListener(window, 'load', initialize);