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.4063,-76.2777)};var g_c0ce344994fa7dc38c7ea65ed72a8ae2 = new google.maps.Geocoder();g_c0ce344994fa7dc38c7ea65ed72a8ae2.geocode( { 'address': "80 Main St, Swanquarter, NC 27885"}, function(results, status) {if (status == google.maps.GeocoderStatus.OK) {$i++;if ($i == 1){document.getElementById('swanquarter-NC-yadkin-bank').style.display = '';map = new google.maps.Map(document.getElementById('swanquarter-NC-yadkin-bank'), mapOptions);}document.getElementById('2d46d3b7').innerHTML += ' | View Map';var $lc0ce344994fa7dc38c7ea65ed72a8ae2 = '

Yadkin Bank

Address: 80 Main St, Swanquarter, NC 27885
Phone: (252) 926-3631
';var m_c0ce344994fa7dc38c7ea65ed72a8ae2 = new google.maps.Marker({position: results[0].geometry.location,map: map,title: 'Yadkin Bank',});m_c0ce344994fa7dc38c7ea65ed72a8ae2['infowindow'] = new google.maps.InfoWindow({content: $lc0ce344994fa7dc38c7ea65ed72a8ae2});var infowindow = new google.maps.InfoWindow({content: $lc0ce344994fa7dc38c7ea65ed72a8ae2});google.maps.event.addListener(m_c0ce344994fa7dc38c7ea65ed72a8ae2, 'click', function() {infowindow.open(map,m_c0ce344994fa7dc38c7ea65ed72a8ae2);});$marker.push(m_c0ce344994fa7dc38c7ea65ed72a8ae2);}});}google.maps.event.addDomListener(window, 'load', initialize);