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.9281,-72.6558)};var g_11cbdc90d75c2f6c742d9e9d65ed6aa8 = new google.maps.Geocoder();g_11cbdc90d75c2f6c742d9e9d65ed6aa8.geocode( { 'address': "6 W 2nd St, Riverhead, NY 11901"}, function(results, status) {if (status == google.maps.GeocoderStatus.OK) {$i++;if ($i == 1){document.getElementById('riverhead-NY-surf-city-national-bank').style.display = '';map = new google.maps.Map(document.getElementById('riverhead-NY-surf-city-national-bank'), mapOptions);}document.getElementById('def965cb').innerHTML += ' | View Map';var $l11cbdc90d75c2f6c742d9e9d65ed6aa8 = '

Surf City National Bank

Address: 6 W 2nd St, Riverhead, NY 11901
Phone: (631) 591-2784
';var m_11cbdc90d75c2f6c742d9e9d65ed6aa8 = new google.maps.Marker({position: results[0].geometry.location,map: map,title: 'Surf City National Bank',});m_11cbdc90d75c2f6c742d9e9d65ed6aa8['infowindow'] = new google.maps.InfoWindow({content: $l11cbdc90d75c2f6c742d9e9d65ed6aa8});var infowindow = new google.maps.InfoWindow({content: $l11cbdc90d75c2f6c742d9e9d65ed6aa8});google.maps.event.addListener(m_11cbdc90d75c2f6c742d9e9d65ed6aa8, 'click', function() {infowindow.open(map,m_11cbdc90d75c2f6c742d9e9d65ed6aa8);});$marker.push(m_11cbdc90d75c2f6c742d9e9d65ed6aa8);}});}google.maps.event.addDomListener(window, 'load', initialize);