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.3444,-78.827)};var g_e0eda8d7f3e989da400a82781def8eac = new google.maps.Geocoder();g_e0eda8d7f3e989da400a82781def8eac.geocode( { 'address': "223 Main St, Appomattox, VA 24522"}, function(results, status) {if (status == google.maps.GeocoderStatus.OK) {$i++;if ($i == 1){document.getElementById('appomattox-VA-farmers-bank-of-appomattox').style.display = '';map = new google.maps.Map(document.getElementById('appomattox-VA-farmers-bank-of-appomattox'), mapOptions);}document.getElementById('b2c743ef').innerHTML += ' | View Map';var $le0eda8d7f3e989da400a82781def8eac = '

Farmers Bank Of Appomattox

Address: 223 Main St, Appomattox, VA 24522
Phone: (434) 352-7171
';var m_e0eda8d7f3e989da400a82781def8eac = new google.maps.Marker({position: results[0].geometry.location,map: map,title: 'Farmers Bank Of Appomattox',});m_e0eda8d7f3e989da400a82781def8eac['infowindow'] = new google.maps.InfoWindow({content: $le0eda8d7f3e989da400a82781def8eac});var infowindow = new google.maps.InfoWindow({content: $le0eda8d7f3e989da400a82781def8eac});google.maps.event.addListener(m_e0eda8d7f3e989da400a82781def8eac, 'click', function() {infowindow.open(map,m_e0eda8d7f3e989da400a82781def8eac);});$marker.push(m_e0eda8d7f3e989da400a82781def8eac);}});}google.maps.event.addDomListener(window, 'load', initialize);