//<![CDATA[
window.onload = onPageLoad;
var map;
function onPageLoad() {
      if (GBrowserIsCompatible()) {
        var map = new GMap2(document.getElementById("map"));
        map.setCenter(new GLatLng(-4.31415, 55.72450), 9);
        map.setMapType(G_HYBRID_MAP);								
        map.setUIToDefault();
        map.openInfoWindow(map.getCenter(),
        document.createTextNode("Praslin Island - Move the mouse over the markers"));
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: '4099450049'  
};

adsManager = new GAdsManager(map, publisher_id, adsManagerOptions);
adsManager.enable();  
            
        // Creating a new marker    
var myIcon = new GIcon(G_DEFAULT_ICON);
        myIcon.image = "http://www.seychellesholidaysmap.com/images/hotel.png";
        myIcon.iconSize = new GSize(32, 32);        
var markerOptions = { icon:myIcon };            
var marker1 = new GMarker (new GLatLng(-20.34840, 57.55215), markerOptions) 
// Adding a click-event to the marker  
GEvent.addListener(marker1, 'mouseover', function() {  
  // When clicked, open an Info Window  
  marker1.openInfoWindowHtml('<p class="heading08"><a class="a" href="http://www.seychellesholidaysmap.com/promotions/hotel-deals-mauritius-gta-hotels.html" rel="follow" onclick="window.open(this.href);return false;">Hotels In Mauritius Islands</a></p>');  
});  
// Add marker to map  
map.addOverlay(marker1);
        // Creating a new marker    
var myIcon = new GIcon(G_DEFAULT_ICON);
        myIcon.image = "http://www.seychellesholidaysmap.com/images/hotel.png";
        myIcon.iconSize = new GSize(32, 32);        
var markerOptions = { icon:myIcon };            
var marker2 = new GMarker (new GLatLng(3.20278, 73.22068), markerOptions) 
// Adding a click-event to the marker  
GEvent.addListener(marker2, 'mouseover', function() {  
  // When clicked, open an Info Window  
  marker2.openInfoWindowHtml('<p class="heading08"><a class="a" href="http://www.seychellesholidaysmap.com/promotions/hotel-deals-maldives-gta-hotels.html" rel="follow" onclick="window.open(this.href);return false;">Hotels In Maldives Islands</a></p>');  
});  
// 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/resort-location.png";
        myIcon.iconSize = new GSize(32, 32);        
var markerOptions = { icon:myIcon };            
var marker3 = new GMarker (new GLatLng(-4.33, 55.738391), markerOptions) 
// Adding a click-event to the marker  
GEvent.addListener(marker3, 'mouseover', function() {  
  // When clicked, open an Info Window  
  marker3.openInfoWindowHtml('<p class="heading08"><strong>Praslin Island</strong></p>');  
});  
// Add marker to map  
map.addOverlay(marker3); 
        // Creating a new marker    
var myIcon = new GIcon(G_DEFAULT_ICON);
        myIcon.image = "http://www.seychellesholidaysmap.com/images/tourist-site.png";
        myIcon.iconSize = new GSize(32, 32);        
var markerOptions = { icon:myIcon };            
var marker4 = new GMarker (new GLatLng(-4.614506, 55.441755), markerOptions) 
// Adding a click-event to the marker  
GEvent.addListener(marker4, 'mouseover', function() {  
  // When clicked, open an Info Window  
  marker4.openInfoWindowHtml('<p class="heading08"><strong>Victoria</strong></p>');  
});  
// Add marker to map  
map.addOverlay(marker4);
        // Creating a new marker    
var myIcon = new GIcon(G_DEFAULT_ICON);
        myIcon.image = "http://www.seychellesholidaysmap.com/images/tourist-site.png";
        myIcon.iconSize = new GSize(32, 32);        
var markerOptions = { icon:myIcon };            
var marker5 = new GMarker (new GLatLng(-4.6826693, 55.480396), markerOptions) 
// Adding a click-event to the marker  
GEvent.addListener(marker5, 'mouseover', function() {  
  // When clicked, open an Info Window  
  marker5.openInfoWindowHtml('<p class="heading08"><strong>Mahe Island</strong></p>');  
});  
// Add marker to map  
map.addOverlay(marker5);
        // Creating a new marker    
var myIcon = new GIcon(G_DEFAULT_ICON);
        myIcon.image = "http://www.seychellesholidaysmap.com/images/tourist-site.png";
        myIcon.iconSize = new GSize(32, 32);        
var markerOptions = { icon:myIcon };            
var marker6 = new GMarker (new GLatLng(-4.3590972, 55.8412424), markerOptions) 
// Adding a click-event to the marker  
GEvent.addListener(marker6, 'mouseover', function() {  
  // When clicked, open an Info Window  
  marker6.openInfoWindowHtml('<p class="heading08"><strong>La Digue Island</strong></p>');  
});  
// Add marker to map  
map.addOverlay(marker6);
        // Creating a new marker    
var myIcon = new GIcon(G_DEFAULT_ICON);
        myIcon.image = "http://www.seychellesholidaysmap.com/images/hotel.png";
        myIcon.iconSize = new GSize(32, 32);        
var markerOptions = { icon:myIcon };            
var marker7 = new GMarker (new GLatLng(-4.6826693, 55.400396), markerOptions) 
// Adding a click-event to the marker  
GEvent.addListener(marker7, 'mouseover', function() {  
  // When clicked, open an Info Window  
  marker7.openInfoWindowHtml('<p class="heading08"><a class="a" href="http://www.seychellesholidaysmap.com/promotions/hotel-deals-seychelles-gta-hotels.html" rel="follow" onclick="window.open(this.href);return false;">Hotels In Seychelles Islands</a></p>');  
});  
// 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(-4.42583, 55.46997), markerOptions) 
// Adding a click-event to the marker  
GEvent.addListener(marker8, 'mouseover', function() {  
  // When clicked, open an Info Window  
  marker8.openInfoWindowHtml('<p class="heading08"><a class="a" href="http://www.myhoteltraveldeals.com/airplane-tickets/airplane-tickets-priceline.asp" rel="follow" onclick="window.open(this.href);return false;">International Flights To Seychelles Islands By Priceline</a><br /><a class="a" href="http://www.myhoteltraveldeals.com/airplane-tickets/airplane-tickets-zuji-australia.asp" rel="follow" onclick="window.open(this.href);return false;">International Flights To Seychelles Islands By ZUJI Australia</a></p>');  
});  
// Add marker to map  
map.addOverlay(marker8);  
      }
    }
