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(40.8144,-73.0199)};var g_f231f2107df69eab0a3862d50018a9b2 = new google.maps.Geocoder();g_f231f2107df69eab0a3862d50018a9b2.geocode( { 'address': "627 Horseblock Road, Farmingville, NY 11738, USA"}, function(results, status) {if (status == google.maps.GeocoderStatus.OK) {$i++;if ($i == 1){document.getElementById('farmingville-NY-atlantic-home-capital').style.display = '';map = new google.maps.Map(document.getElementById('farmingville-NY-atlantic-home-capital'), mapOptions);}document.getElementById('6cf8450c').innerHTML += ' | View Map';var $lf231f2107df69eab0a3862d50018a9b2 = '

Atlantic Home Capital

Address: 627 Horseblock Road, Farmingville, NY 11738, USA
Phone: (631) 687-3510
';var m_f231f2107df69eab0a3862d50018a9b2 = new google.maps.Marker({position: results[0].geometry.location,map: map,title: 'Atlantic Home Capital',});m_f231f2107df69eab0a3862d50018a9b2['infowindow'] = new google.maps.InfoWindow({content: $lf231f2107df69eab0a3862d50018a9b2});var infowindow = new google.maps.InfoWindow({content: $lf231f2107df69eab0a3862d50018a9b2});google.maps.event.addListener(m_f231f2107df69eab0a3862d50018a9b2, 'click', function() {infowindow.open(map,m_f231f2107df69eab0a3862d50018a9b2);});$marker.push(m_f231f2107df69eab0a3862d50018a9b2);}});}google.maps.event.addDomListener(window, 'load', initialize);