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(37.8144,-85.4665)};var g_637386e85513e2141b4318825669d5a6 = new google.maps.Geocoder();g_637386e85513e2141b4318825669d5a6.geocode( { 'address': "106 W John Rowan Blvd, STE A, Bardstown, KY 40004"}, function(results, status) {if (status == google.maps.GeocoderStatus.OK) {$i++;if ($i == 1){document.getElementById('bardstown-KY-your-community-bank').style.display = '';map = new google.maps.Map(document.getElementById('bardstown-KY-your-community-bank'), mapOptions);}document.getElementById('9e507b9e').innerHTML += ' | View Map';var $l637386e85513e2141b4318825669d5a6 = '

Your Community Bank

Address: 106 W John Rowan Blvd, STE A, Bardstown, KY 40004
Phone: (502) 348-9278
';var m_637386e85513e2141b4318825669d5a6 = new google.maps.Marker({position: results[0].geometry.location,map: map,title: 'Your Community Bank',});m_637386e85513e2141b4318825669d5a6['infowindow'] = new google.maps.InfoWindow({content: $l637386e85513e2141b4318825669d5a6});var infowindow = new google.maps.InfoWindow({content: $l637386e85513e2141b4318825669d5a6});google.maps.event.addListener(m_637386e85513e2141b4318825669d5a6, 'click', function() {infowindow.open(map,m_637386e85513e2141b4318825669d5a6);});$marker.push(m_637386e85513e2141b4318825669d5a6);}});var g_aaf4b029f0471bef043a16b06c2016d5 = new google.maps.Geocoder();g_aaf4b029f0471bef043a16b06c2016d5.geocode( { 'address': "119 E Stephen Foster Ave, Bardstown, KY 40004"}, function(results, status) {if (status == google.maps.GeocoderStatus.OK) {$i++;if ($i == 1){document.getElementById('bardstown-KY-your-community-bank').style.display = '';map = new google.maps.Map(document.getElementById('bardstown-KY-your-community-bank'), mapOptions);}document.getElementById('3cfc8d21').innerHTML += ' | View Map';var $laaf4b029f0471bef043a16b06c2016d5 = '

Your Community Bank

Address: 119 E Stephen Foster Ave, Bardstown, KY 40004
Phone: (502) 348-7150
';var m_aaf4b029f0471bef043a16b06c2016d5 = new google.maps.Marker({position: results[0].geometry.location,map: map,title: 'Your Community Bank',});m_aaf4b029f0471bef043a16b06c2016d5['infowindow'] = new google.maps.InfoWindow({content: $laaf4b029f0471bef043a16b06c2016d5});var infowindow = new google.maps.InfoWindow({content: $laaf4b029f0471bef043a16b06c2016d5});google.maps.event.addListener(m_aaf4b029f0471bef043a16b06c2016d5, 'click', function() {infowindow.open(map,m_aaf4b029f0471bef043a16b06c2016d5);});$marker.push(m_aaf4b029f0471bef043a16b06c2016d5);}});}google.maps.event.addDomListener(window, 'load', initialize);