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.3802,-80.816)};var g_82489c9737cc245530c7a6ebef3753ec = new google.maps.Geocoder();g_82489c9737cc245530c7a6ebef3753ec.geocode( { 'address': "370 Old Virginia Ave, Rich Creek, VA 24147"}, function(results, status) {if (status == google.maps.GeocoderStatus.OK) {$i++;if ($i == 1){document.getElementById('rich-creek-VA-national-bank').style.display = '';map = new google.maps.Map(document.getElementById('rich-creek-VA-national-bank'), mapOptions);}document.getElementById('1dbf537a').innerHTML += ' | View Map';var $l82489c9737cc245530c7a6ebef3753ec = '

National Bank

Address: 370 Old Virginia Ave, Rich Creek, VA 24147
Phone: (540) 726-7850
';var m_82489c9737cc245530c7a6ebef3753ec = new google.maps.Marker({position: results[0].geometry.location,map: map,title: 'National Bank',});m_82489c9737cc245530c7a6ebef3753ec['infowindow'] = new google.maps.InfoWindow({content: $l82489c9737cc245530c7a6ebef3753ec});var infowindow = new google.maps.InfoWindow({content: $l82489c9737cc245530c7a6ebef3753ec});google.maps.event.addListener(m_82489c9737cc245530c7a6ebef3753ec, 'click', function() {infowindow.open(map,m_82489c9737cc245530c7a6ebef3753ec);});$marker.push(m_82489c9737cc245530c7a6ebef3753ec);}});}google.maps.event.addDomListener(window, 'load', initialize);