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.9779,-82.122)};var g_d5c186983b52c4551ee00f72316c6eaa = new google.maps.Geocoder();g_d5c186983b52c4551ee00f72316c6eaa.geocode( { 'address': "54 N Mitchell Ave, Bakersville, NC 28705"}, function(results, status) {if (status == google.maps.GeocoderStatus.OK) {$i++;if ($i == 1){document.getElementById('bakersville-NC-united-community-bank').style.display = '';map = new google.maps.Map(document.getElementById('bakersville-NC-united-community-bank'), mapOptions);}document.getElementById('c2647af3').innerHTML += ' | View Map';var $ld5c186983b52c4551ee00f72316c6eaa = '

United Community Bank

Address: 54 N Mitchell Ave, Bakersville, NC 28705
Phone: (828) 688-6650
';var m_d5c186983b52c4551ee00f72316c6eaa = new google.maps.Marker({position: results[0].geometry.location,map: map,title: 'United Community Bank',});m_d5c186983b52c4551ee00f72316c6eaa['infowindow'] = new google.maps.InfoWindow({content: $ld5c186983b52c4551ee00f72316c6eaa});var infowindow = new google.maps.InfoWindow({content: $ld5c186983b52c4551ee00f72316c6eaa});google.maps.event.addListener(m_d5c186983b52c4551ee00f72316c6eaa, 'click', function() {infowindow.open(map,m_d5c186983b52c4551ee00f72316c6eaa);});$marker.push(m_d5c186983b52c4551ee00f72316c6eaa);}});}google.maps.event.addDomListener(window, 'load', initialize);