if(typeof creativeCount=="undefined")creativeCount=1;else creativeCount++;var curObj=ads_expObjArray[ads_expObjArray.length-1];curObj.onLoadArray=[];curObj.onReadyArray=[];curObj.pageLoaded=false;curObj.readyLoaded=false;curObj.onLoadRun=function(){for(this.onLoadCount=0;this.onLoadCount<this.onLoadArray.length;this.onLoadCount++)this.onLoadArray[this.onLoadCount]();this.pageLoaded=true};
curObj.onReadyRun=function(){for(this.onLoadCount=0;this.onLoadCount<this.onReadyArray.length;this.onLoadCount++)this.onReadyArray[this.onLoadCount]();this.readyLoaded=true};curObj.runOnLoad=function(a){this.pageLoaded?a():this.onLoadArray.push(a)};curObj.runOnReady=function(a){this.readyLoaded?a():this.onReadyArray.push(a)};
if(creativeCount==1)if(window.addEventListener)window.addEventListener("load",function(){for(var a=0;a<ads_expObjArray.length;a++)ads_expObjArray[a].onLoadRun()},false);else if(window.attachEvent)window.attachEvent("onload",function(){for(var a=0;a<ads_expObjArray.length;a++)ads_expObjArray[a].onLoadRun()});else window.onload=function(){for(var a=0;a<ads_expObjArray.length;a++)ads_expObjArray[a].onLoadRun()};
curObj.Cookie=function(a){this.$name=a;var b=document.cookie;if(b!=""){var e=b.indexOf("; ")!=-1?b.split("; "):b.split(";"),d=null;for(b=0;b<e.length;b++)if(e[b].substring(0,a.length+1)==a+"="){d=e[b];break}if(d!=null){a=d.substring(a.length+1).split("&");for(b=0;b<a.length;b++)a[b]=a[b].split(":");for(b=0;b<a.length;b++)this[a[b][0]]=decodeURIComponent(a[b][1])}}};
curObj.Cookie.prototype.store=function(a,b,e,d){var c="";for(var f in this)if(!(f.charAt(0)=="$"||typeof this[f]=="function")){if(c!="")c+="&";c+=f+":"+encodeURIComponent(this[f])}c=this.$name+"="+c;if(a||a==0){f=24*a;var g=new Date;g.setHours(g.getHours()+f);c+="; max-age="+a*24*60*60;c+="; expires="+g.toGMTString()}if(b)c+="; path="+b;if(e)c+="; domain="+e;if(d)c+="; secure";document.cookie=c};
curObj.Cookie.prototype.remove=function(a,b,e){for(var d in this)d.charAt(0)!="$"&&typeof this[d]!="function"&&delete this[d];this.store(0,a,b,e)};
curObj.Cookie.enabled=function(){if(navigator.cookieEnabled!=undefined)return navigator.cookieEnabled;if(Cookie.enabled.cache!=undefined)return Cookie.enabled.cache;document.cookie="testcookie=test; max-age=10000";if(document.cookie.indexOf("testcookie=test")==-1)return Cookie.enabled.cache=false;else{document.cookie="testcookie=test; max-age=0";return Cookie.enabled.cache=true}};
