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.6259,-79.403)};var g_094f8caf68b52572f37ee70f549e3b7d = new google.maps.Geocoder();g_094f8caf68b52572f37ee70f549e3b7d.geocode( { 'address': "1155 Piney Forest Rd e, Danville, VA 24540, USA"}, function(results, status) {if (status == google.maps.GeocoderStatus.OK) {$i++;if ($i == 1){document.getElementById('danville-VA-onemain-financial').style.display = '';map = new google.maps.Map(document.getElementById('danville-VA-onemain-financial'), mapOptions);}document.getElementById('dd3ef63b').innerHTML += ' | View Map';var $l094f8caf68b52572f37ee70f549e3b7d = '