//<![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(9.74892, -83.75343)) 
// Adding a click-event to the marker  
GEvent.addListener(marker1, 'click', function() {  
  // When clicked, open an Info Window  
  marker1.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(marker1); 
        // Creating a new marker  
var marker2 = new GMarker(new GLatLng(10.459374, -84.003877))  
// Adding a click-event to the marker  
GEvent.addListener(marker2, 'click', function() {  
  // When clicked, open an Info Window  
  marker2.openInfoWindowHtml('<a class="g" href="http://www.dpbolvw.net/click-3115451-10619015?url=http%3A%2F%2Fwww.gtahotels.com%2Frdcj.php%3Fcity%3Dpuerto_viejo&cjsku=PF8F" rel="nofollow" onclick="window.open(this.href);return false;">Puerto Viejo Hotels</a>');  
});  
// Add marker to map  
map.addOverlay(marker2); 
        // Creating a new marker  
var marker3 = new GMarker(new GLatLng(10.63065, -85.440079))  
// Adding a click-event to the marker  
GEvent.addListener(marker3, 'click', function() {  
  // When clicked, open an Info Window  
  marker3.openInfoWindowHtml('<a class="g" href="http://www.anrdoezrs.net/click-3115451-10619015?url=http%3A%2F%2Fwww.gtahotels.com%2Frdcj.php%3Fcity%3Dliberia&cjsku=LKGM" rel="nofollow" onclick="window.open(this.href);return false;">Liberia Hotels</a>');  
});  
// Add marker to map  
map.addOverlay(marker3); 
        // Creating a new marker  
var marker4 = new GMarker(new GLatLng(10.32104, -84.428726))  
// Adding a click-event to the marker  
GEvent.addListener(marker4, 'click', function() {  
  // When clicked, open an Info Window  
  marker4.openInfoWindowHtml('<a class="g" href="http://www.kqzyfj.com/click-3115451-10619015?url=http%3A%2F%2Fwww.gtahotels.com%2Frdcj.php%3Fcity%3Dquesada&cjsku=Q5P4" rel="nofollow" onclick="window.open(this.href);return false;">Quesada Hotels</a>');  
});  
// Add marker to map  
map.addOverlay(marker4); 
        // Creating a new marker  
var marker5 = new GMarker(new GLatLng(9.861212, -85.482109))  
// Adding a click-event to the marker  
GEvent.addListener(marker5, 'click', function() {  
  // When clicked, open an Info Window  
  marker5.openInfoWindowHtml('<a class="g" href="http://www.anrdoezrs.net/click-3115451-10619015?url=http%3A%2F%2Fwww.gtahotels.com%2Frdcj.php%3Fcity%3Dcarrillo&cjsku=CUK6" rel="nofollow" onclick="window.open(this.href);return false;">Carrillo Hotels</a>');  
});  
// Add marker to map  
map.addOverlay(marker5); 
        // Creating a new marker  
var marker6 = new GMarker(new GLatLng(9.883300, -85.533302))  
// Adding a click-event to the marker  
GEvent.addListener(marker6, 'click', function() {  
  // When clicked, open an Info Window  
  marker6.openInfoWindowHtml('<a class="g" href="http://www.dpbolvw.net/click-3115451-10619015?url=http%3A%2F%2Fwww.gtahotels.com%2Frdcj.php%3Fcity%3Dsamara_beach&cjsku=STKQ" rel="nofollow" onclick="window.open(this.href);return false;">Samara Beach Hotels</a>');  
});  
// Add marker to map  
map.addOverlay(marker6); 
        // Creating a new marker  
var marker7 = new GMarker(new GLatLng(9.901100, -83.684540))  
// Adding a click-event to the marker  
GEvent.addListener(marker7, 'click', function() {  
  // When clicked, open an Info Window  
  marker7.openInfoWindowHtml('<a class="g" href="http://www.dpbolvw.net/click-3115451-10619015?url=http%3A%2F%2Fwww.gtahotels.com%2Frdcj.php%3Fcity%3Dturrialba&cjsku=TKZZ" rel="nofollow" onclick="window.open(this.href);return false;">Turrialba Hotels</a>');  
});  
// Add marker to map  
map.addOverlay(marker7); 
        // Creating a new marker  
var marker8 = new GMarker(new GLatLng(10.62889, -85.68649))  
// Adding a click-event to the marker  
GEvent.addListener(marker8, 'click', function() {  
  // When clicked, open an Info Window  
  marker8.openInfoWindowHtml('<a class="g" href="http://www.tkqlhce.com/click-3115451-10619015?url=http%3A%2F%2Fwww.gtahotels.com%2Frdcj.php%3Fcity%3Dgolfo_de_papagayo&cjsku=GMXM" rel="nofollow" onclick="window.open(this.href);return false;">Golfo De Papagayo Hotels</a>');  
});  
// Add marker to map  
map.addOverlay(marker8); 
        // Creating a new marker  
var marker9 = new GMarker(new GLatLng(10.4536903, -84.0035217))  
// Adding a click-event to the marker  
GEvent.addListener(marker9, 'click', function() {  
  // When clicked, open an Info Window  
  marker9.openInfoWindowHtml('<a class="g" href="http://www.tkqlhce.com/click-3115451-10619015?url=http%3A%2F%2Fwww.gtahotels.com%2Frdcj.php%3Fcity%3Dsarapiqui&cjsku=SLIS" rel="nofollow" onclick="window.open(this.href);return false;">Sarapiqui Hotels</a>');  
});  
// Add marker to map  
map.addOverlay(marker9); 
        // Creating a new marker  
var marker10 = new GMarker(new GLatLng(9.95, -83.35))  
// 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.dpbolvw.net/click-3115451-10619015?url=http%3A%2F%2Fwww.gtahotels.com%2Frdcj.php%3Fcity%3Dplaya_hermosa&cjsku=PV5A" rel="nofollow" onclick="window.open(this.href);return false;">Playa Hermosa Hotels</a>');  
});  
// Add marker to map  
map.addOverlay(marker10); 
        // Creating a new marker  
var marker11 = new GMarker(new GLatLng(9.40436, -84.15974))  
// 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.tkqlhce.com/click-3115451-10619015?url=http%3A%2F%2Fwww.gtahotels.com%2Frdcj.php%3Fcity%3Dmanuel_antonio&cjsku=MW8E" rel="nofollow" onclick="window.open(this.href);return false;">Manuel Antonio Hotels</a>');  
});  
// Add marker to map  
map.addOverlay(marker11); 
        // Creating a new marker  
var marker12 = new GMarker(new GLatLng(9.716152, -85.029991))  
// Adding a click-event to the marker  
GEvent.addListener(marker12, 'click', function() {  
  // When clicked, open an Info Window  
  marker12.openInfoWindowHtml('<a class="g" href="http://www.jdoqocy.com/click-3115451-10619015?url=http%3A%2F%2Fwww.gtahotels.com%2Frdcj.php%3Fcity%3Dtambor&cjsku=T93V" rel="nofollow" onclick="window.open(this.href);return false;">Tambor Hotels</a>');  
});  
// Add marker to map  
map.addOverlay(marker12); 
        // Creating a new marker  
var marker13 = new GMarker(new GLatLng(9.927128, -84.082012))  
// Adding a click-event to the marker  
GEvent.addListener(marker13, 'click', function() {  
  // When clicked, open an Info Window  
  marker13.openInfoWindowHtml('<a class="g" href="http://www.jdoqocy.com/click-3115451-10619015?url=http%3A%2F%2Fwww.gtahotels.com%2Frdcj.php%3Fcity%3Dsan_jose&cjsku=S9PA" rel="nofollow" onclick="window.open(this.href);return false;">San Jose Hotels</a>');  
});  
// Add marker to map  
map.addOverlay(marker13); 
        // Creating a new marker  
var marker14 = new GMarker(new GLatLng(9.6202396, -84.6217487))  
// Adding a click-event to the marker  
GEvent.addListener(marker14, 'click', function() {  
  // When clicked, open an Info Window  
  marker14.openInfoWindowHtml('<a class="g" href="http://www.anrdoezrs.net/click-3115451-10619015?url=http%3A%2F%2Fwww.gtahotels.com%2Frdcj.php%3Fcity%3Djaco&cjsku=JE8Y" rel="nofollow" onclick="window.open(this.href);return false;">Jaco Hotels</a>');  
});  
// Add marker to map  
map.addOverlay(marker14); 
        // Creating a new marker  
var marker15 = new GMarker(new GLatLng(9.2169531, -83.336188))  
// Adding a click-event to the marker  
GEvent.addListener(marker15, 'click', function() {  
  // When clicked, open an Info Window  
  marker15.openInfoWindowHtml('<a class="g" href="http://www.dpbolvw.net/click-3115451-10619015?url=http%3A%2F%2Fwww.gtahotels.com%2Frdcj.php%3Fcity%3Dpuntarenas&cjsku=P2NJ" rel="nofollow" onclick="window.open(this.href);return false;">Puntarenas Hotels</a>');  
});  
// Add marker to map  
map.addOverlay(marker15); 
        // Creating a new marker  
var marker16 = new GMarker(new GLatLng(10.4957971, -85.354965))  
// Adding a click-event to the marker  
GEvent.addListener(marker16, 'click', function() {  
  // When clicked, open an Info Window  
  marker16.openInfoWindowHtml('<a class="g" href="http://www.jdoqocy.com/click-3115451-10619015?url=http%3A%2F%2Fwww.gtahotels.com%2Frdcj.php%3Fcity%3Dguanacaste&cjsku=GJRN" rel="nofollow" onclick="window.open(this.href);return false;">Guanacaste Hotels</a>');  
});  
// Add marker to map  
map.addOverlay(marker16); 
        // Creating a new marker  
var marker17 = new GMarker(new GLatLng(10.3166, -84.8333))  
// Adding a click-event to the marker  
GEvent.addListener(marker17, 'click', function() {  
  // When clicked, open an Info Window  
  marker17.openInfoWindowHtml('<a class="g" href="<a class="a" href="http://www.tkqlhce.com/click-3115451-10619015?url=http%3A%2F%2Fwww.gtahotels.com%2Frdcj.php%3Fcity%3Dmonteverde&cjsku=MIBW" rel="nofollow" onclick="window.open(this.href);return false;">Arenal Volcano &amp; Monteverde Hotels</a>');  
});  
// Add marker to map  
map.addOverlay(marker17); 
        // Creating a new marker  
var marker18 = new GMarker(new GLatLng(10.2992746, -85.8371058))  
// Adding a click-event to the marker  
GEvent.addListener(marker18, 'click', function() {  
  // When clicked, open an Info Window  
  marker18.openInfoWindowHtml('<a class="g" href="http://www.anrdoezrs.net/click-3115451-10619015?url=http%3A%2F%2Fwww.gtahotels.com%2Frdcj.php%3Fcity%3Dtamarindo&cjsku=TK2G" rel="nofollow" onclick="window.open(this.href);return false;">Tamarindo Hotels</a>');  
});  
// Add marker to map  
map.addOverlay(marker18);
        // Creating a new marker  
var marker19 = new GMarker(new GLatLng(10.4936791, -84.8515804))  
// Adding a click-event to the marker  
GEvent.addListener(marker19, 'click', function() {  
  // When clicked, open an Info Window  
  marker19.openInfoWindowHtml('<a class="g" href="http://www.jdoqocy.com/click-3115451-10619015?url=http%3A%2F%2Fwww.gtahotels.com%2Frdcj.php%3Fcity%3Dlago_arenal&cjsku=LJL5" rel="nofollow" onclick="window.open(this.href);return false;">Lake Arenal Hotels</a>');  
});  
// Add marker to map  
map.addOverlay(marker19); 
        // Creating a new marker  
var marker20 = new GMarker(new GLatLng(10.473523, -84.0167423))  
// Adding a click-event to the marker  
GEvent.addListener(marker20, 'click', function() {  
  // When clicked, open an Info Window  
  marker20.openInfoWindowHtml('<a class="g" href="http://www.jdoqocy.com/click-3115451-10619015?url=http%3A%2F%2Fwww.gtahotels.com%2Frdcj.php%3Fcity%3Dheredia&cjsku=H21A" rel="nofollow" onclick="window.open(this.href);return false;">Heredia Hotels</a>');  
});  
// Add marker to map  
map.addOverlay(marker20);  
        // Creating a new marker  
var marker21 = new GMarker(new GLatLng(9.4384022, -84.1619788))  
// Adding a click-event to the marker  
GEvent.addListener(marker21, 'click', function() {  
  // When clicked, open an Info Window  
  marker21.openInfoWindowHtml('<a class="g" href="http://www.anrdoezrs.net/click-3115451-10619015?url=http%3A%2F%2Fwww.gtahotels.com%2Frdcj.php%3Fcity%3Dquepos&cjsku=Q9UA" rel="nofollow" onclick="window.open(this.href);return false;">Quepos Hotels</a>');  
});  
// Add marker to map  
map.addOverlay(marker21); 
        // Creating a new marker  
var marker22 = new GMarker(new GLatLng(10.53642, -83.51669))  
// Adding a click-event to the marker  
GEvent.addListener(marker22, 'click', function() {  
  // When clicked, open an Info Window  
  marker22.openInfoWindowHtml('<a class="g" href="http://www.dpbolvw.net/click-3115451-10619015?url=http%3A%2F%2Fwww.gtahotels.com%2Frdcj.php%3Fcity%3Dtortuguero&cjsku=TQAJ" rel="nofollow" onclick="window.open(this.href);return false;">Tortuguero Hotels</a>');  
});  
// Add marker to map  
map.addOverlay(marker22);
        // Creating a new marker  
var marker23 = new GMarker(new GLatLng(10.47701, -85.70435))  
// Adding a click-event to the marker  
GEvent.addListener(marker23, 'click', function() {  
  // When clicked, open an Info Window  
  marker23.openInfoWindowHtml('<a class="g" href="http://www.tkqlhce.com/click-3115451-10619015?url=http%3A%2F%2Fwww.gtahotels.com%2Frdcj.php%3Fcity%3Dpacific_north_coast&cjsku=PWWM" rel="nofollow" onclick="window.open(this.href);return false;">Pacific North Coast Hotels</a>');  
});  
// Add marker to map  
map.addOverlay(marker23); 
        // Creating a new marker  
var marker24 = new GMarker(new GLatLng(9.50324, -84.29260))  
// Adding a click-event to the marker  
GEvent.addListener(marker24, 'click', function() {  
  // When clicked, open an Info Window  
  marker24.openInfoWindowHtml('<a class="g" href="http://www.tkqlhce.com/click-3115451-10619015?url=http%3A%2F%2Fwww.gtahotels.com%2Frdcj.php%3Fcity%3Dpacific_central_coast&cjsku=PYCV" rel="nofollow" onclick="window.open(this.href);return false;">Pacific Central Coast Hotels</a>');  
});  
// Add marker to map  
map.addOverlay(marker24); 
        // Creating a new marker       
var marker25 = new GMarker (new GLatLng(8.85251, -83.53455)) 
// Adding a click-event to the marker  
GEvent.addListener(marker25, 'click', function() {  
  // When clicked, open an Info Window  
  marker25.openInfoWindowHtml('<a class="g" href="http://www.jdoqocy.com/click-3115451-10619015?url=http%3A%2F%2Fwww.gtahotels.com%2Frdcj.php%3Fcity%3Dpacific_south_coast&cjsku=P270" rel="nofollow" onclick="window.open(this.href);return false;">Pacific South Coast Hotels</a>');  
});  
// Add marker to map  
map.addOverlay(marker25); 
        // Creating a new marker  
var marker26 = new GMarker(new GLatLng(10.391583, -84.4382721))  
// Adding a click-event to the marker  
GEvent.addListener(marker26, 'click', function() {  
  // When clicked, open an Info Window  
  marker26.openInfoWindowHtml('<a class="g" href="http://www.anrdoezrs.net/click-3115451-10619015?url=http%3A%2F%2Fwww.gtahotels.com%2Frdcj.php%3Fcity%3Dalajuela&cjsku=AS11" rel="nofollow" onclick="window.open(this.href);return false;">Alajuela Hotels</a>');  
});  
// Add marker to map  
map.addOverlay(marker26); 
        // 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 marker27 = new GMarker (new GLatLng(9.927128, -84.022012), markerOptions) 
// Adding a click-event to the marker  
GEvent.addListener(marker27, 'click', function() {  
  // When clicked, open an Info Window  
  marker27.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(marker27); 
      }
    }