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(45.3483,-111.728)};var g_a93c7100f7f6f9815964812e831054e5 = new google.maps.Geocoder();g_a93c7100f7f6f9815964812e831054e5.geocode( { 'address': "213 Main St, Ennis, MT 59729, USA"}, function(results, status) {if (status == google.maps.GeocoderStatus.OK) {$i++;if ($i == 1){document.getElementById('ennis-MT-first-madison-valley-bank').style.display = '';map = new google.maps.Map(document.getElementById('ennis-MT-first-madison-valley-bank'), mapOptions);}document.getElementById('4c6f69c2').innerHTML += ' | View Map';var $la93c7100f7f6f9815964812e831054e5 = '

First Madison Valley Bank

Address: 213 Main St, Ennis, MT 59729, USA
Phone: (406) 682-4215
';var m_a93c7100f7f6f9815964812e831054e5 = new google.maps.Marker({position: results[0].geometry.location,map: map,title: 'First Madison Valley Bank',});m_a93c7100f7f6f9815964812e831054e5['infowindow'] = new google.maps.InfoWindow({content: $la93c7100f7f6f9815964812e831054e5});var infowindow = new google.maps.InfoWindow({content: $la93c7100f7f6f9815964812e831054e5});google.maps.event.addListener(m_a93c7100f7f6f9815964812e831054e5, 'click', function() {infowindow.open(map,m_a93c7100f7f6f9815964812e831054e5);});$marker.push(m_a93c7100f7f6f9815964812e831054e5);}});}google.maps.event.addDomListener(window, 'load', initialize);