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(35.492,-82.9873)};var g_aa0f9de3c3f38177051c3c8741dac037 = new google.maps.Geocoder();g_aa0f9de3c3f38177051c3c8741dac037.geocode( { 'address': "165 N Main St, Waynesville, NC 28786, USA"}, function(results, status) {if (status == google.maps.GeocoderStatus.OK) {$i++;if ($i == 1){document.getElementById('waynesville-NC-united-community-bank').style.display = '';map = new google.maps.Map(document.getElementById('waynesville-NC-united-community-bank'), mapOptions);}document.getElementById('4a3d8b58').innerHTML += ' | View Map';var $laa0f9de3c3f38177051c3c8741dac037 = '

United Community Bank

Address: 165 N Main St, Waynesville, NC 28786, USA
Phone: (828) 452-0307
';var m_aa0f9de3c3f38177051c3c8741dac037 = new google.maps.Marker({position: results[0].geometry.location,map: map,title: 'United Community Bank',});m_aa0f9de3c3f38177051c3c8741dac037['infowindow'] = new google.maps.InfoWindow({content: $laa0f9de3c3f38177051c3c8741dac037});var infowindow = new google.maps.InfoWindow({content: $laa0f9de3c3f38177051c3c8741dac037});google.maps.event.addListener(m_aa0f9de3c3f38177051c3c8741dac037, 'click', function() {infowindow.open(map,m_aa0f9de3c3f38177051c3c8741dac037);});$marker.push(m_aa0f9de3c3f38177051c3c8741dac037);}});}google.maps.event.addDomListener(window, 'load', initialize);