
/******************
LIQWID Version 4.0
Copyright(C) 2010-2016, LeftsnRights Inc. All rights reserved.
*******************/

if (top.Liqwid===undefined){
var Liqwid=Liqwid||{};Liqwid={flag:0,delay:0,ld:false,rtb_flag:false,fall_flag:0,flash:false,lf:0,sln:0,i:0,i_:0,cnt:0,al:'center',pw:1200,pr:0,flip:0,fs:false,fx:false,trk:true,wait:0,lmt:0,cp:'',tx:'',fall:'',trc:0,m:/Mobile|mini|Fennec|Android|iP(ad|od|hone)/.test(navigator.appVersion),use_min:false,slot:0,wx:0,wy:0,lstn:1,sec:0,lso:null,cmc:[],run:function(){
if(!this.fs&&this.lstn!==0){for(var i=0;i<this.i;i++){var a=this.ad[i];if(a&&a.video>0){if(!a.end&&a.player.pause!==undefined&&a.pa===0&&a.pl!==0){a.pl=0;a.player.pause();}}} setTimeout(function(){Liqwid.run();},1);return;}this.qs='';this.sln=0;this.vp();if(this.fs){for(var i=0;i<this.i;i++){var a=this.ad[i];if(a){if(a.inc===0){this.board(i);}else{if(a.c==='')this._qs(i);}
if(a.c!==''&&a.c_===0){a.c_=1;this.qs+=a.c;}}}if(this.qs!==''&&this.lf===0){this.lf++;this.qs+="&tp="+this.sln+"";this.load();}}if(this.lstn!==0) setTimeout(function(){Liqwid.cn_++;Liqwid.run();},1);},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>10){sq=sq.substring(sq.indexOf(',')+1,sq.length);}this.vq=sq; 
//console.log('sq '+sq);
this.com.sC('vq',sq,7,0);if(this.mg!=0)this.com.sC('fq','1',0,this.mg);}},rt:0,Ag:'',timer:function(){if(!this.fs){setTimeout(function(){Liqwid.timer();},1);return;}var r=0,r_=0,a,q='',q_='',aq='';for(i=0;i<this.i;i++){a=this.ad[i];if(a){if(a.vi&&a.p!==0&&a.g!=''&&a.s<180&&(a.ps!=='B'||a.g!==this.Ag)){if(a.ps==='A')this.Ag=a.g;if(a.video===0){this.sec++;a.s++;}else{this.trk=false;}if(this.cnt<this.i)this.cnt++;
if(a.ps==='W'&&a.mt<a.s&&!a.vast){
//this.cwl(i);
if(a.s>0)a.s=a.mt;}var st='='+a.b+'&g'+a.b+'='+a.g+'&p'+a.b+'='+a.p+'&ps'+a.b+'='+a.ps+'&s'+a.b+'='+a.s+'&w'+a.b+'='+a.w+'&h'+a.b+'='+a.h;a.q='&b'+r+st;r++;if(a.video>0&&a.dur>0){if(a.sg===0)a.sg=parseInt(a.dur/a.vt);if(a.s===a.sg){a.tk=0;a.sg+=a.sg;}}if(a.s>0&&a.tk===0){a.q_='&b'+r_+st;r_++;}}}}
this.rt=0;
for(i=0;i<this.i;i++){a=this.ad[i];if(a&&a.q!==''){
var f='',af='';
if (a.tc===5){
if(a.rtb.r&&a.rtb.n!==''){f='&f'+a.b+'='+a.rtb.n;af='&a'+a.b+'=2';}
} else {
if (a.r) af='&a'+a.b+'=3';
}
q+=a.q+f+af;
if(a.tk===0&&a.q_!==''){a.tk=1; q_+=a.q_+f+af;}
this.rt++;

var max_time=a.pp.max_time||0, s_out=a.pp.so||"fadeout"; s_out=i+s_out;
if (max_time>0 && max_time===a.s) {
a.cn=0;a.r=false,a.l=false;a.s=0
if(a.rtb.c[a.cn]!==undefined) {
var d=this.d("Liqwid_board"+i);
if (d)  {
//if(d.className.indexOf("Liqwid_"+s_out) >-1)d.classList.remove("Liqwid_"+s_out);
d.classList.add("Liqwid_"+s_out);
}
//d.iinerHTML='';
//console.log('a.s ' + a.s);
//this.rtb_call(i,a.rtb.c[a.cn],a.cn);
}
}
}}

if(this.rt>0&&a.video===0){
this.com.tl=q+'&i='+this.rt;
//if(q_!=='')this.com.log(q_+'&i='+r_);

}

setTimeout(function(){Liqwid.timer();},1000);},txt:'',vg:'',ip:'',vl:'',vd:'',vq:'',fq:null,rec:function(){this.vg=this.com.gC('vg')||'37edd5b5-1161-48cc-8a85-c30457902dcb';this.ip=this.com.gC('ip')||'2365049098';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);this._q='key=C80C-E818-A746-7402&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=4&pq=882E0I0O0T0V;888E0I0O0T0V;889E0I0O0T0V;1615E0I0O0T0V;3948E0I0O0T0V;4096E0I0O0T0V;4143E0I0O0T0V&st=2&vip='+this.ip+'&ep=0';},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=w;this.ch=h;this.q=this._q+'&al='+this.al+'&cw='+this.cw+'&ch='+this.ch;},abord:false,_q:'',q:'',qs:'',ad:[],par:function(i,_p,_w,_h,_v,_a,_i){if(this.ad[i]===undefined){this.ad[i]={b:i,c:'',c_:0,al:_a,mg:0,tk:0,pp:{},v:_v,ps:_p,vi:false,s:0,player:{},pa:0,pl:0,end:false,sk:0,d:'',p:0,x:0,y:0,w:_w,h:_h,g:'',gl:'',vg:'',vgl:'',mw:_w,mh:_h,ms:0,mt:0,q:'',q_:'',z:0,inc:_i,dur:0,video:0,sg:0,vt:1,an:'',ct:'',cm:'',fs:0,rl:0,wl:0,t:0,cn:0,r:0,j:0,vast:false,flag:false,ht:'',tc:0,cc:'',tt:'',rtb:{c:[],w:[],h:[],t:0,l:0,f:[],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.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=true;}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=3; 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,90,v,al,0);}else{this.par(this.i,'B',90,90,v,'right',0);}}else{if(al==="left"){if(v===0){this.par(this.i,'C',90,90,v,al,0);}else{this.par(this.i,'E',90,90,v,al,0);}}else{if(v===0){this.par(this.i,'D',90,90,v,'right',0);}else{this.par(this.i,'F',90,90,v,'right',0);}}}}}this.par(this.i,'W',120,70,0,'top',0); this.par(this.i,'I',970,250,0,'left',1); var _n=this.i+5;for(n=this.i;n<_n;n++)this.par(this.i,'I',300,600,0,'left',1);this.i_=this.i;this.run();
top.addEventListener('focus',function(){Liqwid.fs=true;},false);
top.addEventListener('scroll',function(){Liqwid.fs=true;if(Liqwid.m)Liqwid.com.ssp();},false);
top.addEventListener('blur',function(){var f=top.document.activeElement.id,b,a;if(f.match(/Liqwid_frame/)){Liqwid.fs=true;b=parseInt(f.substr(f.length-1,1));if(!isNaN(b)){a=Liqwid.ad[b];if(a&&a.tc===5){Liqwid.click(b,'');}} 
}else{Liqwid.fs=false;}},false);
top.addEventListener('beforeunload',function(){if(Liqwid.com.tl!=='')Liqwid.com.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,
exp:function(d) {if(this.lmt===1) return; var z=this.com.z(),y=this.wp.y,x=this.wp.x,w=this.wp.w,h=this.wp.h,th=this.wp.th,p=this.wp.r,mw=this.wp.mw,mh=this.wp.mh,br=this.wp.br,bt=this.wp.bt,sh=this.wp.sh,bg=this.wp.bg,hf=null,i=2;
if(!isNaN(parseInt(d))){i=d;
var a=this.ad[i];
if (a){
if(a.video>0&&!a.end&&a.player.play!==undefined&&a.pa==0&&a.pl==0){
a.pl=1;a.player.play();
var bd=this.d('Liqwid_bg'),g,s_in=a.pp.si||"fadein",s_out=a.pp.so||"fadeout";if(bd){g=bd.style;g.position='fixed';g.display='block';g.opacity=0;g.width='100%';g.height='100%';g.left='0';g.top='0';g.zIndex=z;g.background=a.pp.bg;bd.classList.add("Liqwid_"+i+s_in);
}
if (a.pp.blur!==undefined) {
var bl=top.document.querySelector(a.pp.blur);
if (bl) bl.classList.add("Liqwid_"+i+"blur");
}
}}
hf=this.d("Liqwid_frame"+d);d='Liqwid_board'+d;}var ph,pw,pt=y,pl=x;if(p=="px"){pw=w;if(pw>this.cw*mw)pw=this.cw*mw;ph=pw*(h/w);}else{pw=this.cw*w;if(pw>mw)pw=mw;ph=pw*(mh/mw);if (ph>this.ch*h){ph=this.ch*h;pw=ph*(mw/mh);}}
if(y==='m'){pt=parseInt(this.ch/2-(ph+th)/2);}if(x==='c'){pl=parseInt(this.cw/2-pw/2-5);}this.ad[i].w=w;this.ad[i].h=h;var e=this.d(d).style;e.backgroundColor=bg;e.position="fixed";
e.zIndex=z+1;e.display="block";e.width=parseInt(pw)+"px";e.height=(parseInt(ph)+th)+"px";e.top=pt+"px";e.left=pl+"px";if(br!==''){e.border=br;e.borderTop=bt;}if(sh!==''){e.boxShadow=sh;}if(hf){hf.style.width=parseInt(pw)+"px";hf.style.height=(parseInt(ph)+th)+"px";}

//var hd=this.d("LW_hd");if(hd){hd.style.width=parseInt(pw)+"px";hd.style.height=(parseInt(ph))+"px";}
},
pop_:0,pop:function(b,t,l,w,h,th,p,mw,mh,c,s,br,bt,sh,bg,tr,a){this.wp.y=t,this.wp.x=l,this.wp.w=w,this.wp.h=h,this.wp.th=th,this.wp.r=p,this.wp.mw=mw,this.wp.mh=mh,this.wp.br=br,this.wp.bt=bt,this.wp.sh=sh,this.wp.bg=bg;this.lmt=0;if(a&&a>0){this.pop_++;if(this.pop_>a) return;}if(s&&s!==0){setTimeout(function(){this.popc();},s);}if(tr&&tr!==''){this.com.log(this.q+this.ad[b].q+'&a=5&i='+b+'&mark='+tr);}var e=this.d("LW_sw");if(e){e.innerHTML=c;e.style.display="block";this.exp("LW_sw");top.addEventListener('resize',function(){Liqwid.exp(d);},false);}
},
popc:function(tr){this.lmt=1;var d=this.d("LW_sw");d.style.display="none";d.innerHTML='';if(tr&&tr!==''){this.com.log(this.q+this.ad[0].q+'&a=5&i=0&mark='+tr+'_'+this.ad[0].s); }},click:function(b,u,tr,m){if(tr&&tr!=='')this.popc(tr);if(this.ad[b].cm!==undefined&&this.ad[b].cm!=='')this.com.js(this.ad[b].cm);if(m&&m!=='')this.com.js(m);if(this.ad[b].ct!==undefined&&this.ad[b].ct!=='')u=this.ad[b].ct;if(this.ad[b].q===''&&b===1 && this.ad[b].ps==='B')b=0;this.com.log(this.ad[b].q+'&a=4&i='+b);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,'');},load:function(){var u=this.q+this.qs+'&ex='+this.vq+'&cs=0',p=this.com.qk('liqwid_id');if(p&&p!=='')u+='&dpl='+p;this.com.js('//www.liqwid.net/get/?'+u);},_qs:function(i){var a=this.ad[i],w=0;if(a){w=a.w;if((a.ps==='H'||a.ps==='G')&&this.cw<730) w=w*1.5;a.c='&i'+i+'='+i+'&ps'+i+'='+a.ps+'&w'+i+'='+w+'&h'+i+'='+a.h+'&b'+this.sln+'='+i+'&d'+i+'='+a.d;this.sln++;this.lf=0;}},board:function(i){
if (this.ops()!==0)this.abord=true;

var a=this.ad[i],mob=this.m;if(this.delay>0||this.abord||!a||a.inc!==0||(a.c_!==0&&a.p===0)||this.lmt===1)return;
if(this.cw<1025)mob=true;

var d=this.d("Liqwid_board"+i),fi=this.d("LW_Ai"+i),df=this.d("Liqwid_frame"+i),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,ts=this.com.ts(),saW=top.screen.availWidth,saH=top.screen.availHeight,aW=this.cw,aH=this.ch;if(a.al=="right"){lM=0;rM=0;tM=0;bM=0,ver_num=this.nr;sP=1;}if(this.m){saW=aW;saH=aH;}if(ts>0){tM-=ts;if(tM<1)tM=0;y=tM;}var min_sq=true,x=lM,y=tM,w=aW,h=0,rB=aW,tdh=0,bdh=0;if(this.pr===1){this.pw=parseInt(aW/100*70);if(this.pw>1200){this.pw=1200;}if(this.pw<340){this.pw=340;}}
//if(mob && this.cw<728)aW=parseInt(this.cw*2);

if((this.al==="center"&&a.al==="right"&&wx+(((aW-this.pw)/this.ns)+this.pw+lM)+a.mw>saW)||(this.al==="left"&&a.al==="right"&&(wx+this.pw+lM+a.mw)>saW)||(a.al==="left"&&(wx+aW)>(saW+aW-a.mw))){wx-=saW;}if(isNaN(parseInt(a.ps))){if(this.flip!==0&&this.al==="left"){if(aW<=this.flip){a.ps="H";bdh=a.mh;if(bdh<aH/4.7){bdh=parseInt(aH/4.7);}if(bdh>aH/4){bdh=aH/4;}}else{a.ps="B";}}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"&&this.pw>0){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));}}}if(""==="pandora"){var pd=this.d("mainContentContainer");x=this.com.fp(pd).l+pd.offsetWidth+4; w=aW-x;}}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"){h=tdh;
if((aH!==saH)&&(wy+h)>saH)h=aH;
if (a.mh>0)h=a.mh;w=this.pw;
x=0;y=0;
}else if(a.ps==="H"){
h=bdh;
if((aH!==saH)&&(wy+aH)>saH)aH=(saH-wy);
if (a.mh>0)h=a.mh;w=this.pw;
x=0;if(this.al==="center"){x=(aW-this.pw)/2;}if(x<0)x=0;
y=(parseInt(aH)-h/*+top.document.body.scrollTop*/);}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);}}}
}else{
if(!d)return;
var pd=d.parentNode;
var pdX=this.com.fp(pd).l,pdY=this.com.fp(pd).t,sl=this.com.sl(),st=this.com.st();aW=pd.offsetWidth;aH=pd.offsetHeight;
if (a.l){
a.mw=aW/2; 
if(a.mh<aH/2)a.mh=aH/2;a.ms=aW*aH/2;}else{
a.mw=aW;a.mh=aH;a.ms=aW*aH;}if((pdX+aW-sl)>this.cw){aW=this.cw-pdX+sl}var hor=false;if(this.cw>=this.ch&&!this.flash){hor=true;}if(!hor&&(wx+pdX+aW-sl)>saW){aW=saW-pdX-wx+sl;}y=0;x=0;if(pdY-st<0){y=-(pdY-st);aH-=y;}if (pdY+aH-st>this.ch){aH=(this.ch-pdY+st);}if((wy+pdY+aH-st)>saH){aH=saH-wy-pdY+st;}if(pdX-sl<0){x=-(pdX-sl);}if((wx<0)&&(wx+pdX-sl<0)){x=-(wx+pdX)+sl;}aW-=x;w=aW;h=aH;
if(!a.l||!this.flash){w=pd.offsetWidth;h=pd.offsetHeight;x=0;y=0;}}if(w>1200){w=1200;}
if(a.ps==="C"||a.ps==="D"){h=(aH-(tM+bM));}
//if(a.ps==="W"){if(!this.fq||this.fq===''){w=saW;h=saH;}else{w=0;h=0;}x=0;y=0;}
if(a.ps==="W"){
w=parseInt(this.cw*0.9);h=parseInt(this.ch*0.8);
}
this.wx=wx;this.wy=wy;

if(w<a.mw||h<a.mh||this.abord){
min_sq=false;
if(a.ps==="A"||a.ps==="B")this.use_min=true;
}else{
if(a.ps==="A"||a.ps==="B")this.use_min=false;
}
if(a.ps==='H'||a.ps==='G') min_sq=true;
if (a.pp.mobile!==undefined&&(!mob||a.mw*0.7>this.cw))min_sq=false;

if(min_sq){
if(a.ps!=="W"){

if((a.ps==="A"||a.ps==="B")&&(a.rl!==0||(fi&&a.fs===0))){var wpr=parseInt(a.mh/a.mw);var aiw=h/wpr,aih=h;if(w*wpr<h)h=w*wpr;if(a.ps==="A"){var difw=aiw-w;if(aiw>w){w=aiw-difw;aih=w*wpr;if(aih>h){aih=h;aiw=h/wpr;}}else{if(wx<0){x=w-aiw-wx;}else{x=w-aiw;}w=aiw;}h=aih;}else{if(aiw<w)w=aiw;h=w*wpr;}if(fi){fi.style.width=w.toFixed()+"px";fi.style.height=h.toFixed()+"px";}}
if(w>this.cw)w=this.cw;w=parseInt(w);h=parseInt(h);x=parseInt(x);y=parseInt(y);if(a.ps==="A"&&a.rl!==0){if(d)d.style.textAlign="right";}

if (d && (a.tc===5||!a.rtb.r))d.style.display='none';
if(d&&a.p!==0&&a.r!==0&&(a.tc!==5||a.rtb.r)) {
d.style.width=w+"px";d.style.height=h+"px";d.style.top=y+"px";d.style.left=x+"px";d.style.display='block';
if(df&&a.fs===0){df.style.left="0px";df.style.top="0px";df.style.width=w+"px";df.style.height=h+"px";}
if (a.ps==="G"){if (ts<=0){d.style.boxShadow='none';}else{d.style.boxShadow=a.pp.boxShadow||'none';} }
if (ts>0){d.style.position='fixed';}else{d.style.position=a.pp.position||'fixed';}
}
} 
a.vi=true;

if (a.video>0&&!a.end&&a.player.play!==undefined&&a.pa===0){
if (wx+this.cw*0.3 <0 || wx+this.cw*0.7 > saW || wy+this.ch*0.7 > saH) a.vi=false;
if (a.vi){if(a.pl===0){a.pl=1;a.player.play();}} else {if(a.pl!==0){a.pl=0;a.player.pause();}}
}
a.w=w;a.h=h;if(a.fs!==0)this.box(i);if(i===a.b/*&&a.c===''*/)this._qs(i);
}else{
a.vi=false;if(d)d.style.display='none';
}
},
di:0,
d:function(e){var d=top.document.getElementById(e);return d;},box:function(i){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){
d.style.width=a.mw+"px";d.style.height=a.mh+"px";b.style.position="absolute";b.style.width=a.mw+"px";b.style.height=a.mh+"px";b.style.left=parseInt(a.w/2-a.mw/2)+"px";b.style.top=parseInt(a.h/2-a.mh/2)+"px";}},
cwl:function(i){var a=this.ad[i];if(a){a.end=true;if(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(a.inc===0){a.s=0;this.wp.x='c';this.exp(i);top.addEventListener('resize',function(){Liqwid.exp(i);},false);}}},
stl:function(i){var L='Liqwid_',d=this.d(L+'styles'),a=this.ad[i];if(d&&a){
var at=a.pp.at||'0.3',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+'</style>';}},add:function(i){if(this.ad[i]===undefined)return;
var L='Liqwid_',id_=L+'board'+i,a=this.ad[i],it=a.pp.it||0,anc_=a.pp.qs||'body',mr_=a.pp.margin||'',bg=a.pp.background||'',zi=a.pp.zIndex||0,objS_,objS=a.pp.objSet||null,objSH=a.pp.objSetHeight||0;if(this.cw<1025)this.m=true;if(this.m&&a.pp.mx!==undefined)return;
if (objS){objS_=top.document.querySelector(objS);if(objS_&&objSH>0)objS_.style.height=objSH+'px';}
if(!this.d(id_)&&(a.ht!==''||a.cc!=='')){var b=top.document.body,anc=top.document.querySelector(anc_),el=top.document.createElement('div');el.id=id_;el.style.zIndex=zi;el.style.opacity=0;if(mr_!=='');el.style.margin=mr_;if (bg!=='')el.style.background=bg;if(anc){if(a.pp.conf!==undefined){if(!anc.innerHTML.match(a.pp.conf))return;}}else{return;}if(a.inc===0)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);}
if(b&&!this.d(L+'styles')){var s=top.document.createElement('div');s.id=L+'styles';b.appendChild(s);}
if(b&&a.pp.bg!==undefined){var b_=top.document.createElement('div');b_.id=L+'bg';b.appendChild(b_);}
if(a.inc!==0){a.pp.vk=a.pp.vis||0.5; a.pp.vc=0; if(a.rl!==0){el.style.width='100%';a.w=el.offsetWidth;a.h=parseInt(a.w*(a.mh/a.mw));}this.stl(i);
 if(this._vis===0){this._vis=1;this.vis();}return;}
// move webmercial out ??? if(a.inc===0){if(a.vast)this.wp.x=-3000;this.exp(i);}}
if (a.pp.delay!==undefined&&!isNaN(parseInt(a.pp.delay))){
//console.log('delay ' + a.pp.delay);
this.delay=a.pp.delay;}
if(!a.l&&!this.abord){this.stl(i); setTimeout(function(){if(!Liqwid.abord){Liqwid.delay=0;Liqwid.fill(i);}},this.delay);}}
},_vis:0,vis_:false,vis:function(){for(n=0;n<this.i;n++){var a=this.ad[n],d=this.d("Liqwid_board"+n);
if(d)this.com.fpi(n,d);if(a&&a.inc!==0&&a.p!==0&&d&&!a.end){vis_=true;var t_,b_,l_,r_,w_,h_,bl=0,mb=a.pp.mb||0,mt=0,fl=a.pp.fl||'',s_in=a.pp.si||"fadein",s_out=a.pp.so||"fadeout",pos_=a.pp.position||'relative',top_=a.pp.top||0;s_in=n+s_in;s_out=n+s_out,minCW=a.pp.minCW||0,wex=a.pp.wex||0,hex=a.pp.hex||0,left_=a.pp.left||0,ts=this.com.st(),w=a.w,h=a.h;



if(this.m){if(this.ds>0){mt=this.ds;}else{mb-=this.ds;}}

if(a.pp.tl!==undefined){
t_=top.document.querySelector(a.pp.tl);if(t_){
var aY=this.com.fp(t_).t+t_.offsetHeight;
if(a.y<aY)a.y=aY;
}
//console.log('a.y ' + a.y );
}
if(a.pp.leftNode!==undefined){
l_=top.document.querySelector(a.pp.leftNode);if(l_&&l_.offsetWidth>0&&w>0){
a.x=parseInt(this.com.fp(l_).l+l_.offsetWidth/2-w/2);
left_=a.x;
}
//console.log('a.x ' + a.x );
}
if(a.pp.bl!==undefined)b_=top.document.querySelector(a.pp.bl);

if(a.rl!==0){
a.w=d.offsetWidth;a.h=parseInt(a.w*(a.mh/a.mw));
}else{
a.w=a.mw; a.h=a.mh;
}
var t=a.y,l=a.x,wx=this.com.wp().l,wy=this.com.wp().t,tm=t-ts+(h-h*a.pp.vk),lm=l-this.com.sl()+(w-w*a.pp.vk),rm=l-this.com.sl()+w*a.pp.vk,bm=t-ts+h*a.pp.vk,sl=wx+lm,sr=wx+rm,sb=wy+bm+50,_t=parseInt(this.ch/2-a.h/2),_tm=_t;if(_t<tm)_tm=tm;if(a.pp.va==='m')sb=wy+(_tm+h*a.pp.vk);
if(a.pp.bl!==undefined && b_)bl=this.com.fp(b_).t+mb-ts;


if((minCW===0 || minCW<this.cw) && this.fs && (tm>0||(a.pp.va==='m'&&_t>0))&&bm<this.ch&&h*a.pp.vk<this.ch&&(this.m||(w*a.pp.vk<this.cw&&rm<this.cw&&lm>0&&sl>0&&sr<screen.availWidth))&&sb<screen.availHeight){a.vi=true;}else{a.vi=false;}

if (a.pp.widthNode!==undefined) {
w_=top.document.querySelector(a.pp.widthNode);if(w_&&w_.offsetWidth<w)a.vi=false;
}
if (this.cw<1025)this.m=true;
if (this.m&&a.pp.mx!==undefined)a.vi=false;
if (w*a.pp.vk>this.cw)a.vi=false;
if (a.pp.bl!==undefined && a.pp.bl!==''){if (a.pp.va==='m'&&bl<=_t+h){_t=bl-h;if(_t<-h*a.pp.vk)a.vi=false;}}
if (a.l && (!this.rtb_flag || a.rtb.r)){
if(a.pp.margin!==undefined)d.style.margin=a.pp.margin;if(this.m&&a.pp.marginM!==undefined)d.style.margin=a.pp.marginM;if(a.pp.marginTop!==undefined)d.style.marginTop=a.pp.marginTop;if(a.pp.marginBottom!==undefined)d.style.marginBottom=a.pp.marginBottom;
}


if(a.pp.va==='m'){


if(t+mt-ts<=_t){


d.style.position='fixed';d.style.top=_t+'px';
if(left_!==0)d.style.left=left_+'px'; //d.style.marginTop='0';
}else{


var fx=a.pp.fx||0;if(fx!=0)a.vi=false;
if(pos_==='relative'){
d.style.position=pos_;
d.style.top=top_+'px';
if(left_!==0)d.style.left=left_+'px';

}else{
if(fl!=='')d.style.float=fl;
}
}
}else{	
if(top_!=0)d.style.top=top_+'px';
if(left_!==0)d.style.left=left_+'px';
if(pos_!=='')d.style.position=pos_;
}

if(a.vi){
if (a.l&&this.rtb_flag && !a.rtb.r){return setTimeout(function(){Liqwid.vis();},1);}
if(!a.l){this.fill(n);}else{if(a.pp.vc===0){a.pp.vc=1;if(a.pp.fd!==0&&a.video===0){if(d.className.indexOf("Liqwid_"+s_out) >-1)d.classList.remove("Liqwid_"+s_out);d.classList.add("Liqwid_"+s_in);}}}
if (a.rl!==0)d.style.height=a.h+'px';
if(a.video>0&&!a.end&&a.player.play!==undefined&&a.pa===0&&a.pl===0){a.pl=1;a.player.play();}
}else{
if(a.video>0&&!a.end&&a.player.pause!==undefined&&a.pa===0&&a.pl!==0){a.pl=0;a.player.pause();}
if(a.pp.vc!==0 && a.pp.fd!==0&&a.video===0){a.pp.vc=0;if (
d.className.indexOf("Liqwid_"+s_in) >-1)d.classList.remove("Liqwid_"+s_in); 
d.classList.add("Liqwid_"+s_out);
}}}}if(this._vis!==0)setTimeout(function(){Liqwid.vis();},1);},ap:0,fill_:0,
fill:function(i){var a=this.ad[i],b=this.d('Liqwid_board'+i);if(a&&b&&a.ht!==''){a.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((a.ps==='B'&&this.ap===0)||(a.ps!=='B'||(this.ap!==0&&a.p!==this.ap)))this._vq(i);
if(a.rtb.c[a.cn]!==undefined){this.rtb_call(i,a.rtb.c[a.cn],a.cn);}else{b.innerHTML=a.ht;if(a.tc>4&&a.cc!=='')this.ff(i,a.cc,'',1);
b.classList.add("Liqwid_"+i+"fadein");
a.r=1;
}
if(this.fill_!==1){this.fill_=1;setTimeout(function(){Liqwid.timer();},1000);}}

if(a.tt!=='')this.ff(i,a.tt,'t',0);
},
rtb_call:function(i,t,n){var a=this.ad[i];if(a){if(t==='')return;a.j=0;a.r=n;a.rtb.n='X';
if (t.match(/criteo/)){a.rtb.n='C';} else if (t.match(/casalemedia/)){a.rtb.n='I';} else if (t.match(/openx/)){a.rtb.n='O';}else if (t.match(/rtk.io/)){a.rtb.n='R';} 
this.rtb_flag=true;var c="<!DOCTYPE html><html><head><title>LIQWID Ads</title><!-- Call #"+n+" --><scr"+"ipt type='text/javascript'>if (LIQWID_SLOT===undefined){var LIQWID_SLOT="+i+";}else{LIQWID_SLOT="+i+";}";
if (a.rtb.n!=='X') {
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 {
var pq=a.rtb.pq.split(',');
for (j=0;j<pq.length;j++){if(pq[j]!==''&&t.match(pq[j]))return;}
}
c+="</scr"+"ipt></head><body>"+t+"</body></html>";
a.cc=c;this.ff(i,c,'',n);}},
ff:function(i,c,t,n){var b=this.d('Liqwid_board'+i),a=this.ad[i],_f='',f;if(a&&b){var wex=a.pp.wex||0,hex=a.pp.hex||0,bs=a.pp.boxShadow||'';if(bs!=='')bs='box-shadow:'+bs+';';if(t===''){_f='<iframe id="Liqwid_frame'+i+'" src="about:blank" width="'+a.mw+'px" height="'+a.mh+'px" frameborder="0" marginwidth="0" marginheight="0" vspace="0" hspace="0" allowtransparency="true" scrolling="no" ></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>';if(a.ps==='W')_f=a.ht+_f;b.innerHTML='<div id="Liqwid_box'+i+'" style="'+bs+'width:'+a.mw+'px;height:'+a.mh+'px;display:none;">'+_f+'</div>';}f=this.d('Liqwid_frame'+t+i);if(f){var d=f.contentDocument;if(d===undefined||!d){d=f.contentWindow.document;}d.open();d.write(this.com.rnl(c));d.close();}if(a.tc!==5||a.rtb.n==='X'){this.ss(i);}}},
check_ad:function(i,n,r){
if(r<2) return;
var a=this.ad[i],t,f=Liqwid.d('Liqwid_frame'+i),d;
if(a&&f){
if (a.rtb.n===undefined || a.rtb.f[n]!==undefined)return;
d=f.contentDocument;if(d===undefined||!d)d=f.contentWindow.document;
if(d){
t=d.body.outerHTML;if(t===undefined || !t || t==='') return;
   if(a.rtb.n==='I') {     
        if (!t.match(/ width="/)||t.match(/false,LIQWID_SLOT/)) return;
        if(!t.match(/!-- cmc /)){
            if (a.cn===n) Liqwid.demand('I',false,i); return;
       }
	} else if (a.rtb.n==='C') {
    
    if (!t.match(/cto_iframe/)||t.match(/false,LIQWID_SLOT/)) return;
var d_=d.getElementsByTagName("div");
for (c=0;c<d_.length;c++){if(d_[c].id.match(/crt-/)){
f_=d.getElementsByTagName("iframe");
for (f=0;f<f_.length;f++){if( f_[f].id.match(/cto_iframe/)){var tf,df=f_[f].contentDocument;if(df===undefined||!df)df=f_[f].contentWindow.document;tf=df.body.outerHTML;if(tf.match(/false,parent.LIQWID_SLOT/))return;}}
    break;
    }}
} else if (a.rtb.n==='O') {
    if (!t.match(/id="ox_/)) return;
f_=d.getElementsByTagName("iframe");
for (f=0;f<f_.length;f++){if( f_[f].id.match(/ox_/)){var tf,df=f_[f].contentDocument;if(df===undefined||!df)df=f_[f].contentWindow.document;tf=df.body.outerHTML;if(tf.match(/false,parent.LIQWID_SLOT/))return;}
}
} else if (a.rtb.n==='R') {
    if (!t.match(/ width="/)||t.match(/false,LIQWID_SLOT/)) return;
 }
if (a.cn===n && a.rtb.f[n]===undefined){
a.rtb.f[n]=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);
if(a&&b&&d){ 
if(a.j!==0)return; 
a.j=1; if(a.tc===5)a.rtb.r=true; 
var s_in=a.pp.si||"fadein";s_in=i+s_in, rt=a.pp.rt||0,lt=a.pp.lt||0,tp=a.pp.t||0,bm=a.pp.bm||0,wex=a.pp.wex||0,hex=a.pp.hex||0;
    if (a.rl!==0){
    d.style.width='100%';
    d.style.height=parseInt(d.offsetWidth*(a.mh/a.mw))+'px';
    if(b){b.style.width='100%';b.style.height='100%';}
    if(f){f.style.width='100%';f.style.height='100%';}
    }else{
    d.style.width=(a.mw+wex)+'px';
    d.style.height=(a.mh+hex)+'px';
    }
a.pp.vc=1;
b.style.display='block';
d.classList.add("Liqwid_"+s_in);
}
a.r=1;
},
demand:function(rtb,r,i){
//console.log('rtb ' + rtb + ' r -- ' + r + ' i -- ' + i);
var a=this.ad[i];if(a){a.cn++;a.s=0;
if (top.location.href.indexOf('independenttraveler') >-1){if(navigator.userAgent.match(/Firefox/)){this.abord=true; return;}}
if(this.fall_flag===-1)return;if (this.fall!==''){if(a.cn===a.rtb.t-1)this.fall_flag++;if(this.fall_flag===2){this.fall_flag=-1;this.load();return;}} 
if(a.rtb.c[a.cn]!==undefined){a.mw=a.rtb.w[a.cn];a.mh=a.rtb.h[a.cn];this.rtb_call(i,a.rtb.c[a.cn],a.cn);}}},
ops:function(){
var r=0;

return r;
},
com:{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(l){if(!l||l==='')return;var u='//www.liqwid.net/log/?'+Liqwid.q+l+'&rnd='+Math.floor((Math.random()*100000000)+1), x;if(top.XMLHttpRequest){x=new XMLHttpRequest();}else{x=new ActiveXObject("Microsoft.XMLHTTP");}try{x.open("get",u,true);x.send();}catch(e){return;}},js:function(l){if(!l||l==='')return;var b=top.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(/\s{2,}/g, ' ').replace(/\t/g, ' ').toString().trim().replace(/(\r\n|\n|\r)/g,"").replace(/&backs;/g,'\\"').replace(/%27/g,'\''); 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);},fpi:function(i,o){
var p=o.parentNode;
if(p&&p.className==='layout-content-2col-right' && p.offsetHeight<700){
//console.log('p ' + p.id + ' c ' + p.className);
p.style.minHeight='700px';
//var a1=Liqwid.d('div-gpt-ad-1450786425864-6'),a2=Liqwid.d('div-gpt-ad-1450786425864-4');
//if(a1)a1.style.minHeight='250px';if(a2)a2.style.minHeight='250px';
}
var x=0,y=0;if(o.offsetParent){do{x+=o.offsetLeft;y+=o.offsetTop;}while(o=o.offsetParent);Liqwid.ad[i].y=y;Liqwid.ad[i].x=x;}},fp:function(o){var x=0,y=0;if(o.offsetParent){do{x+=o.offsetLeft;y+=o.offsetTop;}while(o=o.offsetParent);} return {l:parseInt(x),t:parseInt(y)};},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 ++z;},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(){top.Liqwid=this;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);});}
