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.5732,-79.058)};var g_e8489e963e8948ae648d211c98c0fdda = new google.maps.Geocoder();g_e8489e963e8948ae648d211c98c0fdda.geocode( { 'address': "130 S Main St, Amherst, VA 24521"}, function(results, status) {if (status == google.maps.GeocoderStatus.OK) {$i++;if ($i == 1){document.getElementById('amherst-VA-first-national-bank').style.display = '';map = new google.maps.Map(document.getElementById('amherst-VA-first-national-bank'), mapOptions);}document.getElementById('02b55e7f').innerHTML += ' | View Map';var $le8489e963e8948ae648d211c98c0fdda = '