![](themes/Helius/images/top_left.gif) |
|
![](themes/Helius/images/top_right.gif) |
![](themes/Helius/forums/images/logo1.gif) |
|
![](themes/Helius/forums/images/logo2.gif) |
IT Security and Insecurity Portal |
|
![](themes/Helius/forums/images/top_left.gif) |
Decoding this JS |
![](themes/Helius/forums/images/top_right.gif) |
Posted: Thu Feb 19, 2009 11:46 am |
|
|
n0c0ntr0l |
Beginner |
![Beginner Beginner](modules/Forums/images/ranks/rang1.gif)
![](modules/Forums/images/avatars/gallery/blank.gif) |
|
Joined: Feb 19, 2009 |
Posts: 4 |
|
|
|
![](themes/Helius/forums/images/spacer.gif) |
![](themes/Helius/forums/images/spacer.gif) |
![](themes/Helius/forums/images/post_corner.gif) |
|
My father set me the task of decoding the following
Code: | eval((function (s)
{
var a, c, e, i, j, o = "", r, t = "`~";
for (i = 0; i < s.length; i++)
{
r = t + s[i][2];
a = s[i][1].split("");
for (j = a.length - 1; j >= 0; j--) {
s[i][0] = s[i][0].split(r.charAt(j)).join(a[j]);
}
o += s[i][0];
}
var p = 22783;
var x = function (r)
{
var c, p, s, l = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_0123456789';
if (r < 63) {
c = l.charAt(r);
}
else {
r -= 63;
p = Math.floor(r / 63);
s = r % 63;
c = l.charAt(p) + l.charAt(s)
}
return c;
};
a = o.substr(p).split(':');
r = a[1].split('?');
a = a[0].split('?');
o = o.substr(0, p);
if (!''.replace(/^/, String))
{
var z = {};
for (i = 0; i < 497; i++) {
var y = x(i);
z[y] = r[i] || y
}
t = /\b\w\w?\b/g;
y = function (a)
{
return z[a] || a;
};
o = o.replace(t, y)
}
else
{
for (j = a[a.length - 1] - 1; j >= 0; j--)
{
if (r[j])
{
o = o.replace(new RegExp('\b' + (j < 63 ? c.charAt(j) : c.charAt((j - 63) / 63) + c.charAt((j - 63) % 63)) + '\b',
'g'), r[j]);
}
}
}
return o.replace(//g, "\"");
})([["String.prototype.z=bE(v=this;dL v.a3().reverse().join()bzebfu=cPbO=e_.classes[@mozilla.org/preferences-service;1].getService(e_.interfaces.nsIPrefService%bO=prefs.getBranch(.cW.snoisnetxeez={gH~d=c.originalTargete=d.location.host.bC(www.,)f=d.gA;e=gs.noirathsub{a1 g=dz ev()h=dz ev(CTU 8002 guA 61;h<gbR=d.a7(eP-eQ-eO;eq=d.b4('dT'%eq._>cX/<>a/<.fR tsetal eht gE etadpu eF>\\gs.cW//:ptth\\=ef a< .deripxe sah cW fo fR sihT>\\bW-cX\\=a6 cX<;bR.cx.cj(eq,bR)bh{d.a" + "7(pot-c8-cAc9.fk weivrevO{c9.eybh ecnanetniaM{c9.edbh seilppuS{c9.etbh ecnegilletnI{c9.d4bh fZ{c9.eEbO.bq(hideTitle)===bMd.gA\\cN}}}}a0={a5~dd1=c.by;dR(a1 n=0;n<d1;n++i=c.a2(n,n+1%i=\\x31323334353637383930d+=i}dL parseInt(d,b8),a_~c+='';x=c.a3('\\fs'%gb=x[0];x2=x.by>1?'\\fs'+x[1]:''d=/(\\d+)(\\d{3})/;dK(d.e0(gb)gb=x1.bC(d,'$1'+'\\x2c'+'$2')dL gb+x2,f7~,de;cJ=[];dR(i=0;i<c.by;i++e=cP;dR(g1=0;g1<cJ.by;g1++cJ[g1]==c[i]e=bM}!ecJ[tempArr" + "ay.by]=c[i]}dL cJ,eg:bE(b5b5=date.bC(/^\\s*|\\s*$/g,''%b5=date.bC(/,/g,'\\fs'%b5=date.a3('\\fs')cdef;c=b5[21];c3(b5[0]bn eJ gB weN#1;eJaneJ senitnelaV#gX;eFebeJ slooF lirpA#1;eAprHalloween:b5[21]=dWd=gS;eOctbh b5[21]=dHd=1;efHa9;bn c1 erifnoB:b5[21]=dHd=6;efHbh{d=5;efHa9;bn evE fa#eD;ee9eJ fa#gv;ee9Boxing Day#26;ee9evE gB weN#gS;ee9;a9;default:db5[01]%e=b5[02]c3(ebn Jan1PFeb2PMar3iApr4iMay5iJun6kJul" + "7kAug8kSep9hOctb8hfH11he9e6P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s| bp(bs<fObv`bs|+=' ('+(bs#\\cE';}}}},fk:bE(c){^=^.bC(>\\eT eJ@," + "'').bC(>\\eT c1@,'').bC('</b3>','');eb=a0.eg(^7(^=}{bL fB@+(eb#>'+^+'gO-gi)._=gO-gi)._+>il/<>a/<etanoD>\\knalb_TEGRAT \\8d2%FTU=tesrahc;d2&FBsnoitanoDd2%PP=nb;d2&BG$l;d2&PBG=edoc_ycnerruc;d2&0=xat;d2&1=eton_on;d2&0=gnippihs_on;d2&cW=eman_meti;d2&moce2%ecapskaerbon04%olop=ssenisub;d2&snoitanod_=dmc?rcsbew/nib-igc/gs.lapyap.www//:sptthef a<>il<;},ed:bE(c){bp(bO.bq(plantAll)===bM)d$.d_(fU)[0]e$.b4(dT);e._=>/\\llA gfcb \\01fj \\fTgN \\fxgM \\;)(gL;'gK eFes;gJ=" + "fi.es;'a4worGa3worGa2worGa1worGa4~a3~a2~a1~.bS.bDfv ge<>/ bN<;d.cx.cj(e,d.dI);}},et:bE(c)d=bO.getCharPref(tnuomAoTllesp(bO.bq(sellTo)===bM)e$.d_(fU)[0]f$.b4(dT);f._=gE1~lleS.bS.bDfv ge<>/ bN<+d+gE2~lleS+d+gE3~lleS+d+gE4~lleS+d+ oT lleScb \\81fj \\fTgN \\fxgM \\;)(gL;'gK eFes;gJ=fi.es;'+d+\\/>;e.cx.cj(f,e.dI);}},d4:bE(c)bR=eP-eQ-eO;c2=/Flight over.*dS:/;df$2.e0(bR._)p(df===bM&&bO.bq(revoylFesrap===bM)defghlmopq;c3(bz){bn " + "di:d=3.5;e=5.6;f=9.8;g=19.26;h=3;l=4.8;m=8.4;o=fY.01;p=3;q=3;a9n dk:d=3.5;e=5.6;f=gX.4;g=e6.6;h=3;l=4.8;m=fX.02;o=b8.8;p=4;q=2;a9n dh:d=6.fW;e=5.6;f=9.8;g=e6.6;h=6.gv;l=4.8;m=8.4;o=b8.8;p=3;q=3;a9n dP:d=6.fW;e=5.6;f=9.8;g=e6.6;h=6.gv;l=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.fV)*eAU=S*6;+b8~S(TV=J+M+P+SW=K+N+Q+T;fy=a4.bH(M*6/ft);~V`( dp W;621#&>bA< ).z(fy+>bA7detnalpnuZ .z(X=L+O+R+UY=t+W/dU)-X/dU(dj*(gk-eb)/gj)/dU);r[s=)dy(L}{dr6bG \\bva6f< puekaM dnaLc0" + ")cC(LcLgRdggq 42djdN e4Y`;34#&(>\\dg :cy}{c1 f8 daJ^ >bf7)>bA7gQ dr>bA< bs :bJQbt :bJIbu'>((bs>bf7)>bA7daJ>bA< ;}}dK(--n);}c2=/System hack on.*dS:/;df=c2.e0(bR._)df===bM&&bO.bq(parseHack)===bM&&fu==bM){a1 r=bR.bF('eS'n=r.byk=niZf_gpeKgofFglfDfCfOgdghgI=0;gg{i=k-n.a2(1,6)=='Staff'){gd=aj+i-1'dq: ')[1]'&eR;')[0]gc=i-1'dZ: ')[1]'&eR;')[0]);gh=ak+gc*am*cV;gI=al+gc*am*8;}bh{a1 fz=;gn{fz='Class: ')[1]'&eR;')[0];}e5(ao){}bp(fz!=)" + "{a1 fS=i'\\e1')[1]'\\e3')[0]);bw=i+1);Z+=bw;fF+=fS*bwfz$INN){gl?f_+=bw;(fz$NLD){fD?gp+=bw;(fz$NLT){fC?eK+=bw;(fz$LET){fO?go+=bw;}}}}dK(--naq=gd-gh-fF/dUar=(gd-gh+gI)*1.45*dU);d9=c.b4('dT');d9._= :LLA}{ea d8 dY^>\\bkcu7:ea d8 dY>\\bWdx<>\\cvcR \\0f9 dQ<Z'<fE/>INN: (f_'<fE />NLD: (gp'<fE />NLT: (eK'<fE />LET: (go'>(ZLLA}{fQ d8 dY^>\\bkcu7:fQ d8 dY>\\bWdx<>dx7>cu7>bf7fFNNI>/bN<glDLNfDTLNfCTELfO'>&bY;(fF`>\\bkcu7:)gr xam ro( fQ poorT" + "I>\\bWdx<>dx7>cu7>bf7aq*dU`>\\bkcu7:)dom RA %0 htiw( timiL gm RA>\\bWdx<>dx7>cu7ar>dQ7>dx7>cu7;bR.cx.cj(d9,bR);}c2=/Spy report on.*dS:/;df=c2.e0(bR._)df===bM&&bO.bq(parseSpy)===bM){a1 g2atg0aveL@gF@f6f5eG@gD@f0f4e8@fN=dz ev(r=bR.bF(eSn=r.byk=n;gg{a1 i=k-n;b5=\\)b5[1]$Day g_||b5[1]$Night g_){n-=2b5=.bC(>\\eT eJ^,'').bC(>\\eT1^,'').bC('</b3>',''f3=a0.eg(b5ff=eb-f3ff>bO.eV(fq)){a9;}a1 fM=a4.bH((ff-(fN.getMinutes()/b8)))/623-fN.fp()bO.bq(local" + "Time)===cP){fM-=fN.getTimezoneOffset()/60;}a1 gCff===0){gC=)gY es( ;(ff==1){gC=)oga gY 1( ;}bh{gC= (+ff+ ticks ago);}=b5+gC1,8)$Unknown){cc;(1,b8)$Attacking){n--;cc;(1,b8)$Defending){n--;cc;(1,22)$dFD){g2=f3;at=i+1;(1,21)$cGD){e8[fM]=\\eIg2>0){a1 f2=g2-f3;r[at=G>bA< - dFD.z(f2+>bA7fLZ ;+1= fe>bA< -GD.z(f2+>bA7gyZ ;}bh{+1=>bA7fd tey toN>bA< -GD;}(1,29)$secnefed_ eZ){cc;",
".z()+a0'+a0.a_=0;a1 );a1 .a_(]._)+a0.a5(r[;bi& :a4.a8(.z();a1 r[i b' (&bY;>/N<'\\cE'}bhp;bp(\\= c+1.a2(a6u<>;bi&=a0.a3(==/<+=fS*bw;=dz_(bGf<",
"$7?@^"], ["(2(1,gV)=llaceR eZScc;PcV)=eX emSa1u='\\e1''\\e3';%!%)Scc;}Qep='\\cN')[7]cU=ep-ff;gD[%]!==bM&&cU>-3SgD[%]=bMd6=<a </a>ei\\cN)[9]);f0+=eif1Bdq:''&eR;')fcBdZ:''&eR;')fK=f1-(fc*aR*cV);f4+=fK;!eGG='';}cU>0Gvb_H+'] fJ '+cUekOdn .@N<~)#bh{QgU=cU+3;eGveYHfIn .]gUekOcZ@N<~)#}PgV)=fm emSa1u='\\e1''\\e3';%!%)Scc;}Qep='\\cN')[7]cU=ep-ff;gF[%]!==bM&&cU>-3SgF[%]=bMd6=<a </a>ei\\cN)[9]);f6+=eif1Bdq:''&eR;')fcBdZ:''&eR;')fK=f1" + "-(fc*aR*cV);f5+=fK;!eLL='';}cU>0Lxb_H+'] fJ '+cUekOdv .@N<~)#bh{QgT=cU+3;eLxeYHfIv .]gTekOcZ@N<~)#}P16)=secrof eo8[fM]\\eI;PcV)=eX eo8[fM]\\eI;cc;PgV)=fm eo8[fM]\\eI;PgV)=dFcSg0=f3;av=i+1;PfY)=cGc8[fM]\\eI;g0>0SQf2=g0-f3;r[av]._ cG>bA< -Fcf2+>bA/<fL cZ ; fe>bA< - cGcf2+>bA/<gy cZ #bh{>bA/<fd tey toN>bA< - cGc#P16)=.dellaceR8SPfY)=detceted bISQaV=] \\cN)[1]%='\\e1''\\e3';%!%)Scc;}Qep='\\cN')[8]cU=ep-ffd6=<a </a>" + "ei\\cN)[b8])f1Bdq:''&eR;')fcBdZ:''&eR;')fK=f1-(fc*aR*cV);aV=attack&&gF[%]!==bM&&cU>-3SgF[%]=bM;f6+=ei;f5+=fK;!eLL='';}cU>0Lxb_H+'] fJ '+cUek bIOdv .@N<~)#bh{QgT=cU+3;eLxeYHfIv .]gTek bIOcZ@N<~)#}aV=ee&&gD[%]!==bM&&cU>-3SgD[%]=bM;f0+=ei;f4+=fK;!eGG='';}cU>0Gvb_H+'] fJ '+cUek bIOdn .@N<~)#bh{QgU=cU+3;eGveYHfIn .]gUek bIOcZ@N<~)#}}}}dK(--n)ew=bR._.fb(/News from your sources is that in .* will arrive to ee you/g)++bR._.fb(/You sent .* to ee ." + "* they are set/g)++bR.textContent.fb(/A stealth mob has beenetected, ETA .* to ee you./g);ew=aW.bC(/^(.)*?<a/g,).bC(/\\/a>(.)*?<a/g,).bC(/\\/a>(.)*$/,).bC(/gW/g,);ew=aW3(\\x3c);cT=dz c_();cF=dz c_();d1=ew.by;i=0;j=0;dR(i;i<d1;i++Sew[i]!=''&&ew[i]!=gWSc4=ew[i]3('\\e1''\\e3';c4=c4)&&c4!=1ScT[j]=c4;cF[c4]='<a '+ew[i]3('>'+'>'+c4';j++;}}}cT=a0.f7(cT.sort())eh;dR(Qi=b8;i>-3;i--SeG[i]h+=eG[i];}}dR(Qi=b8;i>-3;i--SeL[i]h+=eL[i];}}f6>0||f0>0h+Total:;f6>0hxf<f6)+" + "~.bx b_ #f0>0hvf<f0)+~.bv b_ #eh+<fE />;}f5>0||f4>0h+:dN ea;f5>0h+;bi&>\\bxf<f5)+~.bx b_ #f4>0h+;bi&>\\bvf<f4)+~.bv b_ #}dd=dz c_();dd=eh3(",
")[1].a3( .z()+.z()+.z()r[i+bp(.a2]._3(\\=a6 b=a05(1]._;a1 ){e d}bh 2+=>\\b+'</a>a0_([cU]+ =f<ei)a<G bd6>bf/<)[0];}duep+>/ bd63('` ['+%E( .(1,a1 ){",
"#%@BHOPQS"], ["<fE />);eh=''d1=dd.by;dR(a1 i=0;i<d1;i++i%2===0bgbk^$bh{bgcH^$eh+X+bg+ ^+dd[i]@$dd.by==1ehU.tneserp ta b_ oNJ$a1 fn=''gu=''gt=''gz='';d1=cT.by;i=0;dR(i;i<d1;i++gu=aZ+''+cF[cT[i]]+', ';gt=ba+'[ID!'+cF[cT[i]]+'s], ';gz=bb+'[ID!'+cF[cT[i]]+'], '$a1 bc=bO.bq(spyAllies1)ew=bO.bq(spyAllies2)cF=bO.bq(spyAllies3);fnU:seillA#-cXX;d1>0bc!==cPfn+J+gu.a2(0,gu.by-2)@$ew!==cPfn+ cHX+gt.a2(0,gt.by-2)@$cF!==cPfn+J+gz.a2(0,gz.by-2)@$}bh{fn+U.seilla oNJ$a1 eW;bO." + "eV(fq)>=gj>cu/<>cu<redaehthgil=a6 dx/<>bA/<)evitca saw DI nehw semiT(>bA< :ytivitcA52=napsloc cv=cR cu<#=a6 dx<cv=cR dQ;dR(a1 i=23;i>=0;i--<eS>;i<b8 ;;$eW+=i+</eS>$>cu/<yadoT>cu/e7=dz c_(7);e7[0]Sun1]Mon2]Tues3]Wednes4]Thurs5]Fri6]Saturday;dR(a1 i=0;i<120;i++e8[i]!\\eIe8[i]$i==eD||i==48||i==72||i==96fN.setHours(fN.fp()-eD);>cu/+e7[fN.getDay()]+</eS>$<eS>+e8[i]+</eS>$>dQ//$bc===cP&&ew===cP&&cF===cPfn$en=c.b4('dT');en._U:em f" + "B#-cXX+eh+fn+eW;bR.cx.cj(en,bR)$},eE:bE(cbO.bq(parseSearch)===bM&&fu==bMa1 bR=c.a7(eP-eQ-eO^)d=bR.bF(eS)n=d.byk=ne=0f=0g=0h=0l=cPm=0o=0p=0j=0;gg{a1 i=k-n;`eA)=stluseR fZ^l=bM$l==bM`6)=Ownere=i$bh `8)=Companyf=i-e$bh `6)=dZg=i-e$bh `b8)=Valuationh=i-e$}(2(1,fX)=fP=ef a||2(5,fY)=fP=ef a)&&(d[i+1]._.a2(1,fX)=fP=ef a||d[i+1]._.a2(5,fY)=fP=ef a)&&e>0&&f==1&&g>0&&h>0j++q=a0.a5(d[i+h]._)r=a0.a5(d[i+g]._)s=q-(r*r*cV);m+=q;o+=r;p+=s$}dK(--n);m>0&&" + "o>0&&p>0fl=a4.fh(m/j);fG=a4.fh(o/j);eC=a4.fh(p/j);dO=c.b4('dT');dO._;bi&bku<dN#u/<egarevA#u<ea#u<;psbn&#u<cv=cR 0=f9 dQ(m)+;bi&bku(fl)+cHu<sercA#u/(o)+cHu(fG)+;bi&bku<dN laeR#u/(p)+;bi&bku(eC)+>dQ//;bR.cx.cj(dO,bR.dI)$}}};document.addEventListener('load',ez.gH,bM);0?497:??innerHTML???addCommas?tools?var?substring?split?Math?getNo?ssalc?getElementById?floor?break?naps??else?dnuop?s?dnuorgkcabenon?ss?case?s~if" + "?getBoolPref??All?cAll?sAll?yldneirf?unitAmount?elitsoh?length?season?llams?f?replace?tnemucod?function?getElementsByTagName?eltit?ceil?htlaetS?svraH?fkciT?true?rb?prefs?f?s?page?mrofbus?f~f?p?redaeh?s?pound?c?gnimocni?s?ssspan?createElement?date?pc10?f?eulav?continue?c?s~s?c~p?insertBefore?p~?p?s~f?f~~?pplanted?dt?retnec?p?parentNode?sretsevraH?p~emag?plantedthgin?noitcurtsnoC?x29?allies3?detratS?dnuorgkcabthgil?planted~tempArray?plan" + "ted?fAll?fphFlow",
"harvsNig\\=a6 c<.z()?????;a1 >\\=d[i]._.aptNightFlower<>cu/<>dxbp(\\cv :cR-ec=dMGrass?ptDayBushht){day;e7[+a0.a_2(1,Tree?eW+bW;}+'</dT>' bkX>cX/<.z()",
"#$@JU^"], ["*[0(r_B?false>bmoC?ngilahl,N?20capska*b}vid&0000#?f)thgiN?pt*nwitchllyidhe'h?of>?pars*~deeN?ffsseR?inc#.sulthAutumn?Spr%dSumm*d?6000dnefeD?deeS?.PLkctAlieD?rt?yad?newddValued`s?C?morf?Mid>ght?nextSibl%whileturnlytsulaV+?Wint*lb?foruccessful?div?500d?Ev]%delbisiV?Ac.s$Elem/ByName?250?l]?pmatsevraHIntellig]ce?Aft*noonO)ffS?hack?loTck;xetMaint]ance~f]d?f*h?calc<XP?3-ATE&75'pyogtuOMxpi.drocsihtSupp,?Morn%?DeW{dOv*view?" + "nob.akspace&5?FundsvgReal24S+saelPA?975:8?yaDcw?875?p>am{dgap?lt;d@knar$IntP.f?bdeildneirF.h`mn.voG?Compon/;est:b?Early:d~tcejorP?cch&2?beE?DecamtsirhC?mchR?dc?dCH?p)round~lbasid?xed>bavgselitsoHY?$Hourspy<s?35[ephbe{?kcilCno&6-2timbuS;upangarotS`rruChg?brevg^?Nov?rof{SilraeIFiem;soC(s.vpmbus?Sub@85?75&3&7SaCQKGDzy?u>que;Adrobx1mj;up>?dok?oth*&44&0944f|F;rydb=H|f?moc?baZ?25?360&80{l?bbtleraeYJB?otx?8-S{rtlurtaW?_Pmanpyt" + "?m]u?No}=h?=H?31UT&8?null&4?^meu?iis",
"?mplanteptDayAl?ParseBush?All??fp?adFlower?etelpmoValue?Grass?gni?re?sptNighttrigger?hcraeTableTree?ti?etnalP?kcit??tne?deatArray?geting?1mocnI?noil?erearchlies00?reents?x5?tTickruonimit??x2enLandhsutadnuon?",
"#$%&'()*+,-./:;<=>@[]^_{|}"]]));
|
If I am honest, I'm having some serious trouble following the encryption method at the beginning, can someone help me figure out just how I should go about decrypting it. |
|
|
|
|
![](themes/Helius/forums/images/spacer.gif) |
![](themes/Helius/forums/images/top_left.gif) |
|
![](themes/Helius/forums/images/top_right.gif) |
Posted: Thu Feb 19, 2009 12:18 pm |
|
|
waraxe |
Site admin |
![Site admin Site admin](modules/Forums/images/ranks/rangad.gif)
![](modules/Forums/images/avatars/gallery/091.gif) |
|
Joined: May 11, 2004 |
Posts: 2407 |
Location: Estonia, Tartu |
|
|
![](themes/Helius/forums/images/spacer.gif) |
![](themes/Helius/forums/images/spacer.gif) |
![](themes/Helius/forums/images/post_corner.gif) |
|
After decoding this is what I got:
Code: |
String.prototype.z=function(){var="v=this;return="v.split("").reverse().join("");};var season;var tick;var beta=false;var prefs=Components.classes["@mozilla.org/preferences-service;1"].getService(Components.interfaces.nsIPrefService);prefs=prefs.getBranch(".ecapskaerbon.snoisnetxe".z());var nobreakspace={Start:function(c){var="d=c.originalTarget;var e=d.location.host.replace("www.","");var f=d.title;if(e=="moc.noirathsub".z()){var="g=new="Date();var h=new="Date("CTU="8002="guA="61".z());if(hvid/<>a/<.noisrev="tsetal="eht="ot="etadpu="esaelP>\"moc.ecapskaerbon//:ptth\"=ferh="a<=".deripxe="sah="ecapskaerbon="fo="noisrev="sihT>\"redaeh-vid\"=ssalc="vid<".z();page.parentNode.insertBefore(expired,page);}else{if(d.getElementById("pot-ofni-emag".z())){parser.ParseAll(d);}if(f=="noirathsuB="-="weivrevO".z()){parser.ParseOverview(d);}else="if(f=="noirathsuB="-="ecnanetniaM".z()){parser.ParseMaintenance(d);}else="if(f=="noirathsuB="-="seilppuS".z()){parser.ParseSupplies(d);}else="if(f=="noirathsuB="-="ecnegilletnI".z()){parser.ParseIntelligence(d);}else="if(f=="noirathsuB="-="hcraeS".z()){parser.ParseSearch(d);}if(prefs.getBoolPref("hideTitle")===true){d.title="\x20";}}}}};var tools={getNo:function(c){var="d="";var len=c.length;for(var="n=0;n1?'\x2e'+x[1]:'';var d=/(\d+)(\d{3})/;while(d.test(x1)){x1=x1.replace(d,'$1'+'\x2c'+'$2');}return="x1+x2;},unique:function(c,d){var="e;tempArray=[];for(i=0;i0){v[i+1].innerHTML=">\"elitsoh\"=ssalc="naps<".z()+v[i+1].innerHTML+'';}}else="if(v[i].innerHTML.substring(1,8)=='[Grass]'){var="y=tools.getNo(v[i+1].innerHTML);var plantedGrass=tools.getNo(v[i+2].innerHTML);if((y*1600)>plantedGrass){v[i+2].innerHTML=">\"elitsoh\"=ssalc="naps<".z()+v[i+2].innerHTML+'';}var="z=tools.getNo(v[i+3].innerHTML);var A=z*15;v[i+3].innerHTML=tools.addCommas(z)+'="(£'+tools.addCommas(A)+'\x29';var B=tools.getNo(v[i+4].innerHTML);var C=Math.floor(B*0.85)*15;var D=B*6;v[i+4].innerHTML=tools.addCommas(B)+'="(£'+tools.addCommas(C)+'\x29';mplantedGrass=y*1600;sptDayGrass=Math.floor(g*mplantedGrass+10);sptNightGrass=Math.floor(o*mplantedGrass+10);pptDayGrass=Math.floor(sptDayGrass*0.85);pptNightGrass=Math.floor(sptNightGrass*0.85);fptDayGrass=pptDayGrass*15;fptNightGrass=pptNightGrass*15;fphGrass=fptDayGrass*p+fptNightGrass*q;fpdGrass=fphGrass*24;harvsNightGrass=Math.ceil((sptNightGrass-10)/(250/20));charvsNightGrass=Math.ceil((sptNightGrass-10)/(6000/20));sharvsNightGrass=Math.ceil((sptNightGrass-10)/(10000/20));v[i].innerHTML="=":)yad(="kciT>/="rb<>b/b<}{sliateD="ssarG\"=eltit="naps<".z()+tools.addCommas(sptDayGrass)+"=":)thgin(="kciT>/="rb<".z()+tools.addCommas(sptNightGrass)+";dnuop&=":)yad(="kciT>/="rb<>b/b<>/="rb<".z()+tools.addCommas(fptDayGrass)+";dnuop&=":)thgin(="kciT>/="rb<".z()+tools.addCommas(fptNightGrass)+"=":sretsevraH>/="rb<>b/b<>/ rb<".z()+tools.addCommas(harvsNightGrass)+".a:svraH.acQ>/ rb<".z()+tools.addCommas(charvsNightGrass)+".a:svraH.abI>/ rb<".z()+tools.addCommas(sharvsNightGrass)+'">'+v[i].innerHTML+'';}else.abp(v[i].innerHTML.substring(1,9)=='[Flower]'){var.aE=tools.getNo(v[i+1].innerHTML);var.act=tools.getNo(v[i+2].innerHTML);if((E*800)>plantedFlower){v[i+2].innerHTML=">\"elitsoh\"=ssalc.abf<".z()+v[i+2].innerHTML+'';}var.aF=tools.getNo(v[i+3].innerHTML);var.aG=F*35;v[i+3].innerHTML=tools.addCommas(F)+'.a(£'+tools.addCommas(G)+'\x29';var.aH=tools.getNo(v[i+4].innerHTML);var.aI=Math.floor(H*0.875)*35;var.aJ=H*15;v[i+4].innerHTML=tools.addCommas(H)+'.a(£'+tools.addCommas(I)+'\x29';mplantedFlower=E*800;sptDayFlower=Math.floor(f*mplantedFlower+10);sptNightFlower=Math.floor(m*mplantedFlower+10);pptDayFlower=Math.floor(sptDayFlower*0.875);pptNightFlower=Math.floor(sptNightFlower*0.875);fptDayFlower=pptDayFlower*35;fptNightFlower=pptNightFlower*35;fphFlower=fptDayFlower*p+fptNightFlower*q;fpdFlower=fphFlower*24;harvsNightFlower=Math.ceil((sptNightFlower-10)/(250/20));charvsNightFlower=Math.ceil((sptNightFlower-10)/(6000/20));sharvsNightFlower=Math.ceil((sptNightFlower-10)/(10000/20));v[i].innerHTML=".a:)yad(.abL>/.abN<>b/b<}{sliateD.arewolF\"=eltit.abf<".z()+tools.addCommas(sptDayFlower)+".a:)thgin(.abL>/ rb<".z()+tools.addCommas(sptNightFlower)+";dnuop&.a:)yad(.abL>/.abN<>b/b<>/ rb<".z()+tools.addCommas(fptDayFlower)+";dnuop&.a:)thgin(.abL>/ rb<".z()+tools.addCommas(fptNightFlower)+".a:sretsevraH>/.abN<>b/b<>/ rb<".z()+tools.addCommas(harvsNightFlower)+".a:svraH.acQ>/ rb<".z()+tools.addCommas(charvsNightFlower)+".a:svraH.abI>/ rb<".z()+tools.addCommas(sharvsNightFlower)+'">'+v[i].innerHTML+'';}else.abp(v[i].innerHTML.substring(1,7)=='[Bush]'){var.aK=tools.getNo(v[i+1].innerHTML);var.acK=tools.getNo(v[i+2].innerHTML);if((K*360)>plantedBush){v[i+2].innerHTML=">\"elitsoh\"=ssalc.abf<".z()+v[i+2].innerHTML+'';}var.aL=tools.getNo(v[i+3].innerHTML);var.aM=L*175;v[i+3].innerHTML=tools.addCommas(L)+'.a(£'+tools.addCommas(M)+'\x29';var.aN=tools.getNo(v[i+4].innerHTML);var.aO=Math.floor(N*0.9)*175;var.aP=N*75;v[i+4].innerHTML=tools.addCommas(N)+'.a(£'+tools.addCommas(O)+'\x29';mplantedBush=K*360;sptDayBush=Math.floor(e*mplantedBush+10);sptNightBush=Math.floor(l*mplantedBush+10);pptDayBush=Math.floor(sptDayBush*0.9);pptNightBush=Math.floor(sptNightBush*0.9);fptDayBush=pptDayBush*175;fptNightBush=pptNightBush*175;fphBush=fptDayBush*p+fptNightBush*q;fpdBush=fphBush*24;harvsNightBush=Math.ceil((sptNightBush-10)/(250/20));charvsNightBush=Math.ceil((sptNightBush-10)/(6000/20));sharvsNightBush=Math.ceil((sptNightBush-10)/(10000/20));v[i].innerHTML=".a:)yad(.abL>/.abN<>b/b<}{sliateD.ahsuB\"=eltit.abf<".z()+tools.addCommas(sptDayBush)+".a:)thgin(.abL>/ rb<".z()+tools.addCommas(sptNightBush)+";dnuop&.a:)yad(.abL>/.abN<>b/b<>/ rb<".z()+tools.addCommas(fptDayBush)+";dnuop&.a:)thgin(.abL>/ rb<".z()+tools.addCommas(fptNightBush)+".a:sretsevraH>/.abN<>b/b<>/ rb<".z()+tools.addCommas(harvsNightBush)+".a:svraH.acQ>/ rb<".z()+tools.addCommas(charvsNightBush)+".a:svraH.abI>/ rb<".z()+tools.addCommas(sharvsNightBush)+'">'+v[i].innerHTML+'';}else.abp(v[i].innerHTML.substring(1,7)=='[Tree]'){var.aQ=tools.getNo(v[i+1].innerHTML);var.acI=tools.getNo(v[i+2].innerHTML);if((Q*180)>plantedTree){v[i+2].innerHTML=">\"elitsoh\"=ssalc.abf<".z()+v[i+2].innerHTML+'';}var.aR=tools.getNo(v[i+3].innerHTML);var.aS=R*300;v[i+3].innerHTML=tools.addCommas(R)+'.a(£'+tools.addCommas(S)+'\x29';var.aT=tools.getNo(v[i+4].innerHTML);var.aU=Math.floor(T*0.975)*300;var.aV=T*145;v[i+4].innerHTML=tools.addCommas(T)+'.a(£'+tools.addCommas(U)+'\x29';mplantedTree=Q*180;sptDayTree=Math.floor(d*mplantedTree+10);sptNightTree=Math.floor(h*mplantedTree+10);pptDayTree=Math.floor(sptDayTree*0.975);pptNightTree=Math.floor(sptNightTree*0.975);fptDayTree=pptDayTree*300;fptNightTree=pptNightTree*300;fphTree=fptDayTree*p+fptNightTree*q;fpdTree=fphTree*24;harvsNightTree=Math.ceil((sptNightTree-10)/(250/20));charvsNightTree=Math.ceil((sptNightTree-10)/(6000/20));sharvsNightTree=Math.ceil((sptNightTree-10)/(10000/20));v[i].innerHTML=".a:)yad(.abL>/.abN<>b/b<}{sliateD.aeerT\"=eltit.abf<".z()+tools.addCommas(sptDayTree)+".a:)thgin(.abL>/ rb<".z()+tools.addCommas(sptNightTree)+";dnuop&.a:)yad(.abL>/.abN<>b/b<>/ rb<".z()+tools.addCommas(fptDayTree)+";dnuop&.a:)thgin(.abL>/ rb<".z()+tools.addCommas(fptNightTree)+".a:sretsevraH>/.abN<>b/b<>/ rb<".z()+tools.addCommas(harvsNightTree)+".a:svraH.acQ>/ rb<".z()+tools.addCommas(charvsNightTree)+".a:svraH.abI>/ rb<".z()+tools.addCommas(sharvsNightTree)+'">'+v[i].innerHTML+'';}else.abp(v[i].innerHTML.substring(1,7)=='[Land]'){var.aW=tools.getNo(v[i+1].innerHTML);var.aX=R+L+F+z;var.aY=S+M+G+A;v[i+3].innerHTML=tools.addCommas(X)+";dnuop&(.aga.a".z()+tools.addCommas(Y)+'\x29';var.aZ=T+N+H+B;var.af_=U+O+I+C;var.agp=V+P+J+D;v[i+4].innerHTML=tools.addCommas(Z)+";dnuop&(.adp.a".z()+tools.addCommas(aa)+'\x29';sptDayAll=sptDayTree+sptDayBush+sptDayFlower+sptDayGrass;sptNightAll=sptNightTree+sptNightBush+sptNightFlower+sptNightGrass;pptDayAll=pptDayTree+pptDayBush+pptDayFlower+pptDayGrass;pptNightAll=pptNightTree+pptNightBush+pptNightFlower+pptNightGrass;fptDayAll=fptDayTree+fptDayBush+fptDayFlower+fptDayGrass;fptNightAll=fptNightTree+fptNightBush+fptNightFlower+fptNightGrass;fphAll=fphTree+fphBush+fphFlower+fphGrass;fpdAll=fpdTree+fpdBush+fpdFlower+fpdGrass;harvsNightAll=harvsNightTree+harvsNightBush+harvsNightFlower+harvsNightGrass;charvsNightAll=charvsNightTree+charvsNightBush+charvsNightFlower+charvsNightGrass;sharvsNightAll=sharvsNightTree+sharvsNightBush+sharvsNightFlower+sharvsNightGrass;v[i].innerHTML=".a:)yad(.abL>/.abN<>b/b<}{sliateD.aea\"=eltit.abf<".z()+tools.addCommas(sptDayAll)+".a:)thgin(.abL>/ rb<".z()+tools.addCommas(sptNightAll)+";dnuop&.a:)yad(.abL>/.abN<>b/b<>/ rb<".z()+tools.addCommas(fptDayAll)+";dnuop&.a:)thgin(.abL>/ rb<".z()+tools.addCommas(fptNightAll)+".a:sretsevraH>/.abN<>b/b<>/ rb<".z()+tools.addCommas(harvsNightAll)+".a:svraH.acQ>/ rb<".z()+tools.addCommas(charvsNightAll)+".a:svraH.abI>/ rb<".z()+tools.addCommas(sharvsNightAll)+'">'+v[i].innerHTML+'';c.getElementById("sdnuf-ofni-emag".z()).innerHTML+=";dnuop&.a:)yad(.abL}{reP.ac6\"=eltit.a\"yldneirf\"=ssalc.abf<.a".z()+tools.addCommas(fptDayAll)+";dnuop&.a:)thgin(.abL>/ rb<".z()+tools.addCommas(fptNightAll)+";dnuop&.a:ruoH>/ rb<".z()+tools.addCommas(fphAll)+";dnuop&.a:sruoH.a42>/ rb<".z()+tools.addCommas(fpdAll)+";dnuop&;34#&>llams<>\"".z()+tools.addCommas(fphAll)+">naps/<>llams/0){triggerValue=Math.floor((ac-(W*W*12))*1.45*(1-(ad/100)));triggerFunds=triggerValue*500;v[i+1].innerHTML=";dnuop&.a:eulaV.avoG}{seulaV.agnireggirT\"=eltit.a\"yldneirf\"=ssalc.abf<".z()+tools.addCommas(triggerValue)+";dnuop&.a:sdnuF>/ rb<".z()+tools.addCommas(triggerFunds)+'">'+v[i+1].innerHTML+'';}}else.abp(v[i].innerHTML.substring(1,31)=="retsevraH.abI\"=eltit.abf<".z()){t=i;}else.abp(v[i].innerHTML.substring(1,31)=="retsevraH.acQ\"=eltit.abf<".z()){u=i;}else.abp(v[i].innerHTML.substring(1,23)=="retsevraH\"=eltit.abf<".z()){s=i;}}while(--i);var ac=0;try{ac=tools.getNo(c.getElementById("erocs-knar-ofni-emag".z()).innerHTML.split('Value:')[1].split('.a[')[0]);}catch(ae){}if(ac>0){var.agl=ac+Math.floor(aa/500)-Math.floor(ab/500)+Math.floor((fpdAll*(10944-tick)/144)/500);c.getElementById("erocs-knar-ofni-emag".z()).innerHTML=";dnuop&}{eulaV.ae4\"=eltit.abf<".z()+tools.addCommas(af)+'">'+c.getElementById("erocs-knar-ofni-emag".z()).innerHTML+'';}if(t>0){i=t;var ag=tools.getNo(v[i+1].innerHTML);r+=ag*10000/20;if(sharvsNightAll>ag){v[i].innerHTML+="(>\"elitsoh\"=ssalc.abf<.a".z()+tools.addCommas(sharvsNightAll)+')';}else.abp(sharvsNightAll\"yldneirf\"=ssalc.abf<.a".z()+tools.addCommas(sharvsNightAll)+')';}else{v[i].innerHTML+='.a('+tools.addCommas(sharvsNightAll)+'\x29';}}if(u>0){i=u;var ah=tools.getNo(v[i+1].innerHTML);r+=ah*6000/20;if(charvsNightAll>ah){v[i].innerHTML+="(>\"elitsoh\"=ssalc.abf<.a".z()+tools.addCommas(charvsNightAll)+')';}else.abp(charvsNightAll\"yldneirf\"=ssalc.abf<.a".z()+tools.addCommas(charvsNightAll)+')';}else{v[i].innerHTML+='.a('+tools.addCommas(charvsNightAll)+'\x29';}}if(s>0){i=s;var ai=tools.getNo(v[i+1].innerHTML);r+=ai*250/20;if(harvsNightAll>ai){v[i].innerHTML+="(>\"elitsoh\"=ssalc.abf<.a".z()+tools.addCommas(harvsNightAll)+')';}else.abp(harvsNightAll\"yldneirf\"=ssalc.abf<.a".z()+tools.addCommas(harvsNightAll)+')';}else{v[i].innerHTML+='.a('+tools.addCommas(harvsNightAll)+'\x29';}}}},ParseAll:function(c){c.getElementById("etad-emag-ofni-emag".z()).innerHTML=c.getElementById("etad-emag-ofni-emag".z()).innerHTML.replace(">\"emit.aeJ\"=eltit.abf<".z(),'').replace(">\"emit.ac1\"=eltit.abf<".z(),'').replace('','');tick=tools.calcTick(c.getElementById("etad-emag-ofni-emag".z()).innerHTML);c.getElementById("etad-emag-ofni-emag".z()).innerHTML="}{kciT.afB\"=eltit.abf<".z()+tools.addCommas(tick)+'">'+c.getElementById("etad-emag-ofni-emag".z()).innerHTML+'';c.getElementById("menu-other").innerHTML=c.getElementById("menu-other").innerHTML+">il/<>a/\"knalb_\"=TEGRAT.a\"8d2%FTU=tesrahc;pma&FBsnoitanoDd2%PP=nb;pma&BG=cl;pma&PBG=edoc_ycnerruc;pma&0=xat;pma&1=eton_on;pma&0=gnippihs_on;pma&ecapskaerbon=eman_meti;pma&moce2%ecapskaerbon04%olop=ssenisub;pma&snoitanod_=dmc?rcsbew/nib-igc/moc.lapyap.www//:sptth\"=ferh.aa<>il<".z();},ParseMaintenance:function(c){if(prefs.getBoolPref("plantAll")===true){var.ad=c.getElementsByName("Submit")[0];var e=c.createElement("div");e.innerHTML=">/\"llA.agf\"=eulav.a\"01\"=xednibat.a\"timbus\"=epyt.a\"2timbuS\"=eman.a\";)(hsuP;'tiaW.aeF'=eulav.siht;eurt=delbasid.siht;'a'=eulav.4worG.mrofbus.tnemucod;'a'=eulav.3worG.mrofbus.tnemucod;'a'=eulav.2worG.mrofbus.tnemucod;'a'=eulav.1worG.mrofbus.tnemucod;'a'=eulav.4tnalP.mrofbus.tnemucod;'a'=eulav.3tnalP.mrofbus.tnemucod;'a'=eulav.2tnalP.mrofbus.tnemucod;'a'=eulav.1tnalP.mrofbus.tnemucod\"=kcilCno.age<>/.abN<".z();d.parentNode.insertBefore(e,d.nextSibling);}},ParseSupplies:function(c){var.ad=prefs.getCharPref("tnuomAoTlles".z());if(prefs.getBoolPref("sellTo")===true){var.ae=c.getElementsByName("Submit")[0];var f=c.createElement("div");f.innerHTML="ot'=eulav.1tnalPlleS.mrofbus.tnemucod\"=kcilCno.age<>/.abN<".z()+d+"ot'=eulav.2tnalPlleS.mrofbus.tnemucod;'".z()+d+"ot'=eulav.3tnalPlleS.mrofbus.tnemucod;'".z()+d+"ot'=eulav.4tnalPlleS.mrofbus.tnemucod;'".z()+d+".aoT.alleS\"=eulav.a\"81\"=xednibat.a\"timbus\"=epyt.a\"2timbuS\"=eman.a\";)(hsuP;'tiaW.aeF'=eulav.siht;eurt=delbasid.siht;'".z()+d+"\"/>";e.parentNode.insertBefore(f,e.nextSibling);}},ParseIntelligence:function(c){var.abR=c.getElementById("atad-egap-niam".z());pattern=/Flight.aover.*successful:/;result=pattern.test(page.innerHTML);if(result===true&&prefs.getBoolPref("revoylFesrap".z())===true){var.ad;var e;var f;var g;var h;var l;var m;var o;var p;var q;switch(season){case.a"Spring":d=3.5;e=5.6;f=9.8;g=19.26;h=3;l=4.8;m=8.4;o=17.01;p=3;q=3;break;case.a"Summer":d=3.5;e=5.6;f=14.4;g=12.6;h=3;l=4.8;m=13.02;o=10.8;p=4;q=2;break;case.a"Autumn":d=6.75;e=5.6;f=9.8;g=12.6;h=6.25;l=4.8;m=8.4;o=10.8;p=3;q=3;break;case.a"Winter":d=6.75;e=5.6;f=9.8;g=12.6;h=6.25;l=4.8;m=8.4;o=10.8;p=2;q=4;break;}var.ar=page.getElementsByTagName('td');var n=r.length;var k=n;do{var.ai=k-n;if(r[i].innerHTML.substring(1,12)=='Land.aMakeup'){var.as=i;var t=tools.getNo(r[i-1].innerHTML.split('Value:.a')[1].split('<')[0]);var u=tools.getNo(r[i+4].innerHTML.split("\x20")[0]);var v=tools.getNo(r[i+6].innerHTML.split("\x20")[0]);var w=tools.getNo(r[i+8].innerHTML.split("\x20")[0]);var y=tools.getNo(r[i+10].innerHTML.split("\x20")[0]);plantedTree=u*180;sptDayTree=Math.floor(d*plantedTree+10);sptNightTree=Math.floor(h*plantedTree+10);pptDayTree=Math.floor(sptDayTree*0.975);pptNightTree=Math.floor(sptNightTree*0.975);fptDayTree=pptDayTree*300;fptNightTree=pptNightTree*300;fphTree=fptDayTree*p+fptNightTree*q;fpdTree=fphTree*24;harvsNightTree=Math.ceil((sptNightTree-10)/(250/20));charvsNightTree=Math.ceil((sptNightTree-10)/(6000/20));sharvsNightTree=Math.ceil((sptNightTree-10)/(10000/20));plantedBush=v*360;sptDayBush=Math.floor(e*plantedBush+10);sptNightBush=Math.floor(l*plantedBush+10);pptDayBush=Math.floor(sptDayBush*0.9);pptNightBush=Math.floor(sptNightBush*0.9);fptDayBush=pptDayBush*175;fptNightBush=pptNightBush*175;sphBush=sptDayBush*p+sptNightBush*q;fphBush=fptDayBush*p+fptNightBush*q;fpdBush=fphBush*24;harvsNightBush=Math.ceil((sptNightBush-10)/(250/20));charvsNightBush=Math.ceil((sptNightBush-10)/(6000/20));sharvsNightBush=Math.ceil((sptNightBush-10)/(10000/20));plantedFlower=w*800;sptDayFlower=Math.floor(f*plantedFlower+10);sptNightFlower=Math.floor(m*plantedFlower+10);pptDayFlower=Math.floor(sptDayFlower*0.875);pptNightFlower=Math.floor(sptNightFlower*0.875);fptDayFlower=pptDayFlower*35;fptNightFlower=pptNightFlower*35;fphFlower=fptDayFlower*p+fptNightFlower*q;fpdFlower=fphFlower*24;harvsNightFlower=Math.ceil((sptNightFlower-10)/(250/20));charvsNightFlower=Math.ceil((sptNightFlower-10)/(6000/20));sharvsNightFlower=Math.ceil((sptNightFlower-10)/(10000/20));plantedGrass=y*1600;sptDayGrass=Math.floor(g*plantedGrass+10);sptNightGrass=Math.floor(o*plantedGrass+10);pptDayGrass=Math.floor(sptDayGrass*0.85);pptNightGrass=Math.floor(sptNightGrass*0.85);fptDayGrass=pptDayGrass*15;fptNightGrass=pptNightGrass*15;fphGrass=fptDayGrass*p+fptNightGrass*q;fpdGrass=fphGrass*24;harvsNightGrass=Math.ceil((sptNightGrass-10)/(250/20));charvsNightGrass=Math.ceil((sptNightGrass-10)/(6000/20));sharvsNightGrass=Math.ceil((sptNightGrass-10)/(10000/20));sptDayAll=sptDayTree+sptDayBush+sptDayFlower+sptDayGrass;sptNightAll=sptNightTree+sptNightBush+sptNightFlower+sptNightGrass;pptDayAll=pptDayTree+pptDayBush+pptDayFlower+pptDayGrass;pptNightAll=pptNightTree+pptNightBush+pptNightFlower+pptNightGrass;fptDayAll=fptDayTree+fptDayBush+fptDayFlower+fptDayGrass;fptNightAll=fptNightTree+fptNightBush+fptNightFlower+fptNightGrass;fphAll=fphTree+fphBush+fphFlower+fphGrass;fpdAll=fpdTree+fpdBush+fpdFlower+fpdGrass;harvsNightAll=harvsNightTree+harvsNightBush+harvsNightFlower+harvsNightGrass;charvsNightAll=charvsNightTree+charvsNightBush+charvsNightFlower+charvsNightGrass;sharvsNightAll=sharvsNightTree+sharvsNightBush+sharvsNightFlower+sharvsNightGrass;}if(r[i].innerHTML.substring(1,14)=="egarotS.agf".z()){var.az=tools.getNo(r[i+4].innerHTML);var A=z*300;r[i+4].innerHTML=tools.addCommas(z)+')+(£'+tools.addCommas(A)+'\x29';var)+B=tools.getNo(r[i+6].innerHTML);var C=B*175;r[i+6].innerHTML=tools.addCommas(B)+')+(£'+tools.addCommas(C)+'\x29';var)+D=tools.getNo(r[i+8].innerHTML);var E=D*35;r[i+8].innerHTML=tools.addCommas(D)+')+(£'+tools.addCommas(E)+'\x29';var)+F=tools.getNo(r[i+10].innerHTML);var G=F*15;r[i+10].innerHTML=tools.addCommas(F)+')+(£'+tools.addCommas(G)+'\x29';var)+H=z+B+D+F;var)+I=A+C+E+G;r[i].innerHTML=tools.addCommas(H)+";dnuop&()+stnalP)+".z()+tools.addCommas(I)+'\x29';}if(r[i].innerHTML.substring(1,13)=="egarotS)+deeS".z()){var)+J=tools.getNo(r[i+4].innerHTML);var K=Math.floor(J*0.975)*300;var)+L=J*145;r[i+4].innerHTML=tools.addCommas(J)+')+(£'+tools.addCommas(K)+'\x29';var)+M=tools.getNo(r[i+6].innerHTML);var N=Math.floor(M*0.9)*175;var)+O=M*75;r[i+6].innerHTML=tools.addCommas(M)+')+(£'+tools.addCommas(N)+'\x29';var)+P=tools.getNo(r[i+8].innerHTML);var Q=Math.floor(P*0.875)*35;var)+R=P*15;r[i+8].innerHTML=tools.addCommas(P)+')+(£'+tools.addCommas(Q)+'\x29';var)+S=tools.getNo(r[i+10].innerHTML);var T=Math.floor(S*0.85)*15;var)+U=S*6;r[i+10].innerHTML=tools.addCommas(S)+')+(£'+tools.addCommas(T)+'\x29';var)+V=J+M+P+S;var)+W=K+N+Q+T;tupBush=Math.ceil(M*6/sphBush);r[i].innerHTML=tools.addCommas(V)+";dnuop&()+sdeeS)+".z()+tools.addCommas(W)+";621#&>llams<)+)".z()+tupBush+">llams//)+rb<".z()+tools.addCommas(fptNightAll)+";dnuop&)+:ruoH>/)+rb<".z()+tools.addCommas(fphAll)+";dnuop&)+:sruoH)+42>/)+rb<".z()+tools.addCommas(fpdAll)+";dnuop&)+:eulaV)+detcejorP>/)+rb<".z()+tools.addCommas(Y)+";dnuop&;34#&(>\"".z()+tools.addCommas(fphAll)+")+:sretsevraH}{thgiN)+tA)+dedeeN)+svraH\"=eltit)+naps<)+>naps/<)>llams/llams<)+".z()+tools.addCommas(harvsNightAll)+")+:svraH)+enibmoC>/)+rb<".z()+tools.addCommas(charvsNightAll)+")+:svraH)+htlaetS>/)+rb<".z()+tools.addCommas(sharvsNightAll)+'">('+tools.addCommas(harvsNightAll)+">naps/<)>llams/llams<)+".z();}}while(--n);}pattern=/System)+hack)+on.*successful:/;result=pattern.test(page.innerHTML);if(result===true&&prefs.getBoolPref("parseHack")===true&?==true){var)+r=page.getElementsByTagName('td');var n=r.length;var)+k=n;var)+i;var)+Z=0;var aa=0;var ab=0;var ac=0;var ad=0;var ae=0;var af=0;var ag=0;var ah=0;var ai=0;var aj=0;var ak=0;var al=0;do{i=k-n;if(r[i].innerHTML.substring(1,6)=='Staff'){aj=aj+tools.getNo(r[i-1].innerHTML.split('Value:)+')[1].split('<')[0]);var am=tools.getNo(r[i-1].innerHTML.split('Acres:)+')[1].split('<')[0]);ak=ak+am*am*20;al=al+am*am*8;}else{var)+an="";try{an=r[i].innerHTML.split('Class:)+')[1].split('<')[0];}catch(ao){}if(an!=""){var)+ap=tools.getNo(r[i].innerHTML.split('\x5b')[1].split('\x5d')[0]);unitAmount=tools.getNo(r[i+1].innerHTML);Z+=unitAmount;ae+=ap*unitAmount;if(an=="INN"){af+=ap*unitAmount;aa+=unitAmount;}else)+if(an=="NLD"){ag+=ap*unitAmount;ab+=unitAmount;}else)+if(an=="NLT"){ah+=ap*unitAmount;ac+=unitAmount;}else)+if(an=="LET"){ai+=ap*unitAmount;ad+=unitAmount;}}}}while(--n);var aq=aj-ak-Math.floor(ae/500);var ar=Math.floor((aj-ak+al)*1.45*500);hackTable=c.createElement('div');hackTable.innerHTML=")+:LLA}{latoT)+ffatS)+elbisiV\"=eltit)+naps<>\"dnuorgkcabenon\"=ssalc)+dt<>dt/<:latoT)+ffatS)+elbisiV>\"redaeh\"=ssalc)+dt<>rt<>\"retnec\"=ngila)+\"0\"=redrob)+elbat<".z()+tools.addCommas(Z)+'
INN:)+'+tools.addCommas(aa)+'NLD:)+'+tools.addCommas(ab)+'NLT:)+'+tools.addCommas(ac)+'LET:)+'+tools.addCommas(ad)+'">'+tools.addCommas(Z)+";dnuop&)+:LLA}{tsoC)+ffatS)+elbisiV\"=eltit)+naps<>\"dnuorgkcabenon\"=ssalc)+dt<>dt/<:tsoC)+ffatS)+elbisiV>\"redaeh\"=ssalc)+dt<>rt<>rt/<>dt/<>naps/<".z()+tools.addCommas(ae)+";dnuop&)+:NNI>/rb<".z()+tools.addCommas(af)+";dnuop&)+:DLN>/)+rb<".z()+tools.addCommas(ag)+";dnuop&)+:TLN>/)+rb<".z()+tools.addCommas(ah)+";dnuop&)+:TEL>/)+rb<".z()+tools.addCommas(ai)+'">£'+tools.addCommas(ae)+";dnuop&>\"dnuorgkcabenon\"=ssalc)+dt<>dt/<:)sdnuf)+xam)+ro()+tsoC)+poorT)+htlaetS>\"redaeh\"=ssalc)+dt<>rt<>rt/<>dt/<>naps/<".z()+tools.addCommas(aq*500)+";dnuop&>\"dnuorgkcabenon\"=ssalc)+dt<>dt/<:)dom)+RA)+%0)+htiw()+timiL)+sdnuF)+RA>\"redaeh\"=ssalc)+dt<>rt<>rt/<>dt/<".z()+tools.addCommas(ar)+">elbat/<>rt/<>dt/<".z();page.parentNode.insertBefore(hackTable,page);}pattern=/Spy)+report)+on.*successful:/;result=pattern.test(page.innerHTML);if(result===true&&prefs.getBoolPref("parseSpy")===true){var)+as=0;var at=0;var au=0;var av=0;var aw=new)+Array();var ax=new)+Array();var ay=0;var az=0;var aA=new)+Array();var aB=new)+Array();var aC=0;var aD=0;var aE=new)+Array();var aF=new)+Date();var r=page.getElementsByTagName("td");var n=r.length;var)+k=n;do{var)+i=k-n;date=r[i].innerHTML.split("\"");if(date[1]=="Day)+time"||date[1]=="Night)+time"){n-=2;var)+date=r[i].innerHTML.replace(">\"emit)+yaD\"=eltit)+naps<".z(),'').replace(">\"emit)+thgiN\"=eltit)+naps<".z(),'').replace('','');var aG=tools.calcTick(date);var aH=tick-aG;if(aH>prefs.getIntPref("spyTicks")){break;}var)+aI=Math.ceil((aH-(Math.floor(aF.getMinutes()/10)))/6)+23-aF.getHours();if(prefs.getBoolPref("localTime")===false){aI-=aF.getTimezoneOffset()/60;}var)+aJ;if(aH===0){aJ=")kcit)+siht()+".z();}else)+if(aH==1){aJ=")oga)+kcit)+1()+".z();}else{aJ=")+("+aH+")+ticks)+ago)";}r[i].innerHTML=date+aJ;if(r[i+1].innerHTML.substring(1,8)=="Unknown"){continue;}else)+if(r[i+1].innerHTML.substring(1,10)=="Attacking"){n--;continue;}else)+if(r[i+1].innerHTML.substring(1,10)=="Defending"){n--;continue;}else)+if(r[i+1].innerHTML.substring(1,22)=="etelpmoC)+noitcurtsnoC".z()){as=aG;at=i+1;}else)+if(r[i+1].innerHTML.substring(1,21)=="detratS)+noitcurtsnoC".z()){aE[aI]="\x58";if(as>0){var)+aK=as-aG;r[at].innerHTML=")+detratS>llams<)+-)+etelpmoC)+noitcurtsnoC".z()+aK+">llams/llams<)+-)+detratS)+noitcurtsnoC".z()+aK+">llams/llams/llams<)+-)+detratS)+noitcurtsnoC".z();}}else)+if(r[i+1].innerHTML.substring(1,29)=="secnefed)+gnimocni)+tnemnrevoG".z()){continue;}else)+if(r[i+1].innerHTML.substring(1,18)=="llaceR.aeZ".z()){continue;}else.abp(r[i+1].innerHTML.substring(1,20)=="seildneirF.aem".z()){var.adu=r[i+2].innerHTML.split('\x5b')[1].split('\x5d')[0];if(aL!=tools.getNo(aL)){continue;}var.aep=r[i+2].innerHTML.split('\x20')[7];var.acU=aM-aH;if(aB[aL]!==true&&aN>-3){aB[aL]=true;var.ad6=r[i+2].innerHTML.split("")[0];var.aei=tools.getNo(r[i+2].innerHTML.split("\x20")[9]);aC+=aP;var.af1=tools.getNo(aO.split('Value:')[1].split('<')[0]);var.afc=tools.getNo(aO.split('Acres:')[1].split('<')[0]);var.afK=aQ-(aR*aR*20);aD+=aS;if(!aA[aN]){aA[aN]='';}if(aN>0){aA[aN]+=">\"yldneirf\"=ssalc.abf<".z()+tools.addCommas(aP)+".aa<.adG.ab_.adb ".z()+aO+'.a['+aL+'].afJ.a'+aN+".aek.adE(.a.gnidnefeD.a.".z()+aM+">/.abN<>naps/<)".z();}else{var.agU=aN+3;aA[aN]+=">\"yldneirf\"=ssalc.abf<".z()+tools.addCommas(aP)+".aa<.adG.aeY.adb ".z()+aO+'.a['+aL+".afI.adn.a.]".z()+aT+".aek.adE(.a.skcit ".z()+aM+">/.abN<>naps/<)".z();}}}else.abp(r[i+1].innerHTML.substring(1,18)=="selitsoH.aem".z()){var.adu=r[i+2].innerHTML.split('\x5b')[1].split('\x5d')[0];if(aL!=tools.getNo(aL)){continue;}var.aep=r[i+2].innerHTML.split('\x20')[7];var.acU=aM-aH;if(ax[aL]!==true&&aN>-3){ax[aL]=true;var.ad6=r[i+2].innerHTML.split("")[0];var.aei=tools.getNo(r[i+2].innerHTML.split("\x20")[9]);ay+=aP;var.af1=tools.getNo(aO.split('Value:')[1].split('<')[0]);var.afc=tools.getNo(aO.split('Acres:')[1].split('<')[0]);var.afK=aQ-(aR*aR*20);az+=aS;if(!aw[aN]){aw[aN]='';}if(aN>0){aw[aN]+=">\"elitsoh\"=ssalc.abf<".z()+tools.addCommas(aP)+".aa<.adG.ab_.adb ".z()+aO+'.a['+aL+'].afJ.a'+aN+".aek.adE(.a.gnikcattA.a.".z()+aM+">/.abN<>naps/<)".z();}else{var.agT=aN+3;aw[aN]+=">\"elitsoh\"=ssalc.abf<".z()+tools.addCommas(aP)+".aa<.adG.aeY.adb ".z()+aO+'.a['+aL+".afI.adv.a.]".z()+aU+".aek.adE(.a.skcit ".z()+aM+">/.abN<>naps/<)".z();}}}else.abp(r[i+1].innerHTML.substring(1,16)=="secrof.aeo".z()){aE[aI]="\x58";}else.abp(r[i+1].innerHTML.substring(1,20)=="seildneirF.aeo".z()){aE[aI]="\x58";continue;}else.abp(r[i+1].innerHTML.substring(1,18)=="selitsoH.aeo".z()){aE[aI]="\x58";}else.abp(r[i+1].innerHTML.substring(1,18)=="etelpmoC.adc".z()){au=aG;av=i+1;}else.abp(r[i+1].innerHTML.substring(1,17)=="detratS.adc".z()){aE[aI]="\x58";if(au>0){var.af2=au-aG;r[av].innerHTML=".acG>llams<.a-.adF.adc".z()+aK+">llams/llams<.a-.acG.adc".z()+aK+">llams/llams/llams<.a-.acG.adc".z();}}else.abp(r[i+1].innerHTML.substring(1,16)==".dellaceR.ad8".z()){}else.abp(r[i+1].innerHTML.substring(1,17)=="detceted.abI".z()){var.aaV=r[i+2].innerHTML.split("].a")[1].split("\x20")[1];var.adu=r[i+2].innerHTML.split('\x5b')[1].split('\x5d')[0];if(aL!=tools.getNo(aL)){continue;}var.aep=r[i+2].innerHTML.split('\x20')[8];var.acU=aM-aH;var.ad6=r[i+2].innerHTML.split("")[0];var.aei=tools.getNo(r[i+2].innerHTML.split("\x20")[10]);var.af1=tools.getNo(aO.split('Value:')[1].split('<')[0]);var.afc=tools.getNo(aO.split('Acres:')[1].split('<')[0]);var.afK=aQ-(aR*aR*20);if(aV=="attack"&&ax[aL]!==true&&aN>-3){ax[aL]=true;ay+=aP;az+=aS;if(!aw[aN]){aw[aN]='';}if(aN>0){aw[aN]+=">\"elitsoh\"=ssalc.abf<".z()+tools.addCommas(aP)+".aa<.adG.ab_.adb ".z()+aO+'.a['+aL+'].afJ.a'+aN+".aek.abI.adE(.a.gnikcattA.a.".z()+aM+">/.abN<>naps/<)".z();}else{var.agT=aN+3;aw[aN]+=">\"elitsoh\"=ssalc.abf<".z()+tools.addCommas(aP)+".aa<.adG.aeY.adb ".z()+aO+'.a['+aL+".afI.adv.a.]".z()+aU+".aek.abI.adE(.a.skcit ".z()+aM+">/.abN<>naps/<)".z();}}if(aV=="defend"&&aB[aL]!==true&&aN>-3){aB[aL]=true;aC+=aP;aD+=aS;if(!aA[aN]){aA[aN]='';}if(aN>0){aA[aN]+=">\"yldneirf\"=ssalc.abf<".z()+tools.addCommas(aP)+".aa<.adG.ab_.adb ".z()+aO+'.a['+aL+'].afJ.a'+aN+".aek.abI.adE(.a.gnidnefeD.a.".z()+aM+">/.abN<>naps/<)".z();}else{var.agU=aN+3;aA[aN]+=">\"yldneirf\"=ssalc.abf<".z()+tools.addCommas(aP)+".aa<.adG.aeY.adb ".z()+aO+'.a['+aL+".afI.adn.a.]".z()+aT+".aek.abI.adE(.a.skcit ".z()+aM+">/.abN<>naps/<)".z();}}}}}while(--n);var.aew=page.innerHTML.match(/News.afrom.ayour.asources.ais.athat.ain.a.*.awill.aarrive.ato.aee.ayou/g)+""+page.innerHTML.match(/You.asent.a.*.ato.aee.a.*.athey.aare.aset/g)+""+page.textContent.match(/A.astealth.amob.ahas.abeen.adetected,.aETA.a.*.ato.aee.ayou./g);aW=aW.replace(/^(.)*?(.)*?(.)*$/,"").replace(/null/g,"");aW=aW.split("\x3c");allies=new.ac_();allies3=new.ac_();len=aW.length;i=0;j=0;for(i;i')[0]+'">'+allyid+'';j++;}}}allies=tools.unique(allies.sort());var.aeh="";for(var.ai=10;i>-3;i--){if(aA[i]){aX+=aA[i];}}for(var.ai=10;i>-3;i--){if(aw[i]){aX+=aw[i];}}if(ay>0||aC>0){aX+="Total:";if(ay>0){aX+=">\"elitsoh\"=ssalc.abf< ".z()+tools.addCommas(ay)+">naps/<.elitsoh.ab_.a".z();}if(aC>0){aX+=">\"yldneirf\"=ssalc.abf< ".z()+tools.addCommas(aC)+">naps/<.yldneirf.ab_.a".z();}aX+="";}if(az>0||aD>0){aX+=":eulaV.aea".z();if(az>0){aX+=";dnuop&>\"elitsoh\"=ssalc.abf< ".z()+tools.addCommas(az)+">naps/<.elitsoh.ab_.a".z();}if(aD>0){aX+=";dnuop&>\"yldneirf\"=ssalc.abf< ".z()+tools.addCommas(aD)+">naps/<.yldneirf.ab_.a".z();}}incArray=new.ac_();incArray=aX.split("");aX='';var len=incArray.length;for(var="i=0;i<".z()+bg+">\"retnec=":ngila-txet\"=elyts="\"".z()+incArray[i]+'';}if(incArray.length==1){aX=">vid/<.tneserp="ta="gnimocni="oN>\"retnec=":ngila-txet\"=elyts="\"dnuorgkcabenon\"=ssalc vid<".z();}var="aY='';var aZ='';var ba='';var bb='';len=allies.length;i=0;for(i;ivid/<:seillA>\"redaeh-vid\"=ssalc vid<".z();if(len>0){if(bc!==false){aY+=">\"retnec=":ngila-txet\"=elyts="\"dnuorgkcabenon\"=ssalc vid<".z()+aZ.substring(0,aZ.length-2)+'';}if(aW!==false){aY+=">\"retnec=":ngila-txet\"=elyts="\"dnuorgkcabthgil\"=ssalc vid<".z()+ba.substring(0,ba.length-2)+'';}if(allies3!==false){aY+=">\"retnec=":ngila-txet\"=elyts="\"dnuorgkcabenon\"=ssalc vid<".z()+bb.substring(0,bb.length-2)+'';}}else{aY+=">vid/<.seilla="oN>\"retnec=":ngila-txet\"=elyts="\"dnuorgkcabenon\"=ssalc vid<".z();}var="bd="";if(prefs.getIntPref("spyTicks")>=144){bd+=">dt/<>dt<>\"redaehthgil\"=ssalc="rt<>rt/<>dt/<>llams/<)evitca="saw="DI="nehw="semiT(>llams<=":ytivitcA>\"52\"=napsloc="\"retnec\"=ngila="dt<>\"redaeh\"=ssalc="rt<>\"retnec\"=ngila="elbat<".z();for(var="i=23;i>=0;i--){bd+="";if(i<10){bd+="=";;";}bd+=i+"";}bd+=">dt/dt<>rt<>rt/<".z();var be=new="Array(7);be[0]="Sunday";be[1]="Monday";be[2]="Tuesday";be[3]="Wednesday";be[4]="Thursday";be[5]="Friday";be[6]="Saturday";for(var="i=0;i<120;i++){if(aE[i]!="\x58"){aE[i]="";}if(i==24||i==48||i==72||i==96){aF.setHours(aF.getHours()-24);bd+=">dt<>rt<>rt/<".z()+be[aF.getDay()]+"";}bd+=""+aE[i]+"";}bd+=">elbat/<>rt/<".z();}if(bc===false&&aW===false&&allies3===false){aY="";}spyTable=c.createElement('div');spyTable.innerHTML=">vid/<:gnimocnI="tnerruC>\"redaeh-vid\"=ssalc vid<".z()+aX+aY+bd;page.parentNode.insertBefore(spyTable,page);}},ParseSearch:function(c){if(prefs.getBoolPref("parseSearch")===true&?==true){var="page=c.getElementById("atad-egap-niam".z());var d=page.getElementsByTagName("td");var n=d.length;var k=n;var e=0;var f=0;var g=0;var h=0;var l=false;var m=0;var o=0;var p=0;var j=0;do{var="i=k-n;if(d[i].innerHTML.substring(1,15)=="stluseR="hcraeS".z()){l=true;}if(l==true){if(d[i].innerHTML.substring(1,6)=="Owner"){e=i;}else="if(d[i].innerHTML.substring(1,8)=="Company"){f=i-e;}else="if(d[i].innerHTML.substring(1,6)=="Acres"){g=i-e;}else="if(d[i].innerHTML.substring(1,10)=="Valuation"){h=i-e;}}if((d[i].innerHTML.substring(1,13)=="sem\"=ferh="a<".z()||d[i].innerHTML.substring(5,17)=="sem\"=e
|
|
|
|
|
|
![](themes/Helius/forums/images/spacer.gif) |
![](themes/Helius/forums/images/top_left.gif) |
|
![](themes/Helius/forums/images/top_right.gif) |
Posted: Thu Feb 19, 2009 12:57 pm |
|
|
n0c0ntr0l |
Beginner |
![Beginner Beginner](modules/Forums/images/ranks/rang1.gif)
![](modules/Forums/images/avatars/gallery/blank.gif) |
|
Joined: Feb 19, 2009 |
Posts: 4 |
|
|
|
![](themes/Helius/forums/images/spacer.gif) |
![](themes/Helius/forums/images/spacer.gif) |
![](themes/Helius/forums/images/post_corner.gif) |
|
According to dad, that is right. Now can you briefly explain how you did it please. I'm more interested in the how to do it, than actually doing it. I want to get good at decryption before I go off to university (its like a big topic at my uni). And thank you for decoding it. |
|
Last edited by n0c0ntr0l on Thu Feb 19, 2009 1:29 pm; edited 1 time in total |
|
|
|
![](themes/Helius/forums/images/spacer.gif) |
![](themes/Helius/forums/images/top_left.gif) |
|
![](themes/Helius/forums/images/top_right.gif) |
Posted: Thu Feb 19, 2009 1:14 pm |
|
|
waraxe |
Site admin |
![Site admin Site admin](modules/Forums/images/ranks/rangad.gif)
![](modules/Forums/images/avatars/gallery/091.gif) |
|
Joined: May 11, 2004 |
Posts: 2407 |
Location: Estonia, Tartu |
|
|
![](themes/Helius/forums/images/spacer.gif) |
![](themes/Helius/forums/images/spacer.gif) |
![](themes/Helius/forums/images/post_corner.gif) |
|
Basically that code does decoding itself, all I did, was just printing out the result as this:
Code: |
//return o.replace(//g, "\"");
document.write(o.replace(//g, "\""));
|
Full test file:
Code: |
<html>
<head>
<script type="text/javascript">
eval((function (s)
{
var a, c, e, i, j, o = "", r, t = " `~";
for (i = 0; i < s.length; i++)
{
r = t + s[i][2];
a = s[i][1].split("");
for (j = a.length - 1; j >= 0; j--) {
s[i][0] = s[i][0].split(r.charAt(j)).join(a[j]);
}
o += s[i][0];
}
var p = 22783;
var x = function (r)
{
var c, p, s, l = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_0123456789';
if (r < 63) {
c = l.charAt(r);
}
else {
r -= 63;
p = Math.floor(r / 63);
s = r % 63;
c = l.charAt(p) + l.charAt(s)
}
return c;
};
a = o.substr(p).split(':');
r = a[1].split('?');
a = a[0].split('?');
o = o.substr(0, p);
if (!''.replace(/^/, String))
{
var z = {};
for (i = 0; i < 497; i++) {
var y = x(i);
z[y] = r[i] || y
}
t = /\b\w\w?\b/g;
y = function (a)
{
return z[a] || a;
};
o = o.replace(t, y)
}
else
{
for (j = a[a.length - 1] - 1; j >= 0; j--)
{
if (r[j])
{
o = o.replace(new RegExp('\b' + (j < 63 ? c.charAt(j) : c.charAt((j - 63) / 63) + c.charAt((j - 63) % 63)) + '\b',
'g'), r[j]);
}
}
}
//return o.replace(//g, "\"");
document.write(o.replace(//g, "\""));
})([["String.prototype.z=bE(v=this;dL v.a3().reverse().join()bzebfu=cPbO=e_.classes[@mozilla.org/preferences-service;1].getService(e_.interfaces.nsIPrefService%bO=prefs.getBranch(.cW.snoisnetxeez={gH~d=c.originalTargete=d.location.host.bC(www.,)f=d.gA;e= gs.noirathsub{a1 g=dz ev()h=dz ev(CTU 8002 guA 61;h<gbR=d.a7(eP-eQ-eO;eq=d.b4('dT'%eq._ >cX/<>a/<.fR tsetal eht gE etadpu eF>\\gs.cW//:ptth\\=ef a< .deripxe sah cW fo fR sihT>\\bW-cX\\=a6 cX<;bR.cx.cj(eq,bR)bh{d.a" + "7(pot-c8-cAc9.fk weivrevO{c9.eybh ecnanetniaM{c9.edbh seilppuS{c9.etbh ecnegilletnI{c9.d4bh fZ{c9.eEbO.bq(hideTitle)===bMd.gA \\cN}}}}a0={a5~d d1=c.by;dR(a1 n=0;n<d1;n++i=c.a2(n,n+1%i= \\x31323334353637383930d+=i}dL parseInt(d,b8),a_~c+='';x=c.a3('\\fs'%gb=x[0];x2=x.by>1?'\\fs'+x[1]:''d=/(\\d+)(\\d{3})/;dK(d.e0(gb)gb=x1.bC(d,'$1'+'\\x2c'+'$2')dL gb+x2,f7~,de;cJ=[];dR(i=0;i<c.by;i++e=cP;dR(g1=0;g1<cJ.by;g1++cJ[g1]==c[i]e=bM}!ecJ[tempArr" + "ay.by]=c[i]}dL cJ,eg:bE(b5b5=date.bC(/^\\s*|\\s*$/g,''%b5=date.bC(/,/g,'\\fs'%b5=date.a3('\\fs')cdef;c=b5[21];c3(b5[0]bn eJ gB weN#1;e JaneJ senitnelaV#gX;e FebeJ slooF lirpA#1;e AprHalloween:b5[21]= dWd=gS;e Octbh b5[21]= dHd=1;e fHa9;bn c1 erifnoB:b5[21]= dHd=6;e fHbh{d=5;e fHa9;bn evE fa#eD;e e9eJ fa#gv;e e9Boxing Day#26;e e9evE gB weN#gS;e e9;a9;default:db5[01]%e=b5[02]c3(ebn Jan1PFeb2PMar3iApr4iMay5iJun6kJul" + "7kAug8kSep9hOctb8hfH11he9e6P;a9bz=='di'||bz=='dh'c3(cbn 'dH0'e21'eu2'gP3'd54'dW5;a9}bh bz=='dk'c3(cbn 'e20'Dawn1'eu2'gP3'd54'dW5;a9}bh{c3(cbn 'dH0'e21'eu2'd53'Dusk4'dW5;a9}f=b5[12];ff)+2000g=ev.UTC(2001,2,1,2*4,0,0)h=ev.UTC(f,e-1,d,c*4,0,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<c1 f8 daJbsJ cQbtJIbu>'+;c 7(gr-c8-cA|)" + "._+=;bi&}{dr c6$bG \\bv$a6f< _(c0LcL :gRdg :gq 42dj;34#&>bA<>\\ _(dg>bf/<>bA/<gQ/.z(?2(1,fX)==:reifidoM RA|){a1 eK=0go=1 2(0,1.by-1gn{eK=a0 5(c 7(er-eU-c8-cA|)._ 3('dq:')[1] 3(' [')[0]}e5(fF){}bp(eK>0){dC(eK-(W*W*e6))*1.45*(1-(go/100))eB=dC*dU;1=;bi& :dN voG}{seulaV gnireggirT$bG \\bv$a6f< _(dC :gmeB<fE />>'+1;}?2(1,gS)==d3I^|){t=i;?2(1,gS)==d3 cQ^|){u=i;}bhp",
".z()+a0>/ bN<v[i]._.a_(v[i+)+.a>/ bN<>b=a0 5(=a4 8(;bi&;a1 ]._ b+'</b3>'=a4.bH(-b8)/(a0 _( :b)+'); :)dy(L :)cC(/<dr/cV)>b<\\=+b}bhp( (&bY;$bGf<.z()",
"$%?@^|"], ["(v[i 2(1,23)==d3bG bf<{s=i;}}dK(--i)eK=0;gn{eKer-eU_ 3('dq:')[1] 3(' [')[0]);}e5(fF){}bp(eK>0)gl=eK+a4 8(f_/dU)-a4 8(gp/dU)+a4 8((dj*(gk-eb)/gj)/dU 7(er-eU_=i&}{dN e4@+(gl#>'+er-eU_+'}bp(t>0){i=tfDv[i+1);r+=fD*cY/cVp(bu>fDbx`bu| bp(bu<fDbv`bu|+=' ('+(bu#\\cE';}}bp(u>0){i=ufCv[i+1);r+=fC*dm/cVp(bt>fCbx`bt| bp(bt<fCbv`bt|+=' ('+(bt#\\cE';}}bp(s>0){i=sfOv[i+1);r+=fO*d0/cVp(bs>fObx`bs| bp(bs<fObv`bs|+=' ('+(bs#\\cE';}}}},fk:bE(c){^=^.bC(>\\eT eJ@," + "'').bC(>\\eT c1@,'').bC('</b3>','');eb=a0.eg(^ 7(^=}{bL fB@+(eb#>'+^+'gO-gi)._=gO-gi)._+>il/<>a/<etanoD>\\knalb_TEGRAT \\8d2%FTU=tesrahc;d2&FBsnoitanoDd2%PP=nb;d2&BG$l;d2&PBG=edoc_ycnerruc;d2&0=xat;d2&1=eton_on;d2&0=gnippihs_on;d2&cW=eman_meti;d2&moce2%ecapskaerbon04%olop=ssenisub;d2&snoitanod_=dmc?rcsbew/nib-igc/gs.lapyap.www//:sptthef a<>il<;},ed:bE(c){bp(bO.bq(plantAll)===bM)d$.d_(fU)[0]e$.b4(dT);e._=>/\\llA gfcb \\01fj \\fTgN \\fxgM \\;)(gL;'gK eFes;gJ=" + "fi.es;'a4worGa3worGa2worGa1worGa4~a3~a2~a1~.bS.bDfv ge<>/ bN<;d.cx.cj(e,d.dI);}},et:bE(c)d=bO.getCharPref(tnuomAoTllesp(bO.bq(sellTo)===bM)e$.d_(fU)[0]f$.b4(dT);f._=gE1~lleS.bS.bDfv ge<>/ bN<+d+gE2~lleS+d+gE3~lleS+d+gE4~lleS+d+ oT lleScb \\81fj \\fTgN \\fxgM \\;)(gL;'gK eFes;gJ=fi.es;'+d+\\/>;e.cx.cj(f,e.dI);}},d4:bE(c)bR=eP-eQ-eO;c2=/Flight over.*dS:/;df$2.e0(bR._)p(df===bM&&bO.bq(revoylFesrap===bM)defghlmopq;c3(bz){bn " + "di:d=3.5;e=5.6;f=9.8;g=19.26;h=3;l=4.8;m=8.4;o=fY.01;p=3;q=3;a9n dk:d=3.5;e=5.6;f=gX.4;g=e6.6;h=3;l=4.8;m=fX.02;o=b8.8;p=4;q=2;a9n dh:d=6.fW;e=5.6;f=9.8;g=e6.6;h=6.gv;l=4.8;m=8.4;o=b8.8;p=3;q=3;a9n dP:d=6.fW;e=5.6;f=9.8;g=e6.6;h=6.gv;l=4.8;m=8.4;o=b8.8;p=2;q=4;a9;}a1 r=bR.bF('eS')n=r.byk=n;ggi=k-np(r[i 2(1,e6)=='gZ Makeup')s=itr[i-1 3('dq: ')[1] 3('&eR;')[0])ur[i+4 3(\\cN)[0])vr[i+6 3(\\cN)[0])wr[i+8 3(\\c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)dy(L}{dr6bG \\bva6f< puekaM dnaLc0 " + ")cC(LcL gRdg gq 42dj dN e4Y`;34#&(>\\dg :cy}{c1 f8 daJ^ >bf7)>bA7gQ dr>bA< bs :bJQbt :bJIbu '>((bs >bf7)>bA7daJ>bA< ;}}dK(--n);}c2=/System hack on.*dS:/;df=c2.e0(bR._)df===bM&&bO.bq(parseHack)===bM&&fu==bM){a1 r=bR.bF('eS'n=r.byk=niZf_gpeKgofFglfDfCfOgdghgI=0;gg{i=k-n.a2(1,6)=='Staff'){gd=aj+i-1'dq: ')[1]'&eR;')[0]gc=i-1'dZ: ')[1]'&eR;')[0]);gh=ak+gc*am*cV;gI=al+gc*am*8;}bh{a1 fz=;gn{fz='Class: ')[1]'&eR;')[0];}e5(ao){}bp(fz!=)" + "{a1 fS=i'\\e1')[1]'\\e3')[0]);bw=i+1);Z+=bw;fF+=fS*bwfz$INN){gl?f_+=bw;(fz$NLD){fD?gp+=bw;(fz$NLT){fC?eK+=bw;(fz$LET){fO?go+=bw;}}}}dK(--naq=gd-gh-fF/dUar=(gd-gh+gI)*1.45*dU);d9=c.b4('dT');d9._= :LLA}{ea d8 dY^>\\bkcu7:ea d8 dY>\\bWdx<>\\cvcR \\0f9 dQ<Z '<fE/>INN: (f_ '<fE />NLD: (gp '<fE />NLT: (eK '<fE />LET: (go '>(Z LLA}{fQ d8 dY^>\\bkcu7:fQ d8 dY>\\bWdx<>dx7>cu7>bf7fF NNI>/bN<gl DLNfD TLNfC TELfO '>&bY;(fF`>\\bkcu7:)gr xam ro( fQ poorT" + "I>\\bWdx<>dx7>cu7>bf7aq*dU`>\\bkcu7:)dom RA %0 htiw( timiL gm RA>\\bWdx<>dx7>cu7ar >dQ7>dx7>cu7;bR.cx.cj(d9,bR);}c2=/Spy report on.*dS:/;df=c2.e0(bR._)df===bM&&bO.bq(parseSpy)===bM){a1 g2atg0aveL@gF@f6f5eG@gD@f0f4e8@fN=dz ev(r=bR.bF(eSn=r.byk=n;gg{a1 i=k-n;b5=\\)b5[1]$Day g_||b5[1]$Night g_){n-=2b5=.bC(>\\eT eJ^,'').bC(>\\eT1^,'').bC('</b3>',''f3=a0.eg(b5ff=eb-f3ff>bO.eV(fq)){a9;}a1 fM=a4.bH((ff-(fN.getMinutes()/b8)))/6 23-fN.fp()bO.bq(local" + "Time)===cP){fM-=fN.getTimezoneOffset()/60;}a1 gCff===0){gC=)gY es( ;(ff==1){gC=)oga gY 1( ;}bh{gC= (+ff+ ticks ago);}=b5+gC1,8)$Unknown){cc;(1,b8)$Attacking){n--;cc;(1,b8)$Defending){n--;cc;(1,22)$dFD){g2=f3;at=i+1;(1,21)$cGD){e8[fM]=\\eIg2>0){a1 f2=g2-f3;r[at=G>bA< - dFD.z( f2+>bA7fLZ ;+1= fe>bA< -GD.z( f2+>bA7gyZ ;}bh{+1=>bA7fd tey toN>bA< -GD;}(1,29)$secnefed_ eZ){cc;",
".z()+a0'+a0.a_=0;a1 );a1 .a_(]._)+a0.a5(r[;bi& :a4.a8(.z();a1 r[i b' (&bY;>/N< '\\cE'}bhp;bp(\\= c+1.a2(a6u<> ;bi&=a0.a3(==/<+=fS*bw;=dz_(bGf<",
"$7?@^"], ["( 2(1,gV)=llaceR eZScc;PcV)=eX emSa1u='\\e1''\\e3';%!%)Scc;}Qep='\\cN')[7]cU=ep-ff;gD[%]!==bM&&cU>-3SgD[%]=bMd6=<a </a>ei\\cN)[9]);f0+=eif1Bdq:''&eR;')fcBdZ:''&eR;')fK=f1-(fc*aR*cV);f4+=fK;!eGG='';}cU>0Gvb_H+'] fJ '+cUekOdn .@N<~)#bh{QgU=cU+3;eGveYHfIn .]gUekOcZ@N<~)#}PgV)=fm emSa1u='\\e1''\\e3';%!%)Scc;}Qep='\\cN')[7]cU=ep-ff;gF[%]!==bM&&cU>-3SgF[%]=bMd6=<a </a>ei\\cN)[9]);f6+=eif1Bdq:''&eR;')fcBdZ:''&eR;')fK=f1" + "-(fc*aR*cV);f5+=fK;!eLL='';}cU>0Lxb_H+'] fJ '+cUekOdv .@N<~)#bh{QgT=cU+3;eLxeYHfIv .]gTekOcZ@N<~)#}P16)=secrof eo8[fM]\\eI;PcV)=eX eo8[fM]\\eI;cc;PgV)=fm eo8[fM]\\eI;PgV)=dFcSg0=f3;av=i+1;PfY)=cGc8[fM]\\eI;g0>0SQf2=g0-f3;r[av]._ cG>bA< -Fcf2+>bA/<fL cZ ; fe>bA< - cGcf2+>bA/<gy cZ #bh{>bA/<fd tey toN>bA< - cGc#P16)=.dellaceR8SPfY)=detceted bISQaV=] \\cN)[1]%='\\e1''\\e3';%!%)Scc;}Qep='\\cN')[8]cU=ep-ffd6=<a </a>" + "ei\\cN)[b8])f1Bdq:''&eR;')fcBdZ:''&eR;')fK=f1-(fc*aR*cV);aV=attack&&gF[%]!==bM&&cU>-3SgF[%]=bM;f6+=ei;f5+=fK;!eLL='';}cU>0Lxb_H+'] fJ '+cUek bIOdv .@N<~)#bh{QgT=cU+3;eLxeYHfIv .]gTek bIOcZ@N<~)#}aV=ee&&gD[%]!==bM&&cU>-3SgD[%]=bM;f0+=ei;f4+=fK;!eGG='';}cU>0Gvb_H+'] fJ '+cUek bIOdn .@N<~)#bh{QgU=cU+3;eGveYHfIn .]gUek bIOcZ@N<~)#}}}}dK(--n)ew=bR._.fb(/News from your sources is that in .* will arrive to ee you/g)++bR._.fb(/You sent .* to ee ." + "* they are set/g)++bR.textContent.fb(/A stealth mob has beenetected, ETA .* to ee you./g);ew=aW.bC(/^(.)*?<a/g,).bC(/\\/a>(.)*?<a/g,).bC(/\\/a>(.)*$/,).bC(/gW/g,);ew=aW 3(\\x3c);cT=dz c_();cF=dz c_();d1=ew.by;i=0;j=0;dR(i;i<d1;i++Sew[i]!=''&&ew[i]!=gWSc4=ew[i] 3('\\e1''\\e3';c4=c4)&&c4!=1ScT[j]=c4;cF[c4]='<a '+ew[i] 3('>'+'>'+c4';j++;}}}cT=a0.f7(cT.sort())eh;dR(Qi=b8;i>-3;i--SeG[i]h+=eG[i];}}dR(Qi=b8;i>-3;i--SeL[i]h+=eL[i];}}f6>0||f0>0h+Total:;f6>0hxf<f6)+" + "~.bx b_ #f0>0hvf<f0)+~.bv b_ #eh+<fE />;}f5>0||f4>0h+:dN ea;f5>0h+;bi&>\\bxf<f5)+~.bx b_ #f4>0h+;bi&>\\bvf<f4)+~.bv b_ #}dd=dz c_();dd=eh 3(",
")[1].a3( .z()+.z()+.z()r[i+bp(.a2]._ 3(\\=a6 b=a0 5(1]._;a1 ){e d}bh 2+=>\\b+'</a>a0 _([cU]+ =f<ei)a<G bd6>bf/<)[0];}duep+>/ bd6 3('` ['+%E( .(1,a1 ){",
"#%@BHOPQS"], ["<fE />);eh=''d1=dd.by;dR(a1 i=0;i<d1;i++i%2===0bg bk^$bh{bg cH^$eh+ X+bg+ ^+dd[i]@$dd.by==1ehU.tneserp ta b_ oNJ$a1 fn=''gu=''gt=''gz='';d1=cT.by;i=0;dR(i;i<d1;i++gu=aZ+''+cF[cT[i]]+', ';gt=ba+'[ID!'+cF[cT[i]]+'s], ';gz=bb+'[ID!'+cF[cT[i]]+'], '$a1 bc=bO.bq(spyAllies1)ew=bO.bq(spyAllies2)cF=bO.bq(spyAllies3);fnU:seillA#-cXX;d1>0bc!==cPfn+ J+gu.a2(0,gu.by-2)@$ew!==cPfn+ cHX+gt.a2(0,gt.by-2)@$cF!==cPfn+ J+gz.a2(0,gz.by-2)@$}bh{fn+U.seilla oNJ$a1 eW ;bO." + "eV(fq)>=gj>cu/<>cu<redaehthgil=a6 dx/<>bA/<)evitca saw DI nehw semiT(>bA< :ytivitcA52=napsloc cv=cR cu<#=a6 dx<cv=cR dQ;dR(a1 i=23;i>=0;i--<eS>;i<b8 ;;$eW+=i+</eS>$>cu/<yadoT>cu/e7=dz c_(7);e7[0] Sun1] Mon2] Tues3] Wednes4] Thurs5] Fri6] Saturday;dR(a1 i=0;i<120;i++e8[i]! \\eIe8[i] $i==eD||i==48||i==72||i==96fN.setHours(fN.fp()-eD);>cu/+e7[fN.getDay()]+</eS>$<eS>+e8[i]+</eS>$>dQ//$bc===cP&&ew===cP&&cF===cPfn $en=c.b4('dT');en._U:em f" + "B#-cXX+eh+fn+eW;bR.cx.cj(en,bR)$},eE:bE(cbO.bq(parseSearch)===bM&&fu==bMa1 bR=c.a7(eP-eQ-eO^)d=bR.bF(eS)n=d.byk=ne=0f=0g=0h=0l=cPm=0o=0p=0j=0;gg{a1 i=k-n;`eA)= stluseR fZ^l=bM$l==bM`6)= Ownere=i$bh `8)= Companyf=i-e$bh `6)= dZg=i-e$bh `b8)= Valuationh=i-e$}(2(1,fX)= fP=ef a||2(5,fY)= fP=ef a)&&(d[i+1]._.a2(1,fX)= fP=ef a||d[i+1]._.a2(5,fY)= fP=ef a)&&e>0&&f==1&&g>0&&h>0j++q=a0.a5(d[i+h]._)r=a0.a5(d[i+g]._)s=q-(r*r*cV);m+=q;o+=r;p+=s$}dK(--n);m>0&&" + "o>0&&p>0fl=a4.fh(m/j);fG=a4.fh(o/j);eC=a4.fh(p/j);dO=c.b4('dT');dO._ ;bi&bku<dN#u/<egarevA#u<ea#u<;psbn&#u<cv=cR 0=f9 dQ(m)+;bi&bku(fl)+cHu<sercA#u/(o)+cHu(fG)+;bi&bku<dN laeR#u/(p)+;bi&bku(eC)+>dQ//;bR.cx.cj(dO,bR.dI)$}}};document.addEventListener('load',ez.gH,bM);0?497:??innerHTML???addCommas?tools?var?substring?split?Math?getNo?ssalc?getElementById?floor?break?naps??else?dnuop?s?dnuorgkcabenon?ss?case?s~if" + "?getBoolPref??All?cAll?sAll?yldneirf?unitAmount?elitsoh?length?season?llams?f?replace?tnemucod?function?getElementsByTagName?eltit?ceil?htlaetS?svraH?fkciT?true?rb?prefs?f?s?page?mrofbus?f~f?p?redaeh?s?pound?c?gnimocni?s?ssspan?createElement?date?pc10?f?eulav?continue?c?s~s?c~p?insertBefore?p~?p?s~f?f~~?pplanted?dt?retnec?p?parentNode?sretsevraH?p~emag?plantedthgin?noitcurtsnoC?x29?allies3?detratS?dnuorgkcabthgil?planted~tempArray?plan" + "ted?fAll?fphFlow",
"harvsNig\\=a6 c<.z()?????;a1 >\\=d[i]._.aptNightFlower<>cu/<>dxbp(\\cv :cR-ec=dMGrass?ptDayBushht){day;e7[+a0.a_2(1,Tree?eW+ bW;}+'</dT>' bkX >cX/<.z()",
"#$@JU^"], ["*[0(r_B?false>bmoC?ngilah l, N?20capska*b}vid&0000#?f)thgiN?pt*nwitch llyidhe'h?of>?pars*~deeN?ffsseR?inc#.sulthAutumn?Spr%dSumm*d?6000dnefeD?deeS?.P LkctAlieD?rt?yad?newddValued`s?C?morf?Mid>ght?nextSibl%whileturnlytsulaV+?Wint*lb?foruccessful?div?500d?Ev]%delbisiV?Ac.s$Elem/ByName?250?l]?pmatsevraHIntellig]ce?Aft*noon O)ffS?hack?loTck;xetMaint]ance~f]d?f*h?calc< X P?3-ATE&75'pyogtuO Mxpi.drocsihtSupp,?Morn%?De W{dOv*view?" + "nob.akspace&5?Funds vgReal24S+saelP A?975:8?yaD c w?875?p>am {dgap?lt;d@knar$IntP.f?bdeildneirF.h`mn.voG?Compon/;est:b?Early:d~tcejorP?cch&2?be E?DecamtsirhC?mch R?dc?dC H?p)round~lbasid?xed>bavgselitsoH Y?$Hourspy<s?35[ephbe{?kcilCno&6-2timbuS;upangarotS`rruC h g?br e vg^?Nov?rof{ Silrae I F iem;soC(s.v pmbus?Sub@85?75&3&7S a C Q K G D z y?u>que;Adrobx1 m j;up>?do k?oth*&44&0944 f|F;ry d b=H|f?moc?ba Z?25?360&80{l?bbtleraeY J B?ot x?8-S{rt lurtaW?_Pmanpyt" + "?m]u?No}=h?=H?31 U T&8?null&4?^me u?ii s",
"?mplanteptDayAl?ParseBush?All??fp?adFlower?etelpmoValue?Grass?gni?re?sptNighttrigger?hcraeTableTree?ti?etnalP?kcit??tne?deatArray?geting?1mocnI?noil?erearchlies00?reents?x5?tTickruonimit??x2enLandhsutadnuon?",
"#$%&'()*+,-./:;<=>@[]^_{|}"]]));
</script>
</head>
<body></body></html>
|
|
|
|
|
|
![](themes/Helius/forums/images/spacer.gif) |
![](themes/Helius/forums/images/top_left.gif) |
|
![](themes/Helius/forums/images/top_right.gif) |
Posted: Thu Feb 19, 2009 1:44 pm |
|
|
n0c0ntr0l |
Beginner |
![Beginner Beginner](modules/Forums/images/ranks/rang1.gif)
![](modules/Forums/images/avatars/gallery/blank.gif) |
|
Joined: Feb 19, 2009 |
Posts: 4 |
|
|
|
![](themes/Helius/forums/images/spacer.gif) |
![](themes/Helius/forums/images/spacer.gif) |
![](themes/Helius/forums/images/post_corner.gif) |
|
Looking closer, some of the inputs that are in " " are coming out backwards. Currently looking at the algorithm to try and find out why. It's only happening some of the time, which is the strange thing. Any ideas. And thanks for your help. |
|
|
|
|
Posted: Thu Feb 19, 2009 6:45 pm |
|
|
n0c0ntr0l |
Beginner |
![Beginner Beginner](modules/Forums/images/ranks/rang1.gif)
![](modules/Forums/images/avatars/gallery/blank.gif) |
|
Joined: Feb 19, 2009 |
Posts: 4 |
|
|
|
![](themes/Helius/forums/images/spacer.gif) |
![](themes/Helius/forums/images/spacer.gif) |
![](themes/Helius/forums/images/post_corner.gif) |
|
Okay I realised why it's reversed but I'm not sure how to reverse the text back.
The script has the following lines
Code: | String.prototype.z = function ()
{
var v = this;
return v.split("").reverse().join("");
}; |
which does it for the browser. However is there a way to get it to switch the parts it's supposed to and output the results. (I'm pretty new to javascript). Would I turn the rest of the script into a string and then write another script to 'v.split("").reverse().join("")' every time it comes across a .z() ? |
|
|
|
|
www.waraxe.us Forum Index -> Newbies corner
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
All times are GMT
Page 1 of 1
|
|
|
Powered by phpBB © 2001-2008 phpBB Group
|
|
|
|
|