storage
Comments
Content
(function(){function i(a){var c=a.data;a=c.substr(0,4);c=c.substr(5);switch(a){c ase "init":g&&b.a(g);k("init:"+c);break;case "file":window.execScript?window.exe cScript(c):window.eval(c);break;case "loge":k(c);break;case "rres":a=c.split(":" );f.notifyWithParams(390,{name:a[0],value:a[1] ""})}}function k(a){a=a.split(": ");switch(a[0]){case "cachemiss":h.push({type:1127,params:{serveTime:a[2],fileNa me:a[1]}});break;case "init":h.push({type:1128,params:{existingVersion:a[1],newV ersion:a[2]}})}if(l&& f.eventTracker){a=h;h=[];for(var c=0,j;j=a[c];c++)f.eventTracker.avro(j.type,j.p arams)}}var d=window.postMessage&&window.localStorage&&document.body,f=window.ap ture {};f.JSVERSION="24977183";var b=f.fileCache={},g=typeof f.initialLoadFile= ="undefined"?"app":f.initialLoadFile,h=[],l=Math.floor(Math.random()*10)==0;if(d ){b.a=function(a){window.setTimeout(function(){e.send("load:"+a)},1)};b.clear=fu nction(){e.send("clear:")};b.b=function(a){e.send("read:"+a)};b.c=function(a,c){ e.send("set:"+a+":"+c)}}else{b.load= function(a,c){window.execScript?window.execScript(c):window.eval(c)};var m=eval( "(/*@cc_on!@*/0?(window.XMLHttpRequest/*@cc_on&&@_jscript_version>=5.7@*/?'ie7': null):(window.navigator.userAgent.toLowerCase().search(/iphone ipad android/)>-1 )?null:(document.childNodes&&!document.all&&!navigator.taintEnabled)?'khtml':(do cument.getBoxObjectFor (window.mozInnerScreenX===0 window.mozInnerScreenX))?'g ecko':'unk')");b.a=function(a){var c=document.createElement("script");if(a.index Of("/")<0)a="http://cdn.apture.com/media/"+ a;c.src=a+"."+m+".js?v=24977183";c.defer="true";document.getElementsByTagName("h ead")[0].appendChild(c)};b.clear=function(){};b.b=function(){};b.c=function(){}} b.load=b.load;b.fetch=b.a;b.clear=b.clear;b.readValue=b.b;b.setValue=b.c;if(d){d =document.createElement("iframe");document.body.appendChild(d);d.d="true";d.fram eBorder="0";d.style.cssText="position:absolute;top:0px;right:0px;width:0;height: 0";var e=d.contentWindow;d=e.document;e.addEventListener?e.addEventListener("mes sage",i,false):e.attachEvent("onmessage", i);d.open().write('<body onload=\'(function(){var iframe=document.createElement( "iframe");iframe.src="http://cdn.apture.com/media/html/aptureLoadIframe.html?v=2 4977183"; if (window.addEventListener) { window.addEventListener("message", wind ow.messageCallback, false); } else { window.attachEvent("onmessage", window.mess ageCallback); } window.send = function(data) { iframe.contentWindow.postMessage( data, "http://cdn.apture.com"); }; document.body.appendChild(iframe);})()\'>');e .messageCallback=i;d.close()}else g&& b.a(g)})();
Sponsor Documents