
/******************
LIQWID Version 4.2
Copyright(C) 2010-2017, LeftsnRights Inc. All rights reserved.
*******************/
if(top.location.search.indexOf('liqwid:debug')>-1){console.log('http://www.robesonian.com/news/104592/county-says-no-to-isd');}

var Liqwid=Liqwid||{};Liqwid={host:'//www.liqwid.net',flag:0,board_:0,rtb_flag:false,fall_flag:0,print:false,flash:false,lf:0,sln:0,i:0,i_:null,cnt:0,tq:[],al:'center',pw:1120,pr:0,flip:0,fs:false,fx:false,trk:true,wait:0,lmt:0,cp:'',ancs:0,cln:0,tx:'',fall:'',m:function(){return (/(android|bl\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino|android|ipad|playbook|silk/i.test(navigator.userAgent||navigator.vendor||window.opera)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test((navigator.userAgent||navigator.vendor||window.opera).substr(0,4)));},mob:false,use_min:false,slot:0,wx:0,wy:0,lstn:1,sec:0,lso:null,cmc:[],cn_:0,_vq:function(i){var p=this.ad[i].p,ps=this.ad[i].ps,sq=this.vq,v=[],l=0; try{v=sq.split(',');}catch(e){v[0]='';} l=v.length;if(p!==undefined&&p!=0){if(sq===''){sq=p.toFixed();}else{sq+=','+p.toFixed();} if(l>50){sq=sq.substring(sq.indexOf(',')+1,sq.length);}this.vq=sq;this.com.sC('vq',sq,1,0);if(this.mg!=0)this.com.sC('fq','1',0,this.mg);}},rt:0,Ag:'',timer:function(){var _this=this,r=0,r_=0,a,_p,q='',q_='',aq='',trk='',cl;if(!this.fs){setTimeout(function(){_this.timer();},1);return;}this.rt=0;for(i=0;i<this.i;i++){_p=this.pp[i];a=this.ad[i];if(a===undefined||_p===undefined)continue;if(a){var mt=a.pp.maxTime||0,rt=a.pp.refreshTime||0;
if(a.r!==0&&a.p!==0&&_p.g!=''&&_p.s<180&&(a.ps!=='B'||_p.g!==this.Ag)){if(a.ps==='A')this.Ag=_p.g;if(a.video===0&&_p.vi){this.sec++;_p.s++; if((!_p.prog&&a.r===1)||a.rtb.r)_p.vs++;}else{this.trk=false;}if(this.cnt<this.i)this.cnt++;var aw=a.w,ah=a.h,f=''; if(a.fs!==0){aw=a.mw;ah=a.mh;}st='='+_p.b+'&g'+_p.b+'='+_p.g+'&p'+_p.b+'='+a.p+'&ps'+_p.b+'='+a.ps+'&s'+_p.b+'='+_p.s+'&w'+_p.b+'='+aw+'&h'+_p.b+'='+ah;
if(_p.nnr&&_p.vs===_p.nnr){var d=this.d('Liqwid_board'+i); if(d&&d.nextSibling){d.style.display='none';this.pp[i].end=true; d.nextSibling.classList.remove('Liqwid_'+i+'fadeout');d.nextSibling.classList.add('Liqwid_'+i+'fadein');}} 
if(top.location.search.indexOf('liqwid:debug-video')>-1)cl=1; 
if(a.video>0||_p.video){mt=parseInt(a.dur);
if(a.sg===0&&a.dur>0)a.sg=parseInt(a.dur/a.vt);if(_p.s===a.sg){a.tk=0;a.sg+=a.sg;} 
if(mt>0) { 
if (_p.s>0&&_p.vT[0]!==1&&typeof _p.vTrack[0]!=='undefined'&&(!_p.uI||_p.vP)){_p.vT[0]=1;
trk=_p.vTrack[0].replace(/%n/,Math.floor((Math.random()*100000000)+1));
this.com.js(trk); if(cl)console.log('LIQWID Video Started: ' + trk);
}
if (_p.s===Math.floor(mt/4)&&_p.vT[1]!==1&&typeof _p.vTrack[1]!=='undefined'){_p.vT[1]=1;
trk=_p.vTrack[1].replace(/%n/,Math.floor((Math.random()*100000000)+1));
this.com.js(trk);if(cl)console.log((_p.s+1)+'sec LIQWID Video 25%: ' + trk);
}
if (_p.s===Math.floor(mt/2)&&_p.vT[2]!==1&&typeof _p.vTrack[2]!=='undefined'){_p.vT[2]=1;
trk=_p.vTrack[2].replace(/%n/,Math.floor((Math.random()*100000000)+1));
this.com.js(trk);if(cl)console.log((_p.s+1)+'sec LIQWID Video 50%: ' + trk);
}
if (_p.s===Math.floor(mt/2+mt/4)&&_p.vT[3]!==1&&typeof _p.vTrack[3]!=='undefined'){_p.vT[3]=1;
trk=_p.vTrack[3].replace(/%n/,Math.floor((Math.random()*100000000)+1));
this.com.js(trk);if(cl)console.log((_p.s+1)+'sec LIQWID Video 75%: ' + trk);
}
if (_p.s===mt-1&&_p.vT[4]!==1&&typeof _p.vTrack[4]!=='undefined'){_p.vT[4]=1;
trk=_p.vTrack[4].replace(/%n/,Math.floor((Math.random()*100000000)+1)) ;
this.com.js(trk);if(cl)console.log((_p.s+1)+'sec LIQWID Video Ended: ' + trk);
}
}
}_p.q='';if(_p.s>0){if(_p.prog){if(a.rtb.r&&a.rtb.n!==''){_p.q='&b'+r+st+'&f'+_p.b+'='+a.rtb.n+'&fc'+_p.b+'='+this.pp[i].cn+'&a'+_p.b+'=2';}else{_p.q='&b'+r+st+'&a'+_p.b+'=5';}}else{_p.q='&b'+r+st+'&a'+_p.b+'=3';}r++;this.rt++;q+=_p.q;}if(mt>0){if(_p.s===mt)this.close(i);if(a.ps==='W'){var ct=this.d("Liqwid_captions"+i);if(ct &&mt-_p.s<mt)ct.innerHTML="AD SKIPS IN "+(mt-_p.s)+" sec" ;}}}}
if(_p.prog&&(a.ps==='G'||a.ps==='H'||a.ps==='A'||a.ps==='B') )rt=45;
if(a.p!==0&&rt>0&&_p.s===rt&&a.rtb.r){a.cn=-1;_p.cn=-1;a.r=0;_p.cf=null;_p.s=0;
if(!_p.prog)this.ad[i].l=false;
var d=this.d("Liqwid_board"+i);if(d){d.style.display='none';}
if(!_p.prog){this.inject(a.e,i);}else{this.demand('R',false,i);}
}
if(_p.tS>0&&_p.s===_p.tS&&_p.aT!==1) {_p.aT=1;
this.com.log('log',_p.q+'&i='+i);
if(top.location.search.indexOf('liqwid:debug')>-1)console.log('Tracked: a.p ' + a.p + ' i ' +i + ' _p.s ' + _p.s);
}
}
if(this.rt>0&&(typeof a!=='undefined'&&!_p.video)){this.com.tl=q+'&i='+this.rt;} 
setTimeout(function(){_this.timer();},1000);},close:function(i){var d=this.d("Liqwid_board"+i),cb=this.d("Liqwid_close"),oB=this.d("Liqwid_bg"+i),a=this.ad[i];if(a&&d){a.pp.refreshTime=0;this.ad[i].end=true;this.ad[i].cn=0;this.pp[i].cn=0;this.ad[i].r=0;this.ad[i].l=false;this.pp[i].video=null;this.ad[i].dur=0;this.ad[i].pl=0;this.ad[i].pa=0;if(cb)cb.style.display='none';if(oB)oB.style.display='none';if(d.className.indexOf("Liqwid_"+i+"fadein") >-1) {d.classList.remove("Liqwid_"+i+"fadein");d.classList.add("Liqwid_"+i+"fadeout");} 
if(typeof a.player!=='undefined') {if(typeof a.player.pause!=='undefined')a.player.pause(); if(typeof a.player.stopVideo!=='undefined')a.player.stopVideo(); delete Liqwid.ad[i].player;} if(this.pp[i].nnr){if(d&&d.nextSibling){d.style.display='none';this.pp[i].end=true; d.nextSibling.classList.remove('Liqwid_'+i+'fadeout');d.nextSibling.classList.add('Liqwid_'+i+'fadein');}}else{setTimeout(function(){d.style.display='none';d.classList.remove("Liqwid_"+i+"fadeout");},500);}}},
txt:'',vg:'',ip:'',vl:'',vd:'',vq:'',fq:null,rec:function(){this.vg=this.com.gC('vg')||'e69b0ea4-de61-4cd0-a318-78f185abc8a2';this.ip=this.com.gC('ip')||'878433338';this.vl=this.com.gC('vl')||'';this.vd=this.com.gC('vd')||'';this.vq=this.com.gC('vq')||'';this.fq=this.com.gC('fq');this.com.sC('vg',this.vg,365,0);this.com.sC('ip',this.ip,365,0);
var t='1928',pq='7788E0I0O0T0V;7789E0I0O0T0V;7790E0I0O0T0V;7791E0I0O0T0V;7793E0I0O0T0V;7794E0I0O0T0V;7813E0I0O0T0V;7814E0I0O0T0V;7815E0I0O0T0V;7819E0I0O0T0V;7824E0I0O0T0V;7825E0I0O0T0V;7826E0I0O0T0V;7828E0I0O0T0V;7829E0I0O0T0V;7891E0I0O0T0V;7892E0I0O0T0V;7902E0I0O0T0V',st='2',ep='0',k='',b=null;
if (this.tq.length>0){
var d=document.querySelector("div[data-section]");if(d)k=d.getAttribute("data-section");
if(!d){d=document.querySelector("meta[name='news_keywords']");if(d)k=d.getAttribute("content");}
if(d&&k) {
if(k!=='') {
for (i=0;i<this.tq.length;i++) {
var t_=this.tq[i][0],st_=this.tq[i][1],k_=this.tq[i][2];pq_=this.tq[i][3] ;
var cq=k_.split(','); 
for (_i=0;_i<cq.length;_i++) {
var ck=cq[_i].trim(),cq_=k.split(','); 
for (i_=0;i_<cq_.length;i_++) {
if (ck.localeCompare(cq_[i_].trim())===0) {
pq=pq_;t=t_;st=st_; b=1; break;
}if(b)break;}if(b)break;}if(b)break;}}}}
this._q='key=D85D-A6F1-B041-B88A&m='+this.mob+'&vg='+this.vg+'&vdt='+this.com.vdt()+'&tz='+this.com.tz()+'&vl='+encodeURIComponent(this.vl)+'&vd='+encodeURIComponent(this.vd)+'&sw='+top.screen.width+'&sh='+top.screen.height+'&t='+t+'&pq='+pq+'&st='+st+'&vip='+this.ip+'&ep='+ep;},logo:function(){this.add(null,'body','div',1,'fixed','LW_Logo');},cw:0,ch:0,vp:function(){var w=top.document.documentElement.clientWidth||top.document.body.clientWidth;var h=top.innerHeight||top.document.documentElement.clientHeight||top.document.body.clientHeight;this.cw=parseInt(w);this.ch=parseInt(h);this.q=this._q+'&al='+this.al+'&cw='+this.cw+'&ch='+this.ch;},abord:false,_q:'',q:'',qs:'',qs_:'',ad:[],par:function(i,_p,_w,_h,_v,_a,_i){if(typeof this.ad[i]==='undefined'){this.ad[i]={b:i,i:0,c:'',c_:0,gpt:'',dfp:false,req:{},al:_a,mg:0,tk:0,pp:{},prog:false,v:_v,ps:_p,vi:false,s:0,player:{},pa:0,pl:0,end:false,sk:0,d:'',p:0,e:'',x:0,y:0,w:_w,h:_h,g:'',gl:'',vg:'',vgl:'',mw:_w,mh:_h,ms:0,mup:true,mt:0,q:'',q_:'',z:0,dur:0,video:0,sg:0,vt:1,an:'',ct:'',cm:'',pt:'',cd:0,ci:'',fs:0,rl:0,wl:0,t:0,cn:0,l:false,r:0,j:0,vast:false,flag:false,ht:'',tc:0,cc:'',tt:'',rtb:{ox:0,c:[],m:[],w:[],h:[],t:0,l:0,f:null,btn:[],n:'',r:false,cq:Liqwid.com.gC('cq')||'',pq:Liqwid.com.gC('pq')||'',fc:function(f,id){if(this.cq===''&&id!==''){this.cq=id;}else{this.cq+=','+id;}
Liqwid.com.sC('cq',this.cq,1,0);var cq=this.cq.split(','),n=0;for (i=0;i<cq.length;i++){if(id===cq[i])n++;}if(n>=f){if(this.pq===''){this.pq=id;}else{this.pq+=','+id;}Liqwid.com.sC('pq',this.pq,1,0);}}}};this.df(i);this.i++;}},ns:2,nl:1,nr:1,vdp:function(){if (this.flag>0)return;this.flag++;this.rec();if (typeof top.document.hidden==='undefined'){this.fs=false;}else{if(!top.document.hidden){this.fs=true;} if(top.document.addEventListener){top.document.addEventListener("visibilitychange",function(){if(!top.document.hidden){this.fs=true;}else{this.fs=false;}});}}if(this.cp!==''){this.q+='&cp='+encodeURIComponent(this.cp);}if(this.tx!==''){this.q+='&tx='+encodeURIComponent(this.tx);} var r=this.com.ref();if(r!==''){this.q+='&rf='+encodeURIComponent(r);} if(!this.flash){this.q+='&pt=1';}var n=5; var i=this.i;for(h=0;h<this.ns;h++){var al="left",vt=this.nl;if((h===1)||(this.ns===1&&"0"==="0")||"0"==="2"){al="right";vt=this.nr;}for(v=0;v<vt;v++){if(vt===1){if(al==="left"){this.par(this.i,'A',90,480,v,al,0);}else{this.par(this.i,'B',90,480,v,'right',0);}}else{if(al==="left"){if(v===0){this.par(this.i,'C',90,480,v,al,0);}else{this.par(this.i,'E',90,480,v,al,0);}}else{if(v===0){this.par(this.i,'D',90,480,v,'right',0);}else{this.par(this.i,'F',90,480,v,'right',0);}}}}}this.par(this.i,'W',120,70,0,'top',0);this.par(this.i,'G',90,251,0,'top',0);this.par(this.i,'H',90,251,0,'bottom',0);var _n=this.i+12;for(n=this.i;n<_n;n++)this.par(n,'I',300,600,0,'left',1);this.board();top.addEventListener('focus',function(){Liqwid.fs=true;},false);top.addEventListener('scroll',function(){Liqwid.fs=true;if(Liqwid.m)Liqwid.com.ssp();},false);top.addEventListener('mouseup',function(){Liqwid.mup=true;},false);top.addEventListener('mousedown',function(){Liqwid.mup=false;},false);top.matchMedia("print").addListener(function(){var _p,d;for(i=0;i<Liqwid.i;i++){_p=Liqwid.pp[i];d=document.getElementById("Liqwid_board"+i);if(d&&_p&&!_p.print)d.style.display="none";}});
top.addEventListener('blur',function(){var f=top.document.activeElement.id,i,a;if(f&&f.match(/Liqwid_frame/)){Liqwid.fs=true;i=parseInt(f.substr(f.length-(f.length-12),f.length-12));if(!isNaN(i)){a=Liqwid.ad[i];if(a&&a.ct==='')Liqwid.click(i,'');}}else{Liqwid.fs=false;}},false);top.addEventListener('beforeunload',function(){if(Liqwid.com.tl!=='')Liqwid.com.log('log',Liqwid.com.tl);},false);
},wp:{y:'m',x:'c',w:0.9,h:0.8,th:40,r:'%',mw:1080,mh:611,br:'#000 solid 3px',bt:'',sh:'6px 6px 25px 0px rgba(0,0,0,.7)',bg:'#000'},ds:0,click:function(b,u,tr,m){if(typeof this.ad[b].cm!=='undefined'&&this.ad[b].cm!=='')this.com.js(this.ad[b].cm);if(m&&m!=='')this.com.js(m);var u_=this.ad[b].ct||'';if(u_!=='')u=u_;if(this.pp[b].q===''&&b===1&&this.ad[b].ps==='B')b=0;this.com.log('log',this.pp[b].q+'&i='+b+'&ct=1');if(u!==undefined&&u&&u!==''){top.open(u,'_blank');}},click_btn:function(b,c){this.ad[b].ct='//'+this.ad[b].btn[b,c];this.click(b,'');},blockURL:false,inject:function(p,i){if (!i && this.i_) i=this.i_ ;if(this.blockURL || this.lmt===1)return; 
var a=this.ad[i],_p=this.pp[i];if(a&&_p&&!_p.cloned){if (a.p!==0&&a.r&&_p.q!=='') this.com.log('log',_p.q+'&i=1');}
var u=this.q+this.qs_+'&ex='+this.vq+'&cs=0',p_=this.com.qk('liqwid_id');if(p_&&p_!=='')p=p_;if(p&&p!==''){u+='&dpl='+p;}if(i)u+='&di='+i;u+='&rnd='+Math.floor((Math.random()*100000000)+1)+'&u='+ encodeURIComponent(top.location.href);this.com.js('//www.liqwid.net/get/?'+u);this.blockURL=false; },_qs:function(i,w_,h_){var a=this.ad[i],w=0,h=0;if(a){w=a.w;h=a.h;if(w_)w=w_;if(h_)h=h_;if(a.ps==='G'||a.ps==='H'){w=w*1.2;h=250;}a.c='&i'+i+'='+i+'&ps'+i+'='+a.ps+'&w'+i+'='+parseInt(w)+'&h'+i+'='+parseInt(h)+'&b'+this.sln+'='+i+'&d'+i+'='+a.d;this.qs+=a.c;this.sln++;}},clt:0,board:function(){
for(i=0;i<this.i;i++){var a=this.ad[i];if(!a||a.end)continue;var _this=this,_p=this.pp[i];if(_p===undefined) continue;var qs=_p.qs,vis=_p.vis,vk=_p.vis,va=_p.va,mb=_p.mb,mt=_p.mt,bh=_p.blh,be=_p.bl,mW=_p.maxWidth,rE=_p.rE,blw=_p.blw,blS=_p.blS,fl=_p.float,s_in=_p.anyIn,s_out=_p.anyOut,pos_=_p.pt,_n=this._(a.rtb.n,null),top_=_p.top,btm_=_p.btm,left_=_p.left,pdl=_p.pushDownLimit,nn=_p.nodeNum,mcW=_p.mcW,mmW=_p.mmW,wN=_p.wN,_tM=_p._tM,cloned=_p.cloned,sA=_p.sA,sS=_p.sS,cln=_p.cln,cla=_p.cla,cmn=_p.cmn,lE=_p.lE,sL=_p.scrollLog,aS=_p.aS,mn=_p.margin,ia=_p.ia,fw=_p.fw,pm=_p.pm,pW=_p.pW,tMp=_p.tMp,tMn=_p.tMn,tMh=_p.tMh,bMn=_p.bMn,ctN=_p.ctN,an=_p.avoidNode,sos=_p.sos,hos=_p.hos,pot=_p.pot,close=_p.close,ut=_p.ut,setPage=_p.setPage,sPtW=_p.sPtW,sPMW=_p.sPMW,pMW=_p.pMW,pmW=_p.pmW,mM=_p.mM,bSh=_p.bSh,bGr=_p.background,w=a.w,h=a.h,u_=top.location.href,zi=_p.zi,ts=this.com.st(),d=this.d("Liqwid_board"+i),b=this.d("Liqwid_box"+i),df=this.d("Liqwid_frame"+i),oB,d_,_d,rH=this._(this.pp[i].railHeight,0),lft=0;s_in=i+s_in;s_out=i+s_out;if(vk===0)vk=0.1; this.vp();if(va==='m'){d_=this.d('Liqwid_slot'+i);_d=this.d('Liqwid_rail');} if(_p.position!=='')pos_=_p.position;if(vis<=0&&_p.prog)vis=1; if(d)lft=this.com.fp(d).l; if(_p.oB)oB=this.d("Liqwid_bg"+i);
if(top.location.search.indexOf('liqwiddebug')>-1){
//console.log('a.p ' + a.p + ' _p.prog ' + _p.prog + ' a.r ' + a.r + ' a.rl ' + a.rl); 
} 
if(i>4&&a.p!==0&&((!_p.prog&&a.r===1)||a.rtb.r)){
if(a.rl!==0&&d&&d.parentNode&&b){ 
w=d.parentNode.offsetWidth;
if(mW>0&&w>mW)w=mW;if(w>0){h=parseInt(w*(a.mh/a.mw));d.style.width=w+'px';d.style.height=h+'px'; if(b){b.style.width=w+'px';b.style.height=h+'px';if(df){df.style.width=w+'px';df.style.height=h+'px';}}}}}

if(mW!==''&&va==='m'&&d&&d.style.position==='fixed'){
var ls=lft;
if(d_)ls=this.com.fp(d_).l;if (_d)ls=this.com.fp(_d).l;
if(rE){var rE_=top.document.querySelector(rE[0]);if(rE_)w=this.com.fp(rE_).l-lft-rE[1];}else{w=this.cw-ls-2;}
if(d&&w>0){h=w*(a.h/a.w);a.w=w;a.h=h;d.style.width=w+'px';d.style.height=h+'px';if(b){b.style.width=w+'px';b.style.height=h+'px';}if(df){df.style.width=w+'px';df.style.height=h+'px';}}}
if(_p.iL&&_p.ce>0&&this.ancs>0&&this.cln<51) {
var ancs=top.document.querySelectorAll(qs); 
if(ancs.length>this.ancs) {
var clnNum=parseInt(ancs.length/_p.ce);if(clnNum>30)clnNum=30;
var in_=this.cln;if(in_===0)in_=1;
for (var c=in_;c<ancs.length+1;c++){var cl_=ancs[_p.ce*c];if(cl_){
this.ad[i+c]=this.ad[this.cln];this.cln++;this.ad[i+c].pp.anc=cl_;this.add(i+c,i+c);
}}
this.ancs=ancs.length;
}
} 
//if(a.r&&_p.nS)this.pp[i].nS=null;
if (df&&_p.cB) {
var _df=df.contentDocument||df.contentWindow.document;
//console.log('_df.innerHTML ' + _df.body.innerHTML) ;
if (_df && _df.body.innerHTML==='') {
//console.log('_p.u ' + _p.u) ;
_df.body.innerHTML='<!-- new call -->'; 
//this.inject(a.e,i); 
}
}
if(!this.fs&&this.lstn!==0){
if(_p.video){if(!a.end&&typeof a.player.pause!=='undefined'&&a.pa===0&&a.pl!==0&&(!_p.uI||_p.vP)){a.pl=0;a.player.pause();}}
}
if (i>4) { 
if(a.c==='')this._qs(i); 
var t_,n_,b_,l_,w_,h_,bl_=0,aY=0,bl=0,pd=true;if(this.mob){if(this.ds>0){mt=this.ds;}else{mb-=this.ds;}}t_=d_||d;if(t_)aY=this.com.fp(t_).t;a.y=aY;
if (d_&&va==='m'&&!blS&&(be!==''||bh!==''||blw||_p.bla)){if(bh!==''){n_=top.document.querySelectorAll(bh);if(n_.length>0)nn=n_.length-1;b_=n_[nn];if(b_){bl_=this.com.fp(b_).t+b_.offsetHeight;}}else if(be!==''&&be!=='auto'){if(be.match(/|/)){_l=be.split('|');for(var j=0;j<_l.length;j++){_l[j]=_l[j].trim();if(top.document.querySelector(_l[j])){be=_l[j]; break;}}}
if(blw){for(var j=0;j<blw.length;j++){var bW=top.document.querySelector(blw[j]);if(bW){if(lft>0&&this.com.fp(bW).l+bW.offsetWidth>lft){be=blw[j];break;}}}}
if(_p.bla) {b_=_p.bla;} else {b_=top.document.querySelector(be);}if(b_&&(bl_===0||bl_>this.com.fp(b_).t))bl_=this.com.fp(b_).t;}if(bl_>0)bl=bl_-aY+mb;}if(!b_)bl=document.body.offsetHeight+mb;if(blS)bl=blS; var t=a.y,l=a.x,wx=this.com.wp().l,wy=this.com.wp().t,tm=t,lm=l-this.com.sl(),hB=0,rm=lm+w,bm=t-ts+h*vk,sl=wx+lm+(w-w*vk),sr=wx+rm-(w-w*vk),sb=wy+bm,_t=parseInt(this.ch/2-a.h/2);if(ut)_t=ut;
if(d&&d.style.position!=='fixed'){tm-=(ts-(h-h*vk));}else{sb=wy+_t+h*vk;}
if( 
mmW<this.cw
&&(this.fs||!_p.video)
&&tm>=0
&&h*vk<=this.ch
&&w*vk<=this.cw
&&(mcW===0||mcW>=this.cw)
//&&(sl>=0&&sr<=screen.availWidth)
&&sb<=screen.availHeight
&&bm<=this.ch
&&_t+h>=h*vk
&&pd
){_p.vi=true;}else{_p.vi=false;if(_p.vis===0)_p.vi=true;} 
if(_p.onOpen){var od=top.document.querySelector(_p.onOpen[0]);if(od){if(od.style.display==='block'){_p.vi=true;}else{_p.vi=false;}}}

if(vis===0)_p.vi=true; 
if(wN!==''){w_=top.document.querySelector(wN);if(w_&&w_.offsetWidth<w)_p.vi=false;}
if(d_&&va==='m'){if(_tM>0&&_tM>=_t)_t=_tM;if(bl>a.mh&&aY-ts<=_t&&aY+bl-ts>=_t+a.mh){if(sS!==0||sA>0||cla>0){hB=_t-(aY-ts)+a.mh;if(!cloned&&hB<=bl&&(rH>0&&hB<=rH))d_.style.height=hB+'px';}if(!cloned&&(cmn===0||this.cln<cmn)&&((sA>0&&sA<_p.s)||(sS>0&&ts>sL+sS)||(cla>0&&_p.s>=cla))){if(!blS){blS=_p.blS=hB;if(bl-blS>=a.mh){this.pp[i].cloned=true;this.cln++;var n=i+1;if(!aS)aS=a.e;if(cln||cla>0){
if(cla>0)this.ad[n]=a;this.pp[n].top=blS;this.inject(aS,n);}}}}if(d){d.style.position='fixed';d.style.top=_t+'px';}
if(_p.video&&!a.end&&a.player.play!==undefined&&a.pa===0&&a.pl===0&&_p.pwF==='fixed'&&(!_p.uI||_p.vP)){ 
a.pl=1;a.player.play(); if(_p.voH){a.player.volume(0.4);a.player.muted(false);}
}
}else{if(d){d.style.position='absolute';if(aY+bl-ts<_t+a.mh){d.style.top=(bl-a.mh)+'px';}else{d.style.top='0';}}
if(_p.video&&!a.end&&a.player.pause!==undefined&&a.pa===0&&a.pl!==0&&_p.pwF==='fixed'&&(!_p.uI||_p.vP)){a.pl=0;a.player.pause(); df.style.width=a.mw+'px';df.style.height=a.mh+'px';}
}
}else{  
if(_p.ah&&((!_p.prog&&a.r===1)||a.rtb.r)){var ahd=top.document.querySelector(_p.ah[0]),ahdL=0,ahdT=0;if (ahd){if(!_p.ah[2]&&!_p.ah[3]){_p.ah[2]=this.com.fp(ahd).l;_p.ah[3]=this.com.fp(ahd).t;}if((aY+bl-ts)<(_p.ah[3]+ahd.offsetHeight+ts))_p.ah[1]=0;if(_p.ah[1]>_p.s||ts<_p.ah[5]){_p.vi=true;if(_p.ah[5]>0&&ts===0){_p.ah[5]=null;}else{ahd.style.position='fixed';ahd.style.left=_p.ah[2]+'px';ahd.style.top=_p.ah[3]+'px';}
}else{ahd.style.position=_p.ah[4];if(!_p.ah[5]){_p.ah[5]=ts;ahd.style.left='auto';ahd.style.top=ts+'px';}}}}
if(d){if(top_)d.style.top=top_+'px';if(left_)d.style.left=left_+'px';if(mn!=='' && ((!_p.prog&&a.r===1)||a.rtb.r))d.style.margin=mn;if(pos_!=='')d.style.position=pos_;if(pos_==='static'){if(fl!=='')d.style.float=fl;}}} 
if (a.r){if (mcW!==0){if(mcW>=this.cw){
if(!_p.end&&d)d.style.display='block';
}else{if(d)d.style.display='none';}}else{if(mmW!==0){if(mmW<=this.cw){if(!_p.end&&d)d.style.display='block';}else{if(d)d.style.display='none';}}}}
if(_p.vi){
if(!this.pp[i].l){this.pp[i].l=true;
if(typeof this.pp[i].railHeight==='undefined'&&d_&&va==='m')this.pp[i].railHeight=bl;

this.fill(i); 
}else{ 
if (((!_p.prog&&a.r===1)||a.rtb.r)&&d){ 
if(_p.vc===0){ 
this.pp[i].vc=1;
if(d.className.indexOf("Liqwid_"+s_out) >-1)d.classList.remove("Liqwid_"+s_out);if(!_p.end){if(b)b.style.display='block';d.style.display='block';}
d.classList.add("Liqwid_"+s_in);}
if(_p.video&&!a.end&&a.player.play!==undefined&&a.pa===0&&a.pl===0&&(va!=='m'||_p.pwF!=='fixed')&&(!_p.uI||_p.vP)){  
a.pl=1;a.player.play();if(_p.voH){a.player.volume(0.4);a.player.muted(false);}
}
}
} 
}else{ 
if(_p.video&&!a.end&&a.player.pause!==undefined&&a.pa===0&&a.pl!==0&&(!_p.uI||_p.vP)){a.pl=0;a.player.pause();}
if(_p.vc!==0&&_p.video){this.pp[i].vc=0;
}}
} else { 
if(!this.abord&&this.ops()!==0)this.abord=true;
if((this.abord||this.lmt===1) && typeof a.pp.ignoreSkinsControl==='undefined') {
if(d)d.style.display='none';if(oB)oB.style.display='none';
 continue;
 }
 var in_sq=false,wx=this.com.wp().l,wy=this.com.wp().t,k=1,sP=1,lM=0,rM=0,tM=0,bM=0,ver_num=this.nl,saW=top.screen.availWidth,saH=top.screen.availHeight,aW=this.cw,aH=this.ch,fy=0,dy='none';if(a.al==="right"){lM=0;rM=0;tM=0;bM=0,ver_num=this.nr;sP=1;}if(this.mob){saW=aW;saH=aH;}pos_='fixed';
if(an!==''){
an_=document.querySelectorAll("[id*='"+an+"']");for (var l=0;l<an_.length;l++){if(an_[l]&&an_[l].offsetHeight>0){if(d)d.style.display='none'; continue;}}}
if (tMn!==''){var te,_te=tMn.split('|'),teH=0,_teH=0; for (j=0;j<_te.length;j++){_te[j]=_te[j].trim(); te=top.document.querySelector(_te[j]);
if(te){teH=this.com.fp(te).t;if(tMh!==0)teH+=(te.offsetHeight+tMh);if(teH>_teH)_teH=teH;}}if(_teH>tM)tM=_teH;if(tM>tMp)tMp=0;}
tM+=tMp;if(ts>0)tM-=ts;if(tM<_tM&&(fy===0||fy>ts+aH))tM=_tM;
if(bMn!==''){var fe=top.document.querySelector(bMn);if(fe){fy=Liqwid.com.fp(fe).t+mb;if(fy<ts+aH)bM=aH-fy+ts;}} 
if(ut) this.pp[i].useTop=tM; if(fw>0) {wx=0;wy=0;}
if(this.pr===1){this.pw=parseInt(aW/100*70);if(this.pw>1120){this.pw=1120;}if(this.pw<340){this.pw=340;}}
this.pw=pW||this.pw;

var min_sq=false,x=lM,y=tM,kw=0,kh=0,rB=this.pw;

if (setPage!==''&&((!_p.prog&&a.r===1)||a.rtb.r)) { 
var cp=top.document.querySelector(setPage); if(cp) {
if(sPtW!=='' && this.cw > pmW) { cp.style.width=sPtW; } else {cp.style.width='auto';}
sPMW=parseInt(this.cw-(a.mw*2+80) ) ;
if (sPMW>pMW) sPMW=pMW;
if (sPMW<pmW) sPMW=pmW;
if(sPMW!==0) { cp.style.maxWidth=sPMW+'px'; }
if (setMargin!=='') cp.style.margin=setMargin;
this.pw = cp.offsetWidth+40;
}
}

if(vis===0){wx=0;wy=0;saW=this.cw;} 
if(this.pw>0){w=((aW-this.pw)/this.ns-(rM+lM));rB=this.pw;}if(a.ps!=='G'&&a.ps!=='H'){if(this.al==='center'){if(a.al==='right')x=((aW-this.pw)/this.ns)+this.pw+lM;if(wx<0){aW+=wx;if(a.al==='left'){x=-(wx+8);w=(w-(x+rM));}else{if(aW<w){w=(aW-(rM+lM));x=(lM-wx);}}}else if((wx+aW)>saW){aW=saW-wx;if(a.al==='right'){w=(aW-x-rM);}else{if(aW<w){w=(aW-(rM+lM));}}}}else if(this.al==="left"){if((wx+aW)>saW){aW=saW-wx;}x=(this.pw+lM);w=(aW-x-rM);if(wx<0){aW+=wx;if(aW<w){w=aW-(rM+lM);x=lM-wx;}}}else{if(wx<0){aW+=wx;x=lM-wx;w=w-x-rM;}else if((wx+aW)>saW){aW=saW-wx;if(aW<w){w=(aW-(rM+lM));}}}}else{if(this.pw>120){w=this.pw;}else{w=aW;}if(this.al==="center"){if(this.pw>0){x=(aW-this.pw)/2;}rB=(x+w);if(wx<0){aW+=wx;rB=(x+w);if(aW<(x+w)){x=-wx;w=(rB-x);}}if((wx+aW)>saW){aW=(saW-wx);if((x+w)>(aW)){w=aW-x;}}}else if(this.al==="left"){x=0;if(wx<0){x=-wx;w+=wx;}if((wx+aW)>saW){aW=(saW-wx);if((x+w)>(aW)){w=aW-x;}}}else{x=(aW-this.pw);if(wx<0){aW+=wx;rB=(x+w);if(aW<this.pw){x=-wx;w=(rB-x);}}if((wx+aW)>saW){aW=(saW-wx);if((x+w)>(aW)){w=aW-x;}}}}

if(a.ps==='G'||a.ps==='H'){

h=a.mh;w=a.mw;
x=parseInt(this.cw/2-w/2);y=top_;if(_tM>0)y=_tM;if(a.ps==='H')y=parseInt(aH)-h-btm_;

}else{y=tM;if(aH!==saH&&(wy+aH)>saH)aH=saH-wy;h=aH-(tM+bM);if(ver_num>1){h=(aH-(tM+bM+sP))/ver_num;if(a.v>0)y=tM+h+sP;}
if (fy-ts>0 && fy-ts<a.mh && tM===0){y=fy-ts-a.mh;}}

if((a.ps==='H'||a.ps==='G') && ctN!==''){var ctN_=top.document.querySelector(ctN);if(ctN_){x=this.com.fp(ctN_).l+ctN_.offsetWidth/2-a.mw/2;}}

w=parseInt(w);h=parseInt(h);x=parseInt(x);y=parseInt(y);if(w>3000)w=3000;kw=w;
  
if((a.ps==="A"||a.ps==="B")&&(a.rl!==0||fw!==0)){var w_=h*(a.mw/a.mh),h_=h;
if(fw>0) {
w_=w; h_=w_*(a.mh/a.mw);
if (h_<h){h_=h;w_=h*(a.mw/a.mh);}
} 
if(a.ps==='A')x=x+w-w_;w=w_;h=h_;w=parseInt(w);h=parseInt(h);x=parseInt(x);
if(df){var df_=df.contentDocument||df.contentWindow.document,img_=df_.getElementById("LW_img");if(img_){img_.style.height=h.toFixed()+"px";img_.style.width=w.toFixed()+"px";}}}   

if(a.ps==="C"||a.ps==="D")h=(aH-(tM+bM));this.wx=wx;this.wy=wy; 
if((kw>=a.mw*vk&&h>=a.mh*vk && this.ch-tM>-a.mh*vk && (bM===0||aH-(tM+bM)>=a.mh))||a.ps==='W')min_sq=true; 
if(a.ps==='G'||a.ps==='H') {
if(this.cw<-a.mw)min_sq=false;
kw=this.cw;kh=250;
 
} 
if(lE && a.ps==='A'){var lEn=top.document.querySelector(lE[0]), lX=0;if(lEn)lX=this.com.fp(lEn).l-a.mw;if(lX<x)x=lX;}
kh=h;if(a.mh>h)kh=a.mh;
if (a.c==='')this._qs(i,kw,kh);
if (vis===0) min_sq=true; 
if((sos!==0&&ts<sos)||(hos!==0&&ts>hos))min_sq=false;
if(_p.hon){var hn=top.document.querySelector(_p.hon);if(hn){if(this.com.fp(hn).t-ts<y+h)min_sq=false;}}
if(min_sq){ 
if(d&&((!_p.prog&&a.r===1)||a.rtb.r)) {
if (a.ps==="W"){w=this.cw;h=this.ch;y=0;x=0;if(close&&!a.end){var cb=this.d("Liqwid_close");if(cb){cb.style.display='block';cb.style.zIndex=this.com.z()+16000000;cb.style.right='20px';cb.style.top='20px';}}} d.style.width=w+"px";d.style.height=h+"px";if(oB){var oBl=0;if(_p.oF)oBl=parseInt(_p.oF.replace(/ /g,'').replace('blur(','').replace('px)',''));
if(isNaN(oBl))oBl=0;
oB.style.position="fixed";oB.style.width=parseInt((aW+oBl*2)+10)+"px";oB.style.height=parseInt((h+oBl*2)+10)+"px";oB.style.left="-"+(oBl+5)+"px";oB.style.zIndex=zi-1;oB.style.display='block';var cB=this.d("Liqwid_close"+i);if(cB){cB.style.right=-(aW-(aW/2+a.mw/2)-20)+'px';}}

if(a.ps==='H'&&this.mob){d.style.bottom=btm_+"px";d.style.left=x+"px";if(oB)oB.style.bottom=-(_p.oT+oBl*2)+'px'}else{if(oB)oB.style.top=(y-_p.oT)+'px';d.style.top=y+"px";
d.style.left=x+"px";if(!_p.video||a.pl===1){if(!ia){if((sos===0||ts>sos)&&(hos===0||ts<hos)){dy='block';d.style.zIndex=zi;}}}d.style.display=dy;if(oB)oB.style.display=dy;if(pot){pot_=top.document.querySelector(pot[0]);if(pot_){if (pot_.style.position!=='absolute'&&pot_.style.position!=='relative'&&pot_.style.position!=='fixed')pot_.style.position='relative';pot_.style.zIndex=pot[1];}}}if(mn!=='')d.style.margin=mn;if(bGr!=='')d.style.background=bGr;if(b&&bSh!=='')b.style.boxShadow=bSh;d.style.position=pos_;a.w=w;a.h=h;if(a.fs!==0){var _x=parseInt(w/2-a.mw/2),_y=parseInt(h/2-a.mh/2);if(_y<0)_y=0;a.y=_y;if(a.al==='left'){if(_x+a.mw>w)_x=w-a.mw;if(pm)_x=w-a.mw-parseInt(pm);if (this.pw+a.mw*2+mM*2>=this.cw && _x+a.mw<w-mM)_x=w-mM-a.mw;}if(a.al==='right'){if(_x<0)_x=0;if(pm)_x=parseInt(pm);if(this.pw+a.mw*2+mM>=this.cw && _x<mM)_x=mM;}a.x=_x;
this.box(i,w,h);}else{if(a.ps!=='W'){if(b&&df){b.style.width=w+"px";b.style.height=h+"px";b.style.display='block';df.style.left="0px";df.style.top="0px";df.style.width=w+"px";df.style.height=h+"px";}}else{this.box(i,w,h); if(_p.video&&!a.end&&a.player.play!==undefined){d.style.display='block';}}}}_p.vi=true;if(!_p.l&&a.p!==0){this.pp[i].l=true; this.fill(i);}}else{_p.vi=false;if(d)d.style.display='none';if(oB)oB.style.display='none';}

}}

if(this.qs!==''&&this.lf===0){this.lf++;this.qs+="&tp="+this.sln+"";this.qs_=this.qs;this.inject();} 
this.sln=0;this.qs='';if(this.lstn!==0)this.cn_++;

setTimeout(function(){_this.board();},1);},
di:0,
d:function(e){var d=top.document.getElementById(e);return d;},box:function(i,w_,h_){var a=this.ad[i],d=this.d("LW_Ai"+i)||this.d("Liqwid_frame"+i),b=this.d("Liqwid_box"+i);if(a&&b&&d){
var w=a.mw,h=a.mh,x=a.x,y=a.y,fw=a.pp.fitWidth||0,ut=a.pp.useTop||0,fl=this.pp[i].float;
if(a.rl!==0){
w=w_;h=h_;
if(a.ps==="W"){h=this.ch*0.9;w=h*(a.mw/a.mh);if(w>this.cw*0.9){w=this.cw*0.9;h=w*(a.mh/a.mw);}x=a.w/2-w/2;y=a.h/2-h/2;}
}
if(ut!==0||fw!==0)y=0;
if(fw!==0){w=w_;h=h_;if(a.ps==='A')x=this.d("Liqwid_board"+i).offsetWidth-w;} 
if(fl==='right')x=this.d("Liqwid_board"+i).offsetWidth-w;if(fl==='left')x=0;
b.style.position="absolute";b.style.width=w+"px";b.style.height=h+"px";d.style.width=w+"px";d.style.height=h+"px";b.style.left=x+"px";b.style.top=y+"px"; b.style.display='block';}},
cwl:function(i){var a=this.ad[i];if(a){a.end=true;if(typeof a.pp.blur!=='undefined'){var bl=top.document.querySelector(a.pp.blur);if(bl)bl.classList.remove("Liqwid_"+i+"blur");}}
var d=this.d('Liqwid_board'+i),b=this.d('Liqwid_bg');if(b)b.style.display='none';if(d){d.classList.add('Liqwid_'+i+'min');setTimeout(function(){d.style.display='none'},250);}this.lmt++;
},
player:{},webm:function(i){var a=this.ad[i];if(a){if(i<5){_p.s=0;this.wp.x='c';if(_p.video&&!a.end&&a.player.play!==undefined&&a.pa==0&&a.pl==0){a.pl=1;a.player.play();}}}},
stl:function(i){var L='Liqwid_',d=this.d(L+'styles'),a=this.ad[i];if(d&&a){
var at=a.pp.anySec||'0.4',t0=at+'s ease-in-out 1 forwards;',t1='fi '+t0, t2='out '+t0, t5='mx '+t0, t7='mn '+t0,t3='fi {from{opacity:0;}to{opacity:1;}}',t4='out {from{opacity:1;}to{opacity:0;}}',t6='mx {from{height:1px;opacity:0;}to{height:'+a.h+'px;opacity:1;}}',t8='mn {from{height:'+a.h+'px;opacity:1;}to{height:1px;opacity:0;}}';L+=i; d.innerHTML+='<style>.'+L+'blur {-webkit-filter:blur(0.5em);-moz-filter:blur(0.5em);-ms-filter:blur(0.5em);-o-filter:blur(0.5em);filter: blur(0.5em);} .'+L+'fadein {-webkit-animation:'+L+t1+'-moz-animation:'+L+t1+'-ms-animation:'+L+t1+'-o-animation:'+L+t1+'animation:'+L+t1+'} @keyframes '+L+t3+' @-moz-keyframes '+L+t3+' @-webkit-keyframes '+L+t3+' @-ms-keyframes '+L+t3+' @-o-keyframes '+L+t3+' .'+L+'fadeout {-webkit-animation:'+L+t2+'-moz-animation:'+L+t2+'-ms-animation:'+L+t2+'-o-animation:'+L+t2+'animation:'+L+t2+'} @keyframes '+L+t4+' @-moz-keyframes '+L+t4+' @-webkit-keyframes '+L+t4+' @-ms-keyframes '+L+t4+' @-o-keyframes '+L+t4+' .'+L+'max {-webkit-animation:'+L+t5+'-moz-animation:'+L+t5+'-ms-animation:'+L+t5+'-o-animation:'+L+t5+'animation:'+L+t5+'} @keyframes '+L+t6+' @-moz-keyframes '+L+t6+' @-webkit-keyframes '+L+t6+' @-ms-keyframes '+L+t6+' @-o-keyframes '+L+t6+' .'+L+'min {-webkit-animation:'+L+t7+'-moz-animation:'+L+t7+'-ms-animation:'+L+t7+'-o-animation:'+L+t7+'animation:'+L+t7+'} @keyframes '+L+t8+' @-moz-keyframes '+L+t8+' @-webkit-keyframes '+L+t8+' @-ms-keyframes '+L+t8+' @-o-keyframes '+L+t8+' .Liqwid_btn {display:none;position:relative; font-size:xx-small;left:0;top:1px;width:70px;} .Liqwid_save {cursor:pointer;zIndex:10;padding:1px 1px 1px 3px;letter-spacing:1px;color:#111;height:17px;width:100%;} .Liqwid_save:hover {background:#DDD;} .Liqwid_close {position:fixed; z-index:'+this.com.z()+';font-size:x-small;color:rgba(250,250,250,0.6); text-align:center; background:transparent;width:100px;right:20px;top:20px;cursor:pointer;} .Liqwid_close:hover {background:#000;} .Liqwid_close'+i+' {display:block;position:absolute;cursor:pointer;opacity:0.9;} .Liqwid_close'+i+':hover{opacity:1;} .Liqwid_close'+i+':active{opacity:0.7;}</style>';}},max_box_id:0,
pp:[],
_:function(a,b){var c=b;if(typeof a!=='undefined') c=a;return c;},
df:function(i) {var _=this._,p=this.ad[i].pp;this.pp[i]= {
l:null,j:null,prog:false,r:0,s:0,vs:0,vi:false,q:'',b:i,g:this.com.guid(),end:false,video:_(p.video,null),print:_(p.print,false),
cn:0,vc:0,
cf:null,
caption:_(p.caption,null),
uI:_(p.userInit,null),
vP:null,
moat:_(p.moat,null),
qs:_(p.qs,'body'),anc:_(p.anc,null),
il:_(p.inListing,null),
ah:_(p.adhesiveFor,null),
ce:_(p.cloneEvery,0),
fr:_(p.firstNode,-1),
pS:_(p.parentSize,null),
it:_(p.it,0),
pt:_(p.pt,'relative'),
useRail:_(p.useRail,0),
useSlot:_(p.useSlot,1),
onOpen:_(p.onOpen,null),
uE:_(p.useElement,'div'),
mobile:_(p.mobile,0),
nodeNum:_(p.nodeNum,0),
lastNode:_(p.lastNode,0),
avoidNode:_(p.avoidNode,''),
blw:_(p.watchNodeBelow,null),
va:_(p.va,''),
outsideAds:_(p.outsideAds,0),
nS:_(p.noSize,null),
minClientWidth:_(p.minClientWidth,0),
addClass:_(p.addClass,null),
boxAddClass:_(p.boxAddClass,null),
reqContent:_(p.requiredContent,''),
mlnr:_(p.minListNumRec,null),
nnr:_(p.nextNodeRotation,null),
vA:_(p.verticalAlign,null),
reqSize:_(p.requiredSize,null),
maxWidth:_(p.maxWidth,''),
position:_(p.position,''),
opacity:_(p.opacity,0),
top:_(p.top,0),btm:_(p.bottom,0),
left:_(p.left,0),
width:_(p.width,'1px'),
height:_(p.height,'1px'),
background:_(p.background,''),
oB:_(p.overlayBackground,null),
oF:_(p.overlayFilter,null),
oT:_(p.overlayTop,0),
bdr:_(p.border||''),
float:_(p.float,''),
margin:_(p.margin,''),
pG:_(p.padding,''),
aM:_(p.adMargin,'0 auto'),
vis:_(p.vis,0.8),
mb:_(p.mb,0),
mt:_(p.mt,0),
blh:_(p.blh,''),
bl:_(p.bl,''),
blS:_(p.blS,null),
bla:null,
anyIn:_(p.anyIn,"fadein"),
anyOut:_(p.anyOut,"fadeout"),
pdl:_(p.pushDownLimit,0),
nn:_(p.nodeNumber,null),
mcW:_(p.maxClientWidth,0),
mmW:_(p.minClientWidth,0),
wN:_(p.widthNode,''),
_tM:_(p.minTopEdge,0),
cloned:_(p.cloned,null),
iL:_(p.infiniteLoad,null),
u:top.location.href,
sA:_(p.scrollableAfter,0),
sS:_(p.scrollableAfterScroll,0),
cln:_(p.cloneOnScroll,null),
cla:_(p.cloneAfter,0),
cmn:_(p.clonesMaxNum,0),
sL:_(p.scrollLog,0),
aS:_(p.cloneID,null),
ia:_(p.inventoryAnalyzer,null),
fw:_(p.fitWidth,0),
pm:_(p.pageMargin,null),
cB:_(p.jumpingBlock,null),
pW:_(p.pageWidth,null),
tMp:_(p.topEdgeMargin,0),
tMn:_(p.topEdgeNode,''),
tMh:_(p.useEdgeNodeHeight,0),
bMn:_(p.bottomEdgeNode,''),
lE:_(p.leftEdgeNode,null),
rE:_(p.rightEdgeNode,null),
ctN:_(p.centerToNode,''),
sos:_(p.showOnScroll,0),
hos:_(p.hideOnScroll,0),
hon:_(p.hideOnNode,null),
pot:_(p.setNodeLevel,null),
close:_(p.close,null),
ut:_(p.useTop,null),
setPage:_(p.setPage,''),
sPtW:_(p.setPageToWidth,''),
sPMW:_(p.setPageMaxWidth,0),
pMW:_(p.pageMaxWidth,0),
pWN:_(p.pageWidthNode,null),
pmW:_(p.pageMinWidth,0),
mM:_(p.minMargin,0),
cS:_(p.colSpan,null),
bSh:_(p.boxShadow,''),
zi:_(p.zIndex,this.com.z()),
save:_(p.save,null),
pwF:_(p.playWhen,'fixed'),
voH:_(p.volumeOnHover,null),
sM:_(p.startMuted,true),
aP:_(p.autoPlay,false),
vTrack:[],
vT:[],
aT:[],tS:_(p.trackSec,0),
cSn:_(p.clientSideNode,null)
};

},
add:function(i,m,s){var a=this.ad[i];if(!a)return;if(typeof a.pp.delay!=='undefined'&&!s){setTimeout(function(){Liqwid.add(i,m,1);}, a.pp.delay);return;}if(i>this.i)this.i=i; if(top.Liqwid.max_box_id===0)top.Liqwid.max_box_id=m;var _d,d_,an_,zi=-100,gpt=null,L='Liqwid_',id_=L+'board'+i,p=a.pp;
this.df(i);var _p=this.pp[i],qs=_p.qs,it=_p.it,r_=_p.useRail,s_=_p.useSlot,mob=_p.mobile,mlnr=_p.mlnr,pWN=_p.pWN,nn=_p.nn,pos_=_p.pt,ln=_p.lastNode,op=_p.opacity,tp=_p.top,an=_p.avoidNode,bg=_p.background,va=_p.va,fl=_p.float,cN=_p.addClass,cnf=_p.reqContent,cns=_p.reqSize,W=_p.width,H=_p.height,mW=_p.maxWidth,ots=_p.outsideAds,mn=_p.margin||'',mcw=_p.minClientWidth;a.w=a.mw;a.h=a.mh;
if(a.rl!==0)this.ad[i].fs=0;
if(a.video!==0){
this.ad[i].video=1;
_p.vT[i]=0;
if(typeof a.vTr!=="undefined")_p.vTrack=a.vTr;
}_p.aT[i]=0;if(top.location.href.indexOf('rollcall.com')>-1&&!_p.prog)_p.tS=1;
 
if((this.mob&&mob===-1)||(mob===1&&!this.mob)||(mcw>0 && this.cw<mcw)||(ots!==0&&((this.ad[0].p!==0||this.ad[1].p!==0)&&(this.ad[0].prog||this.ad[1].prog)))) return;
if(pWN){var _pWN=top.document.querySelector(pWN[0]);if(!_pWN||_pWN.offsetWidth>pWN[1]) return;}
if(an!==''&&a.ps==='H'){
an_=document.querySelectorAll("[id*='"+an+"']");for(var l=0;l<an_.length;l++){if(an_[l] && an_[l].offsetHeight>0)return;}}
if(a.ht!==''||a.cc!==''){if(qs.match(/|/)){var _anc=qs.split('|');for (j=0;j<_anc.length;j++){_anc[j]=_anc[j].trim();if(top.document.querySelector(_anc[j])){qs=_anc[j]; break;}}} 
if(qs==='#div-gpt-ad'||it===4){var dfp_slot=this.d(a.gpt)||window.frameElement;if (!dfp_slot)return; if(a.gpt==='')a.gpt=dfp_slot.getAttribute("id");var f=this.d(a.gpt),fw=parseInt(f.width),fh=parseInt(f.height); if(!window.frameElement||(fw===a.mw&&fh===a.mh)){if (top.Liqwid.ad[i].i>0) {top.Liqwid.max_box_id++;this.ad[top.Liqwid.max_box_id]=this.ad[i];top.Liqwid.ad[top.Liqwid.max_box_id]=this.ad[i];
top.Liqwid.ad[top.Liqwid.max_box_id].i=0; return this.add(top.Liqwid.max_box_id,0);} it=0;var ff=top.document.createElement('iframe');ff.id="Liqwid_ad"+i; if(window.frameElement){gpt=this.d(a.gpt).parentNode;window.document.body.appendChild(ff);} else {gpt=this.d(a.gpt);var w=gpt.contentDocument||gpt.contentWindow.document;if(w) w.open();w.write('<!DOCTYPE html><html><head><body></body>');w.close(); w.body.appendChild(ff);} ff.setAttribute("width",a.w);ff.setAttribute("height",a.h);ff.setAttribute("frameborder",0);ff.setAttribute("marginwidth", 0);ff.setAttribute("vspace",0);ff.setAttribute("hspace",0);ff.setAttribute("allowtransparency",true);ff.setAttribute("scrolling","no");ff.style.position='absolute';ff.style.left='0';ff.style.top='0'; top.Liqwid.ad[i].i++; top.Liqwid.ad[i].gpt=a.gpt; top.Liqwid.ad[i].dfp=true;a.dfp=true;}else{return;}}var ancs=top.document.querySelectorAll(qs); anc=_p.anc||gpt||ancs[0];
if(!_p.anc&&(_p.ce>0||_p.il||nn||ln!==0||cns)){
if(ancs&&!gpt){
var rn=ancs.length,tn='',cen=0,cen_=0,row,cell,cS;if(ancs[0])tn=ancs[0].tagName.toUpperCase();
if(ln!==0&rn>0)nn=rn-1;
if(tn==='TABLE'){
rn=ancs[0].rows.length;
if(ln!==0&rn>0)nn=rn;
for (l=0;l<ancs[0].rows.length;l++){
cen_=ancs[0].rows[l].cells.length;
if(cen_>cen)cen=cen_;
} cS=_p.cS||cen;
if(nn){row=ancs[0].insertRow(nn);row.id="Liqwid_row"+i;row.style.visibility='hidden';cell=row.insertCell(0);cell.colSpan=cS.toFixed();}
}
if(cns){
for (var n=0;n<ancs.length;n++){
//console.log('n ' + n + ' w ' + ancs[n].offsetWidth+ ' h ' + ancs[n].offsetHeight) ;
if(ancs[n]&&((!cns[0]||ancs[n].offsetWidth>cns[0])&&(!cns[1]||ancs[n].offsetHeight>cns[1]))){
if(n>=nn){nn=n;break;}}}
} 
if(nn) {
anc=cell||ancs[nn];
} else {if(_p.cmn>30) _p.cmn=30;
if(_p.ce>0&&rn>_p.ce&&(!mlnr||rn>=mlnr)){var clnNum=parseInt(rn/_p.ce),fr=0,n_=0,_c=0,c_=0,cr=false;if(_p.cmn>0&&clnNum>_p.cmn)clnNum=_p.cmn; this.cln=clnNum;
for(var c=0;c<clnNum+1;c++){
if(!cr){cr=true;if(_p.fr>-1)n_=_p.fr;}else{if(_p.fr<0)_p.fr=0;c_++;n_=_p.fr+_p.ce*c_;}
if(tn==='TABLE'){if(n_<=rn){row=ancs[0].insertRow(n_);row.id="Liqwid_row"+(i+c);row.style.visibility='hidden';cell=row.insertCell(0),cS=_p.cS||cen;cell.colSpan=cS.toFixed();this.ad[i+c]=this.ad[i];this.ad[i+c].pp.anc=row.cells[0];this.add(i+c,i+c);
}}else{this.ancs=rn;var cl_=ancs[n_],skp=false;if(cl_){
if (cns) {
if(ancs[n_]&&((!cns[0]||ancs[n_].offsetWidth>cns[0])&&(!cns[1]||ancs[n_].offsetHeight>cns[1]))){skp=false;_c++;}else{skp=true;}}else{_c++;}if(!skp){this.cln=i;this.ad[i+_c]=this.ad[i];this.ad[i+_c].pp.anc=cl_;this.add(i+_c,i+_c);}}}} return;}}} 
} // nn
if(!anc||(typeof rn!=='undefind'&&mlnr&&rn<mlnr))return; 

if(cnf!==''){if(!anc.innerHTML.match(cnf))return;}var b=top.document.body,el_=this.d(id_);el=el_||top.document.createElement(_p.uE);el.id=id_;if(va==='m'&&s_!==0){d_=this.d('Liqwid_slot'+i);if(!d_){d_=document.createElement("div");d_.id='Liqwid_slot'+i;d_.style.position=pos_;if(fl!=='')d_.style.float=fl;if(top)d_.style.top=tp+'px';d_.style.overflow='visible';if(mn!=='')d_.style.margin=mn; d_.style.width=a.mw+'px';d_.appendChild(el);

}
el=d_;if(r_){_d=this.d('Liqwid_rail');if(!_d){_d=document.createElement("div");_d.id='Liqwid_rail';_d.style.position='absolute';anc.appendChild(_d);_d.style.width=a.mw+'px';_d.style.height='0';
 
_d.appendChild(el);el=_d;}}}if(cN){if(_d){for(n=0;n<cN.length;n++)_d.classList.add(cN[n]);}else if(d_){for(n=0;n<cN.length;n++)d_.classList.add(cN[n]);}else{for(n=0;n<cN.length;n++)el.classList.add(cN[n]);}} 
if(mW!=='')el.style.maxWidth=mW;if(bg!=='')el.style.background=bg;if(!_d){if(qs==='body'||it===4)it=3;try{if(it===1){anc.insertBefore(el,anc.firstChild);}else if(it===2){anc.parentNode.insertBefore(el,anc.nextSibling);}else if(it===3){anc.appendChild(el);}else{anc.parentNode.insertBefore(el,anc);}}catch(e){anc.appendChild(el);}}else{if(_d!==el)_d.appendChild(el);}

if(a.ps==='W'){el.style.position="fixed";el.style.top='0px';el.style.left='0px';}if(b&&!this.d(L+'styles')){var s=top.document.createElement('div');s.id=L+'styles';b.appendChild(s);}this.stl(i); 
if(i>4){if(a.rl!==0&&el.parentNode){a.w=el.parentNode.offsetWidth;if(a.w>0)a.h=parseInt(a.w*(a.mh/a.mw));}}}},ap:0,fill_:0,
vidCont:function(i){var a=this.ad[i],_p=this.pp[i],d=this.d('Liqwid_board'+i),b=this.d('Liqwid_box'+i),f=this.d('Liqwid_frame'+i);if(d&&b&&f){var w=d.offsetWidth,h=parseInt(w*0.65);
f.style.width=w+'px';f.style.height=h+'px';b.style.width=w+'px';b.style.height=h+'px';b.style.overflow='visible';}},
vLsn:function(i){return;
var vdb=document.querySelector("div[id='Liqwid_board"+i+"'] div[id*='vdb-']"),a=this.ad[i];
if(vdb) {a.r=1;
document.getElementById("Liqwid_board2").style.zIndex=100000;
return;
}
setTimeout(function(){Liqwid.vLsn(i);},100);
},
fillSlot:function(p,f){if(f!==''){for(i=5;i<this.max_box_id+1;i++){var a=this.ad[i];if(a){a.gpt=f;if(a.p==p||a.e===p){this.add(i,top.Liqwid.max_box_id);break;}}}}},
fill:function(i){var a=this.ad[i],_p=this.pp[i],d=this.d('Liqwid_board'+i);if(a&&d&&a.ht!==''){var ia=this.pp[i].ia;this.ad[i].l=true;for(var n=0;n<this.i;n++){var a_=this.ad[n];if(a_){if(a_.ps==='A')this.ap=a_.p;}}if(typeof a.rtb.c[0]!=='undefined'){this.pp[i].prog=true;this.rtb_call(i,a.rtb.c[0],0);}else{if(!ia)d.innerHTML=a.ht;if(a.tc>4&&a.cc!=='')this.ff(i,a.cc,'',1);this.ad[i].r=1;}if(a.tt!=='')this.ff(i,a.tt,'t',0);if(this.fill_!==1){this.fill_=1; this.timer();}}},rtb_call:function(i,t,n){var a=this.ad[i];if(a){if(t==='')return;this.pp[i].j=null; this.ad[i].r=n;this.ad[i].rtb.n=a.rtb.m[n]||'X';this.ad[i].mw=a.rtb.w[n];this.ad[i].mh=a.rtb.h[n];this.rtb_flag=true;var c="<!DOCTYPE html><html><head><title>LIQWID Ads</title><!-- Call #"+n+"-"+a.rtb.n+" --><scr"+"ipt type='text/javascript'>if (typeof LIQWID_SLOT==='undefined'){var LIQWID_SLOT="+i+",LPB=0;}else{LIQWID_SLOT="+i+";LPB=0;}";if (a.rtb.n!=='X') {this.ad[i].req.n=a.rtb.n;this.ad[i].req.w=a.mw;this.ad[i].req.h=a.mh;if (a.rtb.n!=='B'){c+="var Liqwid_n=0,Liqwid_dom=(function(){var _m=window.MutationObserver||window.WebKitMutationObserver,eL=window.addEventListener; return function(obj,callback){if(_m){var obs=new _m(function(m,o){if( m[0].addedNodes.length||m[0].removedNodes.length)callback();});obs.observe(obj,{childList:true,subtree:true});}else if(eL){obj.addEventListener('DOMNodeInserted',callback,false);obj.addEventListener('DOMNodeRemoved',callback,false);}}})();Liqwid_dom(document,function(){top.Liqwid.check_ad("+i+","+n+",++Liqwid_n);}); ";}else{this.pp[i].cf=1;this.ss(i);}}else{var pq=a.rtb.pq.split(',');for(j=0;j<pq.length;j++){if(pq[j]!==''&&t.match(pq[j]))return;}}c+="</scr"+"ipt><style type='text/css'>body {margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;padding:0;}</style></head><body>"+t+"</body></html>"; this.ad[i].cc=c;this.ff(i,c,'',n);}},ff:function(i,c,t,n){var d=this.d('Liqwid_board'+i),a=this.ad[i],_p=this.pp[i],_f='',f,t_;if(a&&d){ 
if(a.gpt===''||t!==''){if(t===''){
_f='<iframe id="Liqwid_frame'+i+'" src="about:blank" frameborder="0" marginwidth="0" marginheight="0" vspace="0" hspace="0" allowtransparency="true" scrolling="no" style="';
if(_p.video&&_p.video[0]===1){
_f+='width:100%;height:'+parseInt(d.offsetWidth*0.65)+'px;';
}else{
_f+='width:'+a.mw+'px;height:'+a.mh+'px;';
}
_f+='"></iframe>'; 
if(a.tt!=='')_f+='<iframe id="Liqwid_framet'+i+'" src="about:blank" width="1" height="1" frameborder="0"  scrolling="no" style="display:none;"></iframe>';
t_='<div id="Liqwid_box'+i+'" style="';if(_p.video&&_p.video[0]===1){d.style.width='100%';t_+='width:100%;'; 
if(a.rtb.m[this.pp[i].cn]==='T')t_+='height:1px;overflow:hidden;';
} else{t_+='display:none;';} t_+='">'+_f;

t_+='</div>';d.innerHTML=t_;}f=this.d('Liqwid_frame'+t+i);} else {var gf=this.d(top.Liqwid.ad[i].gpt);if(gf){var fd=gf.contentDocument||gf.contentWindow.document;f=fd.getElementById('Liqwid_ad'+i);}}
if(top.location.href.indexOf('rollcall.com')>-1&&!_p.prog)_p.moat='rollcallliqwid346184439380'; 
if (_p.moat) c+='<scr'+'ipt src="https://z.moatads.com/'+_p.moat+'/moatad.js#moatClientLevel1='+a.cd+'&moatClientLevel2='+a.p+'&moatClientLevel3='+a.pt+'&moatClientLevel4='+a.ci+'"></scr'+'ipt>';
if(f&&!this.pp[i].ia){var f_=f.contentDocument||f.contentWindow.document;if(f_){f_.open();f_.write(this.com.rnl(c.replace(/LIQWID_slot_id_macro/g,i.toFixed())));f_.close();
}}  
if(this.pp[i].ia||!this.pp[i].prog){this.ss(i);}
}},
check_ad:function(i,n,r){  
var a=this.ad[i],t,f=Liqwid.d('Liqwid_frame'+i),d,f_,fw_=0,_=this._,_n=_(a.rtb.n,null);
if(a&&f){
if(a.ps==='W' && a.pp.video && a.rtb.n==='A' &&i===2)this.vLsn(i);

if(_n!=='G'&&r<2)return;
if (typeof a.rtb==='undefined'||!_n||this.pp[i].cf||this.pp[i].cn!==n||a.p===0)return;
d=f.contentDocument||f.contentWindow.document;
if(d){
t=d.body.outerHTML;if(!t||t===''||a.rtb.n==='T') return;
if(a.rtb.n==='I') { 

f_=d.getElementsByTagName("iframe");if(f_.length<1) {
if(!t.match(/!-- cmc /)) return;
 }
if(!t.match(/!-- cmc /)) {
d.body.innerHTML='';
return this.demand('I',false,i);
}
} else if (a.rtb.n==='C') {

if (!t.match(/cto_iframe/)&&!t.match(/cto_banner_content/)) return; 
f_=d.getElementsByTagName("iframe");
for (j=0;j<f_.length;j++){
if(f_[j].offsetWidth>=a.mw &&f_[j].offsetHeight>=a.mh){
var df=f_[j].contentDocument||f_[j].contentWindow.document,b_=df.body.outerHTML; 
var af=df.getElementsByTagName("iframe"),ab_='',dfa;
for (a=0;a<af.length;a++){
dfa=af[a].contentDocument||af[a].contentWindow.document;ab_=dfa.body.outerHTML; if(ab_.match(/Liqwid.demand/)) return;
if((top.location.href.indexOf('beyond.com')>-1 && (ab_.match(/Member 831/) || ab_.match(/MOAB 34628/))) || ab_.match(/staticbanners/)) return this.demand('C',false,i); 
}}}
} else if (a.rtb.n==='O') {

f_=d.querySelectorAll('iframe[id*="ox_"]');
if(!f_||f_.length<1||r<4) return;
for (var j=0;j<f_.length;j++){ 
var tf,_tf=f_[j].contentDocument||f_[j].contentWindow.document;if(_tf){tf=_tf.body.outerHTML; 
if(tf.match(/LIQWID_SLOT/)) {

 return; }
}
}
} else if (a.rtb.n==='P') {
if(r<4) return;

if(t.match(/Liqwid.demand/)) return;
} else if (a.rtb.n==='R') {
if (!t.match(/ width="/)) return;
} else if (a.rtb.n==='N') {

f_=d.getElementsByTagName("iframe");if(f_.length<1) return;
for (var j=0;j<f_.length;j++){ if(f_[j].offsetWidth>=a.mw &&f_[j].offsetHeight>=a.mh)fw_++;}
if (fw_===0) return;
} else if (a.rtb.n==='A') {

f_=d.getElementsByTagName("iframe");if(f_.length<1) return;
for (var j=0;j<f_.length;j++){ if(f_[j].offsetWidth>=a.mw &&f_[j].offsetHeight>=a.mh)fw_++;}
if (fw_===0) return;
}
if (!this.pp[i].cf){

this.pp[i].cf=1;this.ss(i);}
}
return;}
},
ss:function(i){var a=this.ad[i],d=this.d('Liqwid_board'+i),b=this.d('Liqwid_box'+i),f=this.d('Liqwid_frame'+i),s=this.d('Liqwid_slot'+i),row=this.d('Liqwid_row'+i),_=this._,_p=this.pp[i],cl=_p.close,cb=a.pp.closeBtn||null,s_=null; this.pp[i].scrollLog=this.com.ts();
if(a&&b&&d){ 
 
if(this.pp[i].j|| a.p===0)return;this.pp[i].j=1;this.ad[i].r=1;if(_p.prog)this.ad[i].rtb.r=true;
if(_p.prog||((a.ps!=='A'&&a.ps!=='B')||((a.ps==='B'&&this.ap===0)||(a.ps!=='B'||(this.ap!==0&&a.p!==this.ap))))){
this._vq(i); 
}
var s_in=a.pp.any||'fadein', zi=a.pp.zIndex||this.com.z(),cNb=_p.boxAddClass,rt=a.pp.rt||0,lt=a.pp.lt||0,tp=a.pp.t||0,bm=a.pp.bm||0,mt=a.pp.mt||a.pp.marginTop||0,mB=a.pp.marginBottom||0,wex=a.pp.wex||0,hex=a.pp.hex||0,sc=a.pp.subScroll||null,di=a.pp.display||'block',px=a.pp.pixel||0,fd=a.pp.footer||'',fh=a.pp.addFooterHeight||0,fbg=a.pp.footerBackground||'',W='auto'||a.w+'px',H='auto'||a.h+'px',bM=_p.margin,aM=_p.aM,pG=_p.padding,fo=null,fh_=null;
if(_p.nnr&&d.nextSibling){d.nextSibling.classList.add('Liqwid_'+i+'fadeout');}
if(cNb){for(var n=0;n<cN.length;n++) b.classList.add(cN[n]);}
if (s_in==='scrollInUp') s_in='mx';
s_in=i+s_in;
//if(a.ps==='H'&&this.mob)d.style.bottom='0';
if(a.rl!==0&&d.parentNode){
a.w=d.parentNode.offsetWidth;a.h=parseInt(a.w*(a.mh/a.mw));
} else {a.w=(a.mw+wex);a.h=(a.mh+hex);
} 

if(_p.caption && _p.caption[0].length>0) {
var c=document.createElement("div");c.innerHTML=_p.caption[0];c.style.textAlign='center';c.style.width=_(_p.caption[2]||(_p.caption[0].length*7)+'px');c.style.padding=_(_p.caption[3]||'1px 6px 1px 6px');c.style.fontSize=_(_p.caption[5]||"9px");c.style.fontFamily=_(_p.caption[6]||"Gotham, 'Helvetica Neue', Helvetica, Arial, sans-serif");c.style.color=_(_p.caption[7]||'auto');c.style.background=_(_p.caption[8]||'transparent');
if(_p.caption[1]===1){
c.style.position='absolute';c.style.borderBottomRightRadius="30px";c.style.background='#ececec';c.style.left='0';c.style.top='0';b.appendChild(c);
} else if(_p.caption[1]===2){
c.style.position='relative';c.style.margin=_(_p.caption[4]||'10px auto 10px');d.parentNode.insertBefore(c,d);
} else if(_p.caption[1]===3){
c.style.position='relative';c.style.margin=_(_p.caption[4]||'10px auto 10px');d.appendChild(c);
} else if(_p.caption[1]===4){
c.style.position='absolute';c.style.left='0';c.style.top=(a.mh+10)+'px';b.appendChild(c);
}
}

if(_p.uI) {
var pb=document.createElement("div");pb.style.cursor='pointer';pb.id='Liqwid_pb'+i;
pb.style.width="100%";pb.style.height="100%";pb.style.position='absolute';pb.style.left='0';pb.style.top='0';pb.style.background='transparent';pb.style.zIndex=100;
pb.innerHTML='<div style="width:106px;height:106px;position:relative;left:50%;top:50%;transform:translateX(-50%) translateY(-50%);opacity:0.7;">'
+'<svg version="1.1" id="Layer_1" x="0px" y="0px" viewBox="0 0 200 200" style="enable-background:new 0 0 200 200;" xml:space="preserve"><style type="text/css">'
+' .st0{fill:rgba(1,20,17,0.2);stroke:#02B79E;stroke-width:4;} .st1{fill:#02B79E;stroke:#0EAA4B;stroke-miterlimit:10;}</style><circle class="st0" cx="100" cy="100" r="90"/><polygon class="st1" points="70,55 70,145 145,100 "/></svg></div>';
b.appendChild(pb);
pb.addEventListener('click',function(){var p=Liqwid.ad[i].player;if(typeof p!=='undefined'&&p.play){p.currentTime(0);p.play();Liqwid.pp[i].vP=1;}document.getElementById("Liqwid_pb"+i).style.display='none';},false);
}
if(_p.oB){var oB=document.createElement("div");oB.id="Liqwid_bg"+i;oB.style.background=_p.oB;if(_p.oF)oB.style.webkitFilter=_p.oF;top.document.body.appendChild(oB);
oB.classList.add("Liqwid_"+s_in);}
if(fd!=='')fo=top.document.querySelector(fd);
if(fo&&fh!==0&&!this.d('Liqwid_fex')){fh_=document.createElement("div");fh_.id='Liqwid_fex';fh_.style.width='100%';fh_.style.height=fh+'px';if(fbg)fh_.style.background=fbg;fo.appendChild(fh_);}
if(px!==0){a.w=px;a.mw=px,a.h=px;a.mh=px;}
if (di!=='')d.style.display=di;d.style.zIndex=zi;
if (a.gpt==='') {
if(s&&mt!==0&&mt!==''){s.style.marginTop=mt.replace('px','')+'px';}if(mB!==''&&mB!==0) {if(s){s.style.marginBottom=mB;}else{d.style.marginBottom=mB;}}if(bM!==''){if(s){s.style.margin=bM;}else{d.style.margin=bM;}} if(pG!==''){if(s){s.style.padding=pG;}else{d.style.padding=pG;}} 
if(a.ps==='I'){
if(_p.bdr!==''){d.style.border=_p.bdr;W=(a.mw+2)+'px';H=(a.mh+2)+'px';}
if(!this.pp[i].nS){
if(_p.vA){ d.style.top=_p.vA+'%'; d.style.transform='translateY(-'+_p.vA+'%)'; if(d&&d.nextSibling && d.nextSibling.offsetWidth<340)b.style.marginLeft='-19px';}
d.style.width=W;d.style.height=H;
b.style.width=a.w+'px';b.style.height=a.h+'px';} b.style.display='block'; if(row)row.style.visibility='visible'; 
}  
if(aM!=='')b.style.margin=aM;
if(f){f.style.width=a.w+'px';f.style.height=a.h+'px';}
if (di!=='none' && px===0) {
//this.pp[i].vc=1;
d.classList.add("Liqwid_"+s_in);s_=this.d('Liqwid_save'+i);if(s_)s_.style.display='block';
}
} 
if(cl&&a.mw>1){if(!cb){var W=null;if(a.ps==='H'||a.ps==='I'||a.ps==='A')cb=[32,-12,-8,null,null]; if(a.ps==='G')cb=[32,null,-8,-12,null];if(a.ps==='B')cb=[32,-8,null,null,-12];
if(a.ps==='W'){W=1,cb=[40,-34,-10,null,null];}}this.closebtn(i,b,cb[0],cb[1],cb[2],cb[3],cb[4],W);}
if(sc)this.com.ms(d,sc,i);
if(_p.pS&&d.parentNode){var pn=d.parentNode;if(_p.pS[0]===1)pn=d.parentNode.parentNode;if(_p.pS[1])pn.style.width=_p.pS[1]+'px';if(_p.pS[2])pn.style.height=_p.pS[2]+'px';}
/*
if(a.ps==='G'||a.ps==='H'){
setTimeout(function(){
var e = document.getElementsByTagName("*");for (var i=0;i<e.length;i++){if(Liqwid.com.fp(e[i]).t+e[i].offsetHeight>Liqwid.com.fp(d).t&&Liqwid.com.fp(e[i]).l+e[i].offsetWidth>Liqwid.com.fp(d).l&&parseInt(top.document.defaultView.getComputedStyle(e[i],null).getPropertyValue("z-index"))>zi){e[i].style.display='none';break;}}
},1000);}
*/
if(_p.bl==='auto') {
var bl = document.getElementsByTagName("div"),al=this.com.fp(d).l,at=this.com.fp(d).t+a.mh,bt=0,bt_=1000000;for (var o=0;o<bl.length;o++){
bt=this.com.fp(bl[o]).t;
if(bt>0&&bt>at&&this.com.fp(bl[o]).l+bl[o].offsetWidth>al){
if(bt<bt_) {
bt_=bt;
this.pp[i].bla=bl[o];
}
}}
}
}
},stopW:false,
closebtn:function(i,e,s,t,r,b,l,w){var c=document.createElement("div"),x='';c.id="Liqwid_close"+i;c.classList.add('Liqwid_close'+i);c.style.opacity=0;if(t)c.style.top=t+'px';if(r)c.style.right=r+'px';if(b)c.style.bottom=b+'px';if(l)c.style.left=l+'px';if(w){x="<div id='Liqwid_captions"+i+"' style='color:#AAA;font: 10px arial, sans-serif; background:#222;padding:4px; margin:"+parseInt(s/4)+"px -4px 0 0; float:left; width:100px;'></div>";}x+='<div style="width:'+s+'px; float:right;"><svg viewBox="0 0 32 32"><circle style="stroke:rgba(157,194,250,0.7);stroke-width:2;fill:transparent;" cx="16" cy="16.3" r="15"/><circle style="fill:rgba(157,194,250,0.7);stroke: rgba(86,94,126,0.8);" cx="16" cy="16.3" r="13"/><path style="fill:#FEFEFE;" d="M23.2,10.2c0.1,0.2,0.5,1.8-0.3,2.9c-1.2,1.7-3.8,0.5-7.4,1.3c-5.2,1.2-7,5.3-8.8,4.4c-1.6-0.8-1.1-4.7-1.1-5 c0.5-3.6,3.4-7,7.2-7.9C17.1,4.8,22.3,7,23.2,10.2z"/><g><line style="fill:none;stroke:#222;stroke-width:2;stroke-linecap:butt" x1="12" y1="12" x2="20" y2="20"/><line style="fill:none;stroke:#222;stroke-width:2;stroke-linecap:butt" x1="12" y1="20" x2="20" y2="12"/></g></svg></div>';c.innerHTML=x;e.appendChild(c);c.addEventListener('click',function(){Liqwid.close(i);},false);setTimeout(function(){Liqwid.d("Liqwid_close"+i).classList.add("Liqwid_"+i+"fadein"); },200);
},
demand:function(rtb,r,i){
if (rtb==='Criteo')rtb='C';if(rtb==='AOL')rtb='A';if(rtb==='Amazon')rtb='N';if(rtb==='AOL')rtb='A';if(rtb==='Index')rtb='I';if(rtb==='Tout')rtb='T';if(rtb==='PulsePoint')rtb='P';if (rtb==='OpenX'){rtb='O';this.ad[i].rtb.ox++;}
if(i===undefined || i===null){for(j=0;j<this.i;j++){var _a=this.ad[j];if(_a){if(_a.req.n===rtb&&_a.r!==1&&_a.req.w===_a.mw&&_a.req.h===_a.mh){i=j;break;}}}} 
var a=this.ad[i];if(a){a.cn++;this.pp[i].cn++;this.ad[i].s=0;this.ad[i].rtb.r=false; 

var isad=false;if(typeof a.rtb.c[this.pp[i].cn]!=='undefined'){
if((i===0 && a.rtb.r)||(i===1 &&(a.rtb.r||this.ad[0].rtb.r)))isad=true;this.i_=i;
if(a.rtb.m[this.pp[i].cn]==='B' && a.ps==='B')this.stopW=true;
if(a.rtb.m[this.pp[i].cn]!=='B'||((a.ps!=='A'&&a.ps!=='B')||(a.ps==='A'&&!isad))){
this.rtb_call(i,a.rtb.c[this.pp[i].cn],this.pp[i].cn);

}}
}},
ops:function(){
var r=0; 

return r;
},
save:function(i){var a=this.ad[i],_p=this.pp[i],t,c,f=Liqwid.d('Liqwid_frame'+i),f_,b=Liqwid.d('Liqwid_save'+i),b_='',d;
if(a){
var rtb=a.rtb.n||'',cn=this.pp[i].cn||-1,p=a.p||0,guid=_p.g||'',vg=this.vg||'';
d=f.contentDocument||f.contentWindow.document;
if(d){
b_=d.body.outerHTML;
f_=d.getElementsByTagName("iframe");
for (f=0;f<f_.length;f++){
if(f_[f].offsetWidth>=a.mw &&f_[f].offsetHeight>=a.mh){
try {
var df=f_[f].contentDocument||f_[f].contentWindow.document;
b_=df.body.outerHTML; 
var af=df.getElementsByTagName("iframe");
for (j=0;j<af.length;j++){
if(af[j].offsetWidth>=a.mw &&af[j].offsetHeight>=a.mh){
try {
var af_=af[j].contentDocument||af[j].contentWindow.document;b_=af_.body.outerHTML;
}catch(e){
//b_=2..
} 
break;
}} }catch(e){
//b_=1..
}   
break;
}}
t=this.com.rnl(b_);c="ad="+encodeURIComponent(t.replace(/</g,'&lt;').replace(/>/g,'&gt;').replace(/&#/g,'a_h'))+"&vid="+encodeURIComponent(vg)+"&g="+encodeURIComponent(guid)+'&p='+p+'&r='+rtb+'&cn='+cn ;
this.com.log('save',c);if(b)b.innerHTML='<div style="color:#111;margin-top:3px;">SAVED</div>';}}},
com:{guid:function(){var d=new Date().getTime(); return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g,function(c){var r=(d+Math.random()*16)%16| 0;d=Math.floor(d/16);return (c==='x'?r:(r&0x3|0x8)).toString(16);});},ssp:(function(s){s=s||{}; var lp,np,t,e,d=s.d||50;function c(){lp=null;e=0;}c();return function(){np=top.scrollY;if(lp){e=np-lp;}lp=np;clearTimeout(t);t=setTimeout(c,d);Liqwid.ds=e;};})(),tl:'',log:function(f,l){if(!l||l==='')return;var u='//www.liqwid.net/'+f+'/',x ;
if(top.XMLHttpRequest){x=new XMLHttpRequest();}else{x=new ActiveXObject("Microsoft.XMLHTTP");}try{if(f==='log'){u+='?'+Liqwid.q+l;x.open("post",u,true);x.setRequestHeader("Content-type", "application/x-www-form-urlencoded");x.send(l);}}catch(e){return;}},js:function(l){if(!l||l==='')return;var b=window.document.body;if(b){var s=top.document.createElement('script');s.setAttribute('type','text/javascript');s.setAttribute('async','true');s.setAttribute('src',l);b.appendChild(s);}},rnl:function(s){s=s.replace(/&backs;/g,'\\"').replace(/%27/g,"'").replace(/scr&ipt/g,'scr+ipt'); return s;},fr:function(w,d,b){var r=w?w:0;if(d&&(!r||(r>d))){r=d;}return b&&(!r||(r>b))?b:r;},sl:function(){return Liqwid.com.fr(top.pageXOffset?top.pageXOffset:0,top.document.documentElement?top.document.documentElement.scrollLeft:0,top.document.body?top.document.body.scrollLeft:0);},st:function(){return Liqwid.com.fr(top.pageYOffset?top.pageYOffset:0,top.document.documentElement?top.document.documentElement.scrollTop:0,top.document.body?top.document.body.scrollTop:0);},
qs:function(d){var q=top.location.href;q=q.substring(q.indexOf("?")+1,q.length);var v=q.split('&');for(var i=0;i<v.length;i++){var p=v[i].split('=');if(p[0]==d) return unescape(p[1]);}},  
fp:function(o){var x=0,y=0;if(o.offsetParent){do{x+=o.offsetLeft;y+=o.offsetTop;}while(o=o.offsetParent);} return {l:x,t:y};},fps:function(o){var x=0,y=0; while(o){x+=(o.offsetLeft-o.scrollLeft+o.clientLeft);y+=(o.offsetTop-o.scrollTop+o.clientTop);o=o.offsetParent;} return {l:x,t:y};},ms:function(d,o,i){if(!Liqwid.mup){setTimeout(function(){Liqwid.com.ms(d,o,i);},1);return;}var _p=Liqwid.pp[i];if(_p){if(_p.vi)Liqwid.com.bs(d,o);}},bs:function(d,o){var t_=0;if(d&&o){t_=this.fp(d).t-o[0];this.any(top,t_,o[1],o[2],1.5);}return;},any:function(e,g,s,i,p){if(e.k)top.clearInterval(e.k);var c=0;e.k=top.setInterval(function(){e.p=[Liqwid.com.ease(Liqwid.com.ts(),g,s,c,p)];top.scrollTo(0,e.p[0]);c++;if(c>s){top.clearInterval(e.k);}},i)},
ease:function(a,b,s,c,p){var r=a+(Math.pow(((0.5/s)*c),p)*(b-a));return Math.ceil(r);},isj:function(){Liqwid.flash=true;return true;}, swf:function(){Liqwid.flag++;if(Liqwid.flash&&this.flag>0){top.clearInterval(Liqwid.lso);}else{if(Liqwid.flag===200){Liqwid.rec();top.clearInterval(Liqwid.lso);}}},ie:function(){var ie=parseInt((/msie (\d+)/.exec(navigator.userAgent.toLowerCase())||[])[1]);if(isNaN(ie)){ie=parseInt((/trident\/.*; rv:(\d+)/.exec(navigator.userAgent.toLowerCase())||[])[1]);}return ie;},ref:function(){var r=top.document.referrer||'';if(r!==''){r=r.match(/:\/\/(.[^/]+)/)[1];if(!r||isNaN(r))r=''; return r;}},ts:function(){var ts=0;if(top.document.documentElement&&top.document.documentElement.scrollTop){ts=top.document.documentElement.scrollTop;}else if(top.document.body&&top.document.body.scrollTop){ts=top.document.body.scrollTop;} return ts;},wp:function(){var l=0,t=0,to=0,b=0;if(top.screenTop){l=top.screenLeft;to=top.screenTop;}else{l=top.screenX;to=top.screenY;} if(isNaN(Liqwid.com.ie())){var b=10;if(navigator.platform.match(/Mac/)){b=65;}t=(top.outerHeight-top.innerHeight+to-b);}else{t=to;}return{l:parseInt(l),t:parseInt(t)};},z:function(){var z=0,j=0,e=[];e=top.document.getElementsByTagName("*");for(var i=0;i<e.length;i++){if(e[i].currentStyle){j=parseInt(e[i].currentStyle["zIndex"]);}else if(top.getComputedStyle){j=parseInt(top.document.defaultView.getComputedStyle(e[i],null).getPropertyValue("z-index"));}if(!isNaN(j)&&j>z)z=j;}if(!z)z=16777271; return 1;},qk:function(k) {return unescape(top.location.search.replace(new RegExp("^(?:.*[&\\?]" + escape(k).replace(/[\.\+\*]/g, "\\$&") + "(?:\\=([^&]*))?)?.*$", "i"), "$1"));},td:function(n){return (n<10?'0':'')+n},vdt:function(){var d=new Date();return escape(d.getFullYear()+"-"+this.td(d.getMonth()+1)+"-"+this.td(d.getDate())+" "+this.td(d.getHours())+":"+this.td(d.getMinutes())+":"+this.td(d.getSeconds()));},sC:function(n,v,p,m){var d=new Date();if(m>0){d.setTime(d.getTime()+(m*60*1000));}else{d.setHours(24);d.setMinutes(00);d.setSeconds(00);if(p>0){d.setTime(d.getTime()+(p*24*60*60*1000));}}top.document.cookie=n+"="+v+"; expires="+d.toUTCString()+"; path=/";},gC:function(n){var r='',nq=n+"=",ca=top.document.cookie.split(';');for(var i=0;i<ca.length;i++){var c=ca[i];while(c.charAt(0)===' ')c=c.substring(1,c.length);if(c.indexOf(nq)===0){r=c.substring(nq.length,c.length);}}return r;},tz:function(){var d=new Date(),dst=0,w=new Date(d.getFullYear(),0,1,0,0,0,0),s=new Date(d.getFullYear(),6,1,0,0,0,0),t=w.toGMTString(),w_=new Date(t.substring(0,t.lastIndexOf(" ")-1)),sto=(w-w_)/(1000*60*60);t=s.toGMTString();var s_=new Date(t.substring(0,t.lastIndexOf(" ")-1)),dto=(s-s_)/(1000*60*60);if (sto!==dto){dst=1;}return (parseFloat(d.getTimezoneOffset()/60)+dst).toFixed(2);}},init:function(){if(typeof top.Liqwid==='undefined')top.Liqwid=this;this.mob=this.m();var doc=false,t=false,dom=function(){if(!doc){if(!top.document.body){return setTimeout(dom,1);} doc=true; try{Liqwid.flash=new ActiveXObject('ShockwaveFlash.ShockwaveFlash');}catch(e){Liqwid.flash=(navigator.mimeTypes&&navigator.mimeTypes["application/x-shockwave-flash"])?navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin:0;}Liqwid.vdp();}},_dom=(function(){if(top.document.addEventListener){top.document.removeEventListener("DOMContentLoaded",_dom,false);}else{top.document.detachEvent("onreadystatechange",_dom);}dom();}),sd=(function(){if(doc){return;}try{top.document.documentElement.doScroll("left");}catch(error){setTimeout(sd,1);return;}dom();});if(top.document.readyState!=="loading")dom();if(top.document.addEventListener){top.document.addEventListener("DOMContentLoaded",_dom,false);top.addEventListener("load",_dom,false);}else if(top.document.attachEvent){top.document.attachEvent("onreadystatechange",_dom);top.attachEvent("onload",_dom);try{t=top.frameElement==null;}catch(e){}if(top.document.documentElement.doScroll&&t)sd();}},
};Liqwid.init();top.LIQWID_demand=(function(rtb,r,i){Liqwid.demand(rtb,r,i);});top.LW_cl=(function(b,u,tr,m){Liqwid.click(b,u,tr,m);});

