adroll_width = 468;
adroll_height = 60;
adroll_a_id = "JOG6LPZGHVDQLIRPFOGQAP";
adroll_s_id = "NY2WNAGURZF5FLSLIU562T";
adroll_render_link = false;
var __adroll=window.__adroll||{exp:50000,eexp:720,pv:Math.random()*100000000000,__adc:"__ar_v4",_nad:0,_lce:null,_broken:false,_url:1800,_r:{},cookieEnabled:function(A){if(this._broken){return false}if(this._nad>=2||A){return this._lce}this.set("_te_","1");var C=this.get("_te_");if(C=="1"){this.del("_te_");if(this._nad>0){var B=this.get(this.__adc);if(!B){this._lce=false;return false}}this._lce=true;return true}this._lce=false;return false},get:function(F){if(document.cookie==null){this._broken=true;return null}var D,C,A,E,B;D=document.cookie.indexOf(F+"=");if(D<0){B=null}else{C=document.cookie.indexOf(F+"=")+F.length+1;A=document.cookie.indexOf(";",C);if(A==-1){A=document.cookie.length}E=document.cookie.substring(C,A);B=(E=="")?null:unescape(E)}return B},set:function(H,E,D){var B,F,A,C,G;if(!D||typeof D!="number"){B=""}else{var F=new Date();F.setTime(F.getTime()+(D*60*60*1000));A=F.toGMTString();B="; expires="+A}C="; path=/";G="; domain="+window.location.hostname;E=escape(E);document.cookie=H+"="+E+B+C+G},del:function(A){this.set(A,"",-8760)},get_url:function(B,C,A,E){var D="http://c.adroll.com/r/"+B+"/"+C+"/"+A;var F=false;if(A=="link"){F=true}var G="?no-cookies=1&pv=";if(!this.cookieEnabled(F)){D+=G+this.pv}else{var H=escape(this.get_eids());if(H.length>=this._url){D+=G+this.pv;this.del(this.__adc)}else{D+="?pv="+this.pv+"&cookie="+H}}if(E){D+="&"+E.join("&")}return D},get_eids:function(){try{var C=this.get(this.__adc);var D=C?C.split("|"):"";var F=[];for(var B=D.length-1;B>=0;B--){if(D[B]){var A=D[B].split(":");F.push([A[0],A[2]].join(":"))}}return F.join("|")}catch(E){this.del(this.__adc);return""}},get_date:function(B){var E=new Date();if(typeof B!="undefined"){E.setTime(E.getTime()+(B*60*60*1000))}var D=""+E.getUTCFullYear();var A=E.getUTCMonth();A=A>=10?A:"0"+A;var C=E.getUTCDate();C=C>=10?C:"0"+C;return[D,A,C].join("")},check_cookie:function(D,A){var E=D.split("|");for(var C=E.length-1;C>=0;C--){if(E[C]){var B=E[C].split(":");if(A==B[0]){B[2]=""+(parseInt(B[2])+1);E[C]=B.join(":")}}}return E.join("|")},handle:function(B){var D=this.get(this.__adc)||"";var A=D.indexOf(B);if(A!=-1){this.set(this.__adc,this.check_cookie(D,B),this.exp)}else{var C=[D,[B,this.get_date(this.eexp),"1"].join(":")].join("|");this.set(this.__adc,C,this.exp)}},expire_old:function(){var A=this.get_date();var E=this.get(this.__adc);E=E?E.split("|"):[""];var D=[];for(var C=E.length-1;C>=0;C--){if(E[C]){var B=E[C].split(":");if(B[1]>A){D.push(E[C])}}}this.set(this.__adc,D.join("|"),this.exp)},render_ad_code:function(A,B){if(typeof this._r[B]!="undefined"){return }try{var E="ar-"+Math.random();E=E.replace(".","-");document.write('<span id="'+E+'" style="display: none"></span>');var D=document.getElementById(E);if(D==null){var G=[0,0]}else{var G=this.findPosXY(D.parentNode);D.parentNode.removeChild(D)}}catch(F){var G=[0,0]}var C=this.get_url(A,B,"ad",["width="+adroll_width,"height="+adroll_height,"x="+G[0],"y="+G[1]]);this.expire_old();document.write('<script src="'+C+'"><\/script>');this._nad=this._nad+1;this._r[B]=1},set_cookie:function(A,C,E,D){this.handle(E);this.handle(D);this.handle(A);this.handle(C);if(adroll_render_link){var B=this.get_url(A,C,"link",["width="+adroll_width,"height="+adroll_height]);return B}return null},findPosX:function(A){var B=0;if(A.offsetParent){while(A.offsetParent){B+=A.offsetLeft;A=A.offsetParent}}else{if(A.x){B+=A.x}}return B},findPosY:function(A){var B=0;if(A.offsetParent){while(A.offsetParent){B+=A.offsetTop;A=A.offsetParent}}else{if(A.y){B+=A.y}}return B},findPosXY:function(A){return[this.findPosX(A),this.findPosY(A)]}};
__adroll.render_ad_code(adroll_s_id,adroll_a_id);
