if ( typeof( tpAdtagBase ) == 'undefined' ) {
function tpAdtagBase() {
function fp(o){var x=0;var y=0;if(o&&o.offsetParent){x=o.offsetLeft;y=o.offsetTop;while((o=o.offsetParent)){x+=o.offsetLeft;y+=o.offsetTop;}}return[x,y];}
function gcw(){return fr(window.innerWidth?window.innerWidth:0,document.documentElement?document.documentElement.clientWidth:0,document.body?document.body.clientWidth:0);}
function gch(){return fr(window.innerHeight?window.innerHeight:0,document.documentElement?document.documentElement.clientHeight:0,document.body?document.body.clientHeight:0);}
function gsl(){return fr(window.pageXOffset?window.pageXOffset:0,document.documentElement?document.documentElement.scrollLeft:0,document.body?document.body.scrollLeft:0);}
function gst(){return fr(window.pageYOffset?window.pageYOffset:0,document.documentElement?document.documentElement.scrollTop:0,document.body?document.body.scrollTop:0);}
function fr(n_win,n_docel,n_body){var n_result=n_win?n_win:0;if(n_docel&&(!n_result||(n_result>n_docel)))n_result=n_docel;return n_body&&(!n_result||(n_result>n_body))?n_body:n_result;}
function getAncestors() {
if ( ( typeof(window.location.ancestorOrigins) == 'object' ) ) {
var ancestors = new Array();
for ( var i=0 ; i < window.location.ancestorOrigins.length ; i++) {
ancestors.push( window.location.ancestorOrigins.item(i) );
}
return encodeURIComponent(ancestors.join(","));
} else {
return "null";
}
}
function isVisible() {
var vc = fp( document.getElementById( this.eAd ) );
var vc2 = fp( document.getElementById( this.eCheck ) );
return (vc2[0]-vc[0]==1) &&
(vc2[1]-vc[1]==1) &&
(vc[1]+this.height*this.actvis<=gst()+gch()) &&
(vc[1]+this.height*(1-this.actvis)>gst()) &&
(vc[0]+this.width*this.actvis<=gsl()+gcw()) &&
(vc[0]+this.width*(1-this.actvis)>gsl());
}
function buildQueryPart(prefix, obj) {
var args = new Array();
if ( Object.prototype.toString.call(obj) === '[object Array]' ) {
for ( var i = 0; i < obj.length ; i++ ) {
args[args.length] = buildQueryPart(prefix+'['+i+']', obj[i]);
}
} else if (typeof(obj) == 'object') {
for (var i in obj) {
args[args.length] = buildQueryPart(prefix+'['+encodeURIComponent(i)+']', obj[i]);
}
} else {
args[args.length]=prefix+'='+encodeURIComponent(obj);
}
return args.join('&');
}
function isHTTP(s){
return (new String(s).substring(0, 4)=='http');
}
function getBestParentReferrer( w, depth ) {
var docRef = w.document.referrer;
var parentAvailable = false;
if ( w.parent != w ) {
for( var p in w.parent.location ) {
parentAvailable = true;
break;
}
}
if (
parentAvailable &&
depth < 50
) {
return getBestParentReferrer( w.parent, depth + 1 );
} else if (
isHTTP(w.location.href) &&
window.top.location.href != "" &&
window.top.location.href == w.location.href
) {
return w.location.href;
} else if (isHTTP(docRef)) {
return docRef;
} else if (isHTTP(w.location.href)) {
return w.location.href;
} else {
return null;
}
}
function getOptimizedDocumentReferrer() {
var referrer = null;
try {
referrer = getBestParentReferrer(window, 0);
} catch (e) {
}
var docRef = document.referrer;
if ( referrer == null ) {
return (docRef!="")?docRef:window.location.href
} else {
return referrer;
}
}
this.render = function() {
if ( this.readyToRender ) {
this.u += '&adtagId=' + tpAdtagBase.prototype.adtagId;
if ( this.container == "" ) {
var innerScriptId = 'tpAdtagInnerScriptId' + this.namespace;
document.write('');
} else {
var s = document.createElement('script');
s.src = this.u;
this.innerScript = s;
if ( document.getElementById( this.container ) ) {
document.getElementById( this.container ).appendChild( s );
}
}
this.rendered = true;
tpAdtagBase.prototype.adtagId++;
}
}
this.renderOnVisibility = function() {
if (
this.readyToRender &&
isVisible.call( this )
) {
window.clearInterval( this.renderOnVisibilityInterval );
this.render();
}
}
this.protocol = '';
this.nw = '';
this.zone = '';
this.subid = '';
this.clicktracker = '';
this.container = '';
this.namespace = '';
this.width = 0;
this.height = 0;
this.actvis = -1;
this.extData = new Array();
this.extVar = new Array();
this.extCfg = new Object();
this.innerScript = null;
this.envData = '';
this.tcfGdpr = '';
this.tcfGdprConsent = '';
this.userData = '';
this.host = '';
this.rendered = false;
this.readyToRender = true;
this.init = function() {
var q = '';
this.u = this.protocol+'://'+this.host+'/request.php?';
this.u += 'zone='+this.zone;
this.u += '&nw='+this.nw;
this.u += '&renderingType=javascript';
this.u += '&namespace='+encodeURIComponent(this.namespace);
this.u += '&subid='+encodeURIComponent(this.subid);
this.u += '&uid='+tpAdtagBase.prototype.uuid;
this.u += '&screenSize='+screen.width+'x'+ screen.height;
this.u += '&screenSizeAvail='+screen.availWidth+'x'+screen.availHeight;
this.u += '&clientSize='+gcw()+'x'+ gch();
this.u += '&scrollPos='+gsl()+'x'+ gst();
for (var i=0;i< this.extData.length;i++) this.u += '&extData[]='+encodeURIComponent(this.extData[i]);
for (var i=0;i< this.extVar.length;i++) this.u += '&extVar[]='+encodeURIComponent(this.extVar[i]);
q = buildQueryPart( 'extCfg', this.extCfg );
if ( q != "" ) this.u += '&' + q;
this.u += '&envData='+encodeURIComponent(this.envData);
this.u += '&gdpr='+encodeURIComponent(this.tcfGdpr);
this.u += '&gdpr_consent='+encodeURIComponent(this.tcfGdprConsent);
this.u += '&ud='+encodeURIComponent(this.userData);
this.u += '&redirectClick='+encodeURIComponent(this.clicktracker);
this.u += '&documentReferer='+encodeURIComponent(getOptimizedDocumentReferrer());
this.u += '&ancestorOrigins='+getAncestors();
this.u += '&random=' + Math.floor(Math.random()*10e12);
if ( window.top !== window.self ) this.u += '&isIframe=1';
this.eAd = 'e' + Math.floor(Math.random()*10e12);
this.eCheck = 'e' + Math.floor(Math.random()*10e12);
if ( this.container == "" ) {
document.write('
');
document.write('
');
document.write('
');
document.write('
');
if ( this.actvis >= 0 ) {
this.container = 'e' + Math.floor(Math.random()*10e12);
document.write('');
}
} else {
var b = document.createElement('div');
with (b.style) {width='2px';height='2px';border='0px';margin='0px';padding='0px';textAlign='left';verticalAlign='top';position='absolute';visibility='hidden';}
var c = document.createElement('div');
c.id = this.eCheck;
with (c.style) {width='1px';height='1px';border='0px';margin='0px';marginLeft='1px';marginTop='1px';padding='0px';position='absolute';visibility='hidden';}
b.appendChild( c );
var p = document.createElement('div');
p.id = this.eAd;
with (p.style) {width='1px';height='1px';border='0px';margin='0px';padding='0px';position='absolute';visibility='hidden';}
b.appendChild( p );
if ( document.getElementById( this.container ) ) {
document.getElementById( this.container ).appendChild( b );
}
}
this.co = fp( document.getElementById( this.eAd ) );
this.co2 = fp( document.getElementById( this.eCheck ) );
this.u += '&container=' + encodeURIComponent( this.container );
this.u += '&adPos=' + this.co[0] + 'x'+ this.co[1];
this.u += '&adPosCheck=' + this.co2[0] + 'x'+ this.co2[1];
if ( this.actvis >= 0 ) {
var self = this;
this.renderOnVisibilityInterval = window.setInterval(
function() {
self.renderOnVisibility();
},
100
);
} else {
this.render();
}
}
}
tpAdtagBase.prototype.adtagId = 0;
tpAdtagBase.prototype.uuid = '';
for (var tpTmpI=0;tpTmpI<16;tpTmpI++)tpAdtagBase.prototype.uuid=tpAdtagBase.prototype.uuid+Math.floor(Math.random()*16).toString(16);
}
var tpAdtag2d6d21e188 = new tpAdtagBase();
tpAdtag2d6d21e188.protocol = "https";
tpAdtag2d6d21e188.host ='hal900013.redintelligence.net';
tpAdtag2d6d21e188.nw = "20";
tpAdtag2d6d21e188.zone = "1gnfsk4df5lz";
tpAdtag2d6d21e188.subid = "";
tpAdtag2d6d21e188.clicktracker = "https://googleads.g.doubleclick.net/dbm/clk?sa=L&ai=Cve3KAINBZpzKMdOjrr4P2p-wwA2m5b2gae2SnKfJD_AuEAEgpbSwImCVAsgBCakC_QraTvQRsj6oAwHIA5sEqgSjAk_QbHtP0PSrZzy9CxSuCT3ltzxlOC37asisWXBA5Oa1Jmn1EyXsQUE0wStBOymQXvO4_kY9a-e5nkieeM9CNBpQ49PE7yh8xteC1dYe6EARoBNfNhXzeoQgMk2eG430NRlz9i3tVA7NwCyJgCTYxCleueiCUrl1tnAMVFgu4v-x2gjnDnYPpRV6NJ-YaBEef7mq8xefCOaE-3O9t4BMO7nn8Zb7D6gmHUs9Febn7FZjtzorHEu7X0DDhDqD1-Ijpad761qcSm7rw0BFSnDxgaUC15EcYycPRv-wiosOk89XZ8woXK2S7sLzkmSWpt05U9Hz3BC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ULNt89igmmiT8OmGw7Uob-D9VpdnWg9I3sldsM54UunJXdpkC0tr6mSHzoPchxUCI8vprHmdv7y_PcCMi82QLZTOsvR2M-iPEyZr3V0_QmncUkuoOEoTtRzZE9qi6yQswLwfCaag27m0QneeJe6poJ4I-c5G3rVDLYppyMjxxDZxK20gYFnI-2FiZGGyBNIjy30w0uibkOpyMW9dQ5Z1JIO2WdIuzXXmkNFvReDxqgnmjVw585wVJ95MKVMDCxwxETwGxxSzojos3NNOP5GfbBHg_8LrRfkGySDUoRKHPh0yvY8n46NML50aSz8tO6aVj5Tj_qIIOSw48IuN-ZFCN4_2VdZxmEBAGIqlXmSmMbCav4tOOUWaiLAp_TW1n4D0l-4Q-VSFL-Tk1ABlNhPoqO54GtxjqWwSAfZlzizSbdH2HbCD-8FLw-f4_QGmoxAbIMirgSJLbzmjmjjtruGQFJXfHdfPFCeKGkJHaAJ1myCOhvR8gq_iDM8ONi1jfwB3EEqGOKUH19KCWbtPhXmOa1yABVDwa_7seHSdkpraOZMO5UU2ZG4&adurl=";
tpAdtag2d6d21e188.container = "";
tpAdtag2d6d21e188.namespace = "2d6d21e188";
tpAdtag2d6d21e188.width = 320;
tpAdtag2d6d21e188.height = 50;
tpAdtag2d6d21e188.actvis = -1;
tpAdtag2d6d21e188.tcfGdpr = "0";
tpAdtag2d6d21e188.tcfGdprConsent = "";
tpAdtag2d6d21e188.userData = "";
tpAdtag2d6d21e188.envData = "";
tpAdtag2d6d21e188.extData.push("");
tpAdtag2d6d21e188.extVar.push("DV360_SSP:1");
tpAdtag2d6d21e188.init();