Apple Should Get A Boost From Samsung’s Exploding Batteries

Samsung had hit on its hands with the new Galaxy Note 7 by designing it to appeal to fans of its prior oversized phones while also drawing in new customers. But with increasing reports of serious battery defects, Samsung had to recall the hot-selling device at perhaps the worst possible time.

The recall, which Samsung said on Friday could take several weeks, leaves a big opportunity for Apple’s new iPhones, expected to premiere on Wednesday, to reach the top of the sales charts. Instead of giving its iPhone killer a big head start, Samsung now faces the prospect that buyers will be heading back to their wireless carrier to exchange the device just as the new iPhones show up.

“The timing could not be worse given how positive the reviews of the Note 7 have been, and this is the device Samsung was counting on for the holiday season,” says Carolina Milanesi, analyst at Creative Strategies.

Get Data Sheet, Fortune’s technology newsletter.

And although iPhone sales have sunk this year, a significant block of current iPhone owners could be looking to upgrade to the new models, widely referred to as the iPhone 7. Samsung itself waited two years to upgrade the Note, also creating a large group of possible buyers who want to upgrade and who may now be wooed away by Apple, noted Neil Shah, research director at Counterpoint Technology.

“This squashes Samsung’s only critical window of opportunity before the new iPhone proliferates to tap the two-year old Note and iPhone base,” Shah says.

Wall Street analysts who follow Apple jumped on the news to predict that the recall would boost iPhone sales.

“This issue could bode well for Apple and specifically the iPhone 7 Plus with dual camera that is expected to be unveiled next week,” Brian White, an analyst at Drexel Hamilton, said. “Furthermore, we believe the images and videos of burning Galaxy Note 7 devices in the media will cause some damage to the Samsung brand, further bolstering Apple’s brand.”

Still, analysts give Samsung credit for moving quickly to acknowledge and address the battery problem. The South Korean electronics giant said it had already shipped 2.5 million of the Note 7 since it hit the market on August 19 and had that only 35 battery problems have been reported.// <![CDATA[
(function(){var h,l=this,aa=function(a){var b=typeof a;if("object"==b)if(a){if(a instanceof Array)return"array";if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if("[object Window]"==c)return"object";if("[object Array]"==c||"number"==typeof a.length&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("splice"))return"array";if("[object Function]"==c||"undefined"!=typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("call"))return"function"}else return"null";else if("function"==b&&"undefined"==typeof a.call)return"object";return b},m=function(a){var b=aa(a);return"array"==b||"object"==b&&"number"==typeof a.length},n=function(a){return"string"==typeof a},ba=function(a,b,c){return a.call.apply(a.bind,arguments)},ca=function(a,b,c){if(!a)throw Error();if(2<arguments.length){var d=Array.prototype.slice.call(arguments,2);return function(){var c=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(c,d);return a.apply(b,c)}}return function(){return a.apply(b,arguments)}},p=function(a,b,c){p=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?ba:ca;return p.apply(null,arguments)},q=Date.now||function(){return+new Date};var r=String.prototype.trim?function(a){return a.trim()}:function(a){return a.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")},t=function(a,b){return-1!=a.indexOf(b)},u=function(a,b){return ab?1:0};var da=Array.prototype.forEach?function(a,b,c){Array.prototype.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=n(a)?a.split(""):a,f=0;f<d;f++)f in e&&b.call(c,e[f],f,a)},ea=function(a){return Array.prototype.concat.apply(Array.prototype,arguments)},fa=function(a){var b=a.length;if(0<b){for(var c=Array(b),d=0;dparseFloat(z)){y=String(B);break a}}y=z}var ra=y,la={},sa=function(a){ma(a,function(){for(var b=0,c=r(String(ra)).split("."),d=r(String(a)).split("."),e=Math.max(c.length,d.length),f=0;0==b&&f<e;f++){var g=c[f]||"",k=d[f]||"";do{g=/(\d*)(\D*)(.*)/.exec(g)||["","","",""];k=/(\d*)(\D*)(.*)/.exec(k)||["","","",""];if(0==g[0].length&&0==k[0].length)break;b=u(0==g[1].length?0:parseInt(g[1],10),0==k[1].length?0:parseInt(k[1],10))||u(0==g[2].length,0==k[2].length)||u(g[2],k[2]);g=g[3];k=k[3]}while(0==b)}return 0<=b})},ta=l.document,ua=ta&&w?qa()||("CSS1Compat"==ta.compatMode?parseInt(ra,10):5):void 0;var C;if(!(C=!x&&!w)){var D;if(D=w)D=9<=Number(ua);C=D}C||x&&sa("1.9.1");w&&sa("9");var va=function(a,b,c){a.addEventListener?a.addEventListener(b,c,!1):a.attachEvent&&a.attachEvent("on"+b,c)};var wa=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/#?]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/,xa=function(a,b){if(a)for(var c=a.split("&"),d=0;d<c.length;d++){var e=c[d].indexOf("="),f,g=null;0<=e?(f=c[d].substring(0,e),g=c[d].substring(e+1)):f=c[d];b(f,g?decodeURIComponent(g.replace(/\+/g," ")):"")}};var E=document,F=window;var ya="StopIteration"in l?l.StopIteration:{message:"StopIteration",stack:""},G=function(){};G.prototype.next=function(){throw ya;};G.prototype.X=function(){return this};var H=function(a,b){this.o={};this.i=[];this.I=this.h=0;var c=arguments.length;if(1<c){if(c%2)throw Error("Uneven number of arguments");for(var d=0;d<c;d+=2)this.set(arguments[d],arguments[d+1])}else a&&this.addAll(a)};h=H.prototype;h.m=function(){I(this);for(var a=[],b=0;b2*this.h&&I(this),!0):!1};var I=function(a){if(a.h!=a.i.length){for(var b=0,c=0;b<a.i.length;){var d=a.i[b];J(a.o,d)&&(a.i[c++]=d);b++}a.i.length=c}if(a.h!=a.i.length){for(var e={},c=b=0;b<a.i.length;)d=a.i[b],J(e,d)||(a.i[c++]=d,e[d]=1),b++;a.i.length=c}};h=H.prototype;h.get=function(a,b){return J(this.o,a)?this.o[a]:b};h.set=function(a,b){J(this.o,a)||(this.h++,this.i.push(a),this.I++);this.o[a]=b};h.addAll=function(a){var b;a instanceof H?(b=a.w(),a=a.m()):(b=ha(a),a=ga(a));for(var c=0;c<b.length;c++)this.set(b[c],a[c])};h.forEach=function(a,b){for(var c=this.w(),d=0;d=d.i.length)throw ya;var e=d.i[b++];return a?e:d.o[e]};return e};var J=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var za=function(a){if(a.m&&"function"==typeof a.m)return a.m();if(n(a))return a.split("");if(m(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return ga(a)},Aa=function(a,b,c){if(a.forEach&&"function"==typeof a.forEach)a.forEach(b,c);else if(m(a)||n(a))da(a,b,c);else{var d;if(a.w&&"function"==typeof a.w)d=a.w();else if(a.m&&"function"==typeof a.m)d=void 0;else if(m(a)||n(a)){d=[];for(var e=a.length,f=0;f<e;f++)d.push(f)}else d=ha(a);for(var e=za(a),f=e.length,g=0;g<f;g++)b.call(c,e[g],d&&d[g],a)}};var K=function(a,b){this.u=this.D=this.A="";this.F=null;this.C=this.s="";this.l=this.ba=!1;var c;if(a instanceof K)this.l=void 0!==b?b:a.l,L(this,a.A),c=a.D,M(this),this.D=c,c=a.u,M(this),this.u=c,N(this,a.F),c=a.s,M(this),this.s=c,O(this,a.v.clone()),c=a.C,M(this),this.C=c;else if(a&&(c=String(a).match(wa))){this.l=!!b;L(this,c[1]||"",!0);var d=c[2]||"";M(this);this.D=P(d);d=c[3]||"";M(this);this.u=P(d,!0);N(this,c[4]);d=c[5]||"";M(this);this.s=P(d,!0);O(this,c[6]||"",!0);c=c[7]||"";M(this);this.C=P(c)}else this.l=!!b,this.v=new Q(null,0,this.l)};K.prototype.toString=function(){var a=[],b=this.A;b&&a.push(R(b,Ba,!0),":");var c=this.u;if(c||"file"==b)a.push("//"),(b=this.D)&&a.push(R(b,Ba,!0),"@"),a.push(encodeURIComponent(String(c)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.F,null!=c&&a.push(":",String(c));if(c=this.s)this.u&&"/"!=c.charAt(0)&&a.push("/"),a.push(R(c,"/"==c.charAt(0)?Ca:Da,!0));(c=this.v.toString())&&a.push("?",c);(c=this.C)&&a.push("#",R(c,Ea));return a.join("")};K.prototype.resolve=function(a){var b=this.clone(),c=!!a.A;c?L(b,a.A):c=!!a.D;if(c){var d=a.D;M(b);b.D=d}else c=!!a.u;c?(d=a.u,M(b),b.u=d):c=null!=a.F;d=a.s;if(c)N(b,a.F);else if(c=!!a.s){if("/"!=d.charAt(0))if(this.u&&!this.s)d="/"+d;else{var e=b.s.lastIndexOf("/");-1!=e&&(d=b.s.substr(0,e+1)+d)}e=d;if(".."==e||"."==e)d="";else if(t(e,"./")||t(e,"/.")){for(var d=0==e.lastIndexOf("/",0),e=e.split("/"),f=[],g=0;g<e.length;){var k=e[g++];"."==k?d&&g==e.length&&f.push(""):".."==k?((1b)throw Error("Bad port number "+b);a.F=b}else a.F=null},O=function(a,b,c){M(a);b instanceof Q?(a.v=b,a.v.O(a.l)):(c||(b=R(b,Fa)),a.v=new Q(b,0,a.l))},M=function(a){if(a.ba)throw Error("Tried to modify a read-only Uri");};K.prototype.O=function(a){this.l=a;this.v&&this.v.O(a);return this};var P=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},R=function(a,b,c){return n(a)?(a=encodeURI(a).replace(b,Ga),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},Ga=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},Ba=/[#\/\[email protected]]/g,Da=/[\#\?:]/g,Ca=/[\#\?]/g,Fa=/[\#\[email protected]]/g,Ea=/#/g,Q=function(a,b,c){this.h=this.g=null;this.j=a||null;this.l=!!c},S=function(a){a.g||(a.g=new H,a.h=0,a.j&&xa(a.j,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))};h=Q.prototype;h.add=function(a,b){S(this);this.j=null;a=T(this,a);var c=this.g.get(a);c||this.g.set(a,c=[]);c.push(b);this.h+=1;return this};h.remove=function(a){S(this);a=T(this,a);return this.g.G(a)?(this.j=null,this.h-=this.g.get(a).length,this.g.remove(a)):!1};h.clear=function(){this.g=this.j=null;this.h=0};h.G=function(a){S(this);a=T(this,a);return this.g.G(a)};h.w=function(){S(this);for(var a=this.g.m(),b=this.g.w(),c=[],d=0;d<b.length;d++)for(var e=a[d],f=0;f<e.length;f++)c.push(b[d]);return c};h.m=function(a){S(this);var b=[];if(n(a))this.G(a)&&(b=ea(b,this.g.get(T(this,a))));else{a=this.g.m();for(var c=0;c<a.length;c++)b=ea(b,a[c])}return b};h.set=function(a,b){S(this);this.j=null;a=T(this,a);this.G(a)&&(this.h-=this.g.get(a).length);this.g.set(a,[b]);this.h+=1;return this};h.get=function(a,b){var c=a?this.m(a):[];return 0<c.length?String(c[0]):b};h.toString=function(){if(this.j)return this.j;if(!this.g)return"";for(var a=[],b=this.g.w(),c=0;c<b.length;c++)for(var d=b[c],e=encodeURIComponent(String(d)),d=this.m(d),f=0;f<d.length;f++){var g=e;""!==d[f]&&(g+="="+encodeURIComponent(String(d[f])));a.push(g)}return this.j=a.join("&")};h.clone=function(){var a=new Q;a.j=this.j;this.g&&(a.g=this.g.clone(),a.h=this.h);return a};var T=function(a,b){var c=String(b);a.l&&(c=c.toLowerCase());return c};Q.prototype.O=function(a){a&&!this.l&&(S(this),this.j=null,this.g.forEach(function(a,c){var b=c.toLowerCase();c!=b&&(this.remove(c),this.remove(b),0<a.length&&(this.j=null,this.g.set(T(this,b),fa(a)),this.h+=a.length))},this));this.l=a};Q.prototype.extend=function(a){for(var b=0;bthis.Y&&(this.J=-1,V(this,1,a),null!==this.B&&(this.B.registerFinalizeCallback(p(this.B.fireOnObject,this.B,"attempt_survey_trigger",["wfocus",this.W,this.V,this.L,this.T,this.P,a])),5E3// g?c=a+f+c:(g+=f.length,f=a.indexOf("&",g),c=0<=f?a.substring(0,g)+c+a.substring(f):a.substring(0,g)+c)}return 2E3<c.length?void 0!==d?da(a,b,d,void 0,e):a:c};var ea=function(){var a=/[&\?#]exk=([^& ]+)/.exec(t.location.href);return a&&2==a.length?a[1]:null};var fa=String.prototype.trim?function(a){return a.trim()}:function(a){return a.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")},ha=function(a,b){for(var c=0,d=fa(String(a)).split("."),e=fa(String(b)).split("."),f=Math.max(d.length,e.length),g=0;0==c&&g<f;g++){var h=d[g]||"",k=e[g]||"";do{h=/(\d*)(\D*)(.*)/.exec(h)||["","","",""];k=/(\d*)(\D*)(.*)/.exec(k)||["","","",""];if(0==h[0].length&&0==k[0].length)break;c=ga(0==h[1].length?0:parseInt(h[1],10),0==k[1].length?0:parseInt(k[1],10))||ga(0==h[2].length,0==k[2].length)||ga(h[2],k[2]);h=h[3];k=k[3]}while(0==c)}return c},ga=function(a,b){return ab?1:0};var ia=function(a,b,c){if("array"==ba(b))for(var d=0;d<b.length;d++)ia(a,String(b[d]),c);else null!=b&&c.push("&",a,""===b?"":"=",encodeURIComponent(String(b)))},ja=function(a,b,c){for(c=c||0;c<b.length;c+=2)ia(b[c],b[c+1],a);return a},ka=function(a,b){var c=2==arguments.length?ja([a],arguments[1],0):ja([a],arguments,1);if(c[1]){var d=c[0],e=d.indexOf("#");0e?c[1]="?":e==d.length-1&&(c[1]=void 0)}return c.join("")};var la=Array.prototype.indexOf?function(a,b,c){return Array.prototype.indexOf.call(a,b,c)}:function(a,b,c){c=null==c?0:0>c?Math.max(0,a.length+c):c;if(m(a))return m(b)&&1==b.length?a.indexOf(b,c):-1;for(;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1},ma=Array.prototype.forEach?function(a,b,c){Array.prototype.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=m(a)?a.split(""):a,f=0;f<d;f++)f in e&&b.call(c,e[f],f,a)},na=Array.prototype.map?function(a,b,c){return Array.prototype.map.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=Array(d),f=m(a)?a.split(""):a,g=0;g<d;g++)g in f&&(e[g]=b.call(c,f[g],g,a));return e};var oa=function(a,b){for(var c in a)b.call(void 0,a[c],c,a)},pa=function(a,b){return null!==a&&b in a};var u;a:{var qa=l.navigator;if(qa){var ua=qa.userAgent;if(ua){u=ua;break a}}u=""}var v=function(a){return-1!=u.indexOf(a)},va=function(a){for(var b=RegExp("(\\w[\\w ]+)/([^\\s]+)\\s*(?:\\((.*?)\\))?","g"),c=[],d;d=b.exec(a);)c.push([d[1],d[2],d[3]||void 0]);return c};var wa=function(){return v("Trident")||v("MSIE")},w=function(){return(v("Chrome")||v("CriOS"))&&!v("Edge")},ya=function(){function a(a){var b;a:{b=d;for(var e=a.length,h=m(a)?a.split(""):a,k=0;kb?null:m(a)?a.charAt(b):a[b]]||""}var b=u;if(wa())return xa(b);var b=va(b),c={};ma(b,function(a){c[a[0]]=a[1]});var d=ca(pa,c);return v("Opera")?a(["Version","Opera"]):v("Edge")?a(["Edge"]):w()?a(["Chrome","CriOS"]):(b=b[2])&&b[1]||""},xa=function(a){var b=/rv: *([\d\.]*)/.exec(a);if(b&&b[1])return b[1];var b="",c=/MSIE +([\d\.]+)/.exec(a);if(c&&c[1])if(a=/Trident\/(\d.\d)/.exec(a),"7.0"==c[1])if(a&&a[1])switch(a[1]){case "4.0":b="8.0";break;case "5.0":b="9.0";break;case "6.0":b="10.0";break;case "7.0":b="11.0"}else b="7.0";else b=c[1];return b};var za=function(a){za[" "](a);return a};za[" "]=aa;var Ba=function(a,b){var c=Aa;return Object.prototype.hasOwnProperty.call(c,a)?c[a]:c[a]=b(a)};var Ca=function(a,b){for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&b.call(void 0,a[c],c,a)},Ea=function(){var a=Da;if(!a)return"";var b=/.*[&#?]google_debug(=[^&]*)?(&.*)?$/;try{var c=b.exec(decodeURIComponent(a));if(c)return c[1]&&1e)return"";a.c.sort(function(a,b){return a-b});d=null;c="";for(var f=0;f<a.c.length;f++)for(var g=a.c[f],h=a.f[g],k=0;k=n.length){e-=n.length;b+=n;c=a.g;break}else a.l&&(c=e,n[c-1]==a.g&&–c,b+=n.substr(0,c),c=a.g,e=0);d=null==d?g:d}}f="";a.h&&null!=d&&(f=c+a.h+"="+(a.P||d));return b+f+""},Ka=function(a){if(!a.h)return a.o;var b=1,c;for(c in a.f)b=c.length>b?c.length:b;return a.o-a.h.length-b-a.g.length-1},La=function(a,b,c,d,e){var f=[];Ca(a,function(a,h){var g=Na(a,b,c,d,e);g&&f.push(h+"="+g)});return f.join(b)},Na=function(a,b,c,d,e){if(null==a)return"";b=b||"&";c=c||",$";"string"==typeof c&&(c=c.split(""));if(a instanceof Array){if(d=d||0,d<c.length){for(var f=[],g=0;ge?encodeURIComponent(La(a,b,c,d,e+1)):"…";return encodeURIComponent(String(a))};var Oa=function(a,b,c,d,e){try{var f;c instanceof Ia?f=c:(f=new Ia,Ca(c,function(a,b){var c=f,d=c.L++,e=Ja(b,a);c.c.push(d);c.f[d]=e}));if((d?a.O:Math.random())<(e||a.H)){var g=Ma(f,a.N,a.I,a.M+b+"&");y(l,g)}}catch(h){}},y=function(a,b,c){a.google_image_requests||(a.google_image_requests=[]);var d=a.document.createElement("img");if(c){var e=function(a){c(a);a=e;d.removeEventListener?d.removeEventListener("load",a,!1):d.detachEvent&&d.detachEvent("onload",a);a=e;d.removeEventListener?d.removeEventListener("error",a,!1):d.detachEvent&&d.detachEvent("onerror",a)};Ha(d,"load",e);Ha(d,"error",e)}d.src=b;a.google_image_requests.push(d)};var Pa=function(a,b,c){this.u=a;this.K=b;this.i=c;this.j=null;this.J=this.s;this.A=!1},Qa=function(a,b,c){this.message=a;this.fileName=b||"";this.lineNumber=c||-1},Sa=function(a,b,c){var d;try{d=c()}catch(g){var e=a.i;try{var f=Ra(g),e=a.J.call(a,b,f,void 0,void 0)}catch(h){a.s("pAR",h)}if(!e)throw g;}finally{}return d},z=function(a,b){var c=Ta;return function(){for(var d=[],e=0;e<arguments.length;++e)d[e]=arguments[e];return Sa(c,a,function(){return b.apply(void 0,d)})}};Pa.prototype.s=function(a,b,c,d,e){try{var f=e||this.K,g=new Ia;g.l=!0;x(g,1,"context",a);b instanceof Qa||(b=Ra(b));x(g,2,"msg",b.message.substring(0,512));b.fileName&&x(g,3,"file",b.fileName);0<b.lineNumber&&x(g,4,"line",b.lineNumber.toString());b={};if(this.j)try{this.j(b)}catch(G){}if(d)try{d(b)}catch(G){}d=[b];g.c.push(5);g.f[5]=d;var h;e=l;d=[];var k,n=null;do{b=e;var r;try{var X;if(X=!!b&&null!=b.location.href)b:{try{za(b.foo);X=!0;break b}catch(G){}X=!1}r=X}catch(G){r=!1}r?(k=b.location.href,n=b.document&&b.document.referrer||null):(k=n,n=null);d.push(new Ga(k||""));try{e=b.parent}catch(G){e=null}}while(e&&b!=e);k=0;for(var H=d.length-1;k<=H;++k)d[k].depth=H-k;b=l;if(b.location&&b.location.ancestorOrigins&&b.location.ancestorOrigins.length==d.length-1)for(k=1;k<d.length;++k){var ra=d[k];ra.url||(ra.url=b.location.ancestorOrigins[k-1]||"",ra.m=!0)}for(var sa=new Ga(l.location.href,!1),ta=d.length-1,H=ta;0parseFloat(ab)){$a=String(cb);break a}}$a=ab}var db=$a,Aa={},D=function(a){return Ba(a,function(){return 0<=ha(db,a)})},eb=l.document,fb=eb&&B?Za()||("CSS1Compat"==eb.compatMode?parseInt(db,10):5):void 0;var E=function(a,b){this.width=a;this.height=b};E.prototype.clone=function(){return new E(this.width,this.height)};E.prototype.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};E.prototype.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};E.prototype.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};E.prototype.scale=function(a,b){this.width*=a;this.height*="number"==typeof b?b:a;return this};!C&&!B||B&&9<=Number(fb)||C&&D("1.9.1");B&&D("9");var F=null,gb=function(){if(!A.body)return!1;if(!F){var a=A.createElement("iframe");a.style.display="none";a.id="anonIframe";F=a;A.body.appendChild(a)}return!0};var Ta;Ta=new Pa(new function(){this.N="http:"===t.location.protocol?"http:":"https:";this.I="pagead2.googlesyndication.com";this.M="/pagead/gen_204?id=";this.H=.01;this.O=Math.random()},"jserror",!0);var J=function(a,b){return z(a,b)};B&&D("9");!Ya||D("528");C&&D("1.9b")||B&&D("8")||Wa&&D("9.5")||Ya&&D("528");C&&!D("8")||B&&D("9");var hb=0,K={},jb=function(a){var b=K.imageLoadingEnabled;if(null!=b)a(b);else{var c=!1;ib(function(b,e){delete K[e];c||(c=!0,null!=K.imageLoadingEnabled||(K.imageLoadingEnabled=b),a(b))})}},ib=function(a){var b=new Image,c,d=""+hb++;K[d]=b;b.onload=function(){clearTimeout(c);a(!0,d)};c=setTimeout(function(){a(!1,d)},300);b.src="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw=="},kb=function(a){if(a){var b=document.createElement("OBJECT");b.data=a;b.width="1";b.height="1";b.style.visibility="hidden";var c=""+hb++;K[c]=b;b.onload=b.onerror=function(){delete K[c]};document.body.appendChild(b)}},lb=function(a){if(a){var b=new Image,c=""+hb++;K[c]=b;b.onload=b.onerror=function(){delete K[c]};b.src=a}},mb=function(a){a&&jb(function(b){b?lb(a):kb(a)})};var nb={F:"ud=1",D:"ts=0",T:"sc=1",B:"gz=1",C:"op=1",U:"efp=1",S:"rda=1",R:"dcl=1"};if(A&&A.URL){var Da=A.URL,ob=!(Da&&0=b)){var d=0,e=function(){a();d++;db;){try{if(c.google_osd_static_frame)return c}catch(e){}try{if(c.aswift_0&&(!a||c.aswift_0.google_osd_static_frame))return c.aswift_0}catch(e){}b++;c=c!=c.parent?c.parent:null}return null},vb=function(a,b,c,d,e,f,g){f=g||aa;if(10<tb)t.clearInterval(O),f();else if(++tb,t.postMessage&&(b.b||b.a)){if(f=ub(!0)){g={};qb(b,g);g[0]="goog_request_monitoring";g[6]=a;g[16]=c;d&&d.length&&(g[17]=d.join(","));e&&(g[19]=e);try{var h=sb(g);f.postMessage(h,"*")}catch(k){}}}else t.clearInterval(O),f()},wb=function(a){var b=ub(!1),c=!b;!b&&t&&(b=t.parent);if(b&&b.postMessage)try{b.postMessage(a,"*"),c&&t.postMessage(a,"*")}catch(d){}};var P=!1,xb=function(a){if(a=a.match(/[\d]+/g))a.length=3};(function(){if(navigator.plugins&&navigator.plugins.length){var a=navigator.plugins["Shockwave Flash"];if(a&&(P=!0,a.description)){xb(a.description);return}if(navigator.plugins["Shockwave Flash 2.0"]){P=!0;return}}if(navigator.mimeTypes&&navigator.mimeTypes.length&&(a=navigator.mimeTypes["application/x-shockwave-flash"],P=!(!a||!a.enabledPlugin))){xb(a.enabledPlugin.description);return}try{var b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");P=!0;xb(b.GetVariable("$version"));return}catch(c){}try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");P=!0;return}catch(c){}try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash"),P=!0,xb(b.GetVariable("$version"))}catch(c){}})();var yb=v("Firefox"),zb=Va()||v("iPod"),Ab=v("iPad"),Bb=v("Android")&&!(w()||v("Firefox")||v("Opera")||v("Silk")),Cb=w(),Db=v("Safari")&&!(w()||v("Coast")||v("Opera")||v("Edge")||v("Silk")||v("Android"))&&!(Va()||v("iPad")||v("iPod"));var Q=function(a){return(a=a.exec(u))?a[1]:""};(function(){if(yb)return Q(/Firefox\/([0-9.]+)/);if(B||Xa||Wa)return db;if(Cb)return Q(/Chrome\/([0-9.]+)/);if(Db&&!(Va()||v("iPad")||v("iPod")))return Q(/Version\/([0-9.]+)/);if(zb||Ab){var a=/Version\/(\S+).*Mobile\/(\S+)/.exec(u);if(a)return a[1]+"."+a[2]}else if(Bb)return(a=Q(/Android\s+([0-9.]+)/))?a:Q(/Version\/([0-9.]+)/);return""})();var Fb=function(){var a=t.parent&&t.parent!=t,b=a&&0<="//tpc.googlesyndication.com".indexOf(t.location.host);if(a&&t.name&&0==t.name.indexOf("google_ads_iframe")||b){var c;a=t||t;try{var d;if(a.document&&!a.document.body)d=new E(-1,-1);else{var e=(a||window).document,f="CSS1Compat"==e.compatMode?e.documentElement:e.body;d=(new E(f.clientWidth,f.clientHeight)).round()}c=d}catch(g){c=new E(-12245933,-12245933)}return Eb(c)}c=(t.document||document).getElementsByTagName("SCRIPT");return 0<c.length&&(c=c[c.length-1],c.parentElement&&c.parentElement.id&&0<c.parentElement.id.indexOf("_ad_container"))?Eb(void 0,c.parentElement):null},Eb=function(a,b){var c=Gb("IMG",a,b);return c||(c=Gb("IFRAME",a,b))?c:(c=Gb("OBJECT",a,b))?c:null},Gb=function(a,b,c){var d=document;c=c||d;d=a&&"*"!=a?a.toUpperCase():"";c=c.querySelectorAll&&c.querySelector&&d?c.querySelectorAll(d+""):c.getElementsByTagName(d||"*");for(d=0;d<c.length;d++){var e=c[d];if("OBJECT"==a)a:{var f=e.getAttribute("height");if(null!=f&&0<f&&0==e.clientHeight)for(var f=e.children,g=0;g<f.length;g++){var h=f[g];if("OBJECT"==h.nodeName||"EMBED"==h.nodeName){e=h;break a}}}f=e.clientHeight;g=e.clientWidth;if(h=b)h=new E(g,f),h=Math.abs(b.width-h.width)<.1*b.width&&Math.abs(b.height-h.height)<.1*b.height;if(h||!b&&10<f&&10<g)return e}return null};var R=0,Hb="",Ib=[],S=!1,T=!1,U=!1,Jb=!0,Kb=!1,Lb=!1,Mb=!1,Nb=!1,Ob=!1,Pb=!1,Qb=0,Rb=0,V=0,Sb=[],N=null,Tb="",Ub=[],Vb=null,Wb=[],Xb=!1,Zb="",$b="",ac=(new Date).getTime(),bc=!1,cc="",dc=!1,ec=["1","0","3"],W=0,Y=0,fc=0,gc="",ic=function(a,b,c){S&&(Jb||3!=(c||3)||Mb)&&hc(a,b,!0);if(U||T&&Lb)hc(a,b),T=U=!1},jc=function(){var a=Vb;return a?2!=a():!0},hc=function(a,b,c){if((b=b||Tb)&&!Xb&&(2==Y||c)&&jc()){for(var d=0;d<Ib.length;++d){var e=kc(Ib[d],b,c),f=a;Kb?mb(e):y(f,e,void 0)}Ob=!0;c?S=!1:Xb=!0}},lc=function(a,b){var c=[];a&&c.push("avi="+a);b&&c.push("cid="+b);return c.length?"//pagead2.googlesyndication.com/activeview?"+c.join("&"):"//pagead2.googlesyndication.com/activeview"},kc=function(a,b,c){c=c?"osdim":U?"osd2":"osdtos";a=[a,-1<a.indexOf("?")?"&id=":"?id=",c];"osd2"==c&&T&&Lb&&a.push("&ts=1");a.push("&ti=1");a.push("&",b);a.push("&uc="+fc);bc?a.push("&tgt="+cc):a.push("&tgt=nf");a.push("&cl="+(dc?1:0));Pb&&(a.push("&lop=1"),b=p()-Qb,a.push("&tslp="+b));b=a.join("");for(a=0;a<Ub.length;a++){try{var d=Ub[a]()}catch(e){}c="max_length";2<=d.length&&(3==d.length&&(c=d[2]),b=da(b,encodeURIComponent(d[0]),encodeURIComponent(d[1]),c))}2E3<b.length&&(b=b.substring(0,2E3));return b},Z=function(a){if(Zb){try{var b=da(Zb,"vi",a);gb()&&y(F.contentWindow,b,void 0)}catch(c){}0<=la(ec,a)&&(Zb="")}},mc=function(){Z("-1")},oc=function(a){if(a&&a.data&&m(a.data)){var b;var c=a.data;if(m(c)){b={};for(var c=c.split("\n"),d=0;d=e)){var f=Number(c[d].substr(0,e)),e=c[d].substr(e+1);switch(f){case 5:case 8:case 11:case 15:case 16:case 18:e="true"==e;break;case 4:case 7:case 6:case 14:case 20:case 21:case 22:case 23:case 24:e=Number(e);break;case 3:case 19:if("function"==ba(decodeURIComponent))try{e=decodeURIComponent(e)}catch(h){throw Error("Error: URI malformed: "+e);}break;case 17:e=na(decodeURIComponent(e).split(","),Number)}b[f]=e}}b=b[0]?b:null}else b=null;if(b&&(c=new M(b[4],b[12]),N&&N.match(c))){for(c=0;cW&&!T&&2==Y&&pc(t,"osd2","hs="+W)},rc=function(){var a={};qb(N,a);a[0]="goog_dom_content_loaded";var b=sb(a);try{pb(function(){wb(b)},10,"osd_listener::ldcl_int")}catch(c){}},sc=function(){var a={};qb(N,a);a[0]="goog_creative_loaded";var b=sb(a);pb(function(){wb(b)},10,"osd_listener::lcel_int");dc=!0},tc=function(a){if(m(a)){a=a.split("&");for(var b=a.length-1;0<=b;b–){var c=a[b],d=nb;c==d.F?(Jb=!1,a.splice(b,1)):c==d.B?(V=1,a.splice(b,1)):c==d.D?(T=!1,a.splice(b,1)):c==d.C&&(Kb=!0,a.splice(b,1))}gc=a.join("&")}},uc=function(){if(!bc){var a=Fb();a&&(bc=!0,cc=a.tagName,a.complete||a.naturalWidth?sc():L(a,"load",sc,"osd_listener::creative_load"))}};q("osdlfm",J("osd_listener::init",function(a,b,c,d,e,f,g,h,k,n){R=a;Zb=b;$b=d;S=f;g&&tc(g);T=f;1==h?Sb.push(947190538):2==h?Sb.push(947190541):3==h&&Sb.push(947190542);N=new M(e,ea());L(t,"load",mc,"osd_listener::load");L(t,"message",oc,"osd_listener::message");Hb=c||"";Ib=[n||lc(c,k)];L(t,"unload",qc,"osd_listener::unload");var r=t.document;!r.readyState||"complete"!=r.readyState&&"loaded"!=r.readyState?!wa()||0<=ha(ya(),11)?L(r,"DOMContentLoaded",rc,"osd_listener::dcl"):L(r,"readystatechange",function(){"complete"!=r.readyState&&"loaded"!=r.readyState||rc()},"osd_listener::rsc"):rc();-1==R?Y=f?3:1:-2==R?Y=3:0//

[Source:-Fortune]
//

Tags: , , , , , , , ,