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.8603,-71.6085)};var g_5f4824438d60736ffbb41b166fe5c432 = new google.maps.Geocoder();g_5f4824438d60736ffbb41b166fe5c432.geocode( { 'address': "40 State Route 101a, Amherst, NH 03031"}, function(results, status) {if (status == google.maps.GeocoderStatus.OK) {$i++;if ($i == 1){document.getElementById('amherst-NH-td-bank').style.display = '';map = new google.maps.Map(document.getElementById('amherst-NH-td-bank'), mapOptions);}document.getElementById('3bfdb8f1').innerHTML += ' | View Map';var $l5f4824438d60736ffbb41b166fe5c432 = '

TD Bank

Address: 40 State Route 101a, Amherst, NH 03031
Phone: (603) 249-4009
';var m_5f4824438d60736ffbb41b166fe5c432 = new google.maps.Marker({position: results[0].geometry.location,map: map,title: 'TD Bank',});m_5f4824438d60736ffbb41b166fe5c432['infowindow'] = new google.maps.InfoWindow({content: $l5f4824438d60736ffbb41b166fe5c432});var infowindow = new google.maps.InfoWindow({content: $l5f4824438d60736ffbb41b166fe5c432});google.maps.event.addListener(m_5f4824438d60736ffbb41b166fe5c432, 'click', function() {infowindow.open(map,m_5f4824438d60736ffbb41b166fe5c432);});$marker.push(m_5f4824438d60736ffbb41b166fe5c432);}});}google.maps.event.addDomListener(window, 'load', initialize);