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