(function(){var h=true,i=null,j=false,o,q=this;function r(){}
function s(a){var b=typeof a;if(b=="object")if(a){if(a instanceof Array||!(a instanceof Object)&&Object.prototype.toString.call(a)=="[object Array]"||typeof a.length=="number"&&typeof a.splice!="undefined"&&typeof a.propertyIsEnumerable!="undefined"&&!a.propertyIsEnumerable("splice"))return"array";if(!(a instanceof Object)&&(Object.prototype.toString.call(a)=="[object Function]"||typeof a.call!="undefined"&&typeof a.propertyIsEnumerable!="undefined"&&!a.propertyIsEnumerable("call")))return"function"}else return"null";
else if(b=="function"&&typeof a.call=="undefined")return"object";return b}function u(a){return typeof a=="string"}function v(a){return s(a)=="function"}function x(a){return a[aa]||(a[aa]=++ba)}var aa="closure_uid_"+Math.floor(Math.random()*2147483648).toString(36),ba=0;function ca(a){return a.call.apply(a.D,arguments)}
function da(a,b){var c=b||q;if(arguments.length>2){var d=Array.prototype.slice.call(arguments,2);return function(){var f=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(f,d);return a.apply(c,f)}}else return function(){return a.apply(c,arguments)}}function ea(){ea=Function.prototype.D&&Function.prototype.D.toString().indexOf("native code")!=-1?ca:da;return ea.apply(i,arguments)}var fa=Date.now||function(){return+new Date};
function y(a,b){function c(){}c.prototype=b.prototype;a.j=b.prototype;a.prototype=new c};function ga(a){this.stack=Error().stack||"";if(a)this.message=String(a)}y(ga,Error);function ha(a){for(var b=1;b<arguments.length;b++){var c=String(arguments[b]).replace(/\$/g,"$$$$");a=a.replace(/\%s/,c)}return a}
function ia(a,b){for(var c=0,d=String(a).replace(/^[\s\xa0]+|[\s\xa0]+$/g,"").split("."),f=String(b).replace(/^[\s\xa0]+|[\s\xa0]+$/g,"").split("."),e=Math.max(d.length,f.length),g=0;c==0&&g<e;g++){var k=d[g]||"",l=f[g]||"",m=RegExp("(\\d*)(\\D*)","g"),w=RegExp("(\\d*)(\\D*)","g");do{var p=m.exec(k)||["","",""],n=w.exec(l)||["","",""];if(p[0].length==0&&n[0].length==0)break;c=ja(p[1].length==0?0:parseInt(p[1],10),n[1].length==0?0:parseInt(n[1],10))||ja(p[2].length==0,n[2].length==0)||ja(p[2],n[2])}while(c==
0)}return c}function ja(a,b){if(a<b)return-1;else if(a>b)return 1;return 0};function ka(a,b){b.unshift(a);ga.call(this,ha.apply(i,b));b.shift();this.V=a}y(ka,ga);function la(a,b){if(!a){var c=Array.prototype.slice.call(arguments,2),d="Assertion failed";if(b){d+=": "+b;var f=c}throw new ka(""+d,f||[]);}return a};var z=Array.prototype,ma=z.indexOf?function(a,b,c){la(a.length!=i);return z.indexOf.call(a,b,c)}:function(a,b,c){c=c==i?0:c<0?Math.max(0,a.length+c):c;if(u(a)){if(!u(b)||b.length!=1)return-1;return a.indexOf(b,c)}for(c=c;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1},na=z.forEach?function(a,b,c){la(a.length!=i);z.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,f=u(a)?a.split(""):a,e=0;e<d;e++)e in f&&b.call(c,f[e],e,a)};var A,oa,pa,qa;function ra(){return q.navigator?q.navigator.userAgent:i}qa=pa=oa=A=j;var sa;if(sa=ra()){var ta=q.navigator;A=sa.indexOf("Opera")==0;oa=!A&&sa.indexOf("MSIE")!=-1;pa=!A&&sa.indexOf("WebKit")!=-1;qa=!A&&!pa&&ta.product=="Gecko"}var B=oa,ua=qa,va=pa,wa=q.navigator,xa=(wa&&wa.platform||"").indexOf("Mac")!=-1,ya;
a:{var za="",C;if(A&&q.opera){var Aa=q.opera.version;za=typeof Aa=="function"?Aa():Aa}else{if(ua)C=/rv\:([^\);]+)(\)|;)/;else if(B)C=/MSIE\s+([^\);]+)(\)|;)/;else if(va)C=/WebKit\/(\S+)/;if(C){var Ba=C.exec(ra());za=Ba?Ba[1]:""}}if(B){var Ca,Da=q.document;Ca=Da?Da.documentMode:undefined;if(Ca>parseFloat(za)){ya=String(Ca);break a}}ya=za}var Ea={};function D(a){return Ea[a]||(Ea[a]=ia(ya,a)>=0)};var Fa;!B||D("9");B&&D("8");function E(){}E.prototype.H=j;E.prototype.m=function(){if(!this.H){this.H=h;this.d()}};E.prototype.d=function(){};function F(a,b){this.type=a;this.currentTarget=this.target=b}y(F,E);F.prototype.d=function(){delete this.type;delete this.target;delete this.currentTarget};F.prototype.k=j;F.prototype.s=h;function G(a,b){a&&this.p(a,b)}y(G,F);o=G.prototype;o.target=i;o.relatedTarget=i;o.offsetX=0;o.offsetY=0;o.clientX=0;o.clientY=0;o.screenX=0;o.screenY=0;o.button=0;o.keyCode=0;o.charCode=0;o.ctrlKey=j;o.altKey=j;o.shiftKey=j;o.metaKey=j;o.S=j;o.J=i;
o.p=function(a,b){var c=this.type=a.type;this.target=a.target||a.srcElement;this.currentTarget=b;var d=a.relatedTarget;if(d){if(ua)try{d=d.nodeName&&d}catch(f){d=i}}else if(c=="mouseover")d=a.fromElement;else if(c=="mouseout")d=a.toElement;this.relatedTarget=d;this.offsetX=a.offsetX!==undefined?a.offsetX:a.layerX;this.offsetY=a.offsetY!==undefined?a.offsetY:a.layerY;this.clientX=a.clientX!==undefined?a.clientX:a.pageX;this.clientY=a.clientY!==undefined?a.clientY:a.pageY;this.screenX=a.screenX||0;
this.screenY=a.screenY||0;this.button=a.button;this.keyCode=a.keyCode||0;this.charCode=a.charCode||(c=="keypress"?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.S=xa?a.metaKey:a.ctrlKey;this.P=a.P;this.J=a;delete this.s;delete this.k};o.d=function(){G.j.d.call(this);this.relatedTarget=this.currentTarget=this.target=this.J=i};function Ga(){}var Ha=0;o=Ga.prototype;o.key=0;o.l=j;o.u=j;o.p=function(a,b,c,d,f,e){if(v(a))this.L=h;else if(a&&a.handleEvent&&v(a.handleEvent))this.L=j;else throw Error("Invalid listener argument");this.n=a;this.O=b;this.src=c;this.type=d;this.capture=!!f;this.w=e;this.u=j;this.key=++Ha;this.l=j};o.handleEvent=function(a){if(this.L)return this.n.call(this.w||this.src,a);return this.n.handleEvent.call(this.n,a)};function H(a,b){this.M=b;this.i=[];if(a>this.M)throw Error("[goog.structs.SimplePool] Initial cannot be greater than max");for(var c=0;c<a;c++)this.i.push(this.f?this.f():{})}y(H,E);H.prototype.f=i;H.prototype.G=i;function I(a){if(a.i.length)return a.i.pop();return a.f?a.f():{}}function J(a,b){a.i.length<a.M?a.i.push(b):Ia(a,b)}function Ia(a,b){if(a.G)a.G(b);else{var c=s(b);if(c=="object"||c=="array"||c=="function")if(v(b.m))b.m();else for(var d in b)delete b[d]}}
H.prototype.d=function(){H.j.d.call(this);for(var a=this.i;a.length;)Ia(this,a.pop());delete this.i};var Ja;var Ka=(Ja="ScriptEngine"in q&&q.ScriptEngine()=="JScript")?q.ScriptEngineMajorVersion()+"."+q.ScriptEngineMinorVersion()+"."+q.ScriptEngineBuildVersion():"0";var La,Ma,K,Na,Oa,Pa,Qa,Ra,Sa,Ta,Ua;
(function(){function a(){return{c:0,b:0}}function b(){return[]}function c(){function n(t){return g.call(n.src,n.key,t)}return n}function d(){return new Ga}function f(){return new G}var e=Ja&&!(ia(Ka,"5.7")>=0),g;Pa=function(n){g=n};if(e){La=function(){return I(k)};Ma=function(n){J(k,n)};K=function(){return I(l)};Na=function(n){J(l,n)};Oa=function(){return I(m)};Qa=function(){J(m,c())};Ra=function(){return I(w)};Sa=function(n){J(w,n)};Ta=function(){return I(p)};Ua=function(n){J(p,n)};var k=new H(0,
600);k.f=a;var l=new H(0,600);l.f=b;var m=new H(0,600);m.f=c;var w=new H(0,600);w.f=d;var p=new H(0,600);p.f=f}else{La=a;Ma=r;K=b;Na=r;Oa=c;Qa=r;Ra=d;Sa=r;Ta=f;Ua=r}})();function Va(a,b,c){for(var d in a)b.call(c,a[d],d,a)}function Wa(a){for(var b in a)return j;return h}var Xa=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"];function Ya(a){for(var b,c,d=1;d<arguments.length;d++){c=arguments[d];for(b in c)a[b]=c[b];for(var f=0;f<Xa.length;f++){b=Xa[f];if(Object.prototype.hasOwnProperty.call(c,b))a[b]=c[b]}}};var L={},M={},N={},Za={};
function O(a,b,c,d,f){if(b)if(s(b)=="array"){for(var e=0;e<b.length;e++)O(a,b[e],c,d,f);return i}else{d=!!d;var g=M;b in g||(g[b]=La());g=g[b];if(!(d in g)){g[d]=La();g.c++}g=g[d];var k=x(a),l;g.b++;if(g[k]){l=g[k];for(e=0;e<l.length;e++){g=l[e];if(g.n==c&&g.w==f){if(g.l)break;return l[e].key}}}else{l=g[k]=K();g.c++}e=Oa();e.src=a;g=Ra();g.p(c,e,a,b,d,f);c=g.key;e.key=c;l.push(g);L[c]=g;N[k]||(N[k]=K());N[k].push(g);if(a.addEventListener){if(a==q||!a.F)a.addEventListener(b,e,d)}else a.attachEvent($a(b),
e);return c}else throw Error("Invalid event type");}function ab(a,b,c,d,f){if(s(b)=="array"){for(var e=0;e<b.length;e++)ab(a,b[e],c,d,f);return i}d=!!d;a:{e=M;if(b in e){e=e[b];if(d in e){e=e[d];a=x(a);if(e[a]){a=e[a];break a}}}a=i}if(!a)return j;for(e=0;e<a.length;e++)if(a[e].n==c&&a[e].capture==d&&a[e].w==f)return bb(a[e].key);return j}
function bb(a){if(!L[a])return j;var b=L[a];if(b.l)return j;var c=b.src,d=b.type,f=b.O,e=b.capture;if(c.removeEventListener){if(c==q||!c.F)c.removeEventListener(d,f,e)}else c.detachEvent&&c.detachEvent($a(d),f);c=x(c);f=M[d][e][c];if(N[c]){var g=N[c],k=ma(g,b);if(k>=0){la(g.length!=i);z.splice.call(g,k,1)}g.length==0&&delete N[c]}b.l=h;f.N=h;cb(d,e,c,f);delete L[a];return h}
function cb(a,b,c,d){if(!d.q)if(d.N){for(var f=0,e=0;f<d.length;f++)if(d[f].l){var g=d[f].O;g.src=i;Qa(g);Sa(d[f])}else{if(f!=e)d[e]=d[f];e++}d.length=e;d.N=j;if(e==0){Na(d);delete M[a][b][c];M[a][b].c--;if(M[a][b].c==0){Ma(M[a][b]);delete M[a][b];M[a].c--}if(M[a].c==0){Ma(M[a]);delete M[a]}}}}
function db(a,b,c){var d=0,f=a==i,e=b==i,g=c==i;c=!!c;if(f)Va(N,function(l){for(var m=l.length-1;m>=0;m--){var w=l[m];if((e||b==w.type)&&(g||c==w.capture)){bb(w.key);d++}}});else{a=x(a);if(N[a]){a=N[a];for(f=a.length-1;f>=0;f--){var k=a[f];if((e||b==k.type)&&(g||c==k.capture)){bb(k.key);d++}}}}return d}function $a(a){if(a in Za)return Za[a];return Za[a]="on"+a}
function P(a,b,c,d,f){var e=1;b=x(b);if(a[b]){a.b--;a=a[b];if(a.q)a.q++;else a.q=1;try{for(var g=a.length,k=0;k<g;k++){var l=a[k];if(l&&!l.l)e&=eb(l,f)!==j}}finally{a.q--;cb(c,d,b,a)}}return Boolean(e)}function eb(a,b){var c=a.handleEvent(b);a.u&&bb(a.key);return c}
Pa(function(a,b){if(!L[a])return h;var c=L[a],d=c.type,f=M;if(!(d in f))return h;f=f[d];var e,g;if(Fa===undefined)Fa=B&&!q.addEventListener;if(Fa){var k;if(!(k=b))a:{k="window.event".split(".");for(var l=q;e=k.shift();)if(l[e])l=l[e];else{k=i;break a}k=l}e=k;k=h in f;l=j in f;if(k){if(e.keyCode<0||e.returnValue!=undefined)return h;a:{var m=j;if(e.keyCode==0)try{e.keyCode=-1;break a}catch(w){m=h}if(m||e.returnValue==undefined)e.returnValue=h}}m=Ta();m.p(e,this);e=h;try{if(k){for(var p=K(),n=m.currentTarget;n;n=
n.parentNode)p.push(n);g=f[h];g.b=g.c;for(var t=p.length-1;!m.k&&t>=0&&g.b;t--){m.currentTarget=p[t];e&=P(g,p[t],d,h,m)}if(l){g=f[j];g.b=g.c;for(t=0;!m.k&&t<p.length&&g.b;t++){m.currentTarget=p[t];e&=P(g,p[t],d,j,m)}}}else e=eb(c,m)}finally{if(p){p.length=0;Na(p)}m.m();Ua(m)}return e}d=new G(b,this);try{e=eb(c,d)}finally{d.m()}return e});!B||D("9");B&&D("9");function Q(a){return u(a)?document.getElementById(a):a};function fb(a,b,c){b=a.indexOf(b)+1;c=a.indexOf(c,b);if(c<0)c=a.length;return a.substring(b,c)};function gb(){}y(gb,E);o=gb.prototype;o.F=h;o.B=i;o.addEventListener=function(a,b,c,d){O(this,a,b,c,d)};o.removeEventListener=function(a,b,c,d){ab(this,a,b,c,d)};
o.dispatchEvent=function(a){a=a;if(u(a))a=new F(a,this);else if(a instanceof F)a.target=a.target||this;else{var b=a;a=new F(a.type,this);Ya(a,b)}b=1;var c,d=a.type,f=M;if(d in f){f=f[d];d=h in f;var e;if(d){c=[];for(e=this;e;e=e.B)c.push(e);e=f[h];e.b=e.c;for(var g=c.length-1;!a.k&&g>=0&&e.b;g--){a.currentTarget=c[g];b&=P(e,c[g],a.type,h,a)&&a.s!=j}}if(j in f){e=f[j];e.b=e.c;if(d)for(g=0;!a.k&&g<c.length&&e.b;g++){a.currentTarget=c[g];b&=P(e,c[g],a.type,j,a)&&a.s!=j}else for(c=this;!a.k&&c&&e.b;c=
c.B){a.currentTarget=c;b&=P(e,c,a.type,j,a)&&a.s!=j}}a=Boolean(b)}else a=h;return a};o.d=function(){gb.j.d.call(this);db(this);this.B=i};var R=q.window;function hb(a,b,c){if(v(a)){if(c)a=ea(a,c)}else if(a&&typeof a.handleEvent=="function")a=ea(a.handleEvent,a);else throw Error("Invalid listener argument");return b>2147483647?-1:R.setTimeout(a,b||0)};function ib(a,b,c,d){if(s(a)!="array"||s(b)!="array")throw Error("Start and end parameters must be arrays");if(a.length!=b.length)throw Error("Start and end points must be the same length");this.o=a;this.R=b;this.duration=c;this.C=d;this.coords=[]}y(ib,gb);var S={},T=i;function jb(){R.clearTimeout(T);var a=fa(),b;for(b in S)kb(S[b],a);T=Wa(S)?i:R.setTimeout(jb,20)}function lb(a){a=x(a);delete S[a];if(T&&Wa(S)){R.clearTimeout(T);T=i}}o=ib.prototype;o.e=0;o.K=0;o.a=0;o.startTime=i;o.I=i;o.z=i;
o.play=function(a){if(a||this.e==0){this.a=0;this.coords=this.o}else if(this.e==1)return j;lb(this);this.startTime=fa();if(this.e==-1)this.startTime-=this.duration*this.a;this.I=this.startTime+this.duration;this.z=this.startTime;this.a||this.r();U(this,"play");this.e==-1&&U(this,"resume");this.e=1;a=x(this);a in S||(S[a]=this);T||(T=R.setTimeout(jb,20));kb(this,this.startTime);return h};o.stop=function(a){lb(this);this.e=0;if(a)this.a=1;mb(this,this.a);U(this,"stop");this.g()};
o.d=function(){this.e!=0&&this.stop(j);U(this,"destroy");ib.j.d.call(this)};function kb(a,b){a.a=(b-a.startTime)/(a.I-a.startTime);if(a.a>=1)a.a=1;a.K=1E3/(b-a.z);a.z=b;v(a.C)?mb(a,a.C(a.a)):mb(a,a.a);if(a.a==1){a.e=0;lb(a);U(a,"finish");a.g()}else a.e==1&&a.A()}function mb(a,b){a.coords=Array(a.o.length);for(var c=0;c<a.o.length;c++)a.coords[c]=(a.R[c]-a.o[c])*b+a.o[c]}o.A=function(){U(this,"animate")};o.r=function(){U(this,"begin")};o.g=function(){U(this,"end")};
function U(a,b){a.dispatchEvent(new nb(b,a))}function nb(a,b){F.call(this,a);this.coords=b.coords;this.x=b.coords[0];this.y=b.coords[1];this.X=b.coords[2];this.duration=b.duration;this.a=b.a;this.T=b.K;this.P=b.e;this.h=b}y(nb,F);function ob(a,b){var c=a.style;if("opacity"in c)c.opacity=b;else if("MozOpacity"in c)c.MozOpacity=b;else if("filter"in c)c.filter=b===""?"":"alpha(opacity="+b*100+")"};function V(a,b,c,d,f){ib.call(this,b,c,d,f);this.element=a}y(V,ib);V.prototype.t=r;V.prototype.A=function(){this.t();V.j.A.call(this)};V.prototype.g=function(){this.t();V.j.g.call(this)};V.prototype.r=function(){this.t();V.j.r.call(this)};function pb(a,b,c,d,f){if(typeof b=="number")b=[b];if(typeof c=="number")c=[c];V.call(this,a,b,c,d,f);if(b.length!=1||c.length!=1)throw Error("Start and end points must be 1D");}y(pb,V);pb.prototype.t=function(){ob(this.element,this.coords[0])};function qb(){this.id=i;this.U=j;this.W=new Function}qb.prototype.u=function(a,b){this.id||(b===0||b===i||b===undefined?a():rb(this,a,b*1E3))};function sb(a,b,c){a.id&&a.clear();c===0||c===i||c===undefined?b():rb(a,b,c*1E3)}qb.prototype.clear=function(){R.clearTimeout(this.id);this.id=i};function rb(a,b,c){a.id=hb(function(){b();a.id=i},c)};function tb(a){this.v=a;this.h=i;this.g=new Function;this.r=new Function;this.Q=new qb}function ub(a,b,c,d,f){a.h!=i&&a.h.m();a.g=f!=undefined?f:new Function;a.h=new pb(a.v,b,c,d*1E3);a.h.g=function(){c===0?ob(a.v,0):ob(a.v,1);a.g()}}function vb(a,b,c,d){ub(a,0,1,b,d);sb(a.Q,function(){a.h.play()},c)}function wb(a,b,c,d){ub(a,1,0,b,d);sb(a.Q,function(){a.h.play()},c)};var W="ja";if(Q("us")!=i)W="us";else if(Q("eu")!=i)W="eu";else if(Q("fr")!=i)W="fr";else if(Q("de")!=i)W="de";var xb;var X=document,yb="a".toUpperCase();
if(X.querySelectorAll&&X.querySelector&&(!va||document.compatMode=="CSS1Compat"||D("528"))&&(yb||1))xb=X.querySelectorAll(yb+".blink");else if(X.getElementsByClassName){var zb=X.getElementsByClassName("blink");if(yb){for(var Y={},Ab=0,Bb=0,Z;Z=zb[Bb];Bb++)if(yb==Z.nodeName)Y[Ab++]=Z;Y.length=Ab;xb=Y}else xb=zb}else{zb=X.getElementsByTagName(yb||"*");Y={};for(Bb=Ab=0;Z=zb[Bb];Bb++){var Cb=Z.className;if(typeof Cb.split=="function"&&ma(Cb.split(/\s+/),"blink")>=0)Y[Ab++]=Z}Y.length=Ab;xb=Y}
na(xb,function(a){var b=fb(a.rel,"(",")"),c=Number(b.split(",")[0]),d=Number(b.split(",")[1]),f=new tb(a);O(a,"mouseover",function(){vb(f,c)});O(a,"mouseout",function(){wb(f,d)})});var $="/ff11/addon/wp/";if(W==="us"||W==="eu")$+="en/";else $=$+W+"/";var Db=Q("btGetWallpaperL"),Eb=Q("btGetWallpaperM"),Fb=Q("btGetWallpaperS");O(window,"load",function(){Db.href=$+Db.rel;Eb.href=$+Eb.rel;Fb.href=$+Fb.rel});var Gb=Q("wpWnidowContainer"),Hb=Q("wpWindow"),Ib=Q("btShowWallpaper");
O(Hb,"click",function(){Gb.style.display="none"});O(Ib,"click",function(){Gb.style.display="block"});var Jb="/ff11/index.shtml",Kb="/ff11/addon/scenario/index.html",Lb="http://www.playonline.com/pcd/topics/ff11/detail/6523/detail.html";
if(W!="ja"){Jb=["/ff11",W,"/index.shtml"].join("");Kb=["/ff11",W,"/addon/scenario/index.html"].join("");switch(W){case "us":Lb="http://www.playonline.com/pcd/topics/ff11us/detail/6524/detail.html";break;case "eu":Lb="http://www.playonline.com/pcd/topics/ff11eu/detail/6546/detail.html";break;case "fr":Lb="http://www.playonline.com/pcd/topics/ff11fr/detail/6535/detail.html";break;case "de":Lb="http://www.playonline.com/pcd/topics/ff11de/detail/6537/detail.html"}}Q("btGotoFF11Home").href=Jb;
Q("btGotoScenario").href=Kb;Q("btAboutItem").href=Lb;
})();
