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.448,-79.1127)};var g_7529f77284b9afe8a6efa548bbcc84ba = new google.maps.Geocoder();g_7529f77284b9afe8a6efa548bbcc84ba.geocode( { 'address': "4698 S Amherst Hwy, Madison Heights, VA 24572"}, function(results, status) {if (status == google.maps.GeocoderStatus.OK) {$i++;if ($i == 1){document.getElementById('madison-heights-VA-bank-of-the-james').style.display = '';map = new google.maps.Map(document.getElementById('madison-heights-VA-bank-of-the-james'), mapOptions);}document.getElementById('01fc4f29').innerHTML += ' | View Map';var $l7529f77284b9afe8a6efa548bbcc84ba = '