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.4313,-85.0108)};var g_1454fccf44cdd1776601d443f63ca03c = new google.maps.Geocoder();g_1454fccf44cdd1776601d443f63ca03c.geocode( { 'address': "9014 State Rte 101, Brookville, IN 47012, USA"}, function(results, status) {if (status == google.maps.GeocoderStatus.OK) {$i++;if ($i == 1){document.getElementById('brookville-IN-mainsource-bank').style.display = '';map = new google.maps.Map(document.getElementById('brookville-IN-mainsource-bank'), mapOptions);}document.getElementById('222d1e24').innerHTML += ' | View Map';var $l1454fccf44cdd1776601d443f63ca03c = '

MainSource Bank

Address: 9014 State Rte 101, Brookville, IN 47012, USA
Phone: (765) 647-3591
';var m_1454fccf44cdd1776601d443f63ca03c = new google.maps.Marker({position: results[0].geometry.location,map: map,title: 'MainSource Bank',});m_1454fccf44cdd1776601d443f63ca03c['infowindow'] = new google.maps.InfoWindow({content: $l1454fccf44cdd1776601d443f63ca03c});var infowindow = new google.maps.InfoWindow({content: $l1454fccf44cdd1776601d443f63ca03c});google.maps.event.addListener(m_1454fccf44cdd1776601d443f63ca03c, 'click', function() {infowindow.open(map,m_1454fccf44cdd1776601d443f63ca03c);});$marker.push(m_1454fccf44cdd1776601d443f63ca03c);}});}google.maps.event.addDomListener(window, 'load', initialize);