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.3769,-72.4691)};var g_264b901e8b96425466f86768a8ff1a2c = new google.maps.Geocoder();g_264b901e8b96425466f86768a8ff1a2c.geocode( { 'address': "1 S Pleasant St, Amherst, MA 01002"}, function(results, status) {if (status == google.maps.GeocoderStatus.OK) {$i++;if ($i == 1){document.getElementById('amherst-MA-bank-of-america').style.display = '';map = new google.maps.Map(document.getElementById('amherst-MA-bank-of-america'), mapOptions);}document.getElementById('89e34869').innerHTML += ' | View Map';var $l264b901e8b96425466f86768a8ff1a2c = '

Bank of America

Address: 1 S Pleasant St, Amherst, MA 01002
Phone: (413) 256-2602
';var m_264b901e8b96425466f86768a8ff1a2c = new google.maps.Marker({position: results[0].geometry.location,map: map,title: 'Bank of America',});m_264b901e8b96425466f86768a8ff1a2c['infowindow'] = new google.maps.InfoWindow({content: $l264b901e8b96425466f86768a8ff1a2c});var infowindow = new google.maps.InfoWindow({content: $l264b901e8b96425466f86768a8ff1a2c});google.maps.event.addListener(m_264b901e8b96425466f86768a8ff1a2c, 'click', function() {infowindow.open(map,m_264b901e8b96425466f86768a8ff1a2c);});$marker.push(m_264b901e8b96425466f86768a8ff1a2c);}});}google.maps.event.addDomListener(window, 'load', initialize);