
adroll_width = 120;
adroll_height = 240;
adroll_a_id = "L6NHITN67ZC7DHQVKQEEDI";
adroll_s_id = "ZPWILYSD55C5ZO74RUYH4Y";
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:2000,_r:{},_cdn:"http://d5mbci7bo0gog.cloudfront.net/r",_kwl:200,cookieEnabled:function(A){if(adroll_optout){return false}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},parseUri:function(F){var A=/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@]*):?([^:@]*))?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/.exec(F),E={},D=14,C=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"],B="queryKey",G=/(?:^|&)([^&=]*)=?([^&]*)/g;while(D--){E[C[D]]=A[D]||""}E[B]={};E[C[12]].replace(G,function(I,H,J){if(H){E[B][H]=J}});return E},get_keywords:function(){try{if(this._nad>0){return""}var B=document.referrer||"";if(!B){return""}var A=this.parseUri(B);if(A.host.indexOf("google.com")!=-1){if(A.queryKey.q.length>=this._kwl){return""}return A.queryKey.q}else{return""}}catch(C){return""}},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)},generate_link:function(A,D,B,E){if(!adroll_render_link){return""}var G='<div class="adroll-link" style="width: ';G=G+E+'px; text-align: center; margin: auto;">';var F='<a target="_blank" href="';var C=Math.round(Math.random()*8);F=F+D+"?lt="+C+'" style="font-size: 10px; font-family: sans-serif;">';G=G+F;if(C==1){G=G+"Roll with "+B}else{if(C==2){G=G+"Roll with "+B+"-aholics"}else{if(C==3){G=G+"Roll with "+B+" junkies"}else{if(C==4){G=G+"Reach "+B+"-aholics"}else{if(C==5){G=G+"Reach "+B+" junkies"}else{if(C==6){G=G+"Contact "+B+"-aholics"}else{if(C==7){G=G+"Contact "+B+" junkies"}else{G=G+"Get props on "+B}}}}}}}G=G+"</a></div>";return G},get_base_url:function(H,E,I,D,C,F){var A=H+"/"+E+"/"+I+(D?"/"+D:"")+(C?"/"+C:"");var B="?no-cookies=1&pv=";var G="";if(!this.cookieEnabled(false)){A+=B+this.pv}else{G=escape(this.get_eids());A+="?pv="+this.pv+"&cookie="+G}if(F){A+="&"+F.join("&")}if(A.length>this._url){this.del(this.__adc);if((A.length-G.length)>this._url){return"#"}return this.get_url(E,I,D,C,F)}return A},get_url:function(B,C,E,A,D){if(E==null){return this.get_base_url("http://c.adroll.com/r",B,C,E,A,D)}else{return this.get_base_url("http://c.adroll.com/c",B,C,E,A,D)}},get_eids:function(){if(adroll_optout){return""}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){if(adroll_optout){return""}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(){if(adroll_optout){return }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(F,J,C,E){E=typeof E=="undefined"?null:E;if(typeof this._r[J]!="undefined"){if(!E){return }}try{var B="ar-"+Math.random();B=B.replace(".","-");document.write('<span id="'+B+'" style="display: none"></span>');var D=document.getElementById(B);if(D==null){var I=[0,0]}else{var I=this.findPosXY(D.parentNode);D.parentNode.removeChild(D)}}catch(G){var I=[0,0]}var H=this.get_keywords();if(C){var A=this.get_url(F,J,null,"ad",["width="+adroll_width,"height="+adroll_height,"x="+I[0],"y="+I[1],"keyw="+H,"test_ad="+C])}else{if(E){var A=this.get_url(F,J,E,null,["width="+adroll_width,"height="+adroll_height,"x="+I[0],"y="+I[1],"keyw="+H])}else{var A=this.get_url(F,J,null,"ad",["width="+adroll_width,"height="+adroll_height,"x="+I[0],"y="+I[1],"keyw="+H])}}this.expire_old();document.write('<script src="'+A+'"><\/script>');this._nad=this._nad+1;this._r[J]=1},set_cookie:function(A,B,D,C){if(adroll_optout){return }this.handle(D);this.handle(C);this.handle(A);this.handle(B)},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_optout = false;
adroll_a_eid = typeof adroll_ad_eid == 'undefined' ? null : adroll_ad_eid;
adroll_c_eid = typeof adroll_c_id == 'undefined' ? null : adroll_c_id;
__adroll.render_ad_code(adroll_s_id, adroll_a_id, adroll_a_eid, adroll_c_eid);
