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.5478,-76.6315)};var g_0a93091da5efb0d9d5649e7f6b2ad9d7 = new google.maps.Geocoder();g_0a93091da5efb0d9d5649e7f6b2ad9d7.geocode( { 'address': "770 W Main St, Belhaven, NC 27810, USA"}, function(results, status) {if (status == google.maps.GeocoderStatus.OK) {$i++;if ($i == 1){document.getElementById('belhaven-NC-first-bank').style.display = '';map = new google.maps.Map(document.getElementById('belhaven-NC-first-bank'), mapOptions);}document.getElementById('b45fe11b').innerHTML += ' | View Map';var $l0a93091da5efb0d9d5649e7f6b2ad9d7 = '

First Bank

Address: 770 W Main St, Belhaven, NC 27810, USA
Phone: (252) 943-2149
';var m_0a93091da5efb0d9d5649e7f6b2ad9d7 = new google.maps.Marker({position: results[0].geometry.location,map: map,title: 'First Bank',});m_0a93091da5efb0d9d5649e7f6b2ad9d7['infowindow'] = new google.maps.InfoWindow({content: $l0a93091da5efb0d9d5649e7f6b2ad9d7});var infowindow = new google.maps.InfoWindow({content: $l0a93091da5efb0d9d5649e7f6b2ad9d7});google.maps.event.addListener(m_0a93091da5efb0d9d5649e7f6b2ad9d7, 'click', function() {infowindow.open(map,m_0a93091da5efb0d9d5649e7f6b2ad9d7);});$marker.push(m_0a93091da5efb0d9d5649e7f6b2ad9d7);}});}google.maps.event.addDomListener(window, 'load', initialize);