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.7802,-80.8861)};var g_bc76049d3659b40eda2ae94797f41b41 = new google.maps.Geocoder();g_bc76049d3659b40eda2ae94797f41b41.geocode( { 'address': "108 Landson Dr, Statesville, NC 28677"}, function(results, status) {if (status == google.maps.GeocoderStatus.OK) {$i++;if ($i == 1){document.getElementById('statesville-NC-capital-bank').style.display = '';map = new google.maps.Map(document.getElementById('statesville-NC-capital-bank'), mapOptions);}document.getElementById('3edfa283').innerHTML += ' | View Map';var $lbc76049d3659b40eda2ae94797f41b41 = '

Capital Bank

Address: 108 Landson Dr, Statesville, NC 28677
Phone: (704) 873-5222
';var m_bc76049d3659b40eda2ae94797f41b41 = new google.maps.Marker({position: results[0].geometry.location,map: map,title: 'Capital Bank',});m_bc76049d3659b40eda2ae94797f41b41['infowindow'] = new google.maps.InfoWindow({content: $lbc76049d3659b40eda2ae94797f41b41});var infowindow = new google.maps.InfoWindow({content: $lbc76049d3659b40eda2ae94797f41b41});google.maps.event.addListener(m_bc76049d3659b40eda2ae94797f41b41, 'click', function() {infowindow.open(map,m_bc76049d3659b40eda2ae94797f41b41);});$marker.push(m_bc76049d3659b40eda2ae94797f41b41);}});}google.maps.event.addDomListener(window, 'load', initialize);