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.8553,-73.2097)};var g_f8f86f89bd404bcb9687f35b57b6ea41 = new google.maps.Geocoder();g_f8f86f89bd404bcb9687f35b57b6ea41.geocode( { 'address': "87 W Main St, Smithtown, NY 11787"}, function(results, status) {if (status == google.maps.GeocoderStatus.OK) {$i++;if ($i == 1){document.getElementById('smithtown-NY-nationwide-insurance-william-lindeman').style.display = '';map = new google.maps.Map(document.getElementById('smithtown-NY-nationwide-insurance-william-lindeman'), mapOptions);}document.getElementById('e899b263').innerHTML += ' | View Map';var $lf8f86f89bd404bcb9687f35b57b6ea41 = '

Nationwide Insurance - William Lindeman

Address: 87 W Main St, Smithtown, NY 11787
Phone: (631) 742-0032
';var m_f8f86f89bd404bcb9687f35b57b6ea41 = new google.maps.Marker({position: results[0].geometry.location,map: map,title: 'Nationwide Insurance - William Lindeman',});m_f8f86f89bd404bcb9687f35b57b6ea41['infowindow'] = new google.maps.InfoWindow({content: $lf8f86f89bd404bcb9687f35b57b6ea41});var infowindow = new google.maps.InfoWindow({content: $lf8f86f89bd404bcb9687f35b57b6ea41});google.maps.event.addListener(m_f8f86f89bd404bcb9687f35b57b6ea41, 'click', function() {infowindow.open(map,m_f8f86f89bd404bcb9687f35b57b6ea41);});$marker.push(m_f8f86f89bd404bcb9687f35b57b6ea41);}});}google.maps.event.addDomListener(window, 'load', initialize);