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.3374,-78.3773)};var g_aeec4c229aa292674dd04669ba855b50 = new google.maps.Geocoder();g_aeec4c229aa292674dd04669ba855b50.geocode( { 'address': "3 S Main St, Lyndonville, NY 14098"}, 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('2183fe46').innerHTML += ' | View Map';var $laeec4c229aa292674dd04669ba855b50 = '

M&T Bank

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