window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/15.0.3\/72x72\/","ext":".png","svgUrl":"https:\/\/s.w.org\/images\/core\/emoji\/15.0.3\/svg\/","svgExt":".svg","source":{"concatemoji":"https:\/\/davetheravebangkok.com\/wp-includes\/js\/wp-emoji-release.min.js?ver=6.7.2"}};
/*! This file is auto-generated */
!function(i,n){var o,s,e;function c(e){try{var t={supportTests:e,timestamp:(new Date).valueOf()};sessionStorage.setItem(o,JSON.stringify(t))}catch(e){}}function p(e,t,n){e.clearRect(0,0,e.canvas.width,e.canvas.height),e.fillText(t,0,0);var t=new Uint32Array(e.getImageData(0,0,e.canvas.width,e.canvas.height).data),r=(e.clearRect(0,0,e.canvas.width,e.canvas.height),e.fillText(n,0,0),new Uint32Array(e.getImageData(0,0,e.canvas.width,e.canvas.height).data));return t.every(function(e,t){return e===r[t]})}function u(e,t,n){switch(t){case"flag":return n(e,"\ud83c\udff3\ufe0f\u200d\u26a7\ufe0f","\ud83c\udff3\ufe0f\u200b\u26a7\ufe0f")?!1:!n(e,"\ud83c\uddfa\ud83c\uddf3","\ud83c\uddfa\u200b\ud83c\uddf3")&&!n(e,"\ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc65\udb40\udc6e\udb40\udc67\udb40\udc7f","\ud83c\udff4\u200b\udb40\udc67\u200b\udb40\udc62\u200b\udb40\udc65\u200b\udb40\udc6e\u200b\udb40\udc67\u200b\udb40\udc7f");case"emoji":return!n(e,"\ud83d\udc26\u200d\u2b1b","\ud83d\udc26\u200b\u2b1b")}return!1}function f(e,t,n){var r="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?new OffscreenCanvas(300,150):i.createElement("canvas"),a=r.getContext("2d",{willReadFrequently:!0}),o=(a.textBaseline="top",a.font="600 32px Arial",{});return e.forEach(function(e){o[e]=t(a,e,n)}),o}function t(e){var t=i.createElement("script");t.src=e,t.defer=!0,i.head.appendChild(t)}"undefined"!=typeof Promise&&(o="wpEmojiSettingsSupports",s=["flag","emoji"],n.supports={everything:!0,everythingExceptFlag:!0},e=new Promise(function(e){i.addEventListener("DOMContentLoaded",e,{once:!0})}),new Promise(function(t){var n=function(){try{var e=JSON.parse(sessionStorage.getItem(o));if("object"==typeof e&&"number"==typeof e.timestamp&&(new Date).valueOf()<e.timestamp+604800&&"object"==typeof e.supportTests)return e.supportTests}catch(e){}return null}();if(!n){if("undefined"!=typeof Worker&&"undefined"!=typeof OffscreenCanvas&&"undefined"!=typeof URL&&URL.createObjectURL&&"undefined"!=typeof Blob)try{var e="postMessage("+f.toString()+"("+[JSON.stringify(s),u.toString(),p.toString()].join(",")+"));",r=new Blob([e],{type:"text/javascript"}),a=new Worker(URL.createObjectURL(r),{name:"wpTestEmojiSupports"});return void(a.onmessage=function(e){c(n=e.data),a.terminate(),t(n)})}catch(e){}c(n=f(s,u,p))}t(n)}).then(function(e){for(var t in e)n.supports[t]=e[t],n.supports.everything=n.supports.everything&&n.supports[t],"flag"!==t&&(n.supports.everythingExceptFlag=n.supports.everythingExceptFlag&&n.supports[t]);n.supports.everythingExceptFlag=n.supports.everythingExceptFlag&&!n.supports.flag,n.DOMReady=!1,n.readyCallback=function(){n.DOMReady=!0}}).then(function(){return e}).then(function(){var e;n.supports.everything||(n.readyCallback(),(e=n.source||{}).concatemoji?t(e.concatemoji):e.wpemoji&&e.twemoji&&(t(e.twemoji),t(e.wpemoji)))}))}((window,document),window._wpemojiSettings);
var breeze_prefetch = {"local_url":"https:\/\/davetheravebangkok.com","ignore_remote_prefetch":"1","ignore_list":["\/wp-admin","wp-admin","wp-login.php"]};
https://davetheravebangkok.com/wp-content/plugins/breeze/assets/js/js-front-end/breeze-prefetch-links.min.js
https://davetheravebangkok.com/wp-includes/js/jquery/jquery.min.js
https://davetheravebangkok.com/wp-includes/js/jquery/jquery-migrate.min.js
var image_save_msg='You are not allowed to save images!';
var no_menu_msg='Context Menu disabled!';
var smessage = "You don\\\'t need to be doing that.";function disableEnterKey(e)
{
var elemtype = e.target.tagName;
elemtype = elemtype.toUpperCase();
if (elemtype == "TEXT" || elemtype == "TEXTAREA" || elemtype == "INPUT" || elemtype == "PASSWORD" || elemtype == "SELECT" || elemtype == "OPTION" || elemtype == "EMBED")
{
elemtype = 'TEXT';
}
if (e.ctrlKey){
var key;
if(window.event)
key = window.event.keyCode; //IE
else
key = e.which; //firefox (97)
//if (key != 17) alert(key);
if (elemtype!= 'TEXT' && (key == 97 || key == 65 || key == 67 || key == 99 || key == 88 || key == 120 || key == 26 || key == 85 || key == 86 || key == 83 || key == 43 || key == 73))
{
if(wccp_free_iscontenteditable(e)) return true;
show_wpcp_message('You are not allowed to copy content or view source');
return false;
}else
return true;
}
}/*For contenteditable tags*/
function wccp_free_iscontenteditable(e)
{
var e = e || window.event; // also there is no e.target property in IE. instead IE uses window.event.srcElement
var target = e.target || e.srcElement;var elemtype = e.target.nodeName;
elemtype = elemtype.toUpperCase();
var iscontenteditable = "false";
if(typeof target.getAttribute!="undefined" ) iscontenteditable = target.getAttribute("contenteditable"); // Return true or false as string
var iscontenteditable2 = false;
if(typeof target.isContentEditable!="undefined" ) iscontenteditable2 = target.isContentEditable; // Return true or false as booleanif(target.parentElement.isContentEditable) iscontenteditable2 = true;
if (iscontenteditable == "true" || iscontenteditable2 == true)
{
if(typeof target.style!="undefined" ) target.style.cursor = "text";
return true;
}
}////////////////////////////////////
function disable_copy(e)
{
var e = e || window.event; // also there is no e.target property in IE. instead IE uses window.event.srcElement
var elemtype = e.target.tagName;
elemtype = elemtype.toUpperCase();
if (elemtype == "TEXT" || elemtype == "TEXTAREA" || elemtype == "INPUT" || elemtype == "PASSWORD" || elemtype == "SELECT" || elemtype == "OPTION" || elemtype == "EMBED")
{
elemtype = 'TEXT';
}
if(wccp_free_iscontenteditable(e)) return true;
var isSafari = /Safari/.test(navigator.userAgent) && /Apple Computer/.test(navigator.vendor);
var checker_IMG = '';
if (elemtype == "IMG" && checker_IMG == 'checked' && e.detail >= 2) {show_wpcp_message(alertMsg_IMG);return false;}
if (elemtype != "TEXT")
{
if (smessage !== "" && e.detail == 2)
show_wpcp_message(smessage);
if (isSafari)
return true;
else
return false;
}
}//////////////////////////////////////////
function disable_copy_ie()
{
var e = e || window.event;
var elemtype = window.event.srcElement.nodeName;
elemtype = elemtype.toUpperCase();
if(wccp_free_iscontenteditable(e)) return true;
if (elemtype == "IMG") {show_wpcp_message(alertMsg_IMG);return false;}
if (elemtype != "TEXT" && elemtype != "TEXTAREA" && elemtype != "INPUT" && elemtype != "PASSWORD" && elemtype != "SELECT" && elemtype != "OPTION" && elemtype != "EMBED")
{
return false;
}
}
function reEnable()
{
return true;
}
document.onkeydown = disableEnterKey;
document.onselectstart = disable_copy_ie;
if(navigator.userAgent.indexOf('MSIE')==-1)
{
document.onmousedown = disable_copy;
document.onclick = reEnable;
}
function disableSelection(target)
{
//For IE This code will work
if (typeof target.onselectstart!="undefined")
target.onselectstart = disable_copy_ie;
//For Firefox This code will work
else if (typeof target.style.MozUserSelect!="undefined")
{target.style.MozUserSelect="none";}
//All other (ie: Opera) This code will work
else
target.onmousedown=function(){return false}
target.style.cursor = "default";
}
//Calling the JS function directly just after body load
window.onload = function(){disableSelection(document.body);};//////////////////special for safari Start////////////////
var onlongtouch;
var timer;
var touchduration = 1000; //length of time we want the user to touch before we do somethingvar elemtype = "";
function touchstart(e) {
var e = e || window.event;
// also there is no e.target property in IE.
// instead IE uses window.event.srcElement
var target = e.target || e.srcElement;
elemtype = window.event.srcElement.nodeName;
elemtype = elemtype.toUpperCase();
if(!wccp_pro_is_passive()) e.preventDefault();
if (!timer) {
timer = setTimeout(onlongtouch, touchduration);
}
}function touchend() {
//stops short touches from firing the event
if (timer) {
clearTimeout(timer);
timer = null;
}
onlongtouch();
}onlongtouch = function(e) { //this will clear the current selection if anything selected
if (elemtype != "TEXT" && elemtype != "TEXTAREA" && elemtype != "INPUT" && elemtype != "PASSWORD" && elemtype != "SELECT" && elemtype != "EMBED" && elemtype != "OPTION")
{
if (window.getSelection) {
if (window.getSelection().empty) { // Chrome
window.getSelection().empty();
} else if (window.getSelection().removeAllRanges) { // Firefox
window.getSelection().removeAllRanges();
}
} else if (document.selection) { // IE?
document.selection.empty();
}
return false;
}
};document.addEventListener("DOMContentLoaded", function(event) {
window.addEventListener("touchstart", touchstart, false);
window.addEventListener("touchend", touchend, false);
});function wccp_pro_is_passive() {var cold = false,
hike = function() {};try {
const object1 = {};
var aid = Object.defineProperty(object1, 'passive', {
get() {cold = true}
});
window.addEventListener('test', hike, aid);
window.removeEventListener('test', hike, aid);
} catch (e) {}return cold;
}
/*special for safari End*/
document.ondragstart = function() { return false;}
function nocontext(e) {
return false;
}
document.oncontextmenu = nocontext;
var e = document.getElementsByTagName('body')[0];
if(e)
{
e.setAttribute('unselectable',"on");
}
var tdBlocksArray = []; //here we store all the items for the current page// td_block class - each ajax block uses a object of this class for requests
function tdBlock() {
this.id = '';
this.block_type = 1; //block type id (1-234 etc)
this.atts = '';
this.td_column_number = '';
this.td_current_page = 1; //
this.post_count = 0; //from wp
this.found_posts = 0; //from wp
this.max_num_pages = 0; //from wp
this.td_filter_value = ''; //current live filter value
this.is_ajax_running = false;
this.td_user_action = ''; // load more or infinite loader (used by the animation)
this.header_color = '';
this.ajax_pagination_infinite_stop = ''; //show load more at page x
}// td_js_generator - mini detector
( function () {
var htmlTag = document.getElementsByTagName("html")[0];if ( navigator.userAgent.indexOf("MSIE 10.0") > -1 ) {
htmlTag.className += ' ie10';
}if ( !!navigator.userAgent.match(/Trident.*rv\:11\./) ) {
htmlTag.className += ' ie11';
}if ( navigator.userAgent.indexOf("Edge") > -1 ) {
htmlTag.className += ' ieEdge';
}if ( /(iPad|iPhone|iPod)/g.test(navigator.userAgent) ) {
htmlTag.className += ' td-md-is-ios';
}var user_agent = navigator.userAgent.toLowerCase();
if ( user_agent.indexOf("android") > -1 ) {
htmlTag.className += ' td-md-is-android';
}if ( -1 !== navigator.userAgent.indexOf('Mac OS X') ) {
htmlTag.className += ' td-md-is-os-x';
}if ( /chrom(e|ium)/.test(navigator.userAgent.toLowerCase()) ) {
htmlTag.className += ' td-md-is-chrome';
}if ( -1 !== navigator.userAgent.indexOf('Firefox') ) {
htmlTag.className += ' td-md-is-firefox';
}if ( -1 !== navigator.userAgent.indexOf('Safari') && -1 === navigator.userAgent.indexOf('Chrome') ) {
htmlTag.className += ' td-md-is-safari';
}if( -1 !== navigator.userAgent.indexOf('IEMobile') ){
htmlTag.className += ' td-md-is-iemobile';
}})();var tdLocalCache = {};( function () {
"use strict";tdLocalCache = {
data: {},
remove: function (resource_id) {
delete tdLocalCache.data[resource_id];
},
exist: function (resource_id) {
return tdLocalCache.data.hasOwnProperty(resource_id) && tdLocalCache.data[resource_id] !== null;
},
get: function (resource_id) {
return tdLocalCache.data[resource_id];
},
set: function (resource_id, cachedData) {
tdLocalCache.remove(resource_id);
tdLocalCache.data[resource_id] = cachedData;
}
};
})();
var td_viewport_interval_list=[{"limitBottom":767,"sidebarWidth":251},{"limitBottom":1023,"sidebarWidth":339}];
var td_animation_stack_effect="type0";
var tds_animation_stack=true;
var td_animation_stack_specific_selectors=".entry-thumb, img, .td-lazy-img";
var td_animation_stack_general_selectors=".td-animation-stack img, .td-animation-stack .entry-thumb, .post img, .td-animation-stack .td-lazy-img";
var tds_general_modal_image="yes";
var tdc_is_installed="yes";
var td_ajax_url="https:\/\/davetheravebangkok.com\/wp-admin\/admin-ajax.php?td_theme_name=Newsmag&v=5.4.3.2";
var td_get_template_directory_uri="https:\/\/davetheravebangkok.com\/wp-content\/plugins\/td-composer\/legacy\/common";
var tds_snap_menu="smart_snap_always";
var tds_logo_on_sticky="show_header_logo";
var tds_header_style="10";
var td_please_wait="Please wait...";
var td_email_user_pass_incorrect="User or password incorrect!";
var td_email_user_incorrect="Email or username incorrect!";
var td_email_incorrect="Email incorrect!";
var td_user_incorrect="Username incorrect!";
var td_email_user_empty="Email or username empty!";
var td_pass_empty="Pass empty!";
var td_pass_pattern_incorrect="Invalid Pass Pattern!";
var td_retype_pass_incorrect="Retyped Pass incorrect!";
var tds_more_articles_on_post_enable="";
var tds_more_articles_on_post_time_to_wait="";
var tds_more_articles_on_post_pages_distance_from_top=0;
var tds_captcha="";
var tds_theme_color_site_wide="#e81202";
var tds_smart_sidebar="enabled";
var tdThemeName="Newsmag";
var tdThemeNameWl="Newsmag";
var td_magnific_popup_translation_tPrev="Previous (Left arrow key)";
var td_magnific_popup_translation_tNext="Next (Right arrow key)";
var td_magnific_popup_translation_tCounter="%curr% of %total%";
var td_magnific_popup_translation_ajax_tError="The content from %url% could not be loaded.";
var td_magnific_popup_translation_image_tError="The image #%curr% could not be loaded.";
var tdBlockNonce="564db4577f";
var tdMobileMenu="enabled";
var tdMobileSearch="enabled";
var tdDateNamesI18n={"month_names":["January","February","March","April","May","June","July","August","September","October","November","December"],"month_names_short":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"day_names":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],"day_names_short":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]};
var td_deploy_mode="deploy";
var td_ad_background_click_link="";
var td_ad_background_click_target="";
Angelwitch Pattaya 2023 Angelwitch Pattaya, once the best-sounding and arguably best-looking bar ever in Sin City, is rubble and will be converted into another mega nightclub.
Demolition work on the iconic Soi 15 amphitheater began in May after the building was acquired by the owners of nearby Sapphire Club and Lady Love on Soi LK Metro. The roof and major support pillars have since been removed, leaving the exterior walls, which had been crafted to fit the odd-size lot on which it sits.
Angelwitch Pattaya Unparalleled In its heyday, between 2011 and 2014, Angelwitch Pattaya was an unparalleled experience and sounded amazing. Purpose-built to be a showbar theater, its oblong stage was encircled by rows of stadium seating with not a bad view in the house. A second floor was less used, but was a place for a quieter drink or, later, Jacuzzi fun.
The acoustics were incredible, enveloping guests in sound without ever being too loud, with rock-concert caliber lighting.
Angelwitch Pattaya in Rubble
Despite the no-expense-spared environment, Pattaya’s changing demographics and the rise of the agency-coyote model sent Angelwitch into a long, downward spiral. There was a time when the best-looking women in Pattaya did the shows at Angelwitch. But they could not be barfined before 1 a.m. and many wouldn’t go anyway.
Then, as the agency sharks took over, the rates for the best girls went up and up, with management finally drawing a line in the sand.
Meanwhile, Pattaya’s shift from western tourists to Russians and Chinese led to slower nights, despite the fact Angelwitch was the perfect couple’s bar.
Angelwitch Pattaya finally called it quits on June 4, 2018. Any chance of it reopening as a go-go bar were snuffed out by the coronavirus pandemic. It was during that time that Sapphire’s owner and a team of investors acquired the lease for the land.
The plan is to create yet another Pattaya super club, in the model of Republik, Myst, Tunnel and Club Insomnia. The hoped-for schedule would have the new dance club open in late December or January, but a look at the building site this week leaves anyone familiar with the snail pace of Thai construction companies dubious it will be ready for high season. Owners, however, remain confident it will come together quickly.
Can Pattaya support yet another expensive, high-end disco? Marine Disco, the city’s oldest, finally gave up the ghost this year, unable to compete. 808 and Lucifer are limping along. Most people haven’t even heard of Tunnel. Time will tell.
error: You don\\\'t need to be doing that.
var block_tdi_5 = new tdBlock();
block_tdi_5.id = "tdi_5";
block_tdi_5.atts = '{"limit":3,"ajax_pagination":"next_prev","live_filter":"cur_post_same_tags","td_ajax_filter_type":"td_custom_related","class":"tdi_5","td_column_number":3,"block_type":"td_block_related_posts","live_filter_cur_post_id":21766,"live_filter_cur_post_author":"61353","block_template_id":"","header_color":"","ajax_pagination_infinite_stop":"","offset":"","td_ajax_preloading":"","td_filter_default_txt":"","td_ajax_filter_ids":"","el_class":"","color_preset":"","ajax_pagination_next_prev_swipe":"","border_top":"","css":"","tdc_css":"","tdc_css_class":"tdi_5","tdc_css_class_style":"tdi_5_rand_style"}';
block_tdi_5.td_column_number = "3";
block_tdi_5.block_type = "td_block_related_posts";
block_tdi_5.post_count = "3";
block_tdi_5.found_posts = "1691";
block_tdi_5.header_color = "";
block_tdi_5.ajax_pagination_infinite_stop = "";
block_tdi_5.max_num_pages = "564";
tdBlocksArray.push(block_tdi_5);
var block_tdi_9 = new tdBlock();
block_tdi_9.id = "tdi_9";
block_tdi_9.atts = '{"custom_title":"Latest Updates","custom_url":"","block_template_id":"","header_color":"#","header_text_color":"#","title_tag":"","border_top":"","color_preset":"","m4_tl":"","m4_title_tag":"","m4_el":"","m6_tl":"","m6_title_tag":"","limit":"6","offset":"","video_rec":"","video_rec_title":"","el_class":"","post_ids":"-21766","category_id":"","category_ids":"","tag_slug":"","autors_id":"","installed_post_types":"","sort":"","td_ajax_filter_type":"","td_ajax_filter_ids":"","td_filter_default_txt":"All","td_ajax_preloading":"","ajax_pagination":"","ajax_pagination_infinite_stop":"","class":"td_block_widget tdi_9","block_type":"td_block_1","separator":"","open_in_new_window":"","show_modified_date":"","video_popup":"","show_vid_t":"block","f_header_font_header":"","f_header_font_title":"Block header","f_header_font_settings":"","f_header_font_family":"","f_header_font_size":"","f_header_font_line_height":"","f_header_font_style":"","f_header_font_weight":"","f_header_font_transform":"","f_header_font_spacing":"","f_header_":"","f_ajax_font_title":"Ajax categories","f_ajax_font_settings":"","f_ajax_font_family":"","f_ajax_font_size":"","f_ajax_font_line_height":"","f_ajax_font_style":"","f_ajax_font_weight":"","f_ajax_font_transform":"","f_ajax_font_spacing":"","f_ajax_":"","f_more_font_title":"Load more button","f_more_font_settings":"","f_more_font_family":"","f_more_font_size":"","f_more_font_line_height":"","f_more_font_style":"","f_more_font_weight":"","f_more_font_transform":"","f_more_font_spacing":"","f_more_":"","m4f_title_font_header":"","m4f_title_font_title":"Article title","m4f_title_font_settings":"","m4f_title_font_family":"","m4f_title_font_size":"","m4f_title_font_line_height":"","m4f_title_font_style":"","m4f_title_font_weight":"","m4f_title_font_transform":"","m4f_title_font_spacing":"","m4f_title_":"","m4f_cat_font_title":"Article category tag","m4f_cat_font_settings":"","m4f_cat_font_family":"","m4f_cat_font_size":"","m4f_cat_font_line_height":"","m4f_cat_font_style":"","m4f_cat_font_weight":"","m4f_cat_font_transform":"","m4f_cat_font_spacing":"","m4f_cat_":"","m4f_meta_font_title":"Article meta info","m4f_meta_font_settings":"","m4f_meta_font_family":"","m4f_meta_font_size":"","m4f_meta_font_line_height":"","m4f_meta_font_style":"","m4f_meta_font_weight":"","m4f_meta_font_transform":"","m4f_meta_font_spacing":"","m4f_meta_":"","m4f_ex_font_title":"Article excerpt","m4f_ex_font_settings":"","m4f_ex_font_family":"","m4f_ex_font_size":"","m4f_ex_font_line_height":"","m4f_ex_font_style":"","m4f_ex_font_weight":"","m4f_ex_font_transform":"","m4f_ex_font_spacing":"","m4f_ex_":"","m6f_title_font_header":"","m6f_title_font_title":"Article title","m6f_title_font_settings":"","m6f_title_font_family":"","m6f_title_font_size":"","m6f_title_font_line_height":"","m6f_title_font_style":"","m6f_title_font_weight":"","m6f_title_font_transform":"","m6f_title_font_spacing":"","m6f_title_":"","m6f_cat_font_title":"Article category tag","m6f_cat_font_settings":"","m6f_cat_font_family":"","m6f_cat_font_size":"","m6f_cat_font_line_height":"","m6f_cat_font_style":"","m6f_cat_font_weight":"","m6f_cat_font_transform":"","m6f_cat_font_spacing":"","m6f_cat_":"","m6f_meta_font_title":"Article meta info","m6f_meta_font_settings":"","m6f_meta_font_family":"","m6f_meta_font_size":"","m6f_meta_font_line_height":"","m6f_meta_font_style":"","m6f_meta_font_weight":"","m6f_meta_font_transform":"","m6f_meta_font_spacing":"","m6f_meta_":"","css":"","tdc_css":"","td_column_number":1,"ajax_pagination_next_prev_swipe":"","tdc_css_class":"tdi_9","tdc_css_class_style":"tdi_9_rand_style"}';
block_tdi_9.td_column_number = "1";
block_tdi_9.block_type = "td_block_1";
block_tdi_9.post_count = "6";
block_tdi_9.found_posts = "1690";
block_tdi_9.header_color = "#";
block_tdi_9.ajax_pagination_infinite_stop = "";
block_tdi_9.max_num_pages = "282";
tdBlocksArray.push(block_tdi_9);
jQuery.fn.isolatedScrollFacebookFTS = function() {this.bind("mousewheel DOMMouseScroll", function (e) {var delta = e.wheelDelta || (e.originalEvent && e.originalEvent.wheelDelta) || -e.detail,bottomOverflow = this.scrollTop + jQuery(this).outerHeight() - this.scrollHeight >= 0,topOverflow = this.scrollTop <= 0;if ((delta < 0 && bottomOverflow) || (delta > 0 && topOverflow)) {e.preventDefault();}});return this;};jQuery(".fts-fb-scrollable").isolatedScrollFacebookFTS();
var timeout_result;
function show_wpcp_message(smessage)
{
if (smessage !== "")
{
var smessage_text = '<span>Alert: </span>'+smessage;
document.getElementById("wpcp-error-message").innerHTML = smessage_text;
document.getElementById("wpcp-error-message").className = "msgmsg-box-wpcp warning-wpcp showme";
clearTimeout(timeout_result);
timeout_result = setTimeout(hide_message, 3000);
}
}
function hide_message()
{
document.getElementById("wpcp-error-message").className = "msgmsg-box-wpcp warning-wpcp hideme";
}
var impression_object = {"ajax_url":"https:\/\/davetheravebangkok.com\/wp-admin\/admin-ajax.php"};
https://davetheravebangkok.com/wp-content/plugins/adrotate/library/jquery.groups.js
var click_object = {"ajax_url":"https:\/\/davetheravebangkok.com\/wp-admin\/admin-ajax.php"};
https://davetheravebangkok.com/wp-content/plugins/adrotate/library/jquery.clicker.js
var eztoc_smooth_local = {"scroll_offset":"30","add_request_uri":"","add_self_reference_link":""};
https://davetheravebangkok.com/wp-content/plugins/easy-table-of-contents/assets/js/smooth_scroll.min.js
https://davetheravebangkok.com/wp-content/plugins/easy-table-of-contents/vendor/js-cookie/js.cookie.min.js
https://davetheravebangkok.com/wp-content/plugins/easy-table-of-contents/vendor/sticky-kit/jquery.sticky-kit.min.js
var ezTOC = {"smooth_scroll":"1","visibility_hide_by_default":"","scroll_offset":"30","fallbackIcon":"<span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span>","chamomile_theme_is_on":""};
https://davetheravebangkok.com/wp-content/plugins/easy-table-of-contents/assets/js/front.min.js
https://davetheravebangkok.com/wp-content/plugins/td-composer/legacy/Newsmag/js/tagdiv_theme.min.js
https://davetheravebangkok.com/wp-includes/js/comment-reply.min.js
https://davetheravebangkok.com/wp-content/plugins/feed-them-social/includes/feeds/js/fts-global.min.js
//total number of slides
var tdi_2_nr_of_slides = 5;jQuery(document).ready(function() {
//magnific popup
jQuery("#tdi_2 .td-slide-popup-gallery").magnificPopup({
delegate: "a.slide-gallery-image-link",
type: "image",
tLoading: "Loading image #%curr%...",
mainClass: "mfp-img-mobile",
gallery: {
enabled: true,
navigateByImgClick: true,
preload: [0,1],
tCounter: '%curr% of %total%'
},
image: {
tError: "<a href='%url%'>The image #%curr%</a> could not be loaded.",
titleSrc: function(item) {//console.log(item.el);
//alert(jQuery(item.el).data("caption"));
return item.el.attr("data-caption") + "<div>" + item.el.attr("data-description") + "<div>";
}
},
zoom: {
enabled: true,
duration: 300,
opener: function(element) {
return element.find("img");
}
},callbacks: {
change: function() {
// Will fire when popup is closed
jQuery("#tdi_2 .td-doubleSlider-1").iosSlider("goToSlide", this.currItem.index + 1 );
}
}});jQuery("#tdi_2 .td-doubleSlider-1").iosSlider({
scrollbar: true,
snapToChildren: true,
desktopClickDrag: true,
infiniteSlider: true,
responsiveSlides: true,
navPrevSelector: jQuery("#tdi_2 .doubleSliderPrevButton"),
navNextSelector: jQuery("#tdi_2 .doubleSliderNextButton"),
scrollbarHeight: "2",
scrollbarBorderRadius: "0",
scrollbarOpacity: "0.5",
onSliderResize: td_gallery_resize_update_vars_tdi_2,
onSliderLoaded: doubleSlider2Load_tdi_2,
onSlideChange: doubleSlider2Load_tdi_2,
keyboardControls: true
});//small image slide
jQuery("#tdi_2 .td-doubleSlider-2 .td-button").each(function(i) {
jQuery(this).bind("click", function() {
jQuery("#tdi_2 .td-doubleSlider-1").iosSlider("goToSlide", i+1);
});
});
// Create slider_2 only when the content elements are wider than the wrapper
var $gallery_slider_unique_id = jQuery("#tdi_2");
if ( $gallery_slider_unique_id.length ) {
var sliderWidth = $gallery_slider_unique_id.width(),
elementsWidth = 0;
$gallery_slider_unique_id.find( ".td-button").each(function(index, el) {
elementsWidth += jQuery(el).outerWidth( true );
});
//check the number of slides
//if( parseInt(tdi_2_nr_of_slides) > $td_double_slider2_no_js_limit) {
if( elementsWidth > sliderWidth ) {
jQuery("#tdi_2 .td-doubleSlider-2").iosSlider({
desktopClickDrag: true,
snapToChildren: true,
snapSlideCenter: true,
infiniteSlider: true
});
} else {
jQuery("#tdi_2 .td-doubleSlider-2").addClass("td_center_slide2");
}
}function doubleSlider2Load_tdi_2(args) {
//var currentSlide = args.currentSlideNumber;
jQuery("#tdi_2 .td-doubleSlider-2").iosSlider("goToSlide", args.currentSlideNumber);//put a transparent border around all small sliders
jQuery("#tdi_2 .td-doubleSlider-2 .td-button .td-border").css("border", "3px solid #ffffff").css("opacity", "0.5");
jQuery("#tdi_2 .td-doubleSlider-2 .td-button").css("border", "0");//put a white border around the focused small slide
jQuery("#tdi_2 .td-doubleSlider-2 .td-button:eq(" + (args.currentSlideNumber-1) + ") .td-border").css("border", "3px solid #ffffff").css("opacity", "1");
//jQuery("#tdi_2 .td-doubleSlider-2 .td-button:eq(" + (args.currentSlideNumber-1) + ")").css("border", "3px solid #ffffff");//write the current slide number
td_gallery_write_current_slide_tdi_2(args.currentSlideNumber);
}//writes the current slider beside to prev and next buttons
function td_gallery_write_current_slide_tdi_2(slide_nr) {
jQuery("#tdi_2 .td-gallery-slide-item-focus").html(slide_nr);
}/*
* Resize the iosSlider when the page is resided (fixes bug on Android devices)
*/
function td_gallery_resize_update_vars_tdi_2(args) {
if(tdDetect.isAndroid || tdDetect.isIos) {
setTimeout(function(){
jQuery("#tdi_2 .td-doubleSlider-1").iosSlider("update");
}, 1500);
}
}
});
//total number of slides
var tdi_3_nr_of_slides = 5;jQuery(document).ready(function() {
//magnific popup
jQuery("#tdi_3 .td-slide-popup-gallery").magnificPopup({
delegate: "a.slide-gallery-image-link",
type: "image",
tLoading: "Loading image #%curr%...",
mainClass: "mfp-img-mobile",
gallery: {
enabled: true,
navigateByImgClick: true,
preload: [0,1],
tCounter: '%curr% of %total%'
},
image: {
tError: "<a href='%url%'>The image #%curr%</a> could not be loaded.",
titleSrc: function(item) {//console.log(item.el);
//alert(jQuery(item.el).data("caption"));
return item.el.attr("data-caption") + "<div>" + item.el.attr("data-description") + "<div>";
}
},
zoom: {
enabled: true,
duration: 300,
opener: function(element) {
return element.find("img");
}
},callbacks: {
change: function() {
// Will fire when popup is closed
jQuery("#tdi_3 .td-doubleSlider-1").iosSlider("goToSlide", this.currItem.index + 1 );
}
}});jQuery("#tdi_3 .td-doubleSlider-1").iosSlider({
scrollbar: true,
snapToChildren: true,
desktopClickDrag: true,
infiniteSlider: true,
responsiveSlides: true,
navPrevSelector: jQuery("#tdi_3 .doubleSliderPrevButton"),
navNextSelector: jQuery("#tdi_3 .doubleSliderNextButton"),
scrollbarHeight: "2",
scrollbarBorderRadius: "0",
scrollbarOpacity: "0.5",
onSliderResize: td_gallery_resize_update_vars_tdi_3,
onSliderLoaded: doubleSlider2Load_tdi_3,
onSlideChange: doubleSlider2Load_tdi_3,
keyboardControls: true
});//small image slide
jQuery("#tdi_3 .td-doubleSlider-2 .td-button").each(function(i) {
jQuery(this).bind("click", function() {
jQuery("#tdi_3 .td-doubleSlider-1").iosSlider("goToSlide", i+1);
});
});
// Create slider_2 only when the content elements are wider than the wrapper
var $gallery_slider_unique_id = jQuery("#tdi_3");
if ( $gallery_slider_unique_id.length ) {
var sliderWidth = $gallery_slider_unique_id.width(),
elementsWidth = 0;
$gallery_slider_unique_id.find( ".td-button").each(function(index, el) {
elementsWidth += jQuery(el).outerWidth( true );
});
//check the number of slides
//if( parseInt(tdi_3_nr_of_slides) > $td_double_slider2_no_js_limit) {
if( elementsWidth > sliderWidth ) {
jQuery("#tdi_3 .td-doubleSlider-2").iosSlider({
desktopClickDrag: true,
snapToChildren: true,
snapSlideCenter: true,
infiniteSlider: true
});
} else {
jQuery("#tdi_3 .td-doubleSlider-2").addClass("td_center_slide2");
}
}function doubleSlider2Load_tdi_3(args) {
//var currentSlide = args.currentSlideNumber;
jQuery("#tdi_3 .td-doubleSlider-2").iosSlider("goToSlide", args.currentSlideNumber);//put a transparent border around all small sliders
jQuery("#tdi_3 .td-doubleSlider-2 .td-button .td-border").css("border", "3px solid #ffffff").css("opacity", "0.5");
jQuery("#tdi_3 .td-doubleSlider-2 .td-button").css("border", "0");//put a white border around the focused small slide
jQuery("#tdi_3 .td-doubleSlider-2 .td-button:eq(" + (args.currentSlideNumber-1) + ") .td-border").css("border", "3px solid #ffffff").css("opacity", "1");
//jQuery("#tdi_3 .td-doubleSlider-2 .td-button:eq(" + (args.currentSlideNumber-1) + ")").css("border", "3px solid #ffffff");//write the current slide number
td_gallery_write_current_slide_tdi_3(args.currentSlideNumber);
}//writes the current slider beside to prev and next buttons
function td_gallery_write_current_slide_tdi_3(slide_nr) {
jQuery("#tdi_3 .td-gallery-slide-item-focus").html(slide_nr);
}/*
* Resize the iosSlider when the page is resided (fixes bug on Android devices)
*/
function td_gallery_resize_update_vars_tdi_3(args) {
if(tdDetect.isAndroid || tdDetect.isIos) {
setTimeout(function(){
jQuery("#tdi_3 .td-doubleSlider-1").iosSlider("update");
}, 1500);
}
}
});
var td_res_context_registered_atts=[];
jQuery(document).ready(function(){
if(jQuery.fn.gslider) {
jQuery('.g-3').gslider({ groupid: 3, speed: 10000 });
jQuery('.g-4').gslider({ groupid: 4, speed: 10000 });
jQuery('.g-5').gslider({ groupid: 5, speed: 10000 });
}
});