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(38.2124,-85.2441)};var g_c8377ad2a50fb65de28b11cfc628d75c = new google.maps.Geocoder();g_c8377ad2a50fb65de28b11cfc628d75c.geocode( { 'address': "1734 Midland Trail, Shelbyville, KY 40065, USA"}, function(results, status) {if (status == google.maps.GeocoderStatus.OK) {$i++;if ($i == 1){document.getElementById('shelbyville-KY-mainsource-bank').style.display = '';map = new google.maps.Map(document.getElementById('shelbyville-KY-mainsource-bank'), mapOptions);}document.getElementById('dda9f162').innerHTML += ' | View Map';var $lc8377ad2a50fb65de28b11cfc628d75c = '

MainSource Bank

Address: 1734 Midland Trail, Shelbyville, KY 40065, USA
Phone: (502) 633-4401
';var m_c8377ad2a50fb65de28b11cfc628d75c = new google.maps.Marker({position: results[0].geometry.location,map: map,title: 'MainSource Bank',});m_c8377ad2a50fb65de28b11cfc628d75c['infowindow'] = new google.maps.InfoWindow({content: $lc8377ad2a50fb65de28b11cfc628d75c});var infowindow = new google.maps.InfoWindow({content: $lc8377ad2a50fb65de28b11cfc628d75c});google.maps.event.addListener(m_c8377ad2a50fb65de28b11cfc628d75c, 'click', function() {infowindow.open(map,m_c8377ad2a50fb65de28b11cfc628d75c);});$marker.push(m_c8377ad2a50fb65de28b11cfc628d75c);}});}google.maps.event.addDomListener(window, 'load', initialize);