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(37.2928,-78.3965)};var g_2a357e93c15a13d084551f40a14db6a2 = new google.maps.Geocoder();g_2a357e93c15a13d084551f40a14db6a2.geocode( { 'address': "203 E 3rd St, Farmville, VA 23901"}, function(results, status) {if (status == google.maps.GeocoderStatus.OK) {$i++;if ($i == 1){document.getElementById('farmville-VA-benchmark-community-bank').style.display = '';map = new google.maps.Map(document.getElementById('farmville-VA-benchmark-community-bank'), mapOptions);}document.getElementById('3552d16b').innerHTML += ' | View Map';var $l2a357e93c15a13d084551f40a14db6a2 = '

Benchmark Community Bank

Address: 203 E 3rd St, Farmville, VA 23901
Phone: (434) 392-9528
';var m_2a357e93c15a13d084551f40a14db6a2 = new google.maps.Marker({position: results[0].geometry.location,map: map,title: 'Benchmark Community Bank',});m_2a357e93c15a13d084551f40a14db6a2['infowindow'] = new google.maps.InfoWindow({content: $l2a357e93c15a13d084551f40a14db6a2});var infowindow = new google.maps.InfoWindow({content: $l2a357e93c15a13d084551f40a14db6a2});google.maps.event.addListener(m_2a357e93c15a13d084551f40a14db6a2, 'click', function() {infowindow.open(map,m_2a357e93c15a13d084551f40a14db6a2);});$marker.push(m_2a357e93c15a13d084551f40a14db6a2);}});}google.maps.event.addDomListener(window, 'load', initialize);