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.8505,-73.1654)};var g_21fa7a8e4e1c13afc7cdc134a463eb81 = new google.maps.Geocoder();g_21fa7a8e4e1c13afc7cdc134a463eb81.geocode( { 'address': "738 Smithtown Byp # 101, Smithtown, NY 11787, USA"}, function(results, status) {if (status == google.maps.GeocoderStatus.OK) {$i++;if ($i == 1){document.getElementById('smithtown-NY-long-island-mortgage--new-york-refinance').style.display = '';map = new google.maps.Map(document.getElementById('smithtown-NY-long-island-mortgage--new-york-refinance'), mapOptions);}document.getElementById('bdd5e706').innerHTML += ' | View Map';var $l21fa7a8e4e1c13afc7cdc134a463eb81 = '

Long Island Mortgage | New York Refinance

Address: 738 Smithtown Byp # 101, Smithtown, NY 11787, USA
Phone: (631) 863-3300
';var m_21fa7a8e4e1c13afc7cdc134a463eb81 = new google.maps.Marker({position: results[0].geometry.location,map: map,title: 'Long Island Mortgage | New York Refinance',});m_21fa7a8e4e1c13afc7cdc134a463eb81['infowindow'] = new google.maps.InfoWindow({content: $l21fa7a8e4e1c13afc7cdc134a463eb81});var infowindow = new google.maps.InfoWindow({content: $l21fa7a8e4e1c13afc7cdc134a463eb81});google.maps.event.addListener(m_21fa7a8e4e1c13afc7cdc134a463eb81, 'click', function() {infowindow.open(map,m_21fa7a8e4e1c13afc7cdc134a463eb81);});$marker.push(m_21fa7a8e4e1c13afc7cdc134a463eb81);}});}google.maps.event.addDomListener(window, 'load', initialize);