// JavaScript Document

 function load() {
      if (GBrowserIsCompatible()) {
        var map = new GMap2(document.getElementById("map"));
		map.addControl(new GSmallMapControl())
        //map.setCenter(new GLatLng(13.054469,-59.535502), 17);
		map.setCenter(new GLatLng(13.054454334311137,-59.53558802604675), 17);
		var mapControl = new GMapTypeControl();
        map.addControl(mapControl);
		map.removeMapType(G_HYBRID_MAP);
		map.addControl(mapControl);
		map.setMapType(G_SATELLITE_MAP);
		//---------Marker---- 1 -----------------
		var point1 = new GPoint(-59.53558802604675, 13.054454334311137);
		var html1 = "The pointer shows the exact position<br>where Amazing View is located, directly<br>on the beautiful Cotton-bay Beach."
		var beck1 = new GMarker(point1);
		GEvent.addListener(beck1, "click", function(){beck1.openInfoWindowHtml(html1)});
		map.addOverlay(beck1);
		//---------Marker---- 2 -----------------	
		var point2 = new GPoint(-59.5394504070282, 13.060052125527731);
		var html2 = "Miami Beach<br>the perfect dream beach<br>only 5 min. walk"
		var beck2 = new GMarker(point2);
		GEvent.addListener(beck2, "click", function(){beck2.openInfoWindowHtml(html2)});
		map.addOverlay(beck2);
		//---------Marker---- 3 -----------------
		var point3 = new GPoint(-59.54160958528519, 13.062922041607447);
		var html3 = "Bus stop in Oistins<br>only 10 min. walk"
		var beck3 = new GMarker(point3);
		GEvent.addListener(beck3, "click", function(){beck3.openInfoWindowHtml(html3)});
		map.addOverlay(beck3);
		//---------Marker---- 4 -----------------
		var point4 = new GPoint(-59.54370975494385, 13.063559564458373);
		var html4 = "Fishmarket Oistins<br>the place to be<br>only 10 min. walk"
		var beck4 = new GMarker(point4);
		GEvent.addListener(beck4, "click", function(){beck4.openInfoWindowHtml(html4)});
		map.addOverlay(beck4);
		//---------Marker---- 5 -----------------
		var point5 = new GPoint(-59.545879662036896, 13.06530490369288);
		var html5 = "Bank/Supermarket<br>20 min. walk or use the<br>free supermarket shuttle service"
		var beck5 = new GMarker(point5);
		GEvent.addListener(beck5, "click", function(){beck5.openInfoWindowHtml(html5)});
		map.addOverlay(beck5);
		//---------Marker---- 6 -----------------
		var point6 = new GPoint(-59.57569241523743, 13.068894830119865);
		var html6 = "St.Lawrence Gap<br>the most popular spot on the island with<br>excellent restaurants, vibrant nightlife, lively<br>bars and a little bit of souvenir shopping too.<br>5-10 min. drive by car or bus"
		var beck6 = new GMarker(point6);
		GEvent.addListener(beck6, "click", function(){beck6.openInfoWindowHtml(html6)});
		map.addOverlay(beck6);
		//---------Marker---- 7 -----------------
		var point7 = new GPoint(-59.489850997924805, 13.077404890574371);
		var html7 = "Airport<br>10 min. drive to House View.<br>Transfer booking is possible"
		var beck7 = new GMarker(point7);
		GEvent.addListener(beck7, "click", function(){beck7.openInfoWindowHtml(html7)});
		map.addOverlay(beck7);
		//---------Marker---- 8 -----------------
		var point8 = new GPoint(-59.61450934410095, 13.09688401351683);
		var html8 = "Bridgetown<br>the capital of Barbados has enormous historical<br>significance and offers you excellent duty free shopping.<br>20-30 min. by car or bus"
		var beck8 = new GMarker(point8);
		GEvent.addListener(beck8, "click", function(){beck8.openInfoWindowHtml(html8)});
		map.addOverlay(beck8);
      }
    }
