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(36.8658,-83.8921)};var g_46b1cf75255ed7bfd7307ab96b9690b2 = new google.maps.Geocoder();g_46b1cf75255ed7bfd7307ab96b9690b2.geocode( { 'address': "302 N Main St, Barbourville, KY 40906"}, function(results, status) {if (status == google.maps.GeocoderStatus.OK) {$i++;if ($i == 1){document.getElementById('barbourville-KY-union-national-bancorp').style.display = '';map = new google.maps.Map(document.getElementById('barbourville-KY-union-national-bancorp'), mapOptions);}document.getElementById('8c3f82f3').innerHTML += ' | View Map';var $l46b1cf75255ed7bfd7307ab96b9690b2 = '

Union National Bancorp

Address: 302 N Main St, Barbourville, KY 40906
Phone: (606) 546-5143
';var m_46b1cf75255ed7bfd7307ab96b9690b2 = new google.maps.Marker({position: results[0].geometry.location,map: map,title: 'Union National Bancorp',});m_46b1cf75255ed7bfd7307ab96b9690b2['infowindow'] = new google.maps.InfoWindow({content: $l46b1cf75255ed7bfd7307ab96b9690b2});var infowindow = new google.maps.InfoWindow({content: $l46b1cf75255ed7bfd7307ab96b9690b2});google.maps.event.addListener(m_46b1cf75255ed7bfd7307ab96b9690b2, 'click', function() {infowindow.open(map,m_46b1cf75255ed7bfd7307ab96b9690b2);});$marker.push(m_46b1cf75255ed7bfd7307ab96b9690b2);}});}google.maps.event.addDomListener(window, 'load', initialize);