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.9424,-74.4303)};var g_35d02fef7d9a24e237057162abab82b7 = new google.maps.Geocoder();g_35d02fef7d9a24e237057162abab82b7.geocode( { 'address': "34 W Main St, Fonda, NY 12068"}, function(results, status) {if (status == google.maps.GeocoderStatus.OK) {$i++;if ($i == 1){document.getElementById('fonda-NY-nbt-bank').style.display = '';map = new google.maps.Map(document.getElementById('fonda-NY-nbt-bank'), mapOptions);}document.getElementById('fbb99c18').innerHTML += ' | View Map';var $l35d02fef7d9a24e237057162abab82b7 = '

NBT Bank

Address: 34 W Main St, Fonda, NY 12068
Phone: (518) 853-4621
';var m_35d02fef7d9a24e237057162abab82b7 = new google.maps.Marker({position: results[0].geometry.location,map: map,title: 'NBT Bank',});m_35d02fef7d9a24e237057162abab82b7['infowindow'] = new google.maps.InfoWindow({content: $l35d02fef7d9a24e237057162abab82b7});var infowindow = new google.maps.InfoWindow({content: $l35d02fef7d9a24e237057162abab82b7});google.maps.event.addListener(m_35d02fef7d9a24e237057162abab82b7, 'click', function() {infowindow.open(map,m_35d02fef7d9a24e237057162abab82b7);});$marker.push(m_35d02fef7d9a24e237057162abab82b7);}});}google.maps.event.addDomListener(window, 'load', initialize);