var googletag = googletag || {};
googletag.cmd = googletag.cmd || [];
googletag.cmd.push(function() {
googletag.pubads().disableInitialLoad();
});
//this function refreshes [adhesion] ad slot every 60 second and makes prebid bid on it every 60 seconds
// Set timer to refresh slot every 60 seconds
function setIntervalMobile() {
if (!device.mobile()) return
if (adhesion) setInterval(function(){
googletag.pubads().refresh([adhesion]);
}, 60000);
}
if(device.desktop())
{
googletag.cmd.push(function() {
leaderboard_top = googletag.defineSlot('/22018898626/LC_job_listing_page_Between_jobs', [728, 90], 'div-gpt-ad-1662116409925-0').setTargeting('pos', ['1']).setTargeting('div_id', ['leaderboard_top']).addService(googletag.pubads());
googletag.pubads().collapseEmptyDivs();
googletag.enableServices();
});
}
else if(device.tablet())
{
googletag.cmd.push(function() {
leaderboard_top = googletag.defineSlot('/22018898626/LC_job_listing_page_Between_jobs', [320, 50], 'div-gpt-ad-1662116409925-0').setTargeting('pos', ['1']).setTargeting('div_id', ['leaderboard_top']).addService(googletag.pubads());
googletag.pubads().collapseEmptyDivs();
googletag.enableServices();
});
}
else if(device.mobile())
{
googletag.cmd.push(function() {
leaderboard_top = googletag.defineSlot('/22018898626/LC_job_listing_page_Between_jobs', [320, 50], 'div-gpt-ad-1662116409925-0').setTargeting('pos', ['1']).setTargeting('div_id', ['leaderboard_top']).addService(googletag.pubads());
googletag.pubads().collapseEmptyDivs();
googletag.enableServices();
});
}
googletag.cmd.push(function() {
// Enable lazy loading with...
googletag.pubads().enableLazyLoad({
// Fetch slots within 5 viewports. // fetchMarginPercent: 500,
fetchMarginPercent: 100,
// Render slots within 2 viewports. // renderMarginPercent: 200,
renderMarginPercent: 100,
// Double the above values on mobile, where viewports are smaller
// and users tend to scroll faster.
mobileScaling: 2.0
});
});
Junior Construction Attorney Jobs in Wellsboro
0 jobs