//<![CDATA[
window.onload = onPageLoad;
var map;

function onPageLoad() {
      if (GBrowserIsCompatible()) {
        var map = new GMap2(document.getElementById("map"));
        map.setCenter(new GLatLng(18.17128, -76.44763), 11);
        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: '4010342027'  
};

adsManager = new GAdsManager(map, publisher_id, adsManagerOptions);
adsManager.enable();

        // Creating a new marker       
var marker1 = new GMarker (new GLatLng(18.1712764, -76.4476321)) 
// Adding a click-event to the marker  
GEvent.addListener(marker1, 'click', function() {  
  // When clicked, open an Info Window  
  marker1.openInfoWindowHtml('<a class="b" href="http://www.kqzyfj.com/click-3115457-10619015?url=http%3A%2F%2Fwww.gtahotels.com%2Frdcj.php%3Fcity%3Dport_antonio&cjsku=PE7A" rel="nofollow" onclick="window.open(this.href);return false;">Port Antonio Hotels</a>');  
});  
// Add marker to map  
map.addOverlay(marker1);           
        // Creating a new marker       
var marker2 = new GMarker (new GLatLng(18.109581, -77.297508)) 
// Adding a click-event to the marker  
GEvent.addListener(marker2, 'click', function() {  
  // When clicked, open an Info Window  
  marker2.openInfoWindowHtml('<a class="b" href="http://www.anrdoezrs.net/click-3115457-10619014?url=http%3A%2F%2Fwww.gtahotels.com%2Frdcj.php%3Fcountry%3Djamaica&cjsku=jamaica" rel="nofollow" onclick="window.open(this.href);return false;">Jamaica Hotels</a>');  
});  
// Add marker to map  
map.addOverlay(marker2);
        // 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 marker3 = new GMarker (new GLatLng(18.36936, -77.821387), markerOptions) 
// Adding a click-event to the marker  
GEvent.addListener(marker3, 'click', function() {  
  // When clicked, open an Info Window  
  marker3.openInfoWindowHtml('<a class="b" href="http://www.tkqlhce.com/click-3115457-10392998" rel="nofollow" onclick="window.open(this.href);return false;">International Flights to Jamaica Powered by Priceline</a>');  
});  
// Add marker to map  
map.addOverlay(marker3);  
      }
    }