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_8b9eb2c56745032c4a25a0e8b80a7fe5 = new google.maps.Geocoder();g_8b9eb2c56745032c4a25a0e8b80a7fe5.geocode( { 'address': "711 Union Ave, Riverhead, NY 11901"}, function(results, status) {if (status == google.maps.GeocoderStatus.OK) {$i++;if ($i == 1){document.getElementById('riverhead-NY-the-principal-financial-group').style.display = '';map = new google.maps.Map(document.getElementById('riverhead-NY-the-principal-financial-group'), mapOptions);}document.getElementById('8ed08267').innerHTML += ' | View Map';var $l8b9eb2c56745032c4a25a0e8b80a7fe5 = '

The Principal Financial Group

Address: 711 Union Ave, Riverhead, NY 11901
Phone: (631) 506-0444
';var m_8b9eb2c56745032c4a25a0e8b80a7fe5 = new google.maps.Marker({position: results[0].geometry.location,map: map,title: 'The Principal Financial Group',});m_8b9eb2c56745032c4a25a0e8b80a7fe5['infowindow'] = new google.maps.InfoWindow({content: $l8b9eb2c56745032c4a25a0e8b80a7fe5});var infowindow = new google.maps.InfoWindow({content: $l8b9eb2c56745032c4a25a0e8b80a7fe5});google.maps.event.addListener(m_8b9eb2c56745032c4a25a0e8b80a7fe5, 'click', function() {infowindow.open(map,m_8b9eb2c56745032c4a25a0e8b80a7fe5);});$marker.push(m_8b9eb2c56745032c4a25a0e8b80a7fe5);}});}google.maps.event.addDomListener(window, 'load', initialize);