//<![CDATA[
window.onload = onPageLoad;
var map;

function onPageLoad() {
      if (GBrowserIsCompatible()) {
        var map = new GMap2(document.getElementById("map"));
        map.setCenter(new GLatLng(9.74892, -83.75343), 7);
        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: '5781541510'  
};

adsManager = new GAdsManager(map, publisher_id, adsManagerOptions);
adsManager.enable();
          
        // Creating a new marker       
var marker1 = new GMarker (new GLatLng(10.39868, -85.79121)) 
// Adding a click-event to the marker  
GEvent.addListener(marker1, 'click', function() {  
  // When clicked, open an Info Window  
  marker1.openInfoWindowHtml('<a class="a" href="http://www.jdoqocy.com/click-3115451-10448008?sid=Costa+Rica+Hotels&url=http%3A%2F%2Fhotels.hotelopia.com%2Fhotel-paradisus-playa-conchal_north-pacific-coast.html?P_PARTNER_ID=5" rel="nofollow" onclick="window.open(this.href);return false;">Hotel Paradisus Playa Conchal - <spam style="color:#a60000;">5* All Inclusive</spam>');  
});  
// Add marker to map  
map.addOverlay(marker1); 
        // Creating a new marker  
var marker2 = new GMarker(new GLatLng(10.58063, -85.65834))  
// Adding a click-event to the marker  
GEvent.addListener(marker2, 'click', function() {  
  // When clicked, open an Info Window  
  marker2.openInfoWindowHtml('<a class="a" href="http://www.jdoqocy.com/click-3115451-10448008?sid=Costa+Rica+Hotels&url=http%3A%2F%2Fhotels.hotelopia.com%2Fhotel-villas-sol-and-beach-resort_north-pacific-coast.html?P_PARTNER_ID=5" rel="nofollow" onclick="window.open(this.href);return false;">Hotel Villas Sol and Beach Resort - <spam style="color:#a60000;">4* All Inclusive</spam></a>');  
});  
// Add marker to map  
map.addOverlay(marker2); 
        // Creating a new marker  
var marker3 = new GMarker(new GLatLng(10.58722, -85.65731))  
// Adding a click-event to the marker  
GEvent.addListener(marker3, 'click', function() {  
  // When clicked, open an Info Window  
  marker3.openInfoWindowHtml('<a class="a" href="http://www.jdoqocy.com/click-3115451-10448008?sid=Costa+Rica+Hotels&url=http%3A%2F%2Fhotels.hotelopia.com%2Fhotel-sol-papagayo-resort_north-pacific-coast.html?P_PARTNER_ID=5" rel="nofollow" onclick="window.open(this.href);return false;">Hotel Sol Papagayo Resort - <spam style="color:#a60000;">4* All Inclusive</spam></a>');  
});  
// Add marker to map  
map.addOverlay(marker3); 
        // Creating a new marker  
var marker4 = new GMarker(new GLatLng(10.64408, -85.65113))  
// Adding a click-event to the marker  
GEvent.addListener(marker4, 'click', function() {  
  // When clicked, open an Info Window  
  marker4.openInfoWindowHtml('<a class="a" href="http://www.tkqlhce.com/click-3115380-10448008?sid=Costa+Rica+Hotels&url=http%3A%2F%2Fhotels.hotelopia.com%2Fhotel-occidental-allegro-papagayo_north-pacific-coast.html?P_PARTNER_ID=5" rel="nofollow" onclick="window.open(this.href);return false;">Hotel Occidental Allegro Papagayo - <spam style="color:#a60000;">4* All Inclusive</spam></a>');  
});  
// Add marker to map  
map.addOverlay(marker4); 
        // Creating a new marker  
var marker5 = new GMarker(new GLatLng(10.42721, -85.78262))  
// Adding a click-event to the marker  
GEvent.addListener(marker5, 'click', function() {  
  // When clicked, open an Info Window  
  marker5.openInfoWindowHtml('<a class="a" href="http://www.anrdoezrs.net/click-3115451-10448008?sid=Costa+Rica+Hotels&url=http%3A%2F%2Fhotels.hotelopia.com%2Fhotel-flamingo-beach-resort_north-pacific-coast.html?P_PARTNER_ID=5" rel="nofollow" onclick="window.open(this.href);return false;">Hotel Flamingo Beach Resort - <spam style="color:#a60000;">4* All Inclusive</spam></a>');  
});  
// Add marker to map  
map.addOverlay(marker5); 
        // Creating a new marker  
var marker6 = new GMarker(new GLatLng(10.64408, -85.65113))  
// Adding a click-event to the marker  
GEvent.addListener(marker6, 'click', function() {  
  // When clicked, open an Info Window  
  marker6.openInfoWindowHtml('<a class="a" href="http://www.tkqlhce.com/click-3115380-10448008?sid=Costa+Rica+Hotels&url=http%3A%2F%2Fhotels.hotelopia.com%2Fhotel-occidental-allegro-papagayo_north-pacific-coast.html?P_PARTNER_ID=5" rel="nofollow" onclick="window.open(this.href);return false;">Hotel Occidental Allegro Papagayo - <spam style="color:#a60000;">4* All Inclusive</spam></a>');  
});  
// Add marker to map  
map.addOverlay(marker6); 
        // Creating a new marker  
var marker7 = new GMarker(new GLatLng(10.41911, -85.79146))  
// Adding a click-event to the marker  
GEvent.addListener(marker7, 'click', function() {  
  // When clicked, open an Info Window  
  marker7.openInfoWindowHtml('<a class="a" href="http://www.jdoqocy.com/click-3115451-10448008?sid=Costa+Rica+Hotels&url=http%3A%2F%2Fhotels.hotelopia.com%2Fhotel-flamingo-marina-resort_north-pacific-coast.html?P_PARTNER_ID=5" rel="nofollow" onclick="window.open(this.href);return false;">Hotel Flamingo Marina Resort - <spam style="color:#a60000;">4* All Inclusive</spam></a>');  
});  
// Add marker to map  
map.addOverlay(marker7); 
        // Creating a new marker  
var marker8 = new GMarker(new GLatLng(10.30631, -85.83575))  
// Adding a click-event to the marker  
GEvent.addListener(marker8, 'click', function() {  
  // When clicked, open an Info Window  
  marker8.openInfoWindowHtml('<a class="a" href="http://www.kqzyfj.com/click-3115380-10448008?sid=Costa+Rica+Hotels&url=http%3A%2F%2Fhotels.hotelopia.com%2Fhotel-barcelo-langosta-beach_north-pacific-coast.html?P_PARTNER_ID=5" rel="nofollow" onclick="window.open(this.href);return false;">Hotel Barcelo Langosta Beach - <spam style="color:#a60000;">4* All Inclusive</spam></a>');  
});  
// Add marker to map  
map.addOverlay(marker8); 
        // Creating a new marker  
var marker9 = new GMarker(new GLatLng(9.71615, -85.02999))  
// Adding a click-event to the marker  
GEvent.addListener(marker9, 'click', function() {  
  // When clicked, open an Info Window  
  marker9.openInfoWindowHtml('<a class="a" href="http://www.dpbolvw.net/click-3115451-10448008?sid=Costa+Rica+Hotels&url=http%3A%2F%2Fhotels.hotelopia.com%2Fhotel-barcelo-tambor-beach_central-pacific-coast.html?P_PARTNER_ID=5" rel="nofollow" onclick="window.open(this.href);return false;">Hotel Barcelo Tambor Beach - <spam style="color:#a60000;">5* All Inclusive</spam></a>');  
});  
// Add marker to map  
map.addOverlay(marker9); 
        // Creating a new marker       
var marker10 = new GMarker (new GLatLng(9.74892, -83.75343)) 
// Adding a click-event to the marker  
GEvent.addListener(marker10, 'click', function() {  
  // When clicked, open an Info Window  
  marker10.openInfoWindowHtml('<a class="g" href="http://www.tkqlhce.com/click-3115451-10619014?url=http%3A%2F%2Fwww.gtahotels.com%2Frdcj.php%3Fcountry%3Dcosta_rica&cjsku=costa_rica" onclick="window.open(this.href);return false;">Costa Rica Hotels</a>');  
});  
// Add marker to map  
map.addOverlay(marker10); 
        // 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 marker11 = new GMarker (new GLatLng(9.927128, -84.022012), markerOptions) 
// Adding a click-event to the marker  
GEvent.addListener(marker11, 'click', function() {  
  // When clicked, open an Info Window  
  marker11.openInfoWindowHtml('<a class="g" href="http://www.jdoqocy.com/click-3115451-10392998" rel="nofollow" onclick="window.open(this.href);return false;">International Flights to Costa Rica Powered by Priceline</a>');  
});  
// Add marker to map  
map.addOverlay(marker11); 
       }
    }