function comScore(a,b){var c="comScore",d=document,e=d.location,f="",g="undefined",h=2048,i,j,k,l,m="characterSet",n="defaultCharset",o=typeof encodeURIComponent!=g?encodeURIComponent:escape;if(d.cookie.indexOf(c+"=")!=-1){k=d.cookie.split(";");for(l=0,e=k.length;l<e;l++){var p=k[l].indexOf(c+"=");p!=-1&&(f="&"+unescape(k[l].substring(p+c.length+1)))}}a=a+"&ns__t="+(new Date).getTime(),a=a+"&ns_c="+(d[m]?d[m]:d[n]?d[n]:"")+"&c8="+o(d.title)+f+"&c7="+o(e&&e.href?e.href:d.URL)+"&c9="+o(d.referrer),a.length>h&&a.indexOf("&")>0&&(i=a.substr(0,h-8).lastIndexOf("&"),a=(a.substring(0,i)+"&ns_cut="+o(a.substring(i+1))).substr(0,h)),d.images?(j=new Image,typeof ns_p==g&&(ns_p=j),typeof b=="function"&&(j.onload=j.onerror=b),j.src=a):d.write(["<","p","><",'img src="',a,'" height="1" width="1" alt="*"',"><","/p",">"].join(""))}typeof _comscore=="undefined"&&(_comscore=[]),function(){var a="length",b=self,c=b.encodeURIComponent?encodeURIComponent:escape,d=".scorecardresearch.com",e="//app"+d+"/s2e/invite",f=Math,g="script",h="width",i=/c2=(\d*)&/,j,k=function(b){if(!!b){var e,f=[],g,h=0,i,j,k="";for(var l in b){g=typeof b[l];if(g=="string"||g=="number")f[f[a]]=l+"="+c(b[l]),l=="c2"?k=b[l]:l=="c1"&&(h=1)}if(f[a]<=0||k=="")return;j=b.options||{},j.d=j.d||document;if(typeof j.url_append=="string"){i=j.url_append.replace(/&amp;/,"&").split("&");for(var l=0,n=i[a],o;l<n;l++)o=i[l].split("="),o[a]==2&&(f[f[a]]=o[0]+"="+c(o[1]))}e=["http",j.d.location.href.charAt(4)=="s"?"s://sb":"://b",d,"/b?",h?"":"c1=2&",f.join("&").replace(/&$/,"")],comScore(e.join(""),function(){m(this,j)})}},l=function(b){b=b||_comscore;for(var c=0,d=b[a];c<d;c++)k(b[c]);b=_comscore=[]},m=function(a,b){if(!(a.src.indexOf("c1=2")<0||!b.d.createElement))if(b.force_script_extension||a[h]==2&&a.height>f.round(f.random()*100)){var c=b.d.createElement(g),d=b.d.getElementsByTagName(g)[0],j=[b.script_extension_url||e,"?","c2=",a.src.match(i)[1]].join("");d&&(c.src=j,c.async=!0,d.parentNode.insertBefore(c,d))}};l(),(j=b.COMSCORE)?(j.purge=l,j.beacon=k):COMSCORE={purge:l,beacon:k}}()






