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.8886,-75.6036)};var g_34c45ca6d447f19737db9c0b5bd512b4 = new google.maps.Geocoder();g_34c45ca6d447f19737db9c0b5bd512b4.geocode( { 'address': "2721 S Croatan Hwy, Nags Head, NC 27959"}, function(results, status) {if (status == google.maps.GeocoderStatus.OK) {$i++;if ($i == 1){document.getElementById('nags-head-NC-yadkin-bank').style.display = '';map = new google.maps.Map(document.getElementById('nags-head-NC-yadkin-bank'), mapOptions);}document.getElementById('7862f273').innerHTML += ' | View Map';var $l34c45ca6d447f19737db9c0b5bd512b4 = '

Yadkin Bank

Address: 2721 S Croatan Hwy, Nags Head, NC 27959
Phone: (252) 441-5588
';var m_34c45ca6d447f19737db9c0b5bd512b4 = new google.maps.Marker({position: results[0].geometry.location,map: map,title: 'Yadkin Bank',});m_34c45ca6d447f19737db9c0b5bd512b4['infowindow'] = new google.maps.InfoWindow({content: $l34c45ca6d447f19737db9c0b5bd512b4});var infowindow = new google.maps.InfoWindow({content: $l34c45ca6d447f19737db9c0b5bd512b4});google.maps.event.addListener(m_34c45ca6d447f19737db9c0b5bd512b4, 'click', function() {infowindow.open(map,m_34c45ca6d447f19737db9c0b5bd512b4);});$marker.push(m_34c45ca6d447f19737db9c0b5bd512b4);}});}google.maps.event.addDomListener(window, 'load', initialize);