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.1165,-79.2412)};var g_8cbaa1cf297b251c6f905d55b0b866bf = new google.maps.Geocoder();g_8cbaa1cf297b251c6f905d55b0b866bf.geocode( { 'address': "1281 N Main St, Jamestown, NY 14701, USA"}, function(results, status) {if (status == google.maps.GeocoderStatus.OK) {$i++;if ($i == 1){document.getElementById('jamestown-NY-community-bank-na').style.display = '';map = new google.maps.Map(document.getElementById('jamestown-NY-community-bank-na'), mapOptions);}document.getElementById('a2240166').innerHTML += ' | View Map';var $l8cbaa1cf297b251c6f905d55b0b866bf = '