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.3638,-78.8326)};var g_b43fb7f130f03e37b975009e3d3b5b5e = new google.maps.Geocoder();g_b43fb7f130f03e37b975009e3d3b5b5e.geocode( { 'address': "180 Old Courthouse Rd, Appomattox, VA 24522, USA"}, function(results, status) {if (status == google.maps.GeocoderStatus.OK) {$i++;if ($i == 1){document.getElementById('appomattox-VA-bank-of-the-james---appomattox').style.display = '';map = new google.maps.Map(document.getElementById('appomattox-VA-bank-of-the-james---appomattox'), mapOptions);}document.getElementById('1f0edcef').innerHTML += ' | View Map';var $lb43fb7f130f03e37b975009e3d3b5b5e = '

Bank of the James - Appomattox

Address: 180 Old Courthouse Rd, Appomattox, VA 24522, USA
Phone: (434) 352-5500
';var m_b43fb7f130f03e37b975009e3d3b5b5e = new google.maps.Marker({position: results[0].geometry.location,map: map,title: 'Bank of the James - Appomattox',});m_b43fb7f130f03e37b975009e3d3b5b5e['infowindow'] = new google.maps.InfoWindow({content: $lb43fb7f130f03e37b975009e3d3b5b5e});var infowindow = new google.maps.InfoWindow({content: $lb43fb7f130f03e37b975009e3d3b5b5e});google.maps.event.addListener(m_b43fb7f130f03e37b975009e3d3b5b5e, 'click', function() {infowindow.open(map,m_b43fb7f130f03e37b975009e3d3b5b5e);});$marker.push(m_b43fb7f130f03e37b975009e3d3b5b5e);}});}google.maps.event.addDomListener(window, 'load', initialize);