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.3211,-78.3885)};var g_65e0bce9207bd3a5a51e0d2b568a6214 = new google.maps.Geocoder();g_65e0bce9207bd3a5a51e0d2b568a6214.geocode( { 'address': "3 S Main St, Lyndonville, NY 14098, USA"}, function(results, status) {if (status == google.maps.GeocoderStatus.OK) {$i++;if ($i == 1){document.getElementById('lyndonville-NY-mt-bank').style.display = '';map = new google.maps.Map(document.getElementById('lyndonville-NY-mt-bank'), mapOptions);}document.getElementById('005acdab').innerHTML += ' | View Map';var $l65e0bce9207bd3a5a51e0d2b568a6214 = '

M&T Bank

Address: 3 S Main St, Lyndonville, NY 14098, USA
Phone: (585) 765-2222
';var m_65e0bce9207bd3a5a51e0d2b568a6214 = new google.maps.Marker({position: results[0].geometry.location,map: map,title: 'M&T Bank',});m_65e0bce9207bd3a5a51e0d2b568a6214['infowindow'] = new google.maps.InfoWindow({content: $l65e0bce9207bd3a5a51e0d2b568a6214});var infowindow = new google.maps.InfoWindow({content: $l65e0bce9207bd3a5a51e0d2b568a6214});google.maps.event.addListener(m_65e0bce9207bd3a5a51e0d2b568a6214, 'click', function() {infowindow.open(map,m_65e0bce9207bd3a5a51e0d2b568a6214);});$marker.push(m_65e0bce9207bd3a5a51e0d2b568a6214);}});}google.maps.event.addDomListener(window, 'load', initialize);