//<![CDATA[
window.onload = onPageLoad;
var map;
function onPageLoad() {
      if (GBrowserIsCompatible()) {
        var map = new GMap2(document.getElementById("map"));
        map.setCenter(new GLatLng(21.52176, -77.78117), 6);
        map.setUIToDefault();
var publisher_id = 'pub-7036741240318833';
var adsManagerOptions = {
  maxAdsOnMap : 2,
  style: 'adunit',
  // The channel field is optional - replace this field with a channel number 
  // for Google AdSense tracking
  channel: '1963288288'  
};

adsManager = new GAdsManager(map, publisher_id, adsManagerOptions);
adsManager.enable();  
          
        // Creating a new marker       
var marker1 = new GMarker (new GLatLng(21.521757, -77.781167)) 
// Adding a click-event to the marker  
GEvent.addListener(marker1, 'click', function() {  
  // When clicked, open an Info Window  
  marker1.openInfoWindowHtml('<a class="e" href="http://www.kqzyfj.com/click-3115464-10619014?url=http%3A%2F%2Fwww.gtahotels.com%2Frdcj.php%3Fcountry%3Dcuba&cjsku=cuba" rel="nofollow" onclick="window.open(this.href);return false;">Cuba Hotels</a>');  
});  
// Add marker to map  
map.addOverlay(marker1); 
        // Creating a new marker  
var marker2 = new GMarker(new GLatLng(23.11762, -81.358627))  
// Adding a click-event to the marker  
GEvent.addListener(marker2, 'click', function() {  
  // When clicked, open an Info Window  
  marker2.openInfoWindowHtml('<a class="e" href="http://www.jdoqocy.com/click-3115464-10619015?url=http%3A%2F%2Fwww.gtahotels.com%2Frdcj.php%3Fcity%3Dvaradero&cjsku=V7QN" rel="nofollow" onclick="window.open(this.href);return false;">Varadero Hotels</a>');  
});  
// Add marker to map  
map.addOverlay(marker2); 
        // Creating a new marker  
var marker3 = new GMarker(new GLatLng(23.1333333, -82.3666667))  
// Adding a click-event to the marker  
GEvent.addListener(marker3, 'click', function() {  
  // When clicked, open an Info Window  
  marker3.openInfoWindowHtml('<a class="e" href="http://www.anrdoezrs.net/click-3115464-10619015?url=http%3A%2F%2Fwww.gtahotels.com%2Frdcj.php%3Fcity%3Dhavana&cjsku=HWRM" rel="nofollow" onclick="window.open(this.href);return false;">Havana Hotels</a>');  
});  
// Add marker to map  
map.addOverlay(marker3); 
        // Creating a new marker  
var marker4 = new GMarker(new GLatLng(20.0166667, -75.8166667))  
// Adding a click-event to the marker  
GEvent.addListener(marker4, 'click', function() {  
  // When clicked, open an Info Window  
  marker4.openInfoWindowHtml('<a class="e" href="http://www.jdoqocy.com/click-3115464-10619015?url=http%3A%2F%2Fwww.gtahotels.com%2Frdcj.php%3Fcity%3Dsantiago_of_cuba&cjsku=SRFD" rel="nofollow" onclick="window.open(this.href);return false;">Santiago de Cuba Hotels</a>');  
});  
// Add marker to map  
map.addOverlay(marker4);
        // Creating a new marker  
var marker5 = new GMarker(new GLatLng(22.5090128, -78.4069732))  
// Adding a click-event to the marker  
GEvent.addListener(marker5, 'click', function() {  
  // When clicked, open an Info Window  
  marker5.openInfoWindowHtml('<a class="e" href="http://www.tkqlhce.com/click-3115464-10619015?url=http%3A%2F%2Fwww.gtahotels.com%2Frdcj.php%3Fcity%3Dcayo_coco&cjsku=C9P3" rel="nofollow" onclick="window.open(this.href);return false;">Cayo Coco Hotels</a>');  
});  
// Add marker to map  
map.addOverlay(marker5);
        // Creating a new marker  
var marker6 = new GMarker(new GLatLng(21.61211, -81.53778))  
// Adding a click-event to the marker  
GEvent.addListener(marker6, 'click', function() {  
  // When clicked, open an Info Window  
  marker6.openInfoWindowHtml('<a class="e" href="http://www.dpbolvw.net/click-3115464-10619015?url=http%3A%2F%2Fwww.gtahotels.com%2Frdcj.php%3Fcity%3Dcayo_largo&cjsku=CZYK" rel="nofollow" onclick="window.open(this.href);return false;">Cayo Largo Hotels</a>');  
});  
// Add marker to map  
map.addOverlay(marker6);
        // Creating a new marker  
var marker7 = new GMarker(new GLatLng(21.8, -79.9833333))  
// Adding a click-event to the marker  
GEvent.addListener(marker7, 'click', function() {  
  // When clicked, open an Info Window  
  marker7.openInfoWindowHtml('<a class="e" href="http://www.dpbolvw.net/click-3115464-10619015?url=http%3A%2F%2Fwww.gtahotels.com%2Frdcj.php%3Fcity%3Dtrinidad&cjsku=TE52" rel="nofollow" onclick="window.open(this.href);return false;">Trinidad Hotels</a>');  
});  
// Add marker to map  
map.addOverlay(marker7);
        // Creating a new marker    
var myIcon = new GIcon(G_DEFAULT_ICON);
        myIcon.image = "http://www.seychellesholidaysmap.com/images/map-plane.png";
        myIcon.iconSize = new GSize(32, 32);        
var markerOptions = { icon:myIcon };            
var marker8 = new GMarker (new GLatLng(22.90762, -81.858627), markerOptions) 
// Adding a click-event to the marker  
GEvent.addListener(marker8, 'click', function() {  
  // When clicked, open an Info Window  
  marker8.openInfoWindowHtml('<a class="e" href="http://www.jdoqocy.com/click-3115464-10392998" rel="nofollow" onclick="window.open(this.href);return false;">International Flights to Cuba Powered by Priceline</a>');  
});  
// Add marker to map  
map.addOverlay(marker8); 
      }
    }