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.1091,-75.9778)};var g_9e5d1ac8c5a6cd27e8674289259b7fa3 = new google.maps.Geocoder();g_9e5d1ac8c5a6cd27e8674289259b7fa3.geocode( { 'address': "782 Irvin Garrish Hwy, Ocracoke, NC 27960, USA"}, function(results, status) {if (status == google.maps.GeocoderStatus.OK) {$i++;if ($i == 1){document.getElementById('ocracoke-NC-yadkin-bank').style.display = '';map = new google.maps.Map(document.getElementById('ocracoke-NC-yadkin-bank'), mapOptions);}document.getElementById('54371431').innerHTML += ' | View Map';var $l9e5d1ac8c5a6cd27e8674289259b7fa3 = '

Yadkin Bank

Address: 782 Irvin Garrish Hwy, Ocracoke, NC 27960, USA
Phone: (252) 928-5231
';var m_9e5d1ac8c5a6cd27e8674289259b7fa3 = new google.maps.Marker({position: results[0].geometry.location,map: map,title: 'Yadkin Bank',});m_9e5d1ac8c5a6cd27e8674289259b7fa3['infowindow'] = new google.maps.InfoWindow({content: $l9e5d1ac8c5a6cd27e8674289259b7fa3});var infowindow = new google.maps.InfoWindow({content: $l9e5d1ac8c5a6cd27e8674289259b7fa3});google.maps.event.addListener(m_9e5d1ac8c5a6cd27e8674289259b7fa3, 'click', function() {infowindow.open(map,m_9e5d1ac8c5a6cd27e8674289259b7fa3);});$marker.push(m_9e5d1ac8c5a6cd27e8674289259b7fa3);}});}google.maps.event.addDomListener(window, 'load', initialize);