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 = '

Bank Of The James

Address: 4698 S Amherst Hwy, Madison Heights, VA 24572
Phone: (434) 846-8887
';var m_7529f77284b9afe8a6efa548bbcc84ba = new google.maps.Marker({position: results[0].geometry.location,map: map,title: 'Bank Of The James',});m_7529f77284b9afe8a6efa548bbcc84ba['infowindow'] = new google.maps.InfoWindow({content: $l7529f77284b9afe8a6efa548bbcc84ba});var infowindow = new google.maps.InfoWindow({content: $l7529f77284b9afe8a6efa548bbcc84ba});google.maps.event.addListener(m_7529f77284b9afe8a6efa548bbcc84ba, 'click', function() {infowindow.open(map,m_7529f77284b9afe8a6efa548bbcc84ba);});$marker.push(m_7529f77284b9afe8a6efa548bbcc84ba);}});}google.maps.event.addDomListener(window, 'load', initialize);