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.1203,-75.9729)};var g_621937d0e97e2559f2170a66a2218089 = new google.maps.Geocoder();g_621937d0e97e2559f2170a66a2218089.geocode( { 'address': "331 Main St, Johnson City, NY 13790"}, function(results, status) {if (status == google.maps.GeocoderStatus.OK) {$i++;if ($i == 1){document.getElementById('johnson-city-NY-nbt-bank').style.display = '';map = new google.maps.Map(document.getElementById('johnson-city-NY-nbt-bank'), mapOptions);}document.getElementById('7745406c').innerHTML += ' | View Map';var $l621937d0e97e2559f2170a66a2218089 = '

NBT Bank

Address: 331 Main St, Johnson City, NY 13790
Phone: (607) 797-7940
';var m_621937d0e97e2559f2170a66a2218089 = new google.maps.Marker({position: results[0].geometry.location,map: map,title: 'NBT Bank',});m_621937d0e97e2559f2170a66a2218089['infowindow'] = new google.maps.InfoWindow({content: $l621937d0e97e2559f2170a66a2218089});var infowindow = new google.maps.InfoWindow({content: $l621937d0e97e2559f2170a66a2218089});google.maps.event.addListener(m_621937d0e97e2559f2170a66a2218089, 'click', function() {infowindow.open(map,m_621937d0e97e2559f2170a66a2218089);});$marker.push(m_621937d0e97e2559f2170a66a2218089);}});}google.maps.event.addDomListener(window, 'load', initialize);