//<![CDATA[
window.onload = onPageLoad;
var map;
function onPageLoad() {
      if (GBrowserIsCompatible()) {
        var map = new GMap2(document.getElementById("map"));
        map.setCenter(new GLatLng(7.74348, 98.77566), 9);
        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: '1459905751'  
};

adsManager = new GAdsManager(map, publisher_id, adsManagerOptions);
adsManager.enable(); 
             
         // Creating a new marker       
var marker1 = new GMarker (new GLatLng(13.82000, 99.98000)) 
// 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.dpbolvw.net/click-3115466-10619014?url=http%3A%2F%2Fwww.gtahotels.com%2Frdcj.php%3Fcountry%3Dthailand&cjsku=thailand" rel="nofollow" onclick="window.open(this.href);return false;">Thailand Hotels</a>');  
});  
// Add marker to map  
map.addOverlay(marker1);   
         // Creating a new marker       
var marker2 = new GMarker (new GLatLng(7.74348, 98.77566)) 
// 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.tkqlhce.com/click-3115466-10619015?url=http%3A%2F%2Fwww.gtahotels.com%2Frdcj.php%3Fcity%3Dphi_phi&cjsku=P9HA" rel="nofollow" onclick="window.open(this.href);return false;">Phi Phi Island Hotels</a>');  
});  
// Add marker to map  
map.addOverlay(marker2);  
         // Creating a new marker       
var marker3 = new GMarker (new GLatLng(13.72342, 100.47623)) 
// 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.jdoqocy.com/click-3115466-10619015?url=http%3A%2F%2Fwww.gtahotels.com%2Frdcj.php%3Fcity%3Dbangkok&cjsku=BD97" rel="nofollow" onclick="window.open(this.href);return false;">Bangkok Hotels</a>');  
});  
// Add marker to map  
map.addOverlay(marker3);         
         // Creating a new marker       
var marker4 = new GMarker (new GLatLng(18.79646, 98.66006)) 
// 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-3115466-10619015?url=http%3A%2F%2Fwww.gtahotels.com%2Frdcj.php%3Fcity%3Dchiang_mai&cjsku=CRON" rel="nofollow" onclick="window.open(this.href);return false;">Chiang Mai Hotels</a>');  
});  
// Add marker to map  
map.addOverlay(marker4);
         // Creating a new marker       
var marker5 = new GMarker (new GLatLng(19.87374, 99.72327)) 
// 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.dpbolvw.net/click-3113625-10619015?url=http%3A%2F%2Fwww.gtahotels.com%2Frdcj.php%3Fcity%3Dchiang_rai&cjsku=C5QJ" rel="nofollow" onclick="window.open(this.href);return false;">Chiang Rai Hotels</a>');  
});  
// Add marker to map  
map.addOverlay(marker5);
         // Creating a new marker       
var marker6 = new GMarker (new GLatLng(9.82828, 98.85089)) 
// 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.jdoqocy.com/click-3113625-10619015?url=http%3A%2F%2Fwww.gtahotels.com%2Frdcj.php%3Fcity%3Dchumphon&cjsku=C0CI" rel="nofollow" onclick="window.open(this.href);return false;">Chumphon Trang Hotels</a>');  
});  
// Add marker to map  
map.addOverlay(marker6); 
         // Creating a new marker       
var marker7 = new GMarker (new GLatLng(12.57048, 99.95784)) 
// 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.kqzyfj.com/click-3115466-10619015?url=http%3A%2F%2Fwww.gtahotels.com%2Frdcj.php%3Fcity%3Dhua_hin&cjsku=HS3E" rel="nofollow" onclick="window.open(this.href);return false;">Hua Hin Hotels</a>');  
});  
// Add marker to map  
map.addOverlay(marker7);
         // Creating a new marker       
var marker8 = new GMarker (new GLatLng(14.67012, 99.01289)) 
// 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.kqzyfj.com/click-3113625-10619015?url=http%3A%2F%2Fwww.gtahotels.com%2Frdcj.php%3Fcity%3Dkanchanaburi&cjsku=KGJM" rel="nofollow" onclick="window.open(this.href);return false;">Kanchanaburi Hotels</a>');  
});  
// Add marker to map  
map.addOverlay(marker8); 
         // Creating a new marker       
var marker9 = new GMarker (new GLatLng(9.79682, 98.83890)) 
// Adding a click-event to the marker  
GEvent.addListener(marker9, 'click', function() {  
  // When clicked, open an Info Window  
  marker9.openInfoWindowHtml('<a class="e" href="http://www.kqzyfj.com/click-3115466-10619015?url=http%3A%2F%2Fwww.gtahotels.com%2Frdcj.php%3Fcity%3Dkhao_lak&cjsku=K12C" rel="nofollow" onclick="window.open(this.href);return false;">Khao Lak Hotels</a>');  
});  
// Add marker to map  
map.addOverlay(marker9); 
         // Creating a new marker       
var marker10 = new GMarker (new GLatLng(12.04830, 102.29871)) 
// Adding a click-event to the marker  
GEvent.addListener(marker10, 'click', function() {  
  // When clicked, open an Info Window  
  marker10.openInfoWindowHtml('<a class="e" href="http://www.tkqlhce.com/click-3115466-10619015?url=http%3A%2F%2Fwww.gtahotels.com%2Frdcj.php%3Fcity%3Dkoh_chang&cjsku=KBW4" rel="nofollow" onclick="window.open(this.href);return false;">Koh Chang Hotels</a>');  
});  
// Add marker to map  
map.addOverlay(marker10);     
         // Creating a new marker       
var marker11 = new GMarker (new GLatLng(9.51202, 100.01359)) 
// Adding a click-event to the marker  
GEvent.addListener(marker11, 'click', function() {  
  // When clicked, open an Info Window  
  marker11.openInfoWindowHtml('<a class="e" href="http://www.kqzyfj.com/click-3115466-10619015?url=http%3A%2F%2Fwww.gtahotels.com%2Frdcj.php%3Fcity%3Dkoh_samui&cjsku=K252" rel="nofollow" onclick="window.open(this.href);return false;">Koh Samui Hotels</a>');  
});  
// Add marker to map  
map.addOverlay(marker11); 
         // Creating a new marker       
var marker12 = new GMarker (new GLatLng(7.65538, 99.04135)) 
// Adding a click-event to the marker  
GEvent.addListener(marker12, 'click', function() {  
  // When clicked, open an Info Window  
  marker12.openInfoWindowHtml('<a class="e" href="http://www.tkqlhce.com/click-3115466-10619015?url=http%3A%2F%2Fwww.gtahotels.com%2Frdcj.php%3Fcity%3Dkoh_lanta&cjsku=K5R1" rel="nofollow" onclick="window.open(this.href);return false;">Koh Lanta Hotels</a>');  
});  
// Add marker to map  
map.addOverlay(marker12);  
         // Creating a new marker       
var marker13 = new GMarker (new GLatLng(8.11918, 99.10135)) 
// Adding a click-event to the marker  
GEvent.addListener(marker13, 'click', function() {  
  // When clicked, open an Info Window  
  marker13.openInfoWindowHtml('<a class="e" href="http://www.anrdoezrs.net/click-3115466-10619015?url=http%3A%2F%2Fwww.gtahotels.com%2Frdcj.php%3Fcity%3Dkrabi&cjsku=KXO8" rel="nofollow" onclick="window.open(this.href);return false;">Krabi Hotels</a>');  
});  
// Add marker to map  
map.addOverlay(marker13);  
         // Creating a new marker       
var marker14 = new GMarker (new GLatLng(18.73703, 97.87216)) 
// Adding a click-event to the marker  
GEvent.addListener(marker14, 'click', function() {  
  // When clicked, open an Info Window  
  marker14.openInfoWindowHtml('<a class="e" href="http://www.jdoqocy.com/click-3113625-10619015?url=http%3A%2F%2Fwww.gtahotels.com%2Frdcj.php%3Fcity%3Dmae_hong_son&cjsku=M3J5" rel="nofollow" onclick="window.open(this.href);return false;">Mae Hong Son Hotels</a>');  
});  
// Add marker to map  
map.addOverlay(marker14);  
         // Creating a new marker       
var marker15 = new GMarker (new GLatLng(14.88825, 102.25479)) 
// Adding a click-event to the marker  
GEvent.addListener(marker15, 'click', function() {  
  // When clicked, open an Info Window  
  marker15.openInfoWindowHtml('<a class="e" href="http://www.jdoqocy.com/click-3113625-10619015?url=http%3A%2F%2Fwww.gtahotels.com%2Frdcj.php%3Fcity%3Dnakhorn_ratchasima_north_east&cjsku=NJ68" rel="nofollow" onclick="window.open(this.href);return false;">Nakhorn Ratchasima Hotels</a>');  
});  
// Add marker to map  
map.addOverlay(marker15); 
         // Creating a new marker       
var marker16 = new GMarker (new GLatLng(12.93570, 100.88900)) 
// Adding a click-event to the marker  
GEvent.addListener(marker16, 'click', function() {  
  // When clicked, open an Info Window  
  marker16.openInfoWindowHtml('<a class="e" href="http://www.kqzyfj.com/click-3115466-10619015?url=http%3A%2F%2Fwww.gtahotels.com%2Frdcj.php%3Fcity%3Dpattaya&cjsku=P9F3" rel="nofollow" onclick="window.open(this.href);return false;">Pattaya Hotels</a>');  
});  
// Add marker to map  
map.addOverlay(marker16);  
         // Creating a new marker       
var marker17 = new GMarker (new GLatLng(7.98431, 98.33075)) 
// Adding a click-event to the marker  
GEvent.addListener(marker17, 'click', function() {  
  // When clicked, open an Info Window  
  marker17.openInfoWindowHtml('<a class="e" href="http://www.tkqlhce.com/click-3115466-10619015?url=http%3A%2F%2Fwww.gtahotels.com%2Frdcj.php%3Fcity%3Dphuket&cjsku=P4YZ" rel="nofollow" onclick="window.open(this.href);return false;">Phuket Hotels</a>');  
});  
// Add marker to map  
map.addOverlay(marker17);
         // Creating a new marker       
var marker18 = new GMarker (new GLatLng(12.56685, 101.45947)) 
// Adding a click-event to the marker  
GEvent.addListener(marker18, 'click', function() {  
  // When clicked, open an Info Window  
  marker18.openInfoWindowHtml('a class="e" href="http://www.kqzyfj.com/click-3115466-10619015?url=http%3A%2F%2Fwww.gtahotels.com%2Frdcj.php%3Fcity%3Dkoh_samet&cjsku=KU1A" rel="nofollow" onclick="window.open(this.href);return false;">Koh Samet Hotels</a>');  
});  
// Add marker to map  
map.addOverlay(marker18);        
      }
    }