admDisplayBannerObj=function(){var a=window.location.href,o="",s="";this.init=function(e){var t,n=document.currentScript||r();(t=document.createElement("div")).style.width=e.width+"px",t.style.height=e.height+"px",t.style.overflow="hidden",t.id="admnettag_"+e.size+"_"+Math.floor(1e7*Math.random()),n.parentNode.insertBefore(t,n),i(t,e)};var i=function(e,t){var n=new XMLHttpRequest;n.onreadystatechange=function(){4==this.readyState&&200==this.status&&(s=this.responseText,d(e,t))},n.withCredentials=!0,n.open("GET","//pixel.s3xified.com/uid",!0),n.send()},d=function(i,d){var r,e,t=new XMLHttpRequest,n={id:d.id,width:d.width,height:d.height,pageUrl:a,pageRef:document.referrer,rtbuid:s};0!=d.alldmns&&(n.alldmns=1),n.demo=o,e=h(n),t.onreadystatechange=function(){if(4==this.readyState&&200==this.status){if((r=JSON.parse(this.responseText)).error)return;for(var e in r)if(r[e].tag)if("html"==r[e].type)i.insertAdjacentHTML("beforeend",r[e].tag);else if("script_src"==r[e].type){var t=document.createElement("script");t.src=r[e].tag,i.appendChild(t)}else{var n=document.createElement("iframe");n.width=d.width,n.height=d.height,n.frameBorder=0,n.marginHeight=0,n.marginWidth=0,n.scrolling="no",(i=document.getElementById(i.id)).appendChild(n),n.contentWindow.document.open(),"video"==r[e].type&&(n.id=i.id+"_v",n.contentWindow.adnetVid=n.id),n.contentWindow.document.write(""+r[e].tag+""),n.contentWindow.document.close()}}},t.open("GET","//b.admedia.com/banner/adnet2/getads.php?"+e,!0),t.withCredentials=!0,t.send()},h=function(e){var t=[];for(var n in e)t[t.length]=encodeURIComponent(n)+"="+encodeURIComponent(e[n]);return t.join("&")},r=function(){var e;for(var t in e=document.getElementsByTagName("script"))if(-1