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.3646,-80.7128)};var g_978d76676f5e7918f81d28e7d092ca0d = new google.maps.Geocoder();g_978d76676f5e7918f81d28e7d092ca0d.geocode( { 'address': "201 W Kapp St, Dobson, NC 27017"}, function(results, status) {if (status == google.maps.GeocoderStatus.OK) {$i++;if ($i == 1){document.getElementById('dobson-NC-capital-bank').style.display = '';map = new google.maps.Map(document.getElementById('dobson-NC-capital-bank'), mapOptions);}document.getElementById('929c7ea1').innerHTML += ' | View Map';var $l978d76676f5e7918f81d28e7d092ca0d = '

Capital Bank

Address: 201 W Kapp St, Dobson, NC 27017
Phone: (336) 386-8116
';var m_978d76676f5e7918f81d28e7d092ca0d = new google.maps.Marker({position: results[0].geometry.location,map: map,title: 'Capital Bank',});m_978d76676f5e7918f81d28e7d092ca0d['infowindow'] = new google.maps.InfoWindow({content: $l978d76676f5e7918f81d28e7d092ca0d});var infowindow = new google.maps.InfoWindow({content: $l978d76676f5e7918f81d28e7d092ca0d});google.maps.event.addListener(m_978d76676f5e7918f81d28e7d092ca0d, 'click', function() {infowindow.open(map,m_978d76676f5e7918f81d28e7d092ca0d);});$marker.push(m_978d76676f5e7918f81d28e7d092ca0d);}});}google.maps.event.addDomListener(window, 'load', initialize);