We're sorry, the URL you requested cannot be found.
.setTargeting("cat_ags", "web")
;
if (window.gmgSRADisabled !== undefined && window.gmgSRADisabled) {
// do not enable SRA if this switch is set
} else {
// enable SRA by default
//console.log("Enabling SRA");
googletag.pubads().enableSingleRequest();
}
googletag.pubads().addEventListener('slotRenderEnded', function(event) {
//console.log('Slot has been rendered:');
//console.log('event slot->'+event.size);
});
//start ad fetching
googletag.enableServices();
$(dfpslots).each(function(){
googletag.display($(this).attr('id'));
});
});
var resizeAd = function(me) {
var newSize = $(me).width();
var clearWallpaper = function() {
var hitlayer = $("#hit_layer");
if (hitlayer.length) {
hitlayer.parent().remove();
}
}
//console.log("resize event width->"+newSize);
if (newSize > window.gmgRespAdUnit.mainContainerWidth || newSize < window.gmgRespAdUnit.mainContainerWidth) {
window.gmgRespAdUnit.mainContainerWidth = newSize;
//console.log("Main container width has changed. Setting gmg.RespAdUnit.mainContainerWidth to "+newSize+" Refreshing Ads .....");
//console.log("slots refreshed->"+window.gmgRespAdUnit.refreshArrSlotName.join(" | "));
clearWallpaper();
googletag.pubads().refresh(window.gmgRespAdUnit.refreshArr);
} else {
//console.log("container width has not changed.")
}
}
$('.wrapper').resize(function(e){
resizeAd(this);
});
}
});