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.4449,-79.1203)};var g_e086ba7ac9a84f22886b23261220974e = new google.maps.Geocoder();g_e086ba7ac9a84f22886b23261220974e.geocode( { 'address': "4698 S Amherst Hwy, Madison Heights, VA 24572, USA"}, 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('27934131').innerHTML += ' | View Map';var $le086ba7ac9a84f22886b23261220974e = '

Bank of the James

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