Warning : include(/data/wp-sync/wp-data/healthtopquestion/themes/publishable-mag/../../plugins/post-filler/api_v5_core.php): failed to open stream: No such file or directory in /data/wp-sync/wp-data/healthtopquestion/themes/publishable-mag/search.php on line 8
Warning : include(): Failed opening '/data/wp-sync/wp-data/healthtopquestion/themes/publishable-mag/../../plugins/post-filler/api_v5_core.php' for inclusion (include_path='.:/usr/local/php7/lib/php') in /data/wp-sync/wp-data/healthtopquestion/themes/publishable-mag/search.php on line 8
You searched for Migraine/&pi=4 - HTQ
Skip to content
When Doctor Isn't Available, Ask HTQ - HTQ
";
}
function adGoogle(isReplace) {
var html = '';
if (true) {
if (isMobile) {
html = "googletag.cmd.push(function() { googletag.defineSlot('/70071061/yl-xk/336*280-01-wap', [336, 280], 'div-gpt-ad-1538124262845-0').addService(googletag.pubads()); googletag.pubads().enableSingleRequest(); googletag.enableServices(); }); googletag.cmd.push(function() { googletag.display('div-gpt-ad-1538124262845-0'); });
";
} else {
html = "googletag.cmd.push(function() { googletag.defineSlot('/70071061/yl-xk/728*90-01-pc', [728, 90], 'div-gpt-ad-1538124592869-0').addService(googletag.pubads()); googletag.pubads().enableSingleRequest(); googletag.enableServices(); }); googletag.cmd.push(function() { googletag.display('div-gpt-ad-1538124592869-0'); });
";
}
var html2 = replaceAll2(html, "script2", "script");
//_pf_log("adGoogle, html=" + html2);
if ($('.post.excerpt').length > 0) {
_pf_event('adx-impl', 'impl', 'search');
_pf_log("ga adx-impl search");
$('.post.excerpt').first().before(html2);
} else {
var contentHtml = $('#content').html();
contentHtml += html2;
$('#content').html(contentHtml);
}
}
if (true) {
if (isMobile) {
//html = "" + getGoogleADCode('htq_search_wap_02', 336, 280, '7964996688') + "
";
html = "" + getAdxCode('/70071061/yl-xk/336x280-07-wap-n-xk-yl', 336, 280, 'div-gpt-ad-1542956155319-0') + "
";
} else {
html = "" + getGoogleADCode('htq_search_pc_02', 728, 90, '5589566044') + "
";
}
var html2 = replaceAll2(html, "script2", "script");
//_pf_log("adGoogle, html=" + html2);
if ($('.post.excerpt').length > 0) {
_pf_log("ga adsense search");
$('.post.excerpt').first().before(html2);
} else {
var contentHtml = $('#content').html();
contentHtml += html2;
$('#content').html(contentHtml);
}
}
}
function loadPEWidgets() {
var iframeHtml = '';
//iframeHtml += '';
iframeHtml += '';
//iframeHtml += '';
if ($('#site-footer').length > 0) {
$('#site-footer').after(iframeHtml);
}
}
function initUI() {
var formInputStr = ' ';
var html = '';
if ($("#pf-search-button").length > 0) {
$("#pf-search-button").after(html);
$("#pf-search-button").remove();
}
adGoogle();
//loadPEWidgets();
}
$(document).ready(function(){
initUI();
});
// check count of posts
$(document).on("click", ".post.excerpt .readMore a", function(event) {
try {
var index = $(this).attr('index');
if (index > 12) {
index = 12;
}
_pf_log("post read-more click, index=" + index);
var gaEventCategory = 'post-readmore-click-' + index;
onPostClicked(gaEventCategory, event.target);
} catch(err) {
}
});
$(document).on("click", ".post.excerpt .title a", function(event) {
try {
var index = $(this).attr('index');
if (index > 12) {
index = 12;
}
_pf_log("post title click, index=" + index);
var gaEventCategory = 'post-title-click-' + index;
onPostClicked(gaEventCategory, event.target);
} catch(err) {
}
});
$(window).resize(function(){
_pf_log('window resize');
});
$(window).on("orientationchange", function() {
_pf_log('window orientationchange');
});
});
})();