pastepin57

Untitled

May 13th, 2015
638
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <html lang="en-US"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>Adobe AudienceManager</title><script type="text/javascript">
  3. var Demdex={version:"5.0",dest:"3",PROTOCOL:"https:"==document.location.protocol?"https:":"http:",SIX_MONTHS_IN_MINUTES:259200,sent:[],errored:[],cbmacros:["%timestamp%","%rnd%","%did%","%http_proto%"],addListener:function(){if(document.addEventListener)return function(a,c,b){a.addEventListener(c,function(a){"function"==typeof b&&b(a)},!1)};if(document.attachEvent)return function(a,c,b){a.attachEvent("on"+c,function(a){"function"==typeof b&&b(a)})}}(),replaceMacro:function(a){var c;return"%rnd%"==
  4. a||"%timestamp%"==a?""+(new Date).getTime():"%did%"==a&&(c=this.getCookie("demdex"))?c.replace(/==/g,"").replace(/:/,"-"):"%http_proto%"==a?"https:"==document.location.protocol?"https":"http":a},canSetCookie:function(){var a,c;return navigator.cookieEnabled&&(a=this.getCookie("demdex"),a||(this.setCookie("_dp","1",1,"/",".demdex.net",!1),c=this.getCookie("_dp")),a||c)?(this.setCookie("_dp","1",-1E3,"/",".demdex.net",!1),!0):!1},getCookie:function(a){a+="=";var c=document.cookie.split(";"),b,e,d;b=
  5. 0;for(e=c.length;b<e;b++){for(d=c[b];" "==d.charAt(0);)d=d.substring(1,d.length);if(0==d.indexOf(a))return decodeURIComponent(d.substring(a.length,d.length))}return null},setCookie:function(a,c,b,e,d,g){var h=new Date;b&&(b*=6E4);document.cookie=a+"="+c+(b?";expires="+(new Date(h.getTime()+b)).toUTCString():"")+(e?";path="+e:"")+(d?";domain="+d:"")+(g?";secure":"")},setDSTJSCookie:function(a){var c=this.getCookie("DSTJS");this.setCookie("DSTJS",(c?c+"|":"")+a,this.SIX_MONTHS_IN_MINUTES,"/",".demdex.net",
  6. !1)},onMessage:function(a){try{var c="string"==typeof a?a.split("|"):[];a=decodeURIComponent;var b=a(c[0]),e={destType:b,id:a(c[1]),tag:a(c[2]),urls:"string"==typeof c[3]?c[3].split(","):[],ttl:c[4]?a(c[4]):0};e.urls.length&&("dests"==b?this.fireTags(e):"ibs"==b?(e.dpType=1,this.processIBSOrDPM(e)):"dpm"==b&&(e.dpType=2,"string"==typeof c[5]&&c[5].length&&(e.callbackProperties=c[5].split(","),this.setDPMCallback(e)),this.processIBSOrDPM(e)))}catch(d){}},fireTags:function(a,c){try{var b=this,e=a.destType,
  7. d=a.id,g=a.tag,h=a.urls,f,k,l,m,n,p,q,r;if(h instanceof Array&&(m=h.length))for(l=0;l<m;l++)if(url=h[l]){url=decodeURIComponent(url);c&&(url=this.PROTOCOL+url);n=0;for(p=this.cbmacros.length;n<p;n++)q=this.cbmacros[n],url=url.replace(RegExp(q,"gi"),this.replaceMacro(q));r=function(a,c){return function(){"dests"==e&&b.setDSTJSCookie(a);b.errored.push(c)}}(d,url);"img"==g?(f=new Image,b.addListener(f,"abort",r),b.addListener(f,"error",r),f.src=url,this.sent.push(url)):"js"==g?(f=document.createElement("script"),
  8. f.addEventListener&&f.addEventListener("error",r,!1),f.type="text/javascript",f.src=url,k=document.getElementsByTagName("script")[0],k.parentNode.insertBefore(f,k),this.sent.push(url)):"iframe"==g&&(f=document.createElement("iframe"),f.style.cssText="display: none; width: 0; height: 0;",f.id="iframe_"+d+"_"+l,f.src=url,document.body.appendChild(f),this.sent.push(url))}}catch(s){this.fireErrorPixel("Error in Demdex.fireTags function: "+s.message+";tag="+g+";url="+url)}},processIBSOrDPM:function(a){try{var c=
  9. this.getCookie("demdex")||"",b=this.getCookie("DexLifeCycle")||"",e=this.getCookie("dextp"),d=!1,g=!1,h,f,k,l,m,n,p;if(c&&!(c.match(/^DID:/)||c.match(/^NOTARGET:/)||c.match(/dv2:jY0wRKU\/M28\/lvlLHbINBA==/)||b.match(/^NOTARGET/)))if(e){h=e.split("|");k=0;for(l=h.length;k<l;k++)if(f=h[k],f.match("^"+a.id+"-"+a.dpType+"-")){d=!0;m=f.split("-")[2];n=new Date;n.setTime(m);p=(new Date).getTime();p-n.getTime()<6E4*a.ttl?g=!0:h.splice(k,1);break}d&&g||(this.fireTags(a,!0),h.push(a.id+"-"+a.dpType+"-"+(new Date).getTime()),
  10. this.setCookie("dextp",h.join("|"),864E4,"/",".demdex.net",!1))}else this.fireTags(a,!0),this.setCookie("dextp",a.id+"-"+a.dpType+"-"+(new Date).getTime(),864E4,"/",".demdex.net",!1)}catch(q){this.fireErrorPixel("Error in Demdex.processIBSOrDPM function: "+q.message)}},setDPMCallback:function(a){try{var c=this,b=a.callbackProperties,e=decodeURIComponent,d=e(b[0]),g=e(b[1]),h=e(b[2]),f=e(b[3]),k=e(b[4]),l=a.id;if(d&&g&&h&&f&&k)switch("object"!=typeof window[d]&&(window[d]={}),l){case "19":window[d][g]=
  11. function(a){try{var b=[],d=a.segments,e,f;e=0;for(f=d.length;e<f;e++)b.push(h+"="+d[e].id);b.length&&((new Image).src=c.PROTOCOL+k+b.join("&"))}catch(g){c.fireErrorPixel("Error in callback function for dpid 19: "+g.message)}};break;case "21":window[d][g]=function(a){try{var b=[],e=a[h];a="";var d,f,g,l;for(d in e)"segment"!=d&&"gender"!=d||b.push(d+"="+e[d]),"age"==d&&(g=e[d]||"",""!=g&&(l=Date.parse("01/01/"+g),isNaN(l)||(a=parseInt(((new Date).getTime()-l)/31536E6,10))),b.push(d+"="+a));f=b.join("&");
  12. f=f.replace(/segment=/i,"seg=").replace(/gender=/i,"gen=");(new Image).src=c.PROTOCOL+k+f.toLowerCase()}catch(m){c.fireErrorPixel("Error in callback function for dpid 21: "+m.message)}};break;case "22":window[d][g]=function(a){try{var b=a[h];a="";var d,e;b.company_size&&(a+="company_size="+b.company_size.code);b.seniority&&(a+="&seniority="+b.seniority.code);b.location&&(a+="&location="+b.location.code);b.education&&(a+="&education="+b.education.code);b.gender&&(a+="&gender="+b.gender.code);b.group&&
  13. (a+="&group="+b.group.code);if(b.functional_area)if(b.functional_area instanceof Array)for(d=0,e=b.functional_area.length;d<e;d++)a+="&functional_area="+b.functional_area[d].code;else a+="&functional_area="+b.functional_area.code;if(b.industry)if(b.industry instanceof Array)for(d=0,e=b.industry.length;d<e;d++)a+="&industry="+b.industry[d].code;else a+="&industry="+b.industry.code;""!=a&&((new Image).src=c.PROTOCOL+k+a)}catch(f){c.fireErrorPixel("Error in callback function for dpid 22: "+f.message)}}}}catch(m){this.fireErrorPixel("Error in Demdex.setDPMCallback function: "+
  14. m.message)}},fireErrorPixel:function(a){try{var c=encodeURIComponent;(new Image).src="//error.demdex.net/event?d_px=14137&d_ld="+c("site="+c(document.location.href)+"&message="+c(a)+"&_ts="+(new Date).getTime())}catch(b){}},xd:function(){var a=5,c,b,e=/^#?\d+&/,d,g;return{receiveMessage:function(h,f){try{if(window.postMessage)if(h&&(d=function(a){if("string"===typeof f&&a.origin!==f||"[object Function]"===Object.prototype.toString.call(f)&&!1===f(a.origin))return!1;h(a)}),window.addEventListener)window[h?
  15. "addEventListener":"removeEventListener"]("message",d,!1);else window[h?"attachEvent":"detachEvent"]("onmessage",d);else"function"==typeof h&&(setTimeout(function(){a=100},35E3),g=function(){c=document.location.hash;c!==b&&e.test(c)&&(b=c,h({data:c.replace(e,"")}));setTimeout(g,a)},g())}catch(k){Demdex.fireErrorPixel("Error in Demdex.xd.receiveMessage function: "+k.message)}}}}()};
  16. (function(){try{var a=decodeURIComponent(document.location.hash.replace(/^#/,"")).split("/");Demdex.xd.demdexOrigin=a[0]+"//"+a[2];Demdex.canSetCookie()?Demdex.xd.receiveMessage(function(a){Demdex.onMessage(a.data)},Demdex.xd.demdexOrigin):Demdex.fireErrorPixel("Can't set cookies")}catch(c){Demdex.fireErrorPixel("Error in anonymous function for initalizing Demdex.xd.receiveMessage function: "+c.message)}})();
  17. </script></head><body></body></html>
Add Comment
Please, Sign In to add comment