/*
Triton's Realm

Northwind

The tugboat Northwind is named after the boat Mel Fisher used as a platform to salvage treasure from the wreck of the Atocha.

'],[new google.maps.LatLng(17.7509797923, -64.8957633879),'Aegir Habitat','
Triton's Realm

Aegir Habitat

The Aegir habitat is composed of two cylinders attached to a sphere in the center. Divers can swim through the entire length of it.

'],[new google.maps.LatLng(17.7513498534, -64.8958586063),'Virgin Islander','
Triton's Realm

Virgin Islander

At 300-feet long, the oil barge Virgin Islander is the largest of all the wrecks in Butler Bay

'],[new google.maps.LatLng(17.7518239338, -64.8957747035),'Suffolk Maid','
Triton's Realm

Suffolk Maid

The 144-foot North Sea trawler Suffolk Maid sits upright in 60 feet of water and is an impressive site.

']]; for (var i = 0; i < locations.length; i++) { var marker = new google.maps.Marker({ position: locations[i][0], map: map, title: locations[i][1], }); // Register a click event listener on the marker to display the corresponding infowindow content google.maps.event.addListener(marker, 'click', (function (marker, i) { return function () { infowindow.setContent(locations[i][2]); infowindow.open(map, marker); } })(marker, i)); // Add marker to markers array butlerbayshallowwrecksMarkers.push(marker);} // Trigger a click event on each marker when the corresponding marker link is clicked $('.marker-link-butlerbayshallowwrecks').on('click', function() { google.maps.event.trigger(butlerbayshallowwrecksMarkers[$(this).data('markerid')], 'click');}); } //end initialize google.maps.event.addDomListener(window, 'load', initialize); }); //end map /* ]]> */