CINXE.COM
Bangkok Post: The world's window to Thailand
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Bangkok Post: The world's window to Thailand</title> <meta name="keywords" content="" /> <meta name="description" content="" /> <meta name="author" content="The Post Publishing Public Company Limited" /> <meta name="robots" content="index, follow" /> <meta name="copyright" content="© since 2009 The Post Publishing Public Company Limited" /> <meta name="rating" content="General" /> <meta name="revisit-after" content="1 day" /> <meta http-equiv="X-UA-Compatible" content="IE=edge"/> <link rel="stylesheet" href="/common/css/base.css?v=23.83" type="text/css" media="screen" /> <link rel="stylesheet" href="/common/css/content.css?v=23.83" type="text/css" media="screen" /> <link rel="stylesheet" href="/common/css/media-info.css?v=23.83" type="text/css" media="screen" /> <link rel="stylesheet" type="text/css" href="/common/js/fancybox/jquery.fancybox-1.3.4.css?v=23.83" media="screen" /> <!-- Google Tag Manager --> <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-MLF6WTD');</script> <!-- End Google Tag Manager --> <script type="text/javascript" src="/common/js/jquery-1.4.3.min.js?v=5.83"></script> <script type="text/javascript" src="/common/js/jquery-1.8.0.min.js?v=5.83"></script> <!-- <script type="text/javascript" src="/common/js/jquery-1.7.1.min.js?v=20.4.3"></script> --> <!-- <script type="text/javascript" src="/common/js/jquery-ui-1.7.2.custom.min.js?v=5.83"></script> --> <script type="text/javascript" src="/common/js/jquery-ui-1.11.2.custom/jquery-ui.js"></script> <script type="text/javascript" src="/common/js/fancybox/jquery.fancybox-1.3.4.pack.js?v=5.83"></script> <script type="text/javascript" src="/common/js/media-info.js?v=5.83"></script> <script type="text/javascript" src="/common/js/carousel.js?v=5.83"></script> <script type="text/javascript" src="/common/js/functions.js?v=5.83"></script> <!--[if lt IE 9]> <link rel="stylesheet" href="/common/css/ie-mediainfo.css?v=23.83" type="text/css" media="screen" /> <![endif]--> <script type="text/javascript"> $(document).ready(function() { $("a.popup").fancybox({ 'autoScale' : false, width : 1000, //height : 2000, autoCenter : false, // fancybox will scroll along the content onComplete: function () { $.fancybox.resize(); //$.fancybox.center(); } }); }); </script> </head> <body class="container saturate"> <!-- Google Tag Manager (noscript) --> <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-MLF6WTD" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> <!-- End Google Tag Manager (noscript) --> <!-- openx v2 : mediainfo --> <script type='text/javascript'> <!--// <![CDATA[ var OA_zones = { "558" : 558, "559" : 559, "556" : 556, "557" : 557, "553" : 553, "554" : 554, "555" : 555 } // ]]> --> </script><script type='text/javascript' src='/common/js/openx/bkp-spcjs.php.js?v=5.83'></script> <!-- openx v2 --> <!-- oazone here --> <link rel="stylesheet" href="https://static.bangkokpost.com/common/css/common_static.css?v=11" type="text/css" media="screen" /> <div class="div-pageBody"> <header class="header-static"> <div class="static-content"> <div class="header-panel"> <div class="bp-logo2"> <h1><a href="/"><img src="/common/img/BangkokPost.svg" class="img-fluid" alt=""></a></h1> </div> </div> </div> </header> <div class="div-pageContent"> <span class="truehits" id="truehits_div" style="display:none;"> <script type="text/javascript"> __th_page="mediainfo";</script> <script type="text/javascript"> (function() { var ga1 = document.createElement('script'); ga1.type = 'text/javascript'; ga1.async = true; ga1.src = "//lvs.truehits.in.th/dataa/s0028944.js"; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga1, s); })(); </script> </span> <script type="text/javascript"> $(document).ready(function() { $.ajaxSetup({cache: true}); // $(".truehits").appendTo($(".footer_policy")); var el = $(".truehits").detach(); el.appendTo($(".footer_policy")); el.show(); $(".truehits").show(); $.ajaxSetup({cache: false}); }); </script> <div id="wrapper"> <div class="media-info"> <div id="nav" class="float"> <ul id="main-Navigation" class="float"> <li class="home "><a href="/mediainfo">Home</a></li> <li class="audience active"> <a href="/mediainfo/audience-insight" class="active" >Audience & Insight</a> <ul class="subCategories"> <li ><a href="/mediainfo/audience-insight/news">NEWS</a></li> <li ><a href="/mediainfo/audience-insight/business">BUSINESS</a></li> <li ><a href="/mediainfo/audience-insight/learning">LEARNING</a></li> <li ><a href="/mediainfo/audience-insight/lifestyle">LIFESTYLE</a></li> <li ><a href="/mediainfo/audience-insight/vdo">VDO</a></li> <li ><a href="/mediainfo/audience-insight/property">PROPERTY</a></li> </ul> </li> <li class="solution "> <a href="/mediainfo/solution">Solutions</a> <ul class="subCategories"> <li class="sub1 " ><a href="/mediainfo/web-display">WEB DISPLAY</a></li> <li class="sub2 "><a href="/mediainfo/mobile-display">MOBILE DISPLAY</a></li> <li class="sub3 "><a href="/mediainfo/content-marketing">CONTENT MARKETING</a></li> <li class="sub4 "> <a href="/mediainfo/searchmkt ">SEARCH & DIRECTORY MARKETING</a> <p class="dropdown"> <!--<a href="/mediainfo/searchmkt/property">Property</a>--> <a href="/mediainfo/searchmkt/auto">Auto</a> <!--<a href="/mediainfo/searchmkt/travel">Travel</a>--> <a href="/mediainfo/searchmkt/learning">Learning</a> <a href="/mediainfo/searchmkt/business">Business</a> <a href="/mediainfo/searchmkt/lifestyle">Lifestyle</a> </p> </li> <li class="sub5 "><a href="/mediainfo/job">JOBS</a></li> </ul> </li> <!-- <li class="case-study"><a href="#">Case Studies</a></li> --> <li class="inquiry "><a href="/mediainfo/inquiry">Inquiry</a></li> </ul> </div> <div class="group-header"> <h1 class="vonnes-light">AUDIENCE & INSIGHT</h1> </div> <div class="audience-insight"> <ul> <li class="article-first"> <div class="detail"> <h2>Reaches 2 million multi-screen consumers on computers, mobile devices, TVs and more</h2> <p> Media convergence has become a vital element of life for everyone. With the development of technology in different online platforms from personal computer, mobile devices to smart TVs, today's consumers have more choices and convenience to access data and updated news. Bangkok Post continuously expands our online media to cover all devices. To find out more about our digital products, <a title="Find out more about our digital products details" href="/digitalproduct">click here</a>. </p> </div> <div class="monthly-media"> <h2>MONTHLY MEDIA REACH - AUG 2019</h2> <table cellpadding="0" cellspacing="0"> <thead> <tr> <th colspan="2"> <img src="/common/img/Media-info/bg-website.gif"> <h3>WEBSITE</h3> </th> <th> <img src="/common/img/Media-info/bg-mobileApps.gif"> <h3>MOBILE APPS</h3> </th> <!-- <th> <img src="/common/img/Media-info/bg-tebletApps.gif"> <h3>TABLET APPS</h3> </th> --> <th> <img src="/common/img/Media-info/bg-socialMedia.gif"> <h3>SOCIAL MEDIA</h3> </th> <th> <h3>TOTAL</h3> </th> </tr> </thead> <tbody> <tr class="users"> <td class="icon"><img src="/common/img/Media-info/bg-user.gif" alt="Users"></td> <td>1,736,743</td> <td>15,309</td> <!-- <td>2,399</td> --> <td>1,076,756</td> <td>2,831,207</td> </tr> <tr class="page-views"> <td class="icon"><img src="/common/img/Media-info/bg-PageViews.gif" alt="Page views"></td> <td>7,163,009</td> <td>324,830</td> <!-- <td>47,186</td> --> <td>7,269,953</td> <td>14,804,978</td> </tr> </tbody> </table> <p>Source: <a href="http://truehits.net/index_ranking_new.php">Truehits</a><a href="https://www.facebook.com/Bangkokpost ">Facebook</a><a href="https://twitter.com/BPbreakingnews ">Twitter</a></p> <img class="img-guideline" src="/common/img/Media-info/bg-guideline.gif"> </div> </li> <li> <h2>Reaches diverse target audience - new generation Thais, expatriates and foreigners living aboard who have interest in changes in Thailand</h2> <p>Majority viewers are Thai, Americans, Australians, British and Canadians living in Thailand, while top oversea viewers are from US, AUS, UK and Canada. They have interest in Thailand local news, general news, business news, technology news, learning English and travel features.</p> <img src="/common/img/Media-info/bg-consumers.jpg?v=2" width="944"> </li> <li class="article-last"> <h2>High penetration to affluent and high-purchasing-power consumers</h2> <p>Entrepreneurs, business owners, senior management, specialists, business development, marketers from local and overseas are the majority viewers of Bangkok Post content.</p> <img src="/common/img/Media-info/bg-rank-income.jpg?v=2" width="944"> <div class="content-detail"> <p>Business owner 11% Top Management 9% Marketing/Sale/PR 5%</p> <p>25% gain 5,000 – 10,000 USD per month</p> </div> </li> </ul> </div> </div> <!-- end footer --> </div><!-- end wrapper --> <div style="width: 984px; clear: both; overflow: hidden; margin: 0 auto;"> <div style="margin-top: 20px; overflow: hidden; padding-bottom: 30px; display: inline-block;"> <h3 style="font-family: 'arial_blackregular'; font-size: 14px; text-transform: uppercase; margin-bottom: 15px;">For more information or specific requirements, please contact:</h3> <ul style="clear: both;"> <li style="padding: 5px 10px 10px 0; float: left; width: 438px; border-right: 1px solid #dcdcdc; margin-right: 30px; height: 90px; overflow: hidden;"> <p style="background: url('https://static.bangkokpost.com/common/img/imgStock/bg-tell.png') no-repeat; width: 365px; height: 80px; overflow: hidden; padding: 0 0 0 70px; font-size: 14px; line-height: 18px;"> <span style="font-size: 50px; line-height: 38px; margin: 0 0 5px; display: block; color: #294782; font-family: 'arial_blackregular';">02-616-4000</span> <span style="display: block; color: #294782; font-size: 14px; margin: 0 0 2px; font-family: 'arial_blackregular';">EXT. 4440</span> <span style="display: block; color: #294782; font-size: 14px; margin: 0 0 2px; font-family: Arial,Helvetica,sans-serif;">M-F, 08.30 - 17.30</span> </p> </li> <li style="padding: 5px 10px 10px 0; float: left; width: 438px; height: 90px; overflow: hidden;"> <p style="background: url('https://static.bangkokpost.com/common/img/imgStock/bg-contactUs.png') no-repeat 0 -90px; padding-left: 75px; height: 60px; text-transform: uppercase; font-size: 14px; font-family: Arial; font-weight: normal;"><span style="display: block; padding-top: 10px;">Online Advertising Solution Contact</span><a href="mailto:nanthanas@bangkokpost.co.th" style="padding-top: 10px; display: block; color: rgb(22,63,104);">nanthanas@bangkokpost.co.th</a></p> </li> </ul> </div> </div></div> <footer class="footer-static"> <section class="footer-bottom"> <div class="static-content footer-static-content footer_policy"> © 1996 - 2024 Bangkok Post Public Company Limited </div> </section> </footer> </div> <script type="text/javascript"> var str_path_utm = location.pathname; var arr_path_utm = str_path_utm.split("/"); var section_name_utm = ""; var utm_code = ""; var ads4_type = ""; var ads4_section = ""; var ads4_sub_section = ""; var is_first_page_sub_section = false; if (typeof arr_path_utm[0] === "undefined") arr_path_utm[0] = ""; if (typeof arr_path_utm[1] === "undefined") arr_path_utm[1] = ""; if (typeof arr_path_utm[2] === "undefined") arr_path_utm[2] = ""; if (typeof arr_path_utm[3] === "undefined") arr_path_utm[3] = ""; if (typeof arr_path_utm[4] === "undefined") arr_path_utm[4] = ""; if (arr_path_utm[1] == '') { utm_code = "homepage"; ads4_type = "homepage"; } else { section_name_utm = arr_path_utm[1]; if (arr_path_utm[2] == '') { utm_code = "channel_" + section_name_utm; ads4_type = "section"; ads4_section = section_name_utm; } else if ((arr_path_utm[3] == '') || (arr_path_utm[3].indexOf('page-') != -1)) { utm_code = "channel_sub_" + section_name_utm; ads4_section = section_name_utm; ads4_sub_section = arr_path_utm[2]; ads4_type = "sub_section"; } else if ($.isNumeric(arr_path_utm[3]) || $.isNumeric(arr_path_utm[4])) { utm_code = "article_" + section_name_utm; ads4_type = "article"; ads4_section = section_name_utm; } else { utm_code = "other_" + section_name_utm; ads4_type = "other"; } } var adz = new Array(); (function ($, window, document) { $(function () { /* Jquery Document ready */ // survey 2018 // var date = new Date(); // date.setTime(date.getTime() + (60 * 60 * 12 * 1000)); // var bkp_survey_val = $.cookie('bkp_survey_2018_v2'); // if (bkp_survey_val != 'bkp_survey_2018_v2') { // $('#survey-popup').show(); // $('#survey-popup').animate({ 'position': 'fixed', 'bottom': 5, 'opacity': 1 }, 1500); // $.cookie('bkp_survey_2018_v2', 'bkp_survey_2018_v2', { expires: date, path: '/' }); // } // Holiday time /* var date = new Date(); date.setTime(date.getTime() + (60 * 60 * 12 * 1000)); var bkp_holidaytime_val = $.cookie('bkp_holidaytime'); if (bkp_holidaytime_val != 'bkp_holidaytime') { $('#holidaytime-box').show(); $('#holidaytime-box').animate({ 'position': 'fixed', 'bottom': 5, 'opacity': 1 }, 1500); $.cookie('bkp_holidaytime', 'bkp_holidaytime', { expires: date, path: '/' }); } */ }); if ($('#MostUpdate').length > 0) { $('#MostUpdate a').each(function () { link_utm = $(this).attr('href') + '?utm_source=bangkopost.com&utm_medium=' + utm_code + '&utm_campaign=most_recent_box'; $(this).attr('href', link_utm); }); } if ($('.news-relate').length > 0) { $('.news-relate a').each(function () { link_utm = $(this).attr('href') + '?utm_source=bangkopost.com&utm_medium=' + utm_code + '&utm_campaign=recommend_box'; $(this).attr('href', link_utm); }); } if ($('.MostViewed').length > 0) { $('.MostViewed a').each(function () { link_utm = $(this).attr('href') + '?utm_source=bangkopost.com&utm_medium=' + utm_code + '&utm_campaign=most_view_bottom_box'; $(this).attr('href', link_utm); }); } if ($('.recent-article').length > 0) { $('.recent-article a').each(function () { link_utm = $(this).attr('href') + '?utm_source=bangkopost.com&utm_medium=' + utm_code + '&utm_campaign=most_recent_bottom_box'; $(this).attr('href', link_utm); }); } // Banner comment box article page if ($('#comment-list').length > 0) { $('#comment-list a').each(function () { if ($(this).attr('href') == '/archive/photo') { link_utm = $(this).attr('href') + '?utm_source=bangkopost.com&utm_medium=' + utm_code + '&utm_campaign=banner_comment_box'; $(this).attr('href', link_utm); } }); } // console.log('ads4_type:'+ads4_type); // console.log('ads4_section:'+ads4_section); // Ads4 to openx switch (ads4_type) { case 'homepage': OA_show_ads4(2790, ads4_type, 'highlight'); OA_show_ads4(2763, ads4_type, 'business'); OA_show_ads4(2766, ads4_type, 'tech'); OA_show_ads4(2764, ads4_type, 'auto'); OA_show_ads4(2765, ads4_type, 'property'); OA_show_ads4(2767, ads4_type, 'lifestyle_travel'); OA_show_ads4(2807, ads4_type, 'vdo'); // holiday time OA_show_ads4(2827, ads4_type, 'holidaytime2'); OA_show_ads4(2820, ads4_type, 'holidaytime3'); break; case 'section': case 'sub_section': switch (ads4_section) { case 'business': OA_show_ads4(2768, ads4_type, ads4_section); OA_show_ads4(2814, ads4_type, 'business_vdo'); break; case 'tech': // OA_show_ads4(2766, ads4_type, ads4_section); break; case 'auto': OA_show_ads4(2771, ads4_type, ads4_section); break; case 'lifestyle': OA_show_ads4(2769, ads4_type, ads4_section); break; case 'travel': OA_show_ads4(2770, ads4_type, ads4_section); break; case 'learning': OA_show_ads4(2772, ads4_type, ads4_section); break; default: break; } // vdo if (ads4_type == 'section' && ads4_section == 'vdo') { // vdo highlight (DONE) OA_show_ads4(2808, ads4_type, 'vdo_highlight'); // business (DONE) OA_show_ads4(2814, ads4_type, 'highlight-list-sub-id-164'); // local news (DONE) OA_show_ads4(2810, ads4_type, 'highlight-list-sub-id-85'); // WORLD NEWS (DONE) OA_show_ads4(2811, ads4_type, 'highlight-list-sub-id-152'); // TRAVEL (DONE) OA_show_ads4(2812, ads4_type, 'highlight-list-sub-id-160'); // FOOD & LIFESTYLE (DONE) OA_show_ads4(2813, ads4_type, 'highlight-list-sub-id-163'); // EXECUTIVE FOCUS (DONE) OA_show_ads4(2815, ads4_type, 'highlight-list-sub-id-153'); // EXPAT ADVICE (DONE) OA_show_ads4(2816, ads4_type, 'highlight-list-sub-id-161'); // LEARNING ENGLISH (DONE) OA_show_ads4(2817, ads4_type, 'highlight-list-sub-id-162'); // HEALTH & WELLNESS (DONE) OA_show_ads4(2818, ads4_type, 'highlight-list-sub-id-165'); } else if (ads4_type == 'sub_section' && ads4_section == 'vdo') { switch (ads4_sub_section) { case 'thailand' : // Done OA_show_ads4(2810, ads4_type, 'vdo-sub-section-list'); break; case 'world' : // Done OA_show_ads4(2811, ads4_type, 'vdo-sub-section-list'); break; case 'travel' : // Done OA_show_ads4(2812, ads4_type, 'vdo-sub-section-list'); break; case 'learning-english' : // Done OA_show_ads4(2817, ads4_type, 'vdo-sub-section-list'); break; case 'health-and-wellness' : // Done OA_show_ads4(2818, ads4_type, 'vdo-sub-section-list'); break; case 'business-and-property' : // Done OA_show_ads4(2814, ads4_type, 'vdo-sub-section-list'); break; case 'expat-advice' : // Done OA_show_ads4(2816, ads4_type, 'vdo-sub-section-list'); break; case 'executive-focus' : // Done OA_show_ads4(2815, ads4_type, 'vdo-sub-section-list'); break; case 'food-and-lifestyles' : // Done OA_show_ads4(2813, ads4_type, 'vdo-sub-section-list'); break; } } break; case 'article' : if (ads4_section == 'vdo') { //alert('vdo article'); OA_show_ads4(2809, ads4_type, 'vdo-article'); } break; default: break; } }(window.jQuery, window, document)); function OA_show_ads4(id, type, section) { // console.log('id:'+id); // console.log('type:'+type); // console.log('section:'+section); // if (typeof OA_output[id] === 'undefined') return; OA_show(id); if (typeof adz[id] === 'undefined') return; // Found ad if (adz[id]) { var headline = adz[id]['headline']; var intro = adz[id]['intro']; var src = adz[id]['src'].replace("http:", "https:"); var click_url = adz[id]['click_url']; var view_url = adz[id]['view_url'].replace("http:", "https:"); switch (type) { case 'homepage': // All section are the same except vdo var html_adver = '<h3><a title="' + headline + '" href="' + click_url + '">' + headline + '</a></h3><a title="' + headline + '" href="' + click_url + '" class="thumbnail"><img alt="' + headline + '" src="' + src + '" width="100"> </a><div class="detail"><p>' + intro + '<img src="' + view_url + '" /></p><span class="adver"><img src="https://static.bangkokpost.com/common/img/icons/sponsored.svg"></span></div>'; switch (section) { case 'highlight': html_adver = ' <h1><a title="' + headline + '" href="' + click_url + '">' + headline + '</a></h1> <a title="' + headline + '" href="' + click_url + '"> <img alt="' + headline + '" src="' + src + '" onerror="onErrorImageBKP($(this));" width="620" height="413"> </a> <p><span class="adver"><img src="https://static.bangkokpost.com/common/img/icons/sponsored.svg"></span>' + intro + '</p> <img src="' + view_url + '" />'; $('.highlight-hp div .viewport ul .highlight-item').eq(2).html(html_adver); break; case 'business': var element = $('.businessNews-box .highlight-list .highlight-item'); var count_content = element.length - 1; if (count_content > 0) { element.eq(count_content).html(html_adver); } break; case 'auto': var element = $('.auto-box .highlight-item'); var count_content = element.length - 1; if (count_content > 0) { element.eq(count_content).html(html_adver); } break; case 'property': var element = $('.property-box .highlight-item'); var count_content = element.length - 1; if (count_content > 0) { element.eq(count_content).html(html_adver); } break; case 'tech': var element = $('.tech-box .highlight-item'); var count_content = element.length - 1; if (count_content > 0) { element.eq(count_content).html(html_adver); } break; case 'lifestyle_travel': var element = $('.bangkok-explorer-box .highlight-list .highlight-item'); var count_content = element.length - 1; if (count_content > 0) { element.eq(count_content).html(html_adver); } break; case 'vdo': var element = $('.VideoNews .highlight-list ul li').eq(1); var html_adver_vdo = '<p><a href="' + click_url + '" title="' + headline + '"><img alt="' + headline + '" src="' + src + '" width="143" height="93"><span> </span></a></p><h3><a title="' + headline + '" href="' + click_url + '">' + headline + '</a><img src="' + view_url + '" /></h3><span class="adver" style="display: block;margin-left: 10px;">Sponsored</span>'; if (element.length) { element.html(html_adver_vdo); } break; case 'holidaytime2' : case 'holidaytime3' : if (section == 'holidaytime3') { var element = $('.box-holidaytime ul li').eq(2); } else { var element = $('.box-holidaytime ul li').eq(1); } var html_adver_vdo = '<a href="' + click_url + '"><img width="180" height="120" src="' + src + '" alt="' + headline + '"></a><a href="' + click_url + '">' + headline + '</a><img src="' + view_url + '" /><span class="adver" style="display: block; margin-top: 2px;">Sponsored</span>'; if (element.length) { element.html(html_adver_vdo); } break; } break; case 'section': switch (section) { // All these section are same case 'tech': case 'lifestyle': case 'auto': case 'business': case 'travel': var html_adver = '<h3><a href="' + click_url + '" title="' + headline + '">' + headline + '</a></h3><a class="thumbnail" href="' + click_url + '" title="' + headline + '"><img width="100" height="67" src="' + src + ' " alt="' + headline + '" /></a><div class="detail"><p>' + intro + '<img src="' + view_url + '" /></p><span class="adver"><img src="https://static.bangkokpost.com/common/img/icons/sponsored.svg"></span></div>'; var element = $('.highlightChannel .highlight-list .highlight-item'); var count_content = element.length - 1; if (count_content > 0) { element.eq(count_content).html(html_adver); } break; case 'learning': $('.learning-song').css('top', ''); var html_adver = '<div class="highlight-secondary adver"><h3><a href="' + click_url + '">' + headline + '</a></h3><a href="' + click_url + '"><img src="' + src + '" width="100" height="67"></a><div class="detail"><p>' + intro + '<img src="' + view_url + '" /></p><span class="adver">Sponsored</span></div></div>'; $(html_adver).insertBefore(".divide"); break; case 'business_vdo': var element = $('.VideoNews .highlight-list ul li').eq(1); var html_adver_vdo = '<p><a href="' + click_url + '" title="' + headline + '"><img alt="' + headline + '" src="' + src + '" width="143" height="93"><span> </span></a></p><h3><a title="' + headline + '" href="' + click_url + '">' + headline + '</a><img src="' + view_url + '" /></h3><span class="adver" style="display: block;margin-left: 10px;">Sponsored</span>'; if (element.length) { element.html(html_adver_vdo); } break; case 'vdo_highlight': // vdo here var element = $('.wp-highlight .highlight-list li').next().next().eq(0); var html_adver_vdo = '<p><a href="' + click_url + '" title="' + headline + '"><img src="' + src + '" width="220" height="124"><img src="' + view_url + '" /><span> </span></a></p><h3><a href="' + click_url + '" title="' + headline + '">' + headline + '</a></h3><span class="adver" style="display: block;">Sponsored</span>'; if (element.length) { element.html(html_adver_vdo); } break; case 'highlight-list-sub-id-164': case 'highlight-list-sub-id-85': case 'highlight-list-sub-id-152': case 'highlight-list-sub-id-160': case 'highlight-list-sub-id-163': case 'highlight-list-sub-id-153': case 'highlight-list-sub-id-161': case 'highlight-list-sub-id-162': case 'highlight-list-sub-id-165': var element = $('.' + section + ' li').next().next().eq(0); var html_adver_vdo = '<p><a href="' + click_url + '" title="' + headline + '"><img src="' + src + '" width="220" height="124"><img src="' + view_url + '" /><span> </span></a></p><h3><a href="' + click_url + '" title="' + headline + '">' + headline + '</a></h3><span class="adver" style="display: block;">Sponsored</span>'; if (element.length) { element.html(html_adver_vdo); } break; default: break; } break; case 'sub_section': var html_adver = '<a class="thumbnail" href="' + click_url + '" title="' + headline + '"><img src="' + src + '" alt="" title="" width="140" height="93" ></a><div class="detail"><h3><a href="' + click_url + '" title="' + headline + '"> ' + headline + '</a></h3><p>' + intro + '<img src="' + view_url + '" /></p><span class="adver">Sponsored</span></div>'; switch (section) { // All these section are same case 'tech': case 'lifestyle': case 'auto': case 'business': case 'travel': case 'learning': // Is first page? if (arr_path_utm[3].indexOf('page-1') != -1 || arr_path_utm[3] == '') is_first_page_sub_section = true; if (is_first_page_sub_section) { var element = $('.allStory li').eq(0); if (element.length > 0) element.html(html_adver); } break; case 'vdo-sub-section-list' : var element = $('.highlight-list li').next().next().eq(0); var html_adver_vdo = '<p><a href="' + click_url + '" title="' + headline + '"><img src="' + src + '" width="220" height="124"><img src="' + view_url + '" /><span> </span></a></p><h3><a href="' + click_url + '" title="' + headline + '">' + headline + '</a></h3><span class="adver" style="display: block;">Sponsored</span>'; if (element.length) { element.html(html_adver_vdo); } break; default: break; } break; case 'article' : if (section == 'vdo-article') { var element = $('.highlight-list li').next().next().eq(0); var html_adver_vdo = '<p><a href="' + click_url + '" title="' + headline + '"><img src="' + src + '" width="220" height="124"><img src="' + view_url + '" /><span> </span></a></p><h3><a href="' + click_url + '" title="' + headline + '">' + headline + '</a></h3><span class="adver" style="display: block;">Sponsored</span>'; if (element.length) { element.html(html_adver_vdo); } } break; } } } // function goSurvey() { // var isiPad = /ipad/i.test(navigator.userAgent.toLowerCase()); // var isAndroid = /android/i.test(navigator.userAgent.toLowerCase()); // var isiPhone = /iphone/i.test(navigator.userAgent.toLowerCase()); // if (isiPad || isAndroid || isiPhone) { // location = 'http://m.bangkokpost.com/survey/2018/'; // } else { // location = '/survey/2018/'; // } // } // function closeSurvey() { // $('#survey-popup').animate({ 'bottom': -300, 'opacity': 0 }, 1000); // $('#survey-popup').hide(); // return false; // } // function closeHolidaytimeBox() { // $('#holidaytime-box').animate({ 'bottom': -300, 'opacity': 0 }, 1000); // $('#holidaytime-box').hide(); // return false; // } </script> <!-- Survey 2018 --> <!-- <div style="width: 300px; height: 250px; overflow: hidden; position: fixed; background: url(/common/img/bg/bg_Popup-surveyPage2017.png) no-repeat; right: 30px; bottom: -300px; z-index: 2; opacity: 0; display: none;" id="survey-popup"> <div style="position: relative; width: 300px; height: 250px; overflow: hidden;" class="detail"> <a href="javascript:void(0);" onclick="closeSurvey();" class="closed" style="position: absolute; right: 8px; top: 5px; width: 11px; height: 11px;"><img src="https://static.bangkokpost.com/common/img/button/btn-closed.gif"></a> <a style="position: absolute; bottom: 30px; left: 26px; width: 250px; height: 28px; cursor: pointer;" class="click-here" href="javascript:void(0)" onclick="goSurvey()"><img src="https://static.bangkokpost.com/common/img/button/btn-Popup-survey2016.png"></a> </div> </div> --> <!-- Survey 2018 --> <!-- Holiday time --> <!-- <div style="width: 300px; height: 250px; overflow: hidden; position: fixed; background: url(/common/img/bg/box-campaign-holidaytime.png) no-repeat; right: 30px; bottom: -300px; z-index: 2; opacity: 0; display: none;" id="holidaytime-box"> <div style="position: relative; width: 300px; height: 250px; overflow: hidden;" class="detail"> <a href="javascript:void(0);" onclick="closeHolidaytimeBox();" class="closed" style="position: absolute;right: 15px;top: 5px;width: 11px;height: 11px;"> </a> <a style="position: absolute;top: 25px;left: 0;width: 300px;height: 250px;cursor: pointer;" class="click-here" href="/topics/holidaytime/activity"> </a> </div> </div> --> <!-- Holiday time --> <script type="text/javascript" src="https://static.bangkokpost.com/common/js/gdpr.js?v=3"></script> <!-- add beta --> <link rel="stylesheet" href="https://static.bangkokpost.com/common/css/custom_beta.css?v=2" type="text/css" media="screen" /> <!-- /add beta --> <script type="text/javascript" src="https://static.bangkokpost.com/common/js/switch_newdesign.js?v=14"></script> <script type="text/javascript"> var is_noti = null; function getCookieMIGRATE(name) { var v = document.cookie.match('(^|;) ?' + name + '=([^;]*)(;|$)'); return v ? v[2] : null; } function closeMigrateBox() { var d = new Date; d.setTime(d.getTime() + 31536000000); // 1 year document.cookie = "is_noti=1;domain=bangkokpost.com;path=/;expires=" + d.toGMTString(); document.getElementById("box-migrate-noti").remove(); } function show_migrate_noti() { var is_noti = getCookieMIGRATE('is_noti'); if (!is_noti) show_alert_migrate(); } function show_alert_migrate() { document.body.insertAdjacentHTML('afterbegin', '<div id="box-migrate-noti" style="background-color: #333; width: 100%; padding: 10px; "><div style="max-width: 940px; width: 100%; margin: 0 auto; position: relative;"><img src="https://static.bangkokpost.com/common/img/img-alert/alert.svg" style="width: 35px; height: 35px; position: absolute; left: 0; top: 5px;" alt=""><div style="padding:0px 50px; font-size: 13px; line-height: 20px; color: #fff;">On February 10th at 22:00 - February 10th at 22:30 (UTC+7), Bangkokpost.com will be performing some maintenance. You will not be able to access the website. We apologize for this inconvenience.</div><a href="javascript:void(0);" onclick="closeMigrateBox();" id="btn-close2"><img src="https://static.bangkokpost.com/common/img/img-alert/icon-close.svg" style="width: 38px; height: 38px; position: absolute; right: 0; top: 3px;" alt=""></a></div></div>'); } function check_show_migrate() { t = new Date(); utc_now = t.getTime() + (t.getTimezoneOffset() * 60000); check_date_begin = new Date('2020/02/10 17:00:00 GMT+0700'); utc_begin = check_date_begin.getTime() + (check_date_begin.getTimezoneOffset() * 60000); check_date_end = new Date('2020/02/10 22:00:00 GMT+0700'); utc_end = check_date_end.getTime() + (check_date_end.getTimezoneOffset() * 60000); if (utc_now > utc_begin && utc_now < utc_end ) { console.log('show man'); return true; } else { console.log('not show man'); return false; } } if (check_show_migrate()) { // Show alert here show_migrate_noti(); } </script> </body> <!-- InstanceEnd --> </html>