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.1981,-76.0589)};var g_845b064664783b00d23f4ecddf2b3648 = new google.maps.Geocoder();g_845b064664783b00d23f4ecddf2b3648.geocode( { 'address': "2647 Main St, Maine, NY 13802, USA"}, function(results, status) {if (status == google.maps.GeocoderStatus.OK) {$i++;if ($i == 1){document.getElementById('maine-NY-nbt-bank-of-maine').style.display = '';map = new google.maps.Map(document.getElementById('maine-NY-nbt-bank-of-maine'), mapOptions);}document.getElementById('b3e6114d').innerHTML += ' | View Map';var $l845b064664783b00d23f4ecddf2b3648 = '