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(32.7652,-108.135)};var g_6cf924eb1fff04081f6001d37819ff91 = new google.maps.Geocoder();g_6cf924eb1fff04081f6001d37819ff91.geocode( { 'address': "1401 Tom Foy Blvd, Bayard, NM 88023"}, function(results, status) {if (status == google.maps.GeocoderStatus.OK) {$i++;if ($i == 1){document.getElementById('bayard-NM-am-bank').style.display = '';map = new google.maps.Map(document.getElementById('bayard-NM-am-bank'), mapOptions);}document.getElementById('171410ea').innerHTML += ' | View Map';var $l6cf924eb1fff04081f6001d37819ff91 = '

AM Bank

Address: 1401 Tom Foy Blvd, Bayard, NM 88023
Phone: (575) 537-2481
';var m_6cf924eb1fff04081f6001d37819ff91 = new google.maps.Marker({position: results[0].geometry.location,map: map,title: 'AM Bank',});m_6cf924eb1fff04081f6001d37819ff91['infowindow'] = new google.maps.InfoWindow({content: $l6cf924eb1fff04081f6001d37819ff91});var infowindow = new google.maps.InfoWindow({content: $l6cf924eb1fff04081f6001d37819ff91});google.maps.event.addListener(m_6cf924eb1fff04081f6001d37819ff91, 'click', function() {infowindow.open(map,m_6cf924eb1fff04081f6001d37819ff91);});$marker.push(m_6cf924eb1fff04081f6001d37819ff91);}});}google.maps.event.addDomListener(window, 'load', initialize);