//MooTools, My Object Oriented Javascript Tools. Copyright (c) 2006 Valerio Proietti, , MIT Style License. eval(function(p,a,c,k,e,d){e=function(c){return(c35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('k 12=f(1i){k 3j=f(){h(6.1t&&I[0]!=\'4N\')9 6.1t.22(6,I);O 9 6};N(k n 1a 6)3j[n]=6[n];3j.K=1i;9 3j};12.1Z=f(){};12.K={P:f(1i){k 3i=T 6(\'4N\');k 5f=f(1I,1s){h(!1I.22||!1s.22)9 R;9 f(){6.1K=1I;9 1s.22(6,I)}};N(k n 1a 1i){k 1I=3i[n];k 1s=1i[n];h(1I&&1I!=1s)1s=5f(1I,1s)||1s;3i[n]=1s}9 T 12(3i)},2q:f(1i){N(k n 1a 1i)6.K[n]=1i[n]}};1w.P=f(){k H=I;H=(H[1])?[H[0],H[1]]:[6,H[0]];N(k n 1a H[1])H[0][n]=H[1][n];9 H[0]};1w.3p=f(){N(k i=0;i\'));$1e(6.7X,f(2I){h(2I.1F!=\'1F\')l.2J(2I.1F,2I.L)});h(6.1G)6.4V(l);9 l}4a:6.7Y(n,L)}9 6},83:f(1k){N(k n 1a 1k)6.2J(n,1k[n]);9 6},84:f(){6.89=$A(I).1Q(\'\');9 6},8a:f(n){9(n==\'4H\')?6.18:6.88(n)},2W:f(){9 6.4F.2u()},87:f(x,y){6.2m=x;6.2k=y},29:f(){1E(6.2W()){11\'2B\':h(6.4D!=-1){k 3K=6.q[6.4D];9 3K.L||3K.1J}1u;11\'85\':h(!(6.86&&[\'7V\',\'7U\'].V(6.m))&&![\'41\',\'1J\',\'7J\'].V(6.m))1u;11\'7K\':9 6.L}9 R},54:f(){9{\'5A\':{\'x\':6.2m,\'y\':6.2k},\'56\':{\'x\':6.44,\'y\':6.3O},\'4Y\':{\'x\':6.31,\'y\':6.2K}}},2r:f(1U){1U=1U||[];k l=6,1D=0,1N=0;7I{1D+=l.7H||0;1N+=l.7E||0;l=l.7F}26(l);1U.1e(f(X){1D-=X.2m||0;1N-=X.2k||0});9{\'x\':1D,\'y\':1N}},7G:f(){9 6.2r().y},7L:f(){9 6.2r().x},8c:f(1U){k 3S=6.2r(1U);k M={\'3T\':6.44,\'3Q\':6.3O,\'1D\':3S.x,\'1N\':3S.y};M.3R=M.1D+M.3T;M.4s=M.1N+M.3Q;9 M}});Q.1b=G.1b=19.K.1b;Q.2c=G.2c=19.K.2c;Q.1S=G.1S=19.K.1S;k 1O={1q:[],2R:f(X){1O.1q.15(X)},4j:f(){1O.2R(Q);1O.2R(G);1O.1q.1e(f(l){l.1S();N(k p 1a 19.K)l[p]=1n;l.P=1n})}};Q.1b(\'7M\',1O.4j);k 2i=T 12({1t:f(o){6.o=o||Q.o;6.m=6.o.m;6.2y=6.o.2y||6.o.7S;h(6.2y.4l==3)6.2y=6.2y.1G;6.5u=6.o.7T;6.7R=6.o.7Q;6.7N=6.o.7O;6.7P=6.o.8b;h([\'3J\',\'3s\'].V(6.m)){6.8g=6.o.4u?(6.o.4u/(Q.42?-4v:4v)):-(6.o.8r||0)/ 3} O h (6.m.V(/23/)){6.3n=6.o.4y||6.o.8q;N(k 1F 1a 2i.1g){h(2i.1g[1F]==6.3n){6.23=1F;1u}}6.23=6.23||3q.8s(6.3n).2u()}O h(6.m.V(/8u/)||(6.m==\'8p\')){6.8h={\'x\':6.o.3E||6.o.4B+G.1j.2m,\'y\':6.o.3D||6.o.4x+G.1j.2k};6.8f={\'x\':6.o.3E?6.o.3E-Q.58:6.o.4B,\'y\':6.o.3D?6.o.3D-Q.52:6.o.4x};6.8d=(6.o.4y==3)||(6.o.8i==2);1E(6.m){11\'8j\':6.2P=6.o.2P||6.o.8n;1u;11\'8m\':6.2P=6.o.2P||6.o.8l}}},2C:f(){6.2N();6.2T();9 6},2N:f(){h(6.o.2N)6.o.2N();O 6.o.8k=14;9 6},2T:f(){h(6.o.2T)6.o.2T();O 6.o.8e=R;9 6}});2i.1g={\'8o\':13,\'6F\':38,\'8t\':40,\'1D\':37,\'3R\':39,\'7C\':27,\'6Z\':32,\'70\':8,\'6Y\':46};3M.P({6X:f(F,H){9 6.1y({\'F\':F,\'I\':H,\'o\':2i})}});k 4M=T 12({6V:f(u){6.1P=6.1P||[];6.1P.15(u);9 6},5F:f(){h(6.1P&&6.1P.J)6.1P.5u().1z(10,6)},6W:f(){6.1P=[]}});k 4J=T 12({1b:f(m,u){h(u!=12.1Z){6.E=6.E||{};6.E[m]=6.E[m]||[];h(!6.E[m].V(u))6.E[m].15(u)}9 6},20:f(m,H,1z){h(6.E&&6.E[m]){6.E[m].1e(f(u){u.1y({\'F\':6,\'1z\':1z,\'I\':H})()},6)}9 6},2c:f(m,u){h(6.E&&6.E[m])6.E[m].3x(u);9 6}});k 4K=T 12({4g:f(5n,q){6.q=1w.P(5n,q);h(6.1b){N(k 2D 1a 6.q){h(($m(6.q[2D])==\'f\')&&2D.V(/^3z[A-Z]/))6.1b(2D,6.q[2D])}}9 6}});k 71=T 12({1t:f(){6.2x=$A(I);6.E={};6.2g={}},1b:f(m,u){6.2g[m]=6.2g[m]||{};6.E[m]=6.E[m]||[];h(6.E[m].V(u))9 R;O 6.E[m].15(u);6.2x.1e(f(2t,i){2t.1b(m,6.5G.F(6,[m,2t,i]))},6);9 6},5G:f(m,2t,i){6.2g[m][i]=14;k 2n=6.2x.2n(f(1s,j){9 6.2g[m][j]||R},6);h(!2n)9;6.2x.1e(f(1s,j){6.2g[m][j]=R},6);6.E[m].1e(f(o){o.1m(6,6.2x,2t)},6)}});Q.P({1b:f(m,u){h(m==\'2p\'){h(6.2M)u();O h(!6.E||!6.E.2p){k 2l=f(){h(6.2M)9;6.2M=14;h(6.1d)6.1d=$3W(6.1d);19.K.20.1m(6,\'2p\');6.E.2p=1n}.F(6);h(G.2S&&6.1X){6.1d=f(){h([\'2M\',\'4R\'].V(G.2S))2l()}.1R(50)}O h(G.2S&&6.1W){G.72("<3o 7D=4X 77 76=73:74(0)><\\/3o>");$(\'4X\').6U=f(){h(6.2S==\'4R\')2l()}}O{6.1b("6T",2l);G.1b("6K",2l)}}}19.K.1b.1m(6,m,u);9 6},6L:f(4O){9 6.1b(\'2p\',4O)}});Q.P({55:f(){h(6.1X)9 6.6J;h(6.42)9 G.2F.5a;9 G.1j.5a},5k:f(){h(6.1X)9 6.6I;h(6.42)9 G.2F.59;9 G.1j.59},4P:f(){h(6.1W)9 r.2z(G.1j.44,G.1j.31);h(6.1X)9 G.2F.31;9 G.1j.31},4S:f(){h(6.1W)9 r.2z(G.1j.3O,G.1j.2K);h(6.1X)9 G.2F.2K;9 G.1j.2K},5x:f(){9 6.58||G.1j.2m},5E:f(){9 6.52||G.1j.2k},54:f(){9{\'56\':{\'x\':6.55(),\'y\':6.5k()},\'4Y\':{\'x\':6.4P(),\'y\':6.4S()},\'5A\':{\'x\':6.5x(),\'y\':6.5E()}}},2r:f(){9{\'x\':0,\'y\':0}}});k U={};U.1T=T 12({4e:f(){9{5b:12.1Z,5H:12.1Z,4Z:12.1Z,5I:U.21.3L,3U:6G,1C:\'47\',34:14,5c:50}},1t:f(q){6.X=6.X||1n;6.4g(6.4e(),q);h(6.q.1t)6.q.1t.1m(6)},5d:f(){k 1Y=T 51().57();h(1Y<6.1Y+6.q.3U){6.53=1Y-6.1Y;6.35();6.2h()}O{6.2C(14);6.1c=6.C;6.2h();6.20(\'5H\',6.X,10);6.5F()}},33:f(C){6.1c=C;6.2h();9 6},35:f(){6.1c=6.2w(6.B,6.C)},2w:f(B,C){9 6.q.5I(6.53,B,(C-B),6.q.3U)},1f:f(B,C){h(!6.q.34)6.2C();O h(6.1d)9 6;6.B=B;6.C=C;6.1Y=T 51().57();6.1d=6.5d.1R(r.5B(6H/6.q.5c),6);6.20(\'5b\',6.X);9 6},2C:f(3a){h(!6.1d)9 6;6.1d=$3W(6.1d);h(!3a)6.20(\'4Z\',6.X);9 6},6M:f(B,C){9 6.1f(B,C)},6N:f(3a){9 6.2C(3a)}});U.1T.2q(T 4M);U.1T.2q(T 4J);U.1T.2q(T 4K);U.21={5l:f(t,b,c,d){9 c*t/d+b},3L:f(t,b,c,d){9-c/2*(r.3v(r.1l*t/d)-1)+b}};U.1A={2B:f(n,C){h(n.V(/4L/i))9 6.5h;h(C.V&&C.V(\' \'))9 6.3b;9 6.4W},1v:f(l,n,24){h(!24.15)24=[24];k B=24[0],C=24[1];h(!C&&C!=0){C=B;B=l.1V(n)}k Y=6.2B(n,C);9{B:Y.1v(B),C:Y.1v(C),Y:Y}}};U.1A.4W={1v:f(L){9 2s(L)},2o:f(B,C,28){9 28.2w(B,C)},29:f(L,1C){9 L+1C}};U.1A.3b={1v:f(L){9 L.15?L:L.6S(\' \').3I(f(v){9 2s(v)})},2o:f(B,C,28){k 1c=[];N(k i=0;i= this.images.length)) return false; this.step = 1; this.activeImage = imageNum; this.bottomContainer.style.display = this.prevLink.style.display = this.nextLink.style.display = 'none'; this.fx.image.hide(); this.center.className = 'lbLoading'; if (this.ig == false) { this.preload = new Image(); this.preload.onload = this.nextEffect.bind(this); this.preload.src = this.images[imageNum][0]; } else { this.nextEffect(this); } return false; }, nextEffect: function(){ switch (this.step++){ case 1: this.center.className = ''; if (this.ig == false) { this.image.style.backgroundImage = 'url('+this.images[this.activeImage][0]+')'; this.image.style.width = this.bottom.style.width = this.preload.width+'px'; this.image.style.height = this.prevLink.style.height = this.nextLink.style.height = this.preload.height+'px'; this.caption.setHTML(this.images[this.activeImage][1] || ''); this.number.setHTML((this.images.length == 1) ? '' : 'Image '+(this.activeImage+1)+' of '+this.images.length); if (this.activeImage) this.preloadPrev.src = this.images[this.activeImage-1][0]; if (this.activeImage != (this.images.length - 1)) this.preloadNext.src = this.images[this.activeImage+1][0]; } else { this.caption.setHTML(this.images[this.activeImage][1] || ''); this.number.setHTML(''); this.image.style.backgroundImage = 'none'; this.image.style.width = this.bottom.style.width = this.igWidth+'px'; this.image.style.height = this.prevLink.style.height = this.nextLink.style.height = this.igHeight+'px'; } if (this.center.clientHeight != this.image.offsetHeight){ this.fx.resize.start({height: this.image.offsetHeight}); break; } this.step++; case 2: if (this.center.clientWidth != this.image.offsetWidth){ this.fx.resize.start({width: this.image.offsetWidth, marginLeft: -this.image.offsetWidth/2}); break; } this.step++; case 3: this.bottomContainer.setStyles({top: (this.top + this.center.clientHeight)+'px', height: '0px', marginLeft: this.center.style.marginLeft, display: ''}); this.fx.image.start(1); break; case 4: if (this.options.animateCaption){ this.fx.bottom.set(-this.bottom.offsetHeight); this.bottomContainer.style.height = ''; this.fx.bottom.start(0); break; } this.bottomContainer.style.height = ''; case 5: if (this.activeImage) this.prevLink.style.display = ''; if (this.activeImage != (this.images.length - 1)) this.nextLink.style.display = ''; this.step = 0; if (this.ig == true){ this.imageHTML = this.image.innerHTML; this.image.setHTML("
"); setTimeout(this.igfunction,10); } } }, close: function(){ if (this.step < 0) return; this.step = -1; if (this.preload){ this.preload.onload = Class.empty; this.preload = null; } for (var f in this.fx) this.fx[f].stop(); this.center.style.display = this.bottomContainer.style.display = 'none'; this.fx.overlay.chain(this.setup.pass(false, this)).start(0); if (this.ig == true){ this.image.setHTML(this.imageHTML); } if($("chat_container")) $("chat_container").style.display = 'block'; if ($("monoSlideshow")) $("monoSlideshow").style.display = 'block'; return false; } }; window.addEvent('domready', Lightbox.init.bind(Lightbox)); /* initonce = function() { if(arguments.callee.done) return; arguments.callee.done = true; Lightbox.init.bind(Lightbox); }; window.addEvent("load", initonce); document.addEvent("DOMContentLoaded", initonce) window.addEvent('domready', initonce); */ // **************************************************************************** function ShowForm(element, maxa) { if (parseInt(document.getElementById(element).style.height) == 0) $(element).effect('height', { duration:500}).custom(0, maxa); else $(element).effect('height', { duration:500}).custom(maxa, 0); } function Fade(element, millisecs) { if (($(element).style.visibility == 'hidden') || ($(element).style.display == 'none')) { $(element).style.display = 'block'; FadeIn(element,millisecs); } else { FadeOut(element,millisecs); } } function FadeOut(element,millisecs) { if (window.ActiveXObject) { $(element).style.visibility='hidden'; $(element).style.display='none'; return; } $(element).effect('opacity', {duration: millisecs, onComplete: function() { $(element).style.visibility='hidden'; $(element).style.display = 'none'; } }).set(1).custom(1, 0); } function FadeIn(element,millisecs) { if ($(element).style.visibility == 'hidden') $(element).style.visibility = 'visible'; if (window.ActiveXObject) return; $(element).effect('opacity', {duration: millisecs}).set(0).custom(0, 1); //$(element).setStyles({opacity: '0', display: 'inline'}); } function Flash(element) { $(element).effect('opacity', {duration: 500, onComplete: function() { $(element).effect('opacity', {duration: 500}).set(0).custom(0, 1); } }).set(1).custom(1, 0); }// igl_Prototype 2.0 - igLoader Javascript Comms // All code copyright (c)2005-2006 Indiepath Ltd All rights reserved. // Steal this and we'll publically humiliate you. // Global Variables var igVersion_Required = "3004"; var Plugin_Object = null; function initLoader() { navigator.plugins.refresh( false ); Lightbox.showig('', 'This game is courtesy of Pjio.com. Please be patient whilst the game is downloaded and prepared for launch.', ig_Width, ig_Height, 'showLoader()'); } // ************************************************************************************************************************* function igl_VersionValid() { if (navigator.appVersion.indexOf("MSIE")!=-1) return; if ( igVersion_Required == Plugin_Object.Version() ) return; else { document.getElementById( "igL" ).innerHTML = ""; alert("The GameLoader requires an update, you will now be prompted to download and run the update application."); window.location.href = "http://www.pjio.com/download/pjio_gamelauncher.xpi"; } } // ************************************************************************************************************************* // Initialise the Plugin function showLoader() { var replace = document.getElementById( "igL" ); var output = ""; output = output + "\n"; output = output + "\n"; output = output + "\n"; output = output + "\n"; output = output + "\n"; output = output + "\n"; output = output + ""; output = output + "\n"; replace.innerHTML = output; Plugin_Object = document.igl_embed; setTimeout("igl_VersionValid()",50); return; } // ************************************************************************************************************************* // igLoader Specific Functions, these are called by the plugin - the function names must remain, the content can be changed // ************************************************************************************************************************* function igl_DownloadPercent(percent) { return 4; } // ************************************************************************************************************************* function igl_DownloadComplete(arg) { return 4; } // ************************************************************************************************************************* function igl_AppLaunched() { return 4; } // ************************************************************************************************************************* function igl_AppTerminated() { return 4; } // ************************************************************************************************************************* function igl_LaunchApplication() { //Plugin_Object.Launch(); } // ************************************************************************************************************************* function igl_Debug(message, alt) { return 4; } var ig_location = "http://www.pjio.com/xml2/Fire Flower"; var ig_Width = 800; var ig_Height = 600; document.write('');