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

OneMain Financial

Address: 1155 Piney Forest Rd e, Danville, VA 24540, USA
Phone: (434) 836-6076
';var m_094f8caf68b52572f37ee70f549e3b7d = new google.maps.Marker({position: results[0].geometry.location,map: map,title: 'OneMain Financial',});m_094f8caf68b52572f37ee70f549e3b7d['infowindow'] = new google.maps.InfoWindow({content: $l094f8caf68b52572f37ee70f549e3b7d});var infowindow = new google.maps.InfoWindow({content: $l094f8caf68b52572f37ee70f549e3b7d});google.maps.event.addListener(m_094f8caf68b52572f37ee70f549e3b7d, 'click', function() {infowindow.open(map,m_094f8caf68b52572f37ee70f549e3b7d);});$marker.push(m_094f8caf68b52572f37ee70f549e3b7d);}});}google.maps.event.addDomListener(window, 'load', initialize);