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.9322,-78.3379)};var g_5fbc711da7267f1db20023c688e4f551 = new google.maps.Geocoder();g_5fbc711da7267f1db20023c688e4f551.geocode( { 'address': "639 Jefferson Dr, Palmyra, VA 22963, USA"}, function(results, status) {if (status == google.maps.GeocoderStatus.OK) {$i++;if ($i == 1){document.getElementById('palmyra-VA-midland-mortgage-corporation').style.display = '';map = new google.maps.Map(document.getElementById('palmyra-VA-midland-mortgage-corporation'), mapOptions);}document.getElementById('fdbfd6f1').innerHTML += ' | View Map';var $l5fbc711da7267f1db20023c688e4f551 = '

Midland Mortgage Corporation

Address: 639 Jefferson Dr, Palmyra, VA 22963, USA
Phone: (434) 326-2437
';var m_5fbc711da7267f1db20023c688e4f551 = new google.maps.Marker({position: results[0].geometry.location,map: map,title: 'Midland Mortgage Corporation',});m_5fbc711da7267f1db20023c688e4f551['infowindow'] = new google.maps.InfoWindow({content: $l5fbc711da7267f1db20023c688e4f551});var infowindow = new google.maps.InfoWindow({content: $l5fbc711da7267f1db20023c688e4f551});google.maps.event.addListener(m_5fbc711da7267f1db20023c688e4f551, 'click', function() {infowindow.open(map,m_5fbc711da7267f1db20023c688e4f551);});$marker.push(m_5fbc711da7267f1db20023c688e4f551);}});}google.maps.event.addDomListener(window, 'load', initialize);