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(39.333,-87.8823)};var g_2e4e8f5026642ea1a52d12a69339cf32 = new google.maps.Geocoder();g_2e4e8f5026642ea1a52d12a69339cf32.geocode( { 'address': "10 E Main St, Martinsville, IL 62442, USA"}, function(results, status) {if (status == google.maps.GeocoderStatus.OK) {$i++;if ($i == 1){document.getElementById('martinsville-IL-first-bank--trust-il').style.display = '';map = new google.maps.Map(document.getElementById('martinsville-IL-first-bank--trust-il'), mapOptions);}document.getElementById('716eebe1').innerHTML += ' | View Map';var $l2e4e8f5026642ea1a52d12a69339cf32 = '

First Bank & Trust, IL

Address: 10 E Main St, Martinsville, IL 62442, USA
Phone: (217) 382-3430
';var m_2e4e8f5026642ea1a52d12a69339cf32 = new google.maps.Marker({position: results[0].geometry.location,map: map,title: 'First Bank & Trust, IL',});m_2e4e8f5026642ea1a52d12a69339cf32['infowindow'] = new google.maps.InfoWindow({content: $l2e4e8f5026642ea1a52d12a69339cf32});var infowindow = new google.maps.InfoWindow({content: $l2e4e8f5026642ea1a52d12a69339cf32});google.maps.event.addListener(m_2e4e8f5026642ea1a52d12a69339cf32, 'click', function() {infowindow.open(map,m_2e4e8f5026642ea1a52d12a69339cf32);});$marker.push(m_2e4e8f5026642ea1a52d12a69339cf32);}});}google.maps.event.addDomListener(window, 'load', initialize);