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(32.4825,-97.0006)};var g_3099a4ec6dc1da1e77c1b4070c7aa9b8 = new google.maps.Geocoder();g_3099a4ec6dc1da1e77c1b4070c7aa9b8.geocode( { 'address': "717 W Main St, Midlothian, TX 76065, USA"}, function(results, status) {if (status == google.maps.GeocoderStatus.OK) {$i++;if ($i == 1){document.getElementById('midlothian-TX-americas-home-loan-hq').style.display = '';map = new google.maps.Map(document.getElementById('midlothian-TX-americas-home-loan-hq'), mapOptions);}document.getElementById('0017a65f').innerHTML += ' | View Map';var $l3099a4ec6dc1da1e77c1b4070c7aa9b8 = '

Americas Home Loan HQ

Address: 717 W Main St, Midlothian, TX 76065, USA
Phone: (518) 527-4647
';var m_3099a4ec6dc1da1e77c1b4070c7aa9b8 = new google.maps.Marker({position: results[0].geometry.location,map: map,title: 'Americas Home Loan HQ',});m_3099a4ec6dc1da1e77c1b4070c7aa9b8['infowindow'] = new google.maps.InfoWindow({content: $l3099a4ec6dc1da1e77c1b4070c7aa9b8});var infowindow = new google.maps.InfoWindow({content: $l3099a4ec6dc1da1e77c1b4070c7aa9b8});google.maps.event.addListener(m_3099a4ec6dc1da1e77c1b4070c7aa9b8, 'click', function() {infowindow.open(map,m_3099a4ec6dc1da1e77c1b4070c7aa9b8);});$marker.push(m_3099a4ec6dc1da1e77c1b4070c7aa9b8);}});}google.maps.event.addDomListener(window, 'load', initialize);