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(36.5883,-79.3916)};var g_bd353d5f31ead8f6e041b9310d975f2a = new google.maps.Geocoder();g_bd353d5f31ead8f6e041b9310d975f2a.geocode( { 'address': "336 Main St, Danville, VA 24541, USA"}, function(results, status) {if (status == google.maps.GeocoderStatus.OK) {$i++;if ($i == 1){document.getElementById('danville-VA-virginia-bank-bankshares-inc').style.display = '';map = new google.maps.Map(document.getElementById('danville-VA-virginia-bank-bankshares-inc'), mapOptions);}document.getElementById('38241b54').innerHTML += ' | View Map';var $lbd353d5f31ead8f6e041b9310d975f2a = '