(function(){
var wave_gpt = document.createElement("script");
wave_gpt.src = "https://securepubads.g.doubleclick.net/tag/js/gpt.js";
document.head.appendChild(wave_gpt);
var wave_gpt2 = document.createElement("script");
wave_gpt2.src = "https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-6327508837875273";
document.head.appendChild(wave_gpt2);
})();
function adupdate(adunit, adcode){
if(document.getElementsByClassName(adunit).length>0){
document.getElementsByClassName(adunit)[0].insertAdjacentHTML('afterEnd',adcode);
}
}
adupdate('foodnext_all_hp_1','
');
adupdate('foodnext_all_hp_2','');
adupdate('foodnext_all_sb_2','');
adupdate('QA-post mb15','');
adupdate('foodnext_all_tv_ir_1','');
adupdate('foodnext_mobile_sb_1','');
adupdate('foodnext_mobile_bottom','');
if(!/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)){
console.log('video wait');
setTimeout(function(){
console.log('video start');
window.googletag = window.googletag || {cmd: []};
googletag.cmd.push(function() {
googletag.defineSlot('/22675675822/foodnext_all_sb_2', [[336, 280], [468, 60], [1, 1], [300, 250], [728, 90]], 'div-gpt-ad-1646808878332-0').setTargeting('website', location.hostname).setTargeting('url', location.pathname).addService(googletag.pubads());
googletag.pubads().enableSingleRequest();
googletag.enableServices();
});
googletag.cmd.push(function() { googletag.display('div-gpt-ad-1646808878332-0'); });
},1000);
}
var adloadstart = 500;
function adload(){
if (/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) && window.location.href === 'https://www.foodnext.net/') {
var adloadtime = 500;
window.googletag = window.googletag || {cmd: []};
googletag.cmd.push(function() {
googletag.defineSlot('/22675675822/foodnext_mobile_bottom', [320, 50], 'div-gpt-ad-1646808855263-0').setTargeting('website', location.hostname).setTargeting('url', location.pathname).addService(googletag.pubads());
googletag.defineSlot('/22675675822/foodnext_all_hp_1', [[300, 250], [336, 280]], 'div-gpt-ad-1646809005819-0').setTargeting('website', location.hostname).setTargeting('url', location.pathname).addService(googletag.pubads());
googletag.defineSlot('/22675675822/foodnext_all_hp_2', [300, 250], 'div-gpt-ad-1646809030691-0').setTargeting('website', location.hostname).setTargeting('url', location.pathname).addService(googletag.pubads());
googletag.pubads().enableSingleRequest();
googletag.pubads().enableLazyLoad({fetchMarginPercent: 100, renderMarginPercent: 50, mobileScaling: 2.0});
googletag.enableServices();
});
setTimeout(function(){
googletag.cmd.push(function() { googletag.display('div-gpt-ad-1646808855263-0'); });
googletag.cmd.push(function() { googletag.display('div-gpt-ad-1646809005819-0'); });
googletag.cmd.push(function() { googletag.display('div-gpt-ad-1646809030691-0'); });
},adloadtime);
}
if (/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) && window.location.href !== 'https://www.foodnext.net/') {
var adloadtime = 500;
window.googletag = window.googletag || {cmd: []};
googletag.cmd.push(function() {
googletag.defineSlot('/22675675822/foodnext_mobile_bottom', [320, 50], 'div-gpt-ad-1646808855263-0').setTargeting('website', location.hostname).setTargeting('url', location.pathname).addService(googletag.pubads());
googletag.defineSlot('/22675675822/foodnext_all_sb_3', [250, 250], 'div-gpt-ad-1659696645761-0').setTargeting('website', location.hostname).setTargeting('url', location.pathname).addService(googletag.pubads());
googletag.defineSlot('/22675675822/foodnext_mobile_sb_1', [[300, 250], [250, 250]], 'div-gpt-ad-1646808824441-0').setTargeting('website', location.hostname).setTargeting('url', location.pathname).addService(googletag.pubads());
googletag.pubads().enableSingleRequest();
googletag.pubads().enableLazyLoad({fetchMarginPercent: 100, renderMarginPercent: 50, mobileScaling: 2.0});
googletag.enableServices();
});
setTimeout(function(){
googletag.cmd.push(function() { googletag.display('div-gpt-ad-1646808855263-0'); });
googletag.cmd.push(function() { googletag.display('div-gpt-ad-1659696645761-0'); });
googletag.cmd.push(function() { googletag.display('div-gpt-ad-1646808824441-0'); });
},adloadtime);
}
if (/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) && window.location.href.includes('https://www.foodnext.net/tv')) {
var adloadtime = 500;
window.googletag = window.googletag || {cmd: []};
googletag.cmd.push(function() {
googletag.defineSlot('/22675675822/foodnext_mobile_bottom', [320, 50], 'div-gpt-ad-1646808855263-0').setTargeting('website', location.hostname).setTargeting('url', location.pathname).addService(googletag.pubads());
googletag.defineSlot('/22675675822/foodnext_all_tv_ir_1', [[336, 280], [300, 250]], 'div-gpt-ad-1646808987044-0').setTargeting('website', location.hostname).setTargeting('url', location.pathname).addService(googletag.pubads());
googletag.pubads().enableSingleRequest();
googletag.pubads().enableLazyLoad({fetchMarginPercent: 100, renderMarginPercent: 50, mobileScaling: 2.0});
googletag.enableServices();
});
setTimeout(function(){
googletag.cmd.push(function() { googletag.display('div-gpt-ad-1646808855263-0'); });
googletag.cmd.push(function() { googletag.display('div-gpt-ad-1646808987044-0'); });
},adloadtime);
}
if (!/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) && window.location.href === 'https://www.foodnext.net/') {
var adloadtime = 500;
window.googletag = window.googletag || {cmd: []};
googletag.cmd.push(function() {
googletag.defineSlot('/22675675822/foodnext_all_hp_1', [[300, 250], [336, 280]], 'div-gpt-ad-1646809005819-0').setTargeting('website', location.hostname).setTargeting('url', location.pathname).addService(googletag.pubads());
googletag.defineSlot('/22675675822/foodnext_all_hp_2', [[336, 280], [300, 250]], 'div-gpt-ad-1646809030691-0').setTargeting('website', location.hostname).setTargeting('url', location.pathname).addService(googletag.pubads());
googletag.pubads().enableSingleRequest();
googletag.pubads().enableLazyLoad({fetchMarginPercent: 100, renderMarginPercent: 50, mobileScaling: 2.0});
googletag.enableServices();
});
setTimeout(function(){
googletag.cmd.push(function() { googletag.display('div-gpt-ad-1646809005819-0'); });
googletag.cmd.push(function() { googletag.display('div-gpt-ad-1646809030691-0'); });
},adloadtime);
}
if (!/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) && window.location.href.includes('https://www.foodnext.net/tv')) {
var adloadtime = 500;
window.googletag = window.googletag || {cmd: []};
googletag.cmd.push(function() {
googletag.defineSlot('/22675675822/foodnext_all_tv_ir_1', [[336, 280], [300, 250]], 'div-gpt-ad-1646808987044-0').setTargeting('website', location.hostname).setTargeting('url', location.pathname).addService(googletag.pubads());
googletag.pubads().enableSingleRequest();
googletag.pubads().enableLazyLoad({fetchMarginPercent: 100, renderMarginPercent: 50, mobileScaling: 2.0});
googletag.enableServices();
});
setTimeout(function(){
googletag.cmd.push(function() { googletag.display('div-gpt-ad-1646808987044-0'); });
},adloadtime);
}
if (!/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) && window.location.href !== 'https://www.foodnext.net/') {
var adloadtime = 500;
window.googletag = window.googletag || {cmd: []};
googletag.cmd.push(function() {
googletag.defineSlot('/22675675822/foodnext_all_sb_3', [[250, 250], [300, 250]], 'div-gpt-ad-1659696645761-0').setTargeting('website', location.hostname).setTargeting('url', location.pathname).addService(googletag.pubads());
googletag.defineSlot('/21727358763/BT_a_O_1', [1, 1], 'div-gpt-ad-1724050069235-0').addService(googletag.pubads());
googletag.pubads().enableSingleRequest();
googletag.pubads().enableLazyLoad({fetchMarginPercent: 100, renderMarginPercent: 50, mobileScaling: 2.0});
googletag.enableServices();
});
setTimeout(function(){
googletag.cmd.push(function() { googletag.display('div-gpt-ad-1659696645761-0'); });
googletag.cmd.push(function() { googletag.display('div-gpt-ad-1724050069235-0'); });
},adloadtime);
}
}
setTimeout(function(){adload();},adloadstart);
var wave_gpt3 = document.createElement("script");
wave_gpt3.src = "https://www.googletagmanager.com/gtag/js?id=G-NYKJF5H5T3";
document.head.appendChild(wave_gpt3);
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-NYKJF5H5T3');
var wave_gpt4 = document.createElement("script");
wave_gpt4.src = "https://www.googletagmanager.com/gtag/js?id=UA-222890203-3";
document.head.appendChild(wave_gpt4);
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-222890203-3');
var mapping_element1 = document.createElement('iframe');
mapping_element1.src = 'https://server.punwave.com/a/mapping/foodnext_cht_mapping.html';
mapping_element1.width = "1";
mapping_element1.height = "1";
document.body.appendChild(mapping_element1);