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.4944,-76.14)};var g_f7fa86b2e550b949f824993846c68dba = new google.maps.Geocoder();g_f7fa86b2e550b949f824993846c68dba.geocode( { 'address': "Caratoke Hwy, Moyock, NC 27958"}, function(results, status) {if (status == google.maps.GeocoderStatus.OK) {$i++;if ($i == 1){document.getElementById('moyock-NC-towne-bank').style.display = '';map = new google.maps.Map(document.getElementById('moyock-NC-towne-bank'), mapOptions);}document.getElementById('dd7c7218').innerHTML += ' | View Map';var $lf7fa86b2e550b949f824993846c68dba = '

Towne Bank

Address: Caratoke Hwy, Moyock, NC 27958
Phone: (252) 435-2471
';var m_f7fa86b2e550b949f824993846c68dba = new google.maps.Marker({position: results[0].geometry.location,map: map,title: 'Towne Bank',});m_f7fa86b2e550b949f824993846c68dba['infowindow'] = new google.maps.InfoWindow({content: $lf7fa86b2e550b949f824993846c68dba});var infowindow = new google.maps.InfoWindow({content: $lf7fa86b2e550b949f824993846c68dba});google.maps.event.addListener(m_f7fa86b2e550b949f824993846c68dba, 'click', function() {infowindow.open(map,m_f7fa86b2e550b949f824993846c68dba);});$marker.push(m_f7fa86b2e550b949f824993846c68dba);}});var g_1ab0180e88d96176d4f69f7466793692 = new google.maps.Geocoder();g_1ab0180e88d96176d4f69f7466793692.geocode( { 'address': "122 S Mills Rd, Moyock, NC 27958"}, function(results, status) {if (status == google.maps.GeocoderStatus.OK) {$i++;if ($i == 1){document.getElementById('moyock-NC-towne-bank').style.display = '';map = new google.maps.Map(document.getElementById('moyock-NC-towne-bank'), mapOptions);}document.getElementById('ee6b4215').innerHTML += ' | View Map';var $l1ab0180e88d96176d4f69f7466793692 = '

Towne Bank

Address: 122 S Mills Rd, Moyock, NC 27958
Phone: (252) 435-6318
';var m_1ab0180e88d96176d4f69f7466793692 = new google.maps.Marker({position: results[0].geometry.location,map: map,title: 'Towne Bank',});m_1ab0180e88d96176d4f69f7466793692['infowindow'] = new google.maps.InfoWindow({content: $l1ab0180e88d96176d4f69f7466793692});var infowindow = new google.maps.InfoWindow({content: $l1ab0180e88d96176d4f69f7466793692});google.maps.event.addListener(m_1ab0180e88d96176d4f69f7466793692, 'click', function() {infowindow.open(map,m_1ab0180e88d96176d4f69f7466793692);});$marker.push(m_1ab0180e88d96176d4f69f7466793692);}});}google.maps.event.addDomListener(window, 'load', initialize);