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_712a67567ec10c52c2b966224cf94d1e = new google.maps.Geocoder();g_712a67567ec10c52c2b966224cf94d1e.geocode( { 'address': "1 E Main St, Smithtown, NY 11787"}, function(results, status) {if (status == google.maps.GeocoderStatus.OK) {$i++;if ($i == 1){document.getElementById('smithtown-NY-peoples-united-bank').style.display = '';map = new google.maps.Map(document.getElementById('smithtown-NY-peoples-united-bank'), mapOptions);}document.getElementById('b392a6c7').innerHTML += ' | View Map';var $l712a67567ec10c52c2b966224cf94d1e = '