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.0064,-74.372)};var g_8099a957ec1f416d0034d4301e49f56c = new google.maps.Geocoder();g_8099a957ec1f416d0034d4301e49f56c.geocode( { 'address': "51 W Main St, Johnstown, NY 12095, USA"}, function(results, status) {if (status == google.maps.GeocoderStatus.OK) {$i++;if ($i == 1){document.getElementById('johnstown-NY-berkshire-bank').style.display = '';map = new google.maps.Map(document.getElementById('johnstown-NY-berkshire-bank'), mapOptions);}document.getElementById('9ea50978').innerHTML += ' | View Map';var $l8099a957ec1f416d0034d4301e49f56c = '