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.2832,-78.3927)};var g_11cc6517ac7a46cd35a712f09f38402b = new google.maps.Geocoder();g_11cc6517ac7a46cd35a712f09f38402b.geocode( { 'address': "1506 S Main St #10, Farmville, VA 23901, USA"}, function(results, status) {if (status == google.maps.GeocoderStatus.OK) {$i++;if ($i == 1){document.getElementById('farmville-VA-onemain-financial').style.display = '';map = new google.maps.Map(document.getElementById('farmville-VA-onemain-financial'), mapOptions);}document.getElementById('ceb8b592').innerHTML += ' | View Map';var $l11cc6517ac7a46cd35a712f09f38402b = '