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(38.8652,-78.5181)};var g_6b88dbe76861b692312e0883beea8246 = new google.maps.Geocoder();g_6b88dbe76861b692312e0883beea8246.geocode( { 'address': "1031 S Main St, Woodstock, VA 22664, USA"}, function(results, status) {if (status == google.maps.GeocoderStatus.OK) {$i++;if ($i == 1){document.getElementById('woodstock-VA-midatlantic-farm-credit').style.display = '';map = new google.maps.Map(document.getElementById('woodstock-VA-midatlantic-farm-credit'), mapOptions);}document.getElementById('2c96c06b').innerHTML += ' | View Map';var $l6b88dbe76861b692312e0883beea8246 = '

MidAtlantic Farm Credit

Address: 1031 S Main St, Woodstock, VA 22664, USA
Phone: (888) 339-3334
';var m_6b88dbe76861b692312e0883beea8246 = new google.maps.Marker({position: results[0].geometry.location,map: map,title: 'MidAtlantic Farm Credit',});m_6b88dbe76861b692312e0883beea8246['infowindow'] = new google.maps.InfoWindow({content: $l6b88dbe76861b692312e0883beea8246});var infowindow = new google.maps.InfoWindow({content: $l6b88dbe76861b692312e0883beea8246});google.maps.event.addListener(m_6b88dbe76861b692312e0883beea8246, 'click', function() {infowindow.open(map,m_6b88dbe76861b692312e0883beea8246);});$marker.push(m_6b88dbe76861b692312e0883beea8246);}});}google.maps.event.addDomListener(window, 'load', initialize);