topical media & game development
lib-present-graphic-svg-mouse-over-effects-files-expansion-embed.js / js
(function(){
function h(a){throw a;}
var j=true,k=null,m=false,p=this,aa=function(a,b,c){var d=a.split("."),e=c||p;!(d[0]in e)&&e.execScript&&e.execScript("var "+d[0]);for(var f;d.length&&(f=d.shift());)if(!d.length&&b!==undefined)e[f]=b;else e=e[f]?e[f]:(e[f]={})},ba=function(a,b){for(var c=a.split("."),d=b||p,e;e=c.shift();)if(d[e])d=d[e];else return k;return d},ca=function(){},da=function(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},r=function(a){return da(a)=="array"},ea=function(a){var b=da(a);return b==
"array"||b=="object"&&typeof a.length=="number"},s=function(a){return typeof a=="string"},fa=function(a){return da(a)=="function"},ga=function(a){var b=da(a);return b=="object"||b=="array"||b=="function"},ja=function(a){if(a.hasOwnProperty&&a.hasOwnProperty(ha))return a[ha];a[ha]||(a[ha]=++ia);return a[ha]},ha="closure_hashCode_"+Math.floor(Math.random()*2147483648).toString(36),ia=0,t=function(a,b){var c=a.Pc;if(arguments.length>2){var d=Array.prototype.slice.call(arguments,2);c&&d.unshift.apply(d,
c);c=d}b=a.Rc||b;a=a.Qc||a;var e,f=b||p;e=c?function(){var g=Array.prototype.slice.call(arguments);g.unshift.apply(g,c);return a.apply(f,g)}:function(){return a.apply(f,arguments)};e.Pc=c;e.Rc=b;e.Qc=a;return e},ka=Date.now||function(){return(new Date).getTime()},u=function(a,b,c){aa(a,b,c)},v=function(a,b){function c(){}c.prototype=b.prototype;a.P=b.prototype;a.prototype=new c};var la=function(a,b,c){if(a.indexOf)return a.indexOf(b,c);if(Array.indexOf)return Array.indexOf(a,b,c);for(var d=c==k?0:c<0?Math.max(0,a.length+c):c,e=d;e<a.length;e++)if(e in a&&a[e]===b)return e;return-1},ma=function(a,b,c){if(a.forEach)a.forEach(b,c);else if(Array.forEach)Array.forEach(a,b,c);else for(var d=a.length,e=s(a)?a.split(""):a,f=0;f<d;f++)f in e&&b.call(c,e[f],f,a)},na=function(a,b){var c=la(a,b),d;if(d=c!=-1)Array.prototype.splice.call(a,c,1).length==1;return d},oa=function(a){if(r(a))return a.concat();
else{for(var b=[],c=0,d=a.length;c<d;c++)b[c]=a[c];return b}},pa=function(a){if(r(a))return a.concat();return oa(a)},qa=function(a){for(var b=1;b<arguments.length;b++){var c=arguments[b];if(ea(c)){c=pa(c);a.push.apply(a,c)}else a.push(c)}};var x=function(a,b){this.x=a!==undefined?a:0;this.y=b!==undefined?b:0};x.prototype.clone=function(){return new x(this.x,this.y)};x.prototype.toString=function(){return"("+this.x+", "+this.y+")"};var y=function(a,b){this.width=a;this.height=b};y.prototype.clone=function(){return new y(this.width,this.height)};y.prototype.toString=function(){return"("+this.width+" x "+this.height+")"};y.prototype.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};y.prototype.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};var ra=function(a){var b=[],c=0;for(var d in a)b[c++]=a[d];return b},sa=function(a){var b=[],c=0;for(var d in a)b[c++]=d;return b};var ta=function(a){return a.replace(/^[\s\xa0]+|[\s\xa0]+/,va=function(a){a=String(a);if(!ua.test(a))return encodeURIComponent(a);return a},wa=function(a,b){return a.indexOf(b)!=-1},ya=function(a,b){for(var c=0,d=ta(String(a)).split("."),e=ta(String(b)).split("."),f=Math.max(d.length,e.length),g=0;c==0&&g<f;g++){var i=d[g]||"",n=e[g]||"",l=new RegExp("(\\d*)(\\D*)","g"),o=new RegExp("(\\d*)(\\D*)","g");do{var q=l.exec(i)||["","",""],w=o.exec(n)||["","",""];if(q[0].length==
0&&w[0].length==0)break;var z=q[1].length==0?0:parseInt(q[1],10),Q=w[1].length==0?0:parseInt(w[1],10);c=xa(z,Q)||xa(q[2].length==0,w[2].length==0)||xa(q[2],w[2])}while(c==0)}return c},xa=function(a,b){if(a<b)return-1;else if(a>b)return 1;return 0};ka();var za,Aa,Ba,Ca,Da,Ea,Fa,Ga,Ha,Ia,Ja=function(){return p.navigator?p.navigator.userAgent:k},Ka=function(){return p.navigator},La=function(){Ea=Da=Ca=Ba=Aa=za=m;var a;if(a=Ja()){var b=Ka();za=a.indexOf("Opera")==0;Aa=!za&&a.indexOf("MSIE")!=-1;Ca=(Ba=!za&&a.indexOf("WebKit")!=-1)&&a.indexOf("Mobile")!=-1;Ea=(Da=!za&&!Ba&&b.product=="Gecko")&&b.vendor=="Camino"}};La();
var Ma=za,A=Aa,Na=Da,B=Ba,Oa=Ca,Pa=function(){var a=Ka();return a&&a.platform||""},Qa=Pa(),Ra=function(){Fa=wa(Qa,"Mac");Ga=wa(Qa,"Win");Ha=wa(Qa,"Linux");Ia=!!Ka()&&wa(Ka().appVersion||"","X11")};Ra();
var Sa=function(){var a="",b;if(Ma&&p.opera){var c=p.opera.version;a=typeof c=="function"?c():c}else{if(Na)b=/rv ([^\);]+)(\)|;)/;else if(A)b=/MSIE\s+([^\);]+)(\)|;)/;else if(B)b=/WebKit\/(\S+)/;if(b){var d=b.exec(Ja());a=d?d[1]:""}}return a},Ta=Sa(),Ua={},Va=function(a){return Ua[a]||(Ua[a]=ya(Ta,a)>=0)};var Wa;var Ya=function(a){return a?new C(Xa(a)):Wa||(Wa=new C)},Za=function(a){var b=a.document;if(B&&!Va("500")&&!Oa){if(typeof a.innerHeight=="undefined")a=window;var c=a.innerHeight,d=a.document.documentElement.scrollHeight;if(a==a.top)if(d<c)c-=15;return new y(a.innerWidth,c)}var e=b.compatMode=="CSS1Compat"&&(!Ma||Ma&&Va("9.50"))?b.documentElement:b.body;return new y(e.clientWidth,e.clientHeight)},a(this.bb)};C.prototype.appendChild=ab;C.prototype.contains=db;var D=function(){};D.prototype.ab=m;D.prototype.dispose=function(){if(!this.ab){this.ab=j;this.b()}};D.prototype.b=function(){};var eb=function(a){if(/^\s*/;return e.test(a.replace(b,"@").replace(c,"]").replace(d,""))},fb=function(a){var b=String(a);if(eb(b))try{return eval("("+b+")")}catch(c){}h(Error("Invalid JSON string: "+b))},E=function(){};E.prototype.serialize=function(a){var b=[];this.Ka(a,b);return b.join("")};
E.prototype.Ka=function(a,b){switch(typeof a){case "string":this.zb(a,b);break;case "number":this.Ec(a,b);break;case "boolean":b.push(a);break;case "undefined":b.push("null");break;case "object":if(a==k){b.push("null");break}if(r(a)){this.Dc(a,b);break}this.Fc(a,b);break;case "function":break;default:h(Error("Unknown type: "+typeof a))}};
var gb={'"':'\\"',"\\":"\\\\","/":"\\/","\u0008":"\\b","\u000c":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\u000b":"\\u000b"},hb=/\uffff/.test("\uffff")?/[\\\"\x00-\x1f\x7f-\uffff]/g:/[\\\"\x00-\x1f\x7f-\xff]/g;E.prototype.zb=function(a,b){b.push('"',a.replace(hb,function(c){if(c in gb)return gb[c];var d=c.charCodeAt(0),e="\\u";if(d<16)e+="000";else if(d<256)e+="00";else if(d<4096)e+="0";return gb[c]=e+d.toString(16)}),'"')};E.prototype.Ec=function(a,b){b.push(isFinite(a)&&!isNaN(a)?a:"null")};
E.prototype.Dc=function(a,b){var c=a.length;b.push("[");for(var d="",e=0;e<c;e++){b.push(d);this.Ka(a[e],b);d=","}b.push("]")};E.prototype.Fc=function(a,b){b.push("{");var c="";for(var d in a)if(a.hasOwnProperty(d)){var e=a[d];if(typeof e!="function"){b.push(c);this.zb(d,b);b.push(":");this.Ka(e,b);c=","}}b.push("}")};if("StopIteration"in p)var ib=p.StopIteration;else ib=Error("StopIteration");var jb=function(){};jb.prototype.next=function(){h(ib)};jb.prototype.__iterator__=function(){return this};var kb=function(a){if(typeof a.C=="function")return a.C();if(s(a))return a.split("");if(ea(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return ra(a)},lb=function(a){if(typeof a.L=="function")return a.L();if(typeof a.C=="function")return undefined;if(ea(a)||s(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(d);return b}return sa(a)},mb=function(a,b,c){if(typeof a.forEach=="function")a.forEach(b,c);else if(ea(a)||s(a))ma(a,b,c);else for(var d=lb(a),e=kb(a),f=e.length,g=0;g<f;g++)b.call(c,
e[g],d&&d[g],a)};var F=function(a){this.r={};this.g=[];var b=arguments.length;if(b>1){if(b%2)h(Error("Uneven number of arguments"));for(var c=0;c<b;c+=2)this.set(arguments[c],arguments[c+1])}else a&&this.Hb(a)};F.prototype.c=0;F.prototype.wa=0;F.prototype.C=function(){this.ea();for(var a=[],b=0;b<this.g.length;b++){var c=this.g[b];a.push(this.r[c])}return a};F.prototype.L=function(){this.ea();return this.g.concat()};F.prototype.u=function(a){return nb(this.r,a)};
F.prototype.remove=function(a){if(nb(this.r,a)){delete this.r[a];this.c--;this.wa++;this.g.length>2*this.c&&this.ea();return j}return m};F.prototype.ea=function(){if(this.c!=this.g.length){for(var a=0,b=0;a<this.g.length;){var c=this.g[a];if(nb(this.r,c))this.g[b++]=c;a++}this.g.length=b}if(this.c!=this.g.length){var d={};for(b=a=0;a<this.g.length;){c=this.g[a];if(!nb(d,c)){this.g[b++]=c;d[c]=1}a++}this.g.length=b}};F.prototype.get=function(a,b){if(nb(this.r,a))return this.r[a];return b};
F.prototype.set=function(a,b){if(!nb(this.r,a)){this.c++;this.g.push(a);this.wa++}this.r[a]=b};F.prototype.Hb=function(a){var b,c;if(a instanceof F){b=a.L();c=a.C()}else{b=sa(a);c=ra(a)}for(var d=0;d<b.length;d++)this.set(b[d],c[d])};F.prototype.clone=function(){return new F(this)};
F.prototype.__iterator__=function(a){this.ea();var b=0,c=this.g,d=this.r,e=this.wa,f=this,g=new jb;g.next=function(){for(;1;){if(e!=f.wa)h(Error("The map has changed since the iterator was created"));if(b>=c.length)h(ib);var i=c[b++];return a?i:d[i]}};return g};var nb=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var ob=/^(?:([^:\/?#]+):)?(?:\/\/(?:([^\/?#]*)@)?([^\/?#:@]*)(?::([0-9]+))?)?([^?#]+)?(?:\?([^#]*))?(?:#(.*))?b());else c=a.ec();c&&b.ra(a.J);return b};G.prototype.clone=function(){return wb(this.l,this.Q,this.w,this.t,this.s,this.k.clone(),this.J,this.o)};
G.prototype.ua=function(a,b){this.H();delete this.q;if(this.l=b?xb(a):a)this.l=this.l.replace(/:b=function(){return this.k.Kc()};G.prototype.jb=function(a){return this.k.get(a)};G.prototype.ra=function(a,b){this.H();delete this.q;this.J=b?xb(a):a;return this};G.prototype.ec=function(){return!!this.J};G.prototype.H=function(){if(this.oc)h(Error("Tried to modify a read-only Uri"))};
G.prototype.O=function(a){this.o=a;this.k&&this.k.O(a)};
var wb=function(a,b,c,d,e,f,g,i){var n=new G(k,i);a&&n.ua(a);b&&n.va(b);c&&n.qa(c);d&&n.ta(d);e&&n.sa(e);f&&n.La(f);g&&n.ra(g);return n},zb=function(a,b){a instanceof G||(a=a instanceof G?a.clone():new G(a,undefined));b instanceof G||(b=b instanceof G?b.clone():new G(b,undefined));return a.resolve(b)},vb=function(a){if(a==".."||a==".")return"";else if(!wa(a,"./")&&!wa(a,"/."))return a;else{for(var b=a.indexOf("/")==0,c=a.split("/"),d=[],e=0;e<c.length;){var f=c[e++];if(f==".")b&&e==c.length&&d.push("");
else if(f==".."){if(d.length>1||d.length==1&&d[0]!="")d.pop();b&&e==c.length&&d.push("")}else{d.push(f);b=j}}return d.join("/")}},xb=function(a){return a?decodeURIComponent(a):""},sb=function(a){if(s(a))return encodeURIComponent(a);return k},Ab=/^[a-zA-Z0-9\-_.!~*'():\/;?]*=this.za(a);this.rb=window.frames[a];a=this.ga();this.X=this.za(a);this.Na=window.frames[a]};
L.prototype.za=function(a){var b=document.createElement("iframe"),c=b.style;c.position="absolute";c.top="-10px";c.left="10px";c.width="1px";c.height="1px";b.id=b.name=a;b.src=this.pa+"#INITIAL";document.body.appendChild(b);return b};L.prototype.mc=function(){this.a.name=Db(10);this.Ya();this.F=m;this.){this.);this.rb=this.c)this.mc();else this.a.S()==0&&this.tc();window.setTimeout(t(this.connect,this),100)}};L.prototype.pb=function(a){try{var b=this.a.j.frames[a];if(!b||b.location.href.indexOf(this.Yc)!=0)return m}catch(c){return m}return j};
L.prototype.Ta=function(){var a=this.a.j.frames;if(a[this.ga()]&&a[this.ja()]){this.rc=new Hb(this.pa,this.rb);this.xa=new Hb(this.pa,this.Na);window.setTimeout(t(function(){this.rc.send("SETUP");this.W=this.cd=j},this),100)}else{if(!this.Lb)this.Lb=t(this.Ta,this);window.setTimeout(this.Lb,100)}};L.prototype.Sa=function(){if(this.Cc&&this.Zc){this.a.G();if(this.fa){for(var a=0,b;a<this.fa.length;a++){b=this.fa[a];this.a.v(b.service,b.payload)}delete this.fa}}};
L.prototype.wc=function(a){if(a=="SETUP"){if(this.xa){this.xa.send("SETUP_ACK");this.Cc=j;this.Sa()}}else if(this.a.h()||this.Cc){var b=a.indexOf("|"),c=a.substring(0,b),d=a.substring(b+1);b=c.indexOf(",");if(b==-1){var e=c;this.xa.send("ACK:"+e);this.Za(d)}else{e=c.substring(0,b);this.xa.send("ACK:"+e);var f=c.substring(b+1).split("/");f[0]=parseInt(f[0],10);f[1]=parseInt(f[1],10);if(f[0]==1)this.ub=[];this.ub.push(d);if(f[0]==f[1]){this.Za(this.ub.join(""));delete this.ub}}}};
L.prototype.vc=function(a){if(a=="SETUP_ACK"){this.W=m;this.Zc=j;this.Sa()}else if(this.a.h())if(this.W){var b=parseInt(a.split(":")[1],10);if(b==this.Ja){this.W=m;this.yb()}}};L.prototype.yb=function(){if(!(this.W||!this.Ia.length)){var a=this.Ia.shift();++this.Ja;this.rc.send(this.Ja+a);this.W=j}};L.prototype.Za=function(a){var b=a.indexOf(":"),c=a.substr(0,b),d=a.substring(b+1);this.a.h()?this.a.v(c,d):(this.fa||(this.fa=[])).push({service:c,payload:d})};L.prototype.da=3800;
L.prototype.send=function(a,b){var c=a+":"+b;if(!A||b.length<=this.da)this.Ia.push("|"+c);else for(var d=b.length,e=Math.ceil(d/this.da),f=0,g=1;f<d;){this.Ia.push(","+g+"/"+e+"|"+c.substr(f,this.da));g++;f+=this.da}this.yb()};L.prototype.b=function(){L.P.b.call(this);var a=Ib;na(a,this.qc);na(a,this.Gb);this.qc=this.Gb=k;bb(this.=this.X=k};
var Ib=[],Kb=function(){var a=m;try{for(var b=0,c=Ib.length;b<c;b++)a=a||Ib[b].receive()}catch(d){Ib[b].e.a.sc();if(!Ib.length)return}var e=ka();if(a)Eb=e;var f=e-Eb<1000?10:100;Fb=window.setTimeout(Jb,f)},Jb=t(Kb,L),Lb=function(){Eb=ka();Fb&&window.clearTimeout(Fb);Fb=window.setTimeout(Jb,10)},Hb=function(a,b){this.pa=a;this.Bc=b;this.Xa=0};Hb.prototype.send=function(a){this.Xa=++this.Xa%2;var b=this.pa+"#"+this.Xa+encodeURIComponent(a);try{if(B)this.Bc.location.href=b;else this.Bc.location.replace(b)}catch(c){}Lb()};
var Gb=function(a,b,c){this.e=a;this.xc=b;this.Sc=c;this.Tb=this.xc.location.href.split("#")[0]+"#INITIAL";Ib.push(this);Lb()};Gb.prototype.receive=function(){var a=this.xc.location.href;if(a!=this.Tb){this.Tb=a;var b=a.split("#")[1];if(b){b=b.substr(1);this.Sc(decodeURIComponent(b))}return j}else return m};var M=function(a,b){D.call(this);this.pc=b;this.R=[];this.Rb(a)};v(M,D);M.prototype.Aa=k;M.prototype.Ba=k;M.prototype.ba=function(a){this.Aa=a};M.prototype.Bb=function(a){this.Ba=a};M.prototype.B=function(){if(this.R.length)return this.R.pop();return this.Wa()};M.prototype.V=function(a){this.R.length<this.pc?this.R.push(a):this.a=function(a){if(this.Ba)this.Ba(a);else if(fa(a.dispose))a.dispose();else for(var b in a)delete a[b]};M.prototype.b=function(){M.P.b.call(this);for(var a=this.R;a.length;)this.b=function(a,b,c,d,e){if(b)if(r(b)){for(var f=0;f<b.length;f++)b(d,"load",nc)}var e=d.style;e.visibility="hidden";e.width=d.style.height="0px";e.position="absolute";var f=this.Xc;f+="#"+this.a.name;if(this.uc)f+=","+this.uc;f+="|"+a+":"+encodeURIComponent(b);d.src=f;document.body.appendChild(d)};
var nc=function(){bb(this);this.xpcOnload=k};window.xpcRelay=function(a,b){var c=b.indexOf(":"),d=b.substring(0,c),e=b.substring(c+1);I[a].v(d,decodeURIComponent(e))};S.prototype.b=function(){S.P.b.call(this);B&&lc(0)};var T=function(a,b){this.a=a;this.Fa=b||"*"};v(T,J);T.prototype.F=m;T.prototype.i=1;var oc=0,qc=function(){if(oc==0)b(window,"unload",sc)};v(V,D);V.prototype.e=k;V.prototype.Ma=1;V.prototype.h=function(){return this.Ma==2};V.prototype.j=k;V.prototype.T=k;V.prototype.Cb=function(a){this.j=a};V.prototype.Xb=function(){var a;if(fa(document.postMessage)||fa(window.postMessage)||A&&window.postMessage)a=1;else if(Na)a=2;else if(A&&this.f.pru)a=3;else if(A)a=6;else if(this.f.lpu&&this.f.ppu)a=4;return a};
V.prototype.Sb=function(){if(!this.e){this.f.tp||(this.f.tp=this.Xb());switch(this.f.tp){case 1:this.e=new T(this,this.f.ph);break;case 6:this.e=new U(this);break;case 2:this.e=new K(this);break;case 3:this.e=new S(this);break;case 4:this.e=new L(this);break}if(!this.e)h(Error("CrossPageChannel: No suitable transport found!"))}};V.prototype.Ub=m;V.prototype.Nb=m;
V.prototype.connect=function(a){this.Uc=a||ca;if(this.Ub)this.Nb=j;else{if(this.f.ifrid)this.T=s(this.f.ifrid)?document.getElementById(this.f.ifrid):this.f.ifrid;if(this.T){var b=this.T.contentWindow;b||(b=window.frames[this.f.ifrid]);this.Cb(b)}if(!this.j)if(window==top)h(Error("CrossPageChannel: Can't connect, peer window-object not set."));else this.Cb(window.parent);this.Sb();this.e.connect()}};V.prototype.close=function(){if(this.h()){this.Ma=3;this.e.dispose();this.e=k}};
V.prototype.G=function(){if(!this.h()){this.Ma=2;this.Uc()}};V.prototype.sc=function(){this.close()};V.prototype.vb=function(a,b,c){this.Ab[a]={name:a,callback:b,jsonEncoded:!!c}};V.prototype.send=function(a,b){if(this.h())if(this.j.closed)this.close();else{if(ga(b))b=(new E).serialize(b);this.e.send(a,b)}};V.prototype.v=function(a,b){if(!a||a=="tp")this.e.ca(b);else if(this.h()){var c=this.Ab[a];if(c){if(c.jsonEncoded)try{b=fb(b)}catch(d){return}c.callback(b)}}};
V.prototype.S=function(){return window.parent==this.j?1:0};V.prototype.b=function(){V.P.b.call(this);this.close();this.T=this.j=k;delete this.Ab;I[this.name]=k};var sc=function(){for(var a in I){var b=I[a];b&&b.dispose()}};function tc(a,b){if(a=="true")return j;if(a=="false")return m;return b};var W=document;tc("",m);tc("",m);tc("",m);tc("",m);var uc=window;var vc=function(a){var b=a||W.location.protocol+"//"+W.location.host;return b+"/robots.txt"};var X=function(){this.p=this.Z=m;this.qb=j;this.n=this.m=this.fb=this.eb=0};X.prototype.Yb=function(a){if(a&&typeof a.width=="number"&&typeof a.height=="number"&&typeof a.expansionCallback=="function"&&typeof a.collapseCallback=="function"){this.eb=a.height;this.fb=a.width;this.Zb=a.expansionCallback;this.Mb=a.collapseCallback;this.Z=j}else this.Z=m;return this.Z};X.prototype.ha=function(){return this.m};X.prototype.ia=function(){return this.n};X.prototype.hb=function(){return this.eb};
X.prototype.ib=function(){return this.fb};X.prototype.ma=function(){return this.p};X.prototype.ob=function(){return this.Z};X.prototype.Eb=function(a){this.qb=a};X.prototype.Ic=function(){if(!this.Z)return m;if(this.p)return m;return j};X.prototype.Hc=function(){if(!this.Z)return m;if(!this.p)return m;return j};X.prototype.Oc=function(a,b,c){this.p=j;this.qb&&this.Lc(a,b,c);typeof this.Zb=="function"&&this.Zb(a,b,c)};
X.prototype.Nc=function(a,b){this.p=m;this.qb&&this.zc();typeof this.Mb=="function"&&this.Mb(a,b)};X.prototype.Lc=function(a,b,c){if(c==0||c==3){var d=a-this.n;if(d>0)W.body.style.marginLeft=d+"px"}if(c==0||c==1){var e=b-this.m;if(e>0)W.body.style.marginTop=e+"px"}};X.prototype.zc=function(){W.body.style.marginLeft="0";W.body.style.marginTop="0"};
var wc=function(a){u("CreativeToolset",a);u("CreativeToolset.prototype.collapseWindow",a.prototype.Ua);u("CreativeToolset.prototype.enableExpansion",a.prototype.cb);u("CreativeToolset.prototype.expandWindow",a.prototype.db);u("CreativeToolset.prototype.getCollapsedHeight",a.prototype.ha);u("CreativeToolset.prototype.getCollapsedWidth",a.prototype.ia);u("CreativeToolset.prototype.getExpandedHeight",a.prototype.hb);u("CreativeToolset.prototype.getExpandedWidth",a.prototype.ib);u("CreativeToolset.prototype.isExpanded",
a.prototype.ma);u("CreativeToolset.prototype.isExpansionEnabled",a.prototype.ob);u("CreativeToolset.prototype.shouldMaintainCoordinates",a.prototype.Eb)};var Y=function(){X.call(this)};v(Y,X);Y.prototype.cb=function(a){if(this.Yb(a)){this.lc(W.URL);return j}else return m};Y.prototype.Gc=function(a){a=new G(a);var b=a.jb("xpc"),c=a.jb("p"),d={};d.cn=b;d.ph=c;d.ppu=vc(c);d.lpu=vc();return d};Y.prototype.lc=function(a){var b=Za(uc||window);this.n=b.width;this.m=b.height;var c=this.Gc(a);this.a=new V(c);this.a.vb("expandable_ad",t(this.M,this));this.Ob()};Y.prototype.Ob=function(){this.a.connect(function(){});window.setTimeout(t(this.ka,this),30000)};
Y.prototype.ka=function(){if(this.a&&!this.a.h())this.a=k};Y.prototype.db=function(){this.Ic()&&this.wb("expand_w"+this.fb+"_h"+this.eb)};Y.prototype.Ua=function(){this.Hc()&&this.wb("collapse")};Y.prototype.wb=function(a){this.a&&this.a.h()&&this.a.send("expandable_ad",a)};
Y.prototype.M=function(a){var b=a.split("_");if(!(b[0]!="ok")){for(var c,d,e,f=2;f<b.length;++f){var g=b[f].charAt(0),i=parseInt(b[f].substring(1),10);if(g=="w")c=i;else if(g=="h")d=i;else if(g=="d")e=i}if(b[1]=="expand"&&typeof c=="number"&&typeof d=="number"&&typeof e=="number"&&c>0&&d>0&&e>=0)this.Oc(c,d,e);else b[1]=="collapse"&&typeof c=="number"&&typeof d=="number"&&c>0&&d>0&&this.Nc(c,d)}};wc(Y);var xc,yc,zc,Ac,Bc,Cc,Dc=function(){Cc=Bc=Ac=zc=yc=xc=m;var a=Ja();if(a)if(a.indexOf("Firefox")!=-1)xc=j;else if(a.indexOf("Camino")!=-1)yc=j;else if(a.indexOf("iPhone")!=-1||a.indexOf("iPod")!=-1)zc=j;else if(a.indexOf("Android")!=-1)Ac=j;else if(a.indexOf("Chrome")!=-1)Bc=j;else if(a.indexOf("Safari")!=-1)Cc=j};Dc();var Ec=function(a,b){var c=Xa(a);if(c.defaultView&&c.defaultView.getComputedStyle){var d=c.defaultView.getComputedStyle(a,"");if(d)return d[b]}return k},Fc=function(a,b){return Ec(a,b)||(a.currentStyle?a.currentStyle[b]:k)||a.style[b]},Gc=function(a){var b;b=a?a.nodeType==9?a:Xa(a):document;if(A&&!Ya(b).nc())return b.body;return b.documentElement},Hc=function(a){var b=a.getBoundingClientRect();if(A){var c=a.ownerDocument;b.left-=c.documentElement.clientLeft+c.body.clientLeft;b.top-=c.documentElement.clientTop+
c.body.clientTop}return b},Ic=function(a){if(A)return a.offsetParent;for(var b=Xa(a),c=Fc(a,"position"),d=c=="fixed"||c=="absolute",e=a.parentNode;e&&e!=b;e=e.parentNode){c=Fc(e,"position");d=d&&c=="static"&&e!=b.documentElement&&e!=b.body;if(!d&&(e.scrollWidth>e.clientWidth||e.scrollHeight>e.clientHeight||c=="fixed"||c=="absolute"))return e}return k},Jc=function(a){var b,c=Xa(a),d=Fc(a,"position"),e=Na&&c.getBoxObjectFor&&!a.getBoundingClientRect&&d=="absolute"&&(b=c.getBoxObjectFor(a))&&(b.screenX<
0||b.screenY<0),f=new x(0,0),g=Gc(c);if(a==g)return f;if(a.getBoundingClientRect){b=Hc(a);var i=Ya(c).gb();f.x=b.left+i.x;f.y=b.top+i.y}else if(c.getBoxObjectFor&&!e){b=c.getBoxObjectFor(a);var n=c.getBoxObjectFor(g);f.x=b.screenX-n.screenX;f.y=b.screenY-n.screenY}else{var l=a;do{f.x+=l.offsetLeft;f.y+=l.offsetTop;if(l!=a){f.x+=l.clientLeft||0;f.y+=l.clientTop||0}if(B&&Fc(l,"position")=="fixed"){f.x+=c.body.scrollLeft;f.y+=c.body.scrollTop;break}l=l.offsetParent}while(l&&l!=a);if(Ma||B&&d=="absolute")f.y-=
c.body.offsetTop;for(l=a;(l=Ic(l))&&l!=c.body&&l!=g;){f.x-=l.scrollLeft;if(!Ma||l.tagName!="TR")f.y-=l.scrollTop}}return f},Kc=function(a){var b=new x;if(a.nodeType==1)if(a.getBoundingClientRect){var c=Hc(a);b.x=c.left;b.y=c.top}else{var d=Ya(a).gb(),e=Jc(a);b.x=e.x-d.x;b.y=e.y-d.y}else{b.x=a.clientX;b.y=a.clientY}return b};Na&&Va("1.9");var Z=function(a,b,c,d){this.p=m;this.ic=a;this.Mc=b;this.n=c;this.m=d};Z.prototype.ma=function(){return this.p};Z.prototype.ia=function(){return this.n};Z.prototype.ha=function(){return this.m};Z.prototype.collapse=function(){var a=this.Da();if(a){a.style.width=this.n+"px";a.style.height=this.m+"px";a.style.left="0";a.style.top="0";a.style.zIndex="";if(a.parentNode.nodeName.toLowerCase()=="ins"){a.parentNode.style.zIndex="";a.parentNode.parentNode.style.zIndex=""}this.p=m}};
Z.prototype.expand=function(a,b,c){var d=this.Da();if(d){d.style.width=a+"px";d.style.height=b+"px";d.style.zIndex=999999;if(d.parentNode.nodeName.toLowerCase()=="ins"){d.parentNode.style.zIndex=999999;d.parentNode.parentNode.style.zIndex=999999}if(a>this.n&&(c==0||c==3))d.style.left="-"+(a-this.n)+"px";if(b>this.m&&(c==1||c==0))d.style.top="-"+(b-this.m)+"px";this.p=j}};
Z.prototype.Wb=function(a,b){var c=Kc(this.Da()),d=Za(window||window),e=a-this.n,f=b-this.m,g=c.y,i=f>g,n=d.height-(c.y+this.m),l=i||n>=g,o=c.x,q=e>o,w=d.width-(c.x+this.n),z=q||w>=o,Q=2;if(l&&!z)Q=3;else if(!l&&z)Q=1;else if(!l&&!z)Q=0;return Q};Z.prototype.Da=function(){if(!this.jc)this.jc=W.getElementById(this.ic);return this.jc};var .prototype.bc=function(a){var b={};b.ifrid=a.ic;b.pu=a.Mc;b.ph=this.Fa;b.cn=this.Tc;b.ppu=vc(this.Fa);b.lpu=vc();return b};.prototype.Va=function(){if(this.a)try{this.a.connect()}catch(a){window.setTimeout(t(this.Va,this),10)}};
.prototype.ac=function(a){var b=zb(W.URL,a),c=b.l+"://"+b.w;if(b.mb())c+=":"+b.t;return c};.prototype.xb=function(a){this.a.send("expandable_ad",a)};
.prototype.cc=function(){if(this.I.p){this.I.collapse();this.xb("ok_collapse_w"+this.I.n+"_h"+this.I.m)}};
var Mc=function(a){var b=a.google_frame_id;b||(b="google_frame_"+Math.floor(Math.random()*2147483647));var c=a.google_ad_url,d=parseInt(a.google_ad_width,10),e=parseInt(a.google_ad_height,10),f=a.google_container_id,g=Lc(b,c,d,e,f);return a[b]=g};u("ExpandableAdSlotFactory.createIframeFromWindow",Mc);var Lc=function(a,b,c,d,e){if(!a||!b||c<=0||d<=0)return k;var f=Db(10);b=Nc(b,f);Oc(a,b,c,d,e);var g=new Z(a,b,c,d);return new $(g,f)};u("ExpandableAdSlotFactory.createIframe",Lc);
function Nc(a,b){return a+(a.indexOf("?")==-1?"?":"&")+"xpc="+b+"&p="+escape(W.location.protocol+"//"+W.location.host)}
var Oc=function(a,b,c,d,e){var f="border:none;height:"+d+"px;margin:0;padding:0;position:relative;visibility:visible;width:"+c+"px",g='<ins style="display:inline-table;'+f+'"><ins style="display:block;'+f+'"><iframe allowtransparency=true frameborder=0 height='+d+" hspace=0 id="+a+' marginheight=0 marginwidth=0 name=google_ads_frame scrolling=no src="'+b+'" style="left:0;position:absolute;top:0" vspace=0 width='+c+"></iframe></ins></ins>",i=e?W.getElementById(e):k;if(i)i.innerHTML=g;else W.write(g);
return W.getElementById(a)},Rc=function(a,b,c,d){if(!a||!b||c<=0||d<=0)return k;var e=Db(10);b=Nc(b,e);var f=Pc(a,b,c,d),g=new Z(a,b,c,d);window["expandableAdSlot_"+a]=new $(g,e);return Qc(f,c,d)};u("DhtmlExpandableIframeFactory.createElement",Rc);
var Qc=function(a,b,c){var d="border:none;height:"+c+"px;margin:0;padding:0;position:relative;visibility:visible;width:"+b+"px",e=W.createElement("ins");e.style.cssText="display:inline-table;"+d;var f=W.createElement("ins");f.style.cssText="display:block;"+d;f.appendChild(a);e.appendChild(f);return e},Pc=function(a,b,c,d){var e=document.createElement("iframe");e.style.cssText="border:none;height:"+d+"px;margin:0;padding:0;position:relative;visibility:visible;width:"+c+"px";e.name="google_ads_frame";
e.id=a;e.src=b;e.style.cssText="left:0;position:absolute;top:0";e.width=c;e.height=d;e.frameBorder=0;e.hspace=0;e.vspace=0;e.scrolling="no";e.marginheight=0;e.marginwidth=0;e.allowtransparency=j;return e};
})()
(C) Æliens
04/09/2009
You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.