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.792,-74.6141)};var g_b47290880f7f19c57e24e76f9acb5f13 = new google.maps.Geocoder();g_b47290880f7f19c57e24e76f9acb5f13.geocode( { 'address': "105 Main St, Sharon Springs, NY 13459"}, function(results, status) {if (status == google.maps.GeocoderStatus.OK) {$i++;if ($i == 1){document.getElementById('sharon-springs-NY-nbt-bank').style.display = '';map = new google.maps.Map(document.getElementById('sharon-springs-NY-nbt-bank'), mapOptions);}document.getElementById('3df3d571').innerHTML += ' | View Map';var $lb47290880f7f19c57e24e76f9acb5f13 = '

NBT Bank

Address: 105 Main St, Sharon Springs, NY 13459
Phone: (518) 284-2231
';var m_b47290880f7f19c57e24e76f9acb5f13 = new google.maps.Marker({position: results[0].geometry.location,map: map,title: 'NBT Bank',});m_b47290880f7f19c57e24e76f9acb5f13['infowindow'] = new google.maps.InfoWindow({content: $lb47290880f7f19c57e24e76f9acb5f13});var infowindow = new google.maps.InfoWindow({content: $lb47290880f7f19c57e24e76f9acb5f13});google.maps.event.addListener(m_b47290880f7f19c57e24e76f9acb5f13, 'click', function() {infowindow.open(map,m_b47290880f7f19c57e24e76f9acb5f13);});$marker.push(m_b47290880f7f19c57e24e76f9acb5f13);}});}google.maps.event.addDomListener(window, 'load', initialize);