Page 2 of 16

Re: Highslide Attachment Mod

Posted: 25 Mar 2010, 01:31
by Fire-Fox
Great :)

How can i add so i get the dark bagground?

Re: Highslide Attachment Mod

Posted: 25 Mar 2010, 01:35
by Steve
here,s another highslide trick!
why black?
open root/highslide/highslide.css
find:

Code: Select all

.highslide-dimming {
	position: absolute;
	background: black;
inline find ( or with in the code):

Code: Select all

	background: black;
replace with:

Code: Select all

	background: pink;
:lol:
pink.PNG
:ugeek:

Re: Highslide Attachment Mod

Posted: 25 Mar 2010, 01:37
by Steve
Fire-Fox » 25 Mar 2010, 00:31 wrote:Great :)

How can i add so i get the dark bagground?
sorry you posted whilst i did ,read my post before yours or my last before this one :|

Re: Highslide Attachment Mod

Posted: 25 Mar 2010, 02:13
by asrock
Thanks Vectra but again that coding doesnt seem to work, thanks anyway.

Re: Highslide Attachment Mod

Posted: 25 Mar 2010, 11:07
by Steve
asrock » 25 Mar 2010, 01:13 wrote:Thanks Vectra but again that coding doesnt seem to work, thanks anyway.
i hope you are refreshing the styles template and clearing your web browser cache, lets have a link to your site because i dont post code unless ive tryed it :ugeek:

Re: Highslide Attachment Mod

Posted: 25 Mar 2010, 15:17
by Inner Circle
This seems to be an interesting Mod, but would it be simpler to modify the existing [img] BBcode for Highslide, instead of creating a new one?

Re: Highslide Attachment Mod

Posted: 25 Mar 2010, 15:22
by cisco007
Inner Circle » 25 Mar 2010, 14:17 wrote:This seems to be an interesting Mod, but would it be simpler to modify the existing [img] BBcode for Highslide, instead of creating a new one?
I am sure you read Stokers 1st post, in the FAQ section, where he talks about it! I do have highslide on my [img] BBcode, but you have to make sure you know what your users are going to be posting, if you want i could maybe post how i did it!

Re: Highslide Attachment Mod

Posted: 25 Mar 2010, 15:23
by Fire-Fox
@Vectra

I dont get the black bagground effect =/

EDIT:

Got it working

how did i do that ?

1. find /highslide/highslide-full.packed.js
(you should take a backup)

2. replace the current content of the file with

Code: Select all

/******************************************************************************
Name:    Highslide JS
Version: 4.1.8 (October 27 2009)
Config:  default +events +unobtrusive +imagemap +slideshow +positioning +transitions +viewport +thumbstrip +inline +ajax +iframe +flash
Author:  Torstein Hønsi
Support: http://highslide.com/support

Licence:
Highslide JS is licensed under a Creative Commons Attribution-NonCommercial 2.5
License (http://creativecommons.org/licenses/by-nc/2.5/).

You are free:
	* to copy, distribute, display, and perform the work
	* to make derivative works

Under the following conditions:
	* Attribution. You must attribute the work in the manner  specified by  the
	  author or licensor.
	* Noncommercial. You may not use this work for commercial purposes.

* For  any  reuse  or  distribution, you  must make clear to others the license
  terms of this work.
* Any  of  these  conditions  can  be  waived  if  you  get permission from the 
  copyright holder.

Your fair use and other rights are in no way affected by the above.
******************************************************************************/
eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[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}('A(!q){B q={W:{6X:\'94\',95:\'bE...\',96:\'6Y 3I bF\',97:\'6Y 3I bG 3I bH\',6Z:\'bI 3I bJ D (f)\',98:\'bK by <i>9a 9b</i>\',9c:\'bL 3I bM 9a 9b bN\',71:\'9d\',72:\'9e\',73:\'9f\',74:\'9g\',76:\'9g (bO)\',9h:\'bP\',9i:\'9j\',9k:\'9j 1o (9l)\',9m:\'9n\',9o:\'9n 1o (9l)\',77:\'9d (78 14)\',79:\'9e (78 2K)\',7a:\'9f\',9p:\'1:1\',4O:\'bQ %1 bR %2\',7b:\'6Y 3I 1R 2n, bS 9q bT 3I 2V. bU 78 bV N 2o 9q 2D.\'},4i:\'K/bW/\',5M:\'bX.4P\',4Q:\'bY.4P\',5N:4R,7c:4R,3J:15,7d:15,4j:15,5O:15,3K:bZ,9r:0.75,7e:1b,7f:0,36:2,c0:3,4S:1b,9s:\'3L 2K\',9t:1,9u:L,9v:\'c1://K.c2/\',9w:\'c3\',9x:1b,7g:[\'a\',\'7h\'],2L:[\'2f\',\'3a\'],9y:4R,3o:0.80,7i:0,5P:1b,5Q:L,3M:1b,3b:\'5R\',7j:1b,3p:\'1I\',7k:\'3q\',9z:H,9A:H,7l:L,3N:9B,4T:9B,4U:L,2g:\'c4-9C\',7m:{2x:\'<P 1J="K-2x"><4V>\'+\'<1y 1J="K-2D">\'+\'<a 1P="#" 1W="{q.W.77}">\'+\'<1s>{q.W.71}</1s></a>\'+\'</1y>\'+\'<1y 1J="K-3c">\'+\'<a 1P="#" 1W="{q.W.9k}">\'+\'<1s>{q.W.9i}</1s></a>\'+\'</1y>\'+\'<1y 1J="K-2M">\'+\'<a 1P="#" 1W="{q.W.9o}">\'+\'<1s>{q.W.9m}</1s></a>\'+\'</1y>\'+\'<1y 1J="K-2o">\'+\'<a 1P="#" 1W="{q.W.79}">\'+\'<1s>{q.W.72}</1s></a>\'+\'</1y>\'+\'<1y 1J="K-2V">\'+\'<a 1P="#" 1W="{q.W.7a}">\'+\'<1s>{q.W.73}</1s></a>\'+\'</1y>\'+\'<1y 1J="K-16-2f">\'+\'<a 1P="#" 1W="{q.W.6Z}">\'+\'<1s>{q.W.9p}</1s></a>\'+\'</1y>\'+\'<1y 1J="K-1R">\'+\'<a 1P="#" 1W="{q.W.76}" >\'+\'<1s>{q.W.74}</1s></a>\'+\'</1y>\'+\'</4V></P>\',9D:\'<P 1J="K-c5"><4V>\'+\'<1y 1J="K-2D">\'+\'<a 1P="#" 1W="{q.W.77}" 28="E q.2D(m)">\'+\'<1s>{q.W.71}</1s></a>\'+\'</1y>\'+\'<1y 1J="K-2o">\'+\'<a 1P="#" 1W="{q.W.79}" 28="E q.2o(m)">\'+\'<1s>{q.W.72}</1s></a>\'+\'</1y>\'+\'<1y 1J="K-2V">\'+\'<a 1P="#" 1W="{q.W.7a}" 28="E 1b">\'+\'<1s>{q.W.73}</1s></a>\'+\'</1y>\'+\'<1y 1J="K-1R">\'+\'<a 1P="#" 1W="{q.W.76}" 28="E q.1R(m)">\'+\'<1s>{q.W.74}</1s></a>\'+\'</1y>\'+\'</4V></P>\'+\'<P 1J="K-1e"></P>\'+\'<P 1J="K-c6"><P>\'+\'<1s 1J="K-3r" 1W="{q.W.9h}"><1s></1s></1s>\'+\'</P></P>\'},4W:[],7n:L,Y:[],7o:[\'4U\',\'2W\',\'3p\',\'7k\',\'9z\',\'9A\',\'2g\',\'36\',\'c7\',\'c8\',\'c9\',\'9E\',\'ca\',\'cc\',\'cd\',\'9F\',\'9G\',\'7l\',\'3s\',\'4X\',\'2L\',\'3o\',\'M\',\'O\',\'7p\',\'5P\',\'5Q\',\'3M\',\'ce\',\'cf\',\'cg\',\'2p\',\'7j\',\'3t\',\'3O\',\'3b\',\'7q\',\'7r\',\'3N\',\'4T\',\'5S\',\'7s\',\'2y\',\'2E\',\'9H\',\'9I\',\'1k\'],1D:[],4Y:0,7t:{x:[\'9J\',\'14\',\'3q\',\'2K\',\'9K\'],y:[\'4Z\',\'11\',\'7u\',\'3L\',\'5T\']},5U:{},9F:{},9E:{},7q:{9L:{},4k:{},9M:{}},7v:[],51:[],3P:{},3Q:[],5V:[],4l:[],5W:{},7w:{},5X:[],3d:/ch\\/4\\.0/.18(3R.52)?8:7x((3R.52.53().2X(/.+(?:9N|ci|cj|1t)[\\/: ]([\\d.]+)/)||[0,\'0\'])[1]),1t:(V.54&&!1S.3e),3S:/9O/.18(3R.52),55:/ck.+9N:1\\.[0-8].+cl/.18(3R.52),$:C(a){A(a)E V.7y(a)},29:C(a,b){a[a.T]=b},19:C(a,b,c,d,e){B f=V.19(a);A(b)q.3f(f,b);A(e)q.Q(f,{7z:0,7A:\'1p\',7B:0});A(c)q.Q(f,c);A(d)d.1K(f);E f},3f:C(a,b){N(B x 2F b)a[x]=b[x];E a},Q:C(a,b){N(B x 2F b){A(q.1t&&x==\'1q\'){A(b[x]>0.99)a.G.cm(\'56\');I a.G.56=\'9P(1q=\'+(b[x]*2h)+\')\'}I a.G[x]=b[x]}},2i:C(a,b,c){B d,4m,57;A(1v c!=\'5Y\'||c===H){B f=9Q;c={3u:f[2],2E:f[3],5Z:f[4]}}A(1v c.3u!=\'4O\')c.3u=4R;c.2E=1c[c.2E]||1c.9R;c.60=q.3f({},b);N(B g 2F b){B e=1z q.4n(a,c,g);d=7x(q.7C(a,g))||0;4m=7x(b[g]);57=g!=\'1q\'?\'F\':\'\';e.7D(d,4m,57)}},7C:C(c,d){A(V.7E){E V.7E.9S(c,H).9T(d)}I{A(d==\'1q\')d=\'56\';B e=c.58[d.1X(/\\-(\\w)/g,C(a,b){E b.9U()})];A(d==\'56\')e=e.1X(/9P\\(1q=([0-9]+)\\)/,C(a,b){E b/2h});E e===\'\'?1:e}},61:C(){B d=V,w=1S,59=d.62&&d.62!=\'7F\'?d.4o:d.1e;B a=q.1t?59.7G:(d.4o.7G||9V.cn),O=q.1t?59.9W:9V.co;q.3T={M:a,O:O,5a:q.1t?59.5a:cp,5b:q.1t?59.5b:cq}},63:C(a){A(/7h/i.18(a.64)){B b=V.2j(\'3v\');N(B i=0;i<b.T;i++){B u=b[i].cr;A(u&&u.1X(/^.*?#/,\'\')==a.1Q.9X){a=b[i];4p}}}B p={x:a.3U,y:a.7H};4q(a.9Y){a=a.9Y;p.x+=a.3U;p.y+=a.7H;A(a!=V.1e&&a!=V.4o){p.x-=a.5a;p.y-=a.5b}}E p},2f:C(a,b,c,d){A(!a)a=q.19(\'a\',H,{1i:\'1p\'},q.1T);A(1v a.5c==\'C\')E b;A(d==\'2Y\'){N(B i=0;i<q.3Q.T;i++){A(q.3Q[i]&&q.3Q[i].a==a){q.3Q[i].9Z();q.3Q[i]=H;E 1b}}q.a0=L}1m{1z q.5d(a,b,c,d);E 1b}1n(e){E L}},7I:C(a,b,c){E q.2f(a,b,c,\'2Y\')},7J:C(){E q.19(\'P\',{1a:\'K-2Y-R\',1Y:q.7K(q.7m.9D)})},3V:C(a,b,c){B d=a.2j(b);N(B i=0;i<d.T;i++){A((1z 4r(c)).18(d[i].1a)){E d[i]}}E H},7K:C(s){s=s.1X(/\\s/g,\' \');B a=/{q\\.W\\.([^}]+)\\}/g,5e=s.2X(a),W;A(5e)N(B i=0;i<5e.T;i++){W=5e[i].1X(a,"$1");A(1v q.W[W]!=\'1E\')s=s.1X(5e[i],q.W[W])}E s},a1:C(){B a=V.2j(\'a\');N(B i=0;i<a.T;i++){B b=q.a2(a[i]);A(b&&!a[i].a3){(C(){B t=b;A(q.1r(q,\'cs\',{ct:a[i],2N:t})){a[i].28=(b==\'2n\')?C(){E q.2f(m)}:C(){E q.7I(m,{2p:t})}}})();a[i].a3=L}}q.5f()},a2:C(a){A(a.65==\'K\')E\'2n\';I A(a.65==\'K-66\')E\'66\';I A(a.65==\'K-1d\')E\'1d\';I A(a.65==\'K-2Z\')E\'2Z\'},7L:C(a){N(B i=0;i<q.4l.T;i++){A(q.4l[i][0]==a){B c=q.4l[i][1];q.4l[i][1]=c.5g(1);E c}}E H},a4:C(e){B b=q.5f();N(B i=0;i<b.4s.T;i++){B a=b.4s[i];A(q.3w(a,\'2p\')==\'66\'&&q.3w(a,\'7j\'))q.29(q.5V,a)}q.7M(0)},7M:C(i){A(!q.5V[i])E;B a=q.5V[i];B b=q.3W(q.3w(a,\'7p\'));A(!b)b=q.7J();B c=1z q.67(a,b,1);c.7N=C(){};c.4t=C(){q.29(q.4l,[a,b]);q.7M(i+1)};c.7O()},a5:C(){B a=0,68=-1,Y=q.Y,U,1w;N(B i=0;i<Y.T;i++){U=Y[i];A(U){1w=U.S.G.1w;A(1w&&1w>a){a=1w;68=i}}}A(68==-1)q.2G=-1;I Y[68].3g()},3w:C(a,b){a.5c=a.28;B p=a.5c?a.5c():H;a.5c=H;E(p&&1v p[b]!=\'1E\')?p[b]:(1v q[b]!=\'1E\'?q[b]:H)},69:C(a){B b=q.3w(a,\'1k\');A(b)E b;E a.1P},3W:C(b){B c=q.$(b),3X=q.7w[b],a={};A(!c&&!3X)E H;A(!3X){3X=c.5g(L);3X.1F=\'\';q.7w[b]=3X;E c}I{E 3X.5g(L)}},3h:C(d){A(d)q.7P.1K(d);q.7P.1Y=\'\'},1Z:C(a){A(!q.2z){q.2z=q.19(\'P\',{1a:\'K-cu K-2k-D\',5h:\'\',28:C(){A(q.1r(q,\'cv\'))q.1R()}},{1u:\'1L\',1q:0},q.1T,L)}q.2z.G.1i=\'\';q.2z.5h+=\'|\'+a.1f;A(q.55&&q.a6)q.Q(q.2z,{7Q:\'6a(\'+q.4i+\'cw.a7)\',1q:1});I q.2i(q.2z,{1q:a.3o},q.7i)},7R:C(a){A(!q.2z)E;A(1v a!=\'1E\')q.2z.5h=q.2z.5h.1X(\'|\'+a,\'\');A((1v a!=\'1E\'&&q.2z.5h!=\'\')||(q.2c&&q.3w(q.2c,\'3o\')))E;A(q.55&&q.a6)q.2z.G.1i=\'1p\';I q.2i(q.2z,{1q:0},q.7i,H,C(){q.2z.G.1i=\'1p\'})},7S:C(a,b){B c=b=b||q.2q();A(q.2c)E 1b;I q.1j=c;1m{q.2c=a;a.28()}1n(e){q.1j=q.2c=H}1m{A(!a||b.2L[1]!=\'3a\')b.1R()}1n(e){}E 1b},6b:C(a,b){B c=q.2q(a);A(c)E q.7S(c.7T(b),c);I E 1b},2D:C(a){E q.6b(a,-1)},2o:C(a){E q.6b(a,1)},6c:C(e){A(!e)e=1S.5i;A(!e.2r)e.2r=e.7U;A(1v e.2r.7V!=\'1E\')E L;A(!q.1r(q,\'cx\',e))E L;B a=q.2q();B b=H;a8(e.cy){1U 70:A(a)a.6d();E L;1U 32:b=2;4p;1U 34:1U 39:1U 40:b=1;4p;1U 8:1U 33:1U 37:1U 38:b=-1;4p;1U 27:1U 13:b=0}A(b!==H){A(b!=2)q.4u(V,1S.3e?\'7W\':\'7X\',q.6c);A(!q.9x)E L;A(e.4v)e.4v();I e.a9=1b;A(a){A(b==0){a.1R()}I A(b==2){A(a.1o)a.1o.aa()}I{A(a.1o)a.1o.2M();q.6b(a.1f,b)}E 1b}}E L},cz:C(a){q.29(q.1D,q.3f(a,{1M:\'1M\'+q.4Y++}))},cA:C(a){B b=a.2y;A(1v b==\'5Y\'){N(B i=0;i<b.T;i++){B o={};N(B x 2F a)o[x]=a[x];o.2y=b[i];q.29(q.51,o)}}I{q.29(q.51,a)}},7Y:C(a,b){B c,2s=/^K-S-([0-9]+)$/;c=a;4q(c.1Q){A(c.6e!==1E)E c.6e;A(c.1F&&2s.18(c.1F))E c.1F.1X(2s,"$1");c=c.1Q}A(!b){c=a;4q(c.1Q){A(c.64&&q.6f(c)){N(B d=0;d<q.Y.T;d++){B e=q.Y[d];A(e&&e.a==c)E d}}c=c.1Q}}E H},2q:C(a,b){A(1v a==\'1E\')E q.Y[q.2G]||H;A(1v a==\'4O\')E q.Y[a]||H;A(1v a==\'7Z\')a=q.$(a);E q.Y[q.7Y(a,b)]||H},6f:C(a){E(a.28&&a.28.ab().1X(/\\s/g,\' \').2X(/q.(cB|e)cC/))},ac:C(){N(B i=0;i<q.Y.T;i++)A(q.Y[i]&&q.Y[i].5j)q.a5()},1r:C(a,b,c){E a&&a[b]?(a[b](a,c)!==1b):L},81:C(e){A(!e)e=1S.5i;A(e.cD>1)E L;A(!e.2r)e.2r=e.7U;B a=e.2r;4q(a.1Q&&!(/K-(2n|2V|2Y|3r)/.18(a.1a))){a=a.1Q}B b=q.2q(a);A(b&&(b.5k||!b.5j))E L;A(b&&e.2N==\'82\'){A(e.2r.7V)E L;B c=a.1a.2X(/K-(2n|2V|3r)/);A(c){q.2l={U:b,2N:c[1],14:b.x.J,M:b.x.D,11:b.y.J,O:b.y.D,ad:e.6g,ae:e.6h};q.2a(V,\'6i\',q.6j);A(e.4v)e.4v();A(/K-(2n|2Y)-83/.18(b.R.1a)){b.3g();q.84=L}E 1b}I A(/K-2Y/.18(a.1a)&&q.2G!=b.1f){b.3g();b.4w(\'1l\')}}I A(e.2N==\'af\'){q.4u(V,\'6i\',q.6j);A(q.2l){A(q.4x&&q.2l.2N==\'2n\')q.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(\'5l\'+b,c);a.cP(\'5l\'+b,c)}1n(e){a[\'5l\'+b]=c}}},4u:C(a,b,c){1m{a.4u(b,c,1b)}1n(e){1m{a.ai(\'5l\'+b,c)}1n(e){a[\'5l\'+b]=H}}},6n:C(i){A(q.7n&&q.4W[i]&&q.4W[i]!=\'1E\'){B a=V.19(\'3v\');a.3Z=C(){a=H;q.6n(i+1)};a.1k=q.4W[i]}},aj:C(a){A(a&&1v a!=\'5Y\')q.7f=a;B b=q.5f();N(B i=0;i<b.4y.T&&i<q.7f;i++){q.29(q.4W,q.69(b.4y[i]))}A(q.2g)1z q.5m(q.2g,C(){q.6n(0)});I q.6n(0);A(q.4Q)B c=q.19(\'3v\',{1k:q.4i+q.4Q})},6o:C(){A(!q.1T){q.61();q.4z=q.1t&&q.3d<7;q.ak=q.4z&&87.cQ==\'cR:\';N(B x 2F q.6p){A(1v q[x]!=\'1E\')q.W[x]=q[x];I A(1v q.W[x]==\'1E\'&&1v q.6p[x]!=\'1E\')q.W[x]=q.6p[x]}q.1T=q.19(\'P\',{1a:\'K-1T\'},{1g:\'2b\',14:0,11:0,M:\'2h%\',1w:q.3K,88:\'94\'},V.1e,L);q.2d=q.19(\'a\',{1a:\'K-2d\',1W:q.W.96,1Y:q.W.95,1P:\'al:;\'},{1g:\'2b\',11:\'-41\',1q:q.9r,1w:1},q.1T);q.7P=q.19(\'P\',H,{1i:\'1p\'},q.1T);q.2k=q.19(\'P\',{1a:\'K-2k K-2k-D\'},{1u:(q.3S&&q.3d<am)?\'1L\':\'1l\'},q.1T,1);q.4A=q.19(\'P\',H,{an:\'ao\',cS:\'cT\'},H,L);1c.cU=C(t,b,c,d){E c*t/d+b};1c.9R=C(t,b,c,d){E c*(t/=d)*t+b};1c.89=C(t,b,c,d){E-c*(t/=d)*(t-2)+b};q.ap=q.4z;q.aq=((1S.3e&&q.3d<9)||3R.ar==\'at\'||(q.1t&&q.3d<5.5));q.1r(m,\'cV\')}},3x:C(){A(q.8a)E;q.8a=L;N(B i=0;i<q.5X.T;i++)q.5X[i]()},8b:C(){B a,6q,54=[],4y=[],4s=[],2O={},2s;N(B i=0;i<q.7g.T;i++){6q=V.2j(q.7g[i]);N(B j=0;j<6q.T;j++){a=6q[j];2s=q.6f(a);A(2s){q.29(54,a);A(2s[0]==\'q.2f\')q.29(4y,a);I A(2s[0]==\'q.7I\')q.29(4s,a);B g=q.3w(a,\'2y\')||\'1p\';A(!2O[g])2O[g]=[];q.29(2O[g],a)}}}q.42={54:54,2O:2O,4y:4y,4s:4s};E q.42},5f:C(){E q.42||q.8b()},1R:C(a){B b=q.2q(a);A(b)b.1R();E 1b}};q.4n=C(a,b,c){m.21=b;m.30=a;m.3j=c;A(!b.au)b.au={}};q.4n.4B={8c:C(){(q.4n.3k[m.3j]||q.4n.3k.av)(m);A(m.21.3k)m.21.3k.aw(m.30,m.43,m)},7D:C(b,c,d){m.8d=(1z 6r()).6s();m.6t=b;m.4m=c;m.57=d;m.43=m.6t;m.J=m.8e=0;B e=m;C t(a){E e.3k(a)}t.30=m.30;A(t()&&q.7v.29(t)==1){q.ax=cW(C(){B a=q.7v;N(B i=0;i<a.T;i++)A(!a[i]())a.cX(i--,1);A(!a.T){cY(q.ax)}},13)}},3k:C(a){B t=(1z 6r()).6s();A(a||t>=m.21.3u+m.8d){m.43=m.4m;m.J=m.8e=1;m.8c();m.21.60[m.3j]=L;B b=L;N(B i 2F m.21.60)A(m.21.60[i]!==L)b=1b;A(b){A(m.21.5Z)m.21.5Z.aw(m.30)}E 1b}I{B n=t-m.8d;m.8e=n/m.21.3u;m.J=m.21.2E(n,0,1,m.21.3u);m.43=m.6t+((m.4m-m.6t)*m.J);m.8c()}E L}};q.3f(q.4n,{3k:{1q:C(a){q.Q(a.30,{1q:a.43})},av:C(a){1m{A(a.30.G&&a.30.G[a.3j]!=H)a.30.G[a.3j]=a.43+a.57;I a.30[a.3j]=a.43}1n(e){}}}});q.5m=C(a,b){m.4t=b;m.2g=a;B v=q.3d,3y;m.8f=q.1t&&v>=5.5&&v<7;A(!a){A(b)b();E}q.6o();m.22=q.19(\'22\',{cZ:0},{1u:\'1l\',1g:\'2b\',d0:\'d1\',M:0},q.1T,L);B c=q.19(\'5n\',H,H,m.22,1);m.2t=[];N(B i=0;i<=8;i++){A(i%3==0)3y=q.19(\'3y\',H,{O:\'1I\'},c,L);m.2t[i]=q.19(\'2t\',H,H,3y,L);B d=i!=4?{d2:0,d3:0}:{1g:\'44\'};q.Q(m.2t[i],d)}m.2t[4].1a=a+\' K-1h\';m.ay()};q.5m.4B={ay:C(){B a=q.4i+(q.d4||"d5/")+m.2g+".a7";B b=q.3S?q.1T:H;m.3l=q.19(\'3v\',H,{1g:\'2b\',11:\'-41\'},b,L);B c=m;m.3l.3Z=C(){c.az()};m.3l.1k=a},az:C(){B o=m.1G=m.3l.M/4,J=[[0,0],[0,-4],[-2,0],[0,-8],0,[-2,-8],[0,-2],[0,-6],[-2,-2]],1Z={O:(2*o)+\'F\',M:(2*o)+\'F\'};N(B i=0;i<=8;i++){A(J[i]){A(m.8f){B w=(i==1||i==7)?\'2h%\':m.3l.M+\'F\';B a=q.19(\'P\',H,{M:\'2h%\',O:\'2h%\',1g:\'44\',23:\'1l\'},m.2t[i],L);q.19(\'P\',H,{56:"d6:d7.aA.d8(d9=da, 1k=\'"+m.3l.1k+"\')",1g:\'2b\',M:w,O:m.3l.O+\'F\',14:(J[i][0]*o)+\'F\',11:(J[i][1]*o)+\'F\'},a,L)}I{q.Q(m.2t[i],{7Q:\'6a(\'+m.3l.1k+\') \'+(J[i][0]*o)+\'F \'+(J[i][1]*o)+\'F\'})}A(1S.3e&&(i==3||i==5))q.19(\'P\',H,1Z,m.2t[i],L);q.Q(m.2t[i],1Z)}}m.3l=H;A(q.3P[m.2g])q.3P[m.2g].5o();q.3P[m.2g]=m;A(m.4t)m.4t()},45:C(a,b,c,d,e){B f=m.U,5p=f.S.G,b=b||0,a=a||{x:f.x.J+b,y:f.y.J+b,w:f.x.Z(\'24\')-2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j;q.1j=H;q.6o();B e=m.1f=q.Y.T;N(B i=0;i<q.7o.T;i++){B f=q.7o[i];m[f]=b&&1v b[f]!=\'1E\'?b[f]:q[f]}A(!m.1k)m.1k=a.1P;B g=(b&&b.8q)?q.$(b.8q):a;g=m.aJ=g.2j(\'3v\')[0]||g;m.6x=g.1F||a.1F;A(!q.1r(m,\'db\'))E L;N(B i=0;i<q.Y.T;i++){A(q.Y[i]&&q.Y[i].a==a&&!(m.1j&&m.2L[1]==\'3a\')){q.Y[i].3g();E 1b}}A(!q.dc)N(B i=0;i<q.Y.T;i++){A(q.Y[i]&&q.Y[i].aJ!=g&&!q.Y[i].6y){q.Y[i].6z()}}q.Y[e]=m;A(!q.7e&&!q.2c){A(q.Y[e-1])q.Y[e-1].1R();A(1v q.2G!=\'1E\'&&q.Y[q.2G])q.Y[q.2G].1R()}m.el=g;m.1A=q.63(g);q.61();B x=m.x=1z q.6u(m,\'x\');x.8m();B y=m.y=1z q.6u(m,\'y\');y.8m();A(/7h/i.18(g.64))m.aK(g);m.S=q.19(\'P\',{1F:\'K-S-\'+m.1f,1a:\'K-S \'+m.7r},{1u:\'1l\',1g:\'2b\',1w:q.3K+=2},H,L);m.S.dd=m.S.de=q.ah;A(m.4a==\'2n\'&&m.36==2)m.36=0;A(!m.2g||(m.1j&&m.2v&&m.2L[1]==\'3a\')){m[m.4a+\'8r\']()}I A(q.3P[m.2g]){m.8s();m[m.4a+\'8r\']()}I{m.5t();B h=m;1z q.5m(m.2g,C(){h.8s();h[h.4a+\'8r\']()})}E L};q.5d.4B={8t:C(e){1S.87.1P=m.1k},8s:C(){B a=m.1h=q.3P[m.2g];a.U=m;a.22.G.1w=m.S.G.1w-1;q.3P[m.2g]=H},5t:C(){A(m.6y||m.2d)E;m.2d=q.2d;B a=m;m.2d.28=C(){a.6z()};A(!q.1r(m,\'df\'))E;B a=m,l=m.x.Z(\'8h\')+\'F\',t=m.y.Z(\'8h\')+\'F\';A(!b&&m.1j&&m.2L[1]==\'3a\')B b=m.1j;A(b){l=b.x.Z(\'8i\')+\'F\';t=b.y.Z(\'8i\')+\'F\';m.2d.G.1w=q.3K++}3A(C(){A(a.2d)q.Q(a.2d,{14:l,11:t,1w:q.3K++})},2h)},dg:C(){B a=m;B b=V.19(\'3v\');m.R=b;b.3Z=C(){A(q.Y[a.1f])a.5u()};A(q.dh)b.di=C(){E 1b};b.1a=\'K-2n\';q.Q(b,{1u:\'1l\',1i:\'3m\',1g:\'2b\',5S:\'41\',1w:3});b.1W=q.W.7b;A(q.3S)q.1T.1K(b);A(q.1t&&q.dj)b.1k=H;b.1k=m.1k;m.5t()},dk:C(){A(!q.1r(m,\'dl\'))E;m.R=q.7L(m.a);A(!m.R)m.R=q.3W(m.7p);A(!m.R)m.R=q.7J();m.8u([\'6A\']);A(m.6A){B a=q.3V(m.R,\'P\',\'K-1e\');A(a)a.1K(m.6A);m.6A.G.1i=\'3m\'}q.1r(m,\'dm\');B b=m.1O=m.R;A(/(2Z|1d)/.18(m.2p))m.8v(b);q.1T.1K(m.S);q.Q(m.S,{1g:\'dn\',7z:\'0 \'+q.7d+\'F 0 \'+q.3J+\'F\'});m.R=q.19(\'P\',{1a:\'K-2Y\'},{1g:\'44\',1w:3,23:\'1l\'},m.S);m.3z=q.19(\'P\',H,H,m.R,1);m.3z.1K(b);q.Q(b,{1g:\'44\',1i:\'3m\',88:q.W.6X||\'\'});A(m.M)b.G.M=m.M+\'F\';A(m.O)q.Q(b,{O:m.O+\'F\',23:\'1l\'});A(b.1C<m.3N)b.G.M=m.3N+\'F\';A(m.2p==\'66\'&&!q.7L(m.a)){m.5t();B c=m;B d=1z q.67(m.a,b);d.1k=m.1k;d.4t=C(){A(q.Y[c.1f])c.5u()};d.7N=C(){87.1P=c.1k};d.7O()}I A(m.2p==\'1d\'&&m.3b==\'6B\'){m.6C()}I m.5u()},5u:C(){1m{A(!m.R)E;m.R.3Z=H;A(m.6y)E;I m.6y=L;B x=m.x,y=m.y;A(m.2d){q.Q(m.2d,{11:\'-41\'});m.2d=H;q.1r(m,\'aL\')}A(m.2v){x.16=m.R.M;y.16=m.R.O;q.Q(m.R,{M:x.t+\'F\',O:y.t+\'F\'});m.S.1K(m.R);q.1T.1K(m.S)}I A(m.8w)m.8w();x.8l();y.8l();q.Q(m.S,{14:(x.1A+x.2R-x.cb)+\'F\',11:(y.1A+x.2R-y.cb)+\'F\'});m.8x();m.aM();B a=x.16/y.16;x.8n();m.2A(x);y.8n();m.2A(y);A(m.2m)m.aN();A(m.1B)m.4D(0,1);A(m.4U){A(m.2v)m.aO(a);I m.8y();B b=m.1o;A(b&&m.1j&&b.2x&&b.aP){B c=b.aQ.1g||\'\',p;N(B d 2F q.7t)N(B i=0;i<5;i++){p=m[d];A(c.2X(q.7t[d][i])){p.J=m.1j[d].J+(m.1j[d].1x-p.1x)+(m.1j[d].D-p.D)*[0,0,.5,1,1][i];A(b.aP==\'do\'){A(p.J+p.D+p.1x+p.2H>p.1V+p.46-p.47)p.J=p.1V+p.46-p.D-p.2S-p.47-p.1x-p.2H;A(p.J<p.1V+p.2S)p.J=p.1V+p.2S}}}}A(m.2v&&m.x.16>(m.x.1N||m.x.D)){m.aR();A(m.1D.T==1)m.4D()}}m.8z()}1n(e){m.8t(e)}},8v:C(a,b){B c=q.3V(a,\'6D\',\'K-1e\');A(/(1d|2Z)/.18(m.2p)){A(m.3t)c.G.M=m.3t+\'F\';A(m.3O)c.G.O=m.3O+\'F\'}},6C:C(){A(m.aS)E;B b=m;m.1e=q.3V(m.1O,\'6D\',\'K-1e\');A(m.2p==\'1d\'){m.5t();B c=q.4A.5g(1);m.1e.1K(c);m.dp=m.1O.1C;A(!m.3t)m.3t=c.1C;B d=m.1O.1H-m.1e.1H,h=m.3O||q.3T.O-d-q.4j-q.5O,3Z=m.3b==\'6B\'?\' 3Z="A (q.Y[\'+m.1f+\']) q.Y[\'+m.1f+\'].5u()" \':\'\';m.1e.1Y+=\'<1d 9X="q\'+(1z 6r()).6s()+\'" dq="0" 1f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:C(o,a){A(!m.1j)E 1b;N(B i=0;i<m.1j.1D.T;i++){B b=q.$(\'1M\'+m.1j.1D[i]);A(b&&b.1M==o.1M){m.8O();b.dH=m.1f;q.29(m.1D,m.1j.1D[i]);E L}}E 1b},6G:C(){m.5j=L;m.3g();A(m.2m&&m.3b==\'5R\')m.6C();A(m.1d){1m{B a=m,b0=m.1d.8F||m.1d.5v.V;q.2a(b0,\'82\',C(){A(q.2G!=a.1f)a.3g()})}1n(e){}A(q.1t&&1v m.5k!=\'dI\')m.1d.G.M=(m.3t-1)+\'F\'}A(m.3o)q.1Z(m);A(q.2c&&q.2c==m.a)q.2c=H;m.b1();B p=q.3T,8P=q.5U.x+p.5a,8Q=q.5U.y+p.5b;m.8R=m.x.J<8P&&8P<m.x.J+m.x.Z(\'24\')&&m.y.J<8Q&&8Q<m.y.J+m.y.Z(\'24\');A(m.1B)m.b2();q.1r(m,\'dJ\')},b1:C(){B a=m.1f;B b=m.2g;1z q.5m(b,C(){1m{q.Y[a].b3()}1n(e){}})},b3:C(){B a=m.7T(1);A(a&&a.28.ab().2X(/q\\.2f/))B b=q.19(\'3v\',{1k:q.69(a)})},7T:C(a){B b=m.6J(),as=q.42.2O[m.2y||\'1p\'];A(!as[b+a]&&m.1o&&m.1o.b4){A(a==1)E as[0];I A(a==-1)E as[as.T-1]}E as[b+a]||H},6J:C(){B a=q.5f().2O[m.2y||\'1p\'];A(a)N(B i=0;i<a.T;i++){A(a[i]==m.a)E i}E H},b5:C(){A(m[m.4X]){B a=q.42.2O[m.2y||\'1p\'];A(a){B s=q.W.4O.1X(\'%1\',m.6J()+1).1X(\'%2\',a.T);m[m.4X].1Y=\'<P 1J="K-4O">\'+s+\'</P>\'+m[m.4X].1Y}}},8x:C(){A(!m.1j){N(B i=0;i<q.51.T;i++){B a=q.51[i],3F=a.2y;A(1v 3F==\'1E\'||3F===H||3F===m.2y)m.1o=1z q.8S(m.1f,a)}}I{m.1o=m.1j.1o}B a=m.1o;A(!a)E;B b=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m.6L(\'*\',a)},6L:C(a,b){B c=V.2j(a);B d=a==\'*\'?\'23\':\'1u\';N(B i=0;i<c.T;i++){A(d==\'1u\'||(V.7E.9S(c[i],"").9T(\'23\')==\'1I\'||c[i].bc(\'1l-by\')!=H)){B e=c[i].bc(\'1l-by\');A(b==\'1L\'&&e){e=e.1X(\'[\'+m.1f+\']\',\'\');c[i].5E(\'1l-by\',e);A(!e)c[i].G[d]=c[i].8V}I A(b==\'1l\'){B f=q.63(c[i]);f.w=c[i].1C;f.h=c[i].1H;A(!m.3o){B g=(f.x+f.w<m.x.Z(\'5r\')||f.x>m.x.Z(\'5r\')+m.x.Z(\'8k\'));B h=(f.y+f.h<m.y.Z(\'5r\')||f.y>m.y.Z(\'5r\')+m.y.Z(\'8k\'))}B j=q.7Y(c[i]);A(!g&&!h&&j!=m.1f){A(!e){c[i].5E(\'1l-by\',\'[\'+m.1f+\']\');c[i].8V=c[i].G[d];c[i].G[d]=\'1l\'}I A(e.bd(\'[\'+m.1f+\']\')==-1){c[i].5E(\'1l-by\',e+\'[\'+m.1f+\']\')}}I A((e==\'[\'+m.1f+\']\'||q.2G==j)&&j!=m.1f){c[i].5E(\'1l-by\',\'\');c[i].G[d]=c[i].8V||\'\'}I A(e&&e.bd(\'[\'+m.1f+\']\')>-1){c[i].5E(\'1l-by\',e.1X(\'[\'+m.1f+\']\',\'\'))}}}}},3g:C(){m.S.G.1w=q.3K+=2;N(B i=0;i<q.Y.T;i++){A(q.Y[i]&&i==q.2G){B a=q.Y[i];a.R.1a+=\' K-\'+a.4a+\'-83\';A(a.2v){a.R.G.3Y=q.1t?\'be\':\'6M\';a.R.1W=q.W.97}q.1r(a,\'dR\')}}A(m.1h)m.1h.22.G.1w=m.S.G.1w-1;m.R.1a=\'K-\'+m.4a;A(m.2v){m.R.1W=q.W.7b;A(q.4Q){q.4x=1S.3e?\'6M\':\'6a(\'+q.4i+q.4Q+\'), 6M\';A(q.1t&&q.3d<6)q.4x=\'be\';m.R.G.3Y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'F\',23:\'1I\'});m.x.1x=a.1C}I A(/^9K$/.18(p)){q.Q(a,{14:\'2h%\',3J:m.x.cb+\'F\',11:-m.y.cb+\'F\',3L:-m.y.cb+\'F\',23:\'1I\'});m.x.2H=a.1C}B b=a.1Q.1H;a.G.O=\'1I\';A(4L&&a.1H>b)a.G.O=q.4z?b+\'F\':\'2h%\';A(/^11/.18(p))a.G.11=6P+\'F\';A(/^7u/.18(p))q.Q(a,{11:\'50%\',4j:(6P-1c.2I(a.1H/2))+\'F\'});A(/^3L/.18(p))a.G.3L=-6P+\'F\';A(/^4Z$/.18(p)){q.Q(a,{14:(-m.x.1x-m.x.cb)+\'F\',2K:(-m.x.2H-m.x.cb)+\'F\',3L:\'2h%\',5O:m.y.cb+\'F\',M:\'1I\'});m.y.1x=a.1H}I A(/^5T$/.18(p)){q.Q(a,{1g:\'44\',14:(-m.x.1x-m.x.cb)+\'F\',2K:(-m.x.2H-m.x.cb)+\'F\',11:\'2h%\',4j:m.y.cb+\'F\',M:\'1I\'});m.y.2H=a.1H;a.G.1g=\'2b\'}},aM:C(){m.8u([\'4J\',\'8T\'],L);m.b5();A(m.8T)q.1r(m,\'e1\');A(m.4J)q.1r(m,\'e2\');A(m.4J&&m.7l)m.4J.1a+=\' K-2V\';A(q.9u)m.b7();N(B i=0;i<q.1D.T;i++){B o=q.1D[i],6Q=o.8q,3F=o.2y;A((!6Q&&!3F)||(6Q&&6Q==m.6x)||(3F&&3F===m.2y)){A(m.2v||(m.2m&&o.e3))m.4g(o)}}B a=[];N(B i=0;i<m.1D.T;i++){B o=q.$(\'1M\'+m.1D[i]);A(/6N$/.18(o.1g))m.5G(o);I q.29(a,o)}N(B i=0;i<a.T;i++)m.5G(a[i]);m.bm=L},8O:C(){A(!m.1B)m.1B=q.19(\'P\',{1a:m.7r},{1g:\'2b\',M:(m.x.D||(m.2W?m.M:H)||m.x.16)+\'F\',O:(m.y.D||m.y.16)+\'F\',1u:\'1l\',23:\'1l\',1w:q.1t?4:\'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m.x.16,m.y.16);B b=m.x.J-(m.x.D-a)/2;A(b<q.3J)b=q.3J;m.85(b,m.y.J);m.4w(\'1l\')}1n(e){m.8t(e)}},5z:C(){m.a.1a=m.a.1a.1X(\'K-4b-3p\',\'\');m.4w(\'1L\');A(m.2m&&m.3M&&m.2L[1]!=\'3a\'){m.bh()}I{A(m.1h&&m.36)m.1h.5o();q.3h(m.S)}A(q.5F)q.5F.G.1i=\'1p\';m.6F();A(!q.2k.6S.T)q.2k.G.1i=\'1p\';A(m.3o)q.7R(m.1f);q.1r(m,\'e6\');q.Y[m.1f]=H;q.ac()}};q.67=C(a,b,c){m.a=a;m.R=b;m.bn=c};q.67.4B={7O:C(){B a;A(!m.1k)m.1k=q.69(m.a);A(m.1k.2X(\'#\')){B b=m.1k.6E(\'#\');m.1k=b[0];m.1F=b[1]}A(q.5W[m.1k]){m.bo=q.5W[m.1k];A(m.1F)m.8X();I m.5H();E}1m{a=1z bp()}1n(e){1m{a=1z bq("e7.br")}1n(e){1m{a=1z bq("aA.br")}1n(e){m.7N()}}}B c=m;a.e8=C(){A(c.8Y.aI==4){A(c.1F)c.8X();I c.5H()}};B d=m.1k;m.8Y=a;A(q.e9)d=d.1X(/$/,(/\\?/.18(d)?\'&\':\'?\')+\'ea=\'+(1z 6r()).6s());a.bs(\'eb\',d,L);a.bt(\'X-ec-ed\',\'bp\');a.bt(\'ee-ef\',\'eg/x-eh-7V-ei\');a.ej(H)},8X:C(){q.6o();B a=1S.3e||q.ak?{1k:\'ek:em\'}:H;m.1d=q.19(\'1d\',a,{1g:\'2b\',11:\'-41\'},q.1T);m.5H()},5H:C(){B s=m.bo||m.8Y.en,6T;A(m.bn)q.5W[m.1k]=s;A(!q.1t||q.3d>=5.5){s=s.1X(1z 4r(\'<eo[^>]*>\',\'bu\'),\'\').1X(1z 4r(\'<bv[^>]*>.*?</bv>\',\'bu\'),\'\');A(m.1d){B a=m.1d.8F;A(!a&&m.1d.5v)a=m.1d.5v.V;A(!a){B b=m;3A(C(){b.5H()},25);E}a.bs();a.ep(s);a.1R();1m{s=a.7y(m.1F).1Y}1n(e){1m{s=m.1d.V.7y(m.1F).1Y}1n(e){}}q.3h(m.1d)}I{6T=/(<1e[^>]*>|<\\/1e>)/eq;A(6T.18(s))s=s.6E(6T)[q.1t?1:2]}}q.3V(m.R,\'6D\',\'K-1e\').1Y=s;m.4t();N(B x 2F m)m[x]=H}};q.8S=C(a,b){A(q.er!==1b)q.8b();m.4I=a;N(B x 2F b)m[x]=b[x];A(m.es)m.bw();A(m.2w)m.2w=q.bx(m)};q.8S.4B={bw:C(){m.2x=q.19(\'P\',{1Y:q.7K(q.7m.2x)},H,q.1T);B a=[\'3c\',\'2M\',\'2D\',\'2o\',\'2V\',\'16-2f\',\'1R\'];m.26={};B b=m;N(B i=0;i<a.T;i++){m.26[a[i]]=q.3V(m.2x,\'1y\',\'K-\'+a[i]);m.49(a[i])}m.26.2M.G.1i=\'1p\'},b6:C(){A(m.b4||!m.2x)E;B a=q.Y[m.4I],4P=a.6J(),2s=/6U$/;A(4P==0)m.4E(\'2D\');I A(2s.18(m.26.2D.2j(\'a\')[0].1a))m.49(\'2D\');A(4P+1==q.42.2O[a.2y||\'1p\'].T){m.4E(\'2o\');m.4E(\'3c\')}I A(2s.18(m.26.2o.2j(\'a\')[0].1a)){m.49(\'2o\');m.49(\'3c\')}},49:C(b){A(!m.26)E;B c=m,a=m.26[b].2j(\'a\')[0],2s=/6U$/;a.28=C(){c[b]();E 1b};A(2s.18(a.1a))a.1a=a.1a.1X(2s,\'\')},4E:C(b){A(!m.26)E;B a=m.26[b].2j(\'a\')[0];a.28=C(){E 1b};A(!/6U$/.18(a.1a))a.1a+=\' 6U\'},aa:C(){A(m.3s)m.2M();I m.3c()},3c:C(a){A(m.26){m.26.3c.G.1i=\'1p\';m.26.2M.G.1i=\'\'}m.3s=L;A(!a)q.2o(m.4I)},2M:C(){A(m.26){m.26.2M.G.1i=\'1p\';m.26.3c.G.1i=\'\'}et(m.3s);m.3s=H},2D:C(){m.2M();q.2D(m.26.2D)},2o:C(){m.2M();q.2o(m.26.2o)},2V:C(){},\'16-2f\':C(){q.2q().6d()},1R:C(){q.1R(m.26.1R)}};q.bx=C(f){C 6K(a){q.3f(21||{},{4f:4h,1M:\'2w\',1a:\'K-2w-\'+4M+\'-bj \'+(21.1a||\'\')});A(q.4z)21.5A=0;a.4g(21);q.Q(4h.1Q,{23:\'1l\'})};C 1V(a){4H(1E,1c.2I(a*4h[3n?\'1C\':\'1H\']*0.7))};C 4H(i,a){A(i===1E)N(B j=0;j<g.T;j++){A(g[j]==q.Y[f.4I].a){i=j;4p}}A(i===1E)E;B b=4h.2j(\'a\'),4b=b[i],3G=4b.1Q,14=3n?\'aD\':\'aE\',2K=3n?\'aF\':\'aG\',M=3n?\'aB\':\'aC\',3U=\'1G\'+14,1C=\'1G\'+M,6V=P.1Q.1Q[1C],4N=6V-22[1C],5I=31(22.G[3n?\'14\':\'11\'])||0,2C=5I,eu=20;A(a!==1E){2C=5I-a;A(4N>0)4N=0;A(2C>0)2C=0;A(2C<4N)2C=4N}I{N(B j=0;j<b.T;j++)b[j].1a=\'\';4b.1a=\'K-4b-3p\';B c=i>0?b[i-1].1Q[3U]:3G[3U],8Z=3G[3U]+3G[1C]+(b[i+1]?b[i+1].1Q[1C]:0);A(8Z>6V-5I)2C=6V-8Z;I A(c<-5I)2C=-c}B d=3G[3U]+(3G[1C]-6W[1C])/2+2C;q.2i(22,3n?{14:2C}:{11:2C},H,\'89\');q.2i(6W,3n?{14:d}:{11:d},H,\'89\');90.G.1i=2C<0?\'3m\':\'1p\';91.G.1i=(2C>4N)?\'3m\':\'1p\'};B g=q.42.2O[q.Y[f.4I].2y||\'1p\'],21=f.2w,4M=21.4M||\'bz\',92=(4M==\'ev\'),3H=92?[\'P\',\'4V\',\'1y\',\'1s\']:[\'22\',\'5n\',\'3y\',\'2t\'],3n=(4M==\'bz\'),4h=q.19(\'P\',{1a:\'K-2w K-2w-\'+4M,1Y:\'<P 1J="K-2w-ew">\'+\'<\'+3H[0]+\'><\'+3H[1]+\'></\'+3H[1]+\'></\'+3H[0]+\'></P>\'+\'<P 1J="K-1V-ex"><P></P></P>\'+\'<P 1J="K-1V-ey"><P></P></P>\'+\'<P 1J="K-6W"><P></P></P>\'},{1i:\'1p\'},q.1T),5J=4h.6S,P=5J[0],90=5J[1],91=5J[2],6W=5J[3],22=P.ez,5n=4h.2j(3H[1])[0],3y;N(B i=0;i<g.T;i++){A(i==0||!3n)3y=q.19(3H[2],H,H,5n);(C(){B a=g[i],3G=q.19(3H[3],H,H,3y),eA=i;q.19(\'a\',{1P:a.1P,28:C(){q.2q(m).3g();E q.7S(a)},1Y:q.bA?q.bA(a):a.1Y},H,3G)})()}A(!92){90.28=C(){1V(-1)};91.28=C(){1V(1)};q.2a(5n,V.eB!==1E?\'eC\':\'eD\',C(e){B a=0;e=e||1S.5i;A(e.bB){a=e.bB/eE;A(q.3e)a=-a}I A(e.bC){a=-e.bC/3}A(a)1V(-a*0.2);A(e.4v)e.4v();e.a9=1b})}E{6K:6K,4H:4H}};q.6p=q.W;B eF=q.5d;A(q.1t){(C(){1m{V.4o.eG(\'14\')}1n(e){3A(9Q.eH,50);E}q.3x()})()}q.2a(V,\'eI\',q.3x);q.2a(1S,\'93\',q.3x);q.2a(V,\'3x\',C(){A(q.5M||q.3o){B d=q.19(\'G\',{2N:\'eJ/7C\'},H,V.2j(\'eK\')[0]);C 5K(a,b){A(!q.1t){d.1K(V.eL(a+" {"+b+"}"))}I{B c=V.bD[V.bD.T-1];A(1v(c.5K)=="5Y")c.5K(a,b)}}C 5L(a){E\'eM( ( ( eN = V.4o.\'+a+\' ? V.4o.\'+a+\' : V.1e.\'+a+\' ) ) + \\\'F\\\' );\'}A(q.5M)5K(\'.K 3v\',\'3Y: 6a(\'+q.4i+q.5M+\'), 6M !eO;\');5K(\'.K-2k-D\',q.1t&&(q.3d<7||V.62==\'7F\')?\'1g: 2b; \'+\'14:\'+5L(\'5a\')+\'11:\'+5L(\'5b\')+\'M:\'+5L(\'7G\')+\'O:\'+5L(\'9W\'):\'1g: eP; M: 2h%; O: 2h%; 14: 0; 11: 0\')}});q.2a(1S,\'3r\',C(){q.61();A(q.2k)N(B i=0;i<q.2k.6S.T;i++){B a=q.2k.6S[i],U=q.2q(a);U.5G(a);A(a.1M==\'2w\')U.1o.2w.4H()}});q.2a(V,\'6i\',C(e){q.5U={x:e.6g,y:e.6h}});q.2a(V,\'82\',q.81);q.2a(V,\'af\',q.81);q.2a(V,\'3x\',q.a1);q.2a(1S,\'93\',q.aj);q.2a(1S,\'93\',q.a4)}',62,920,'||||||||||||||||||||||this||||hs||||||||||if|var|function|size|return|px|style|null|else|pos|highslide|true|width|for|height|div|setStyles|content|wrapper|length|exp|document|lang||expanders|get||top|||left||full||test|createElement|className|false|Math|iframe|body|key|position|outline|display|last|src|hidden|try|catch|slideshow|none|opacity|fireEvent|span|ie|visibility|typeof|zIndex|p1|li|new|tpos|overlayBox|offsetWidth|overlays|undefined|id|offset|offsetHeight|auto|class|appendChild|visible|hsId|imgSize|innerContent|href|parentNode|close|window|container|case|scroll|title|replace|innerHTML|dim||options|table|overflow|wsize||btn||onclick|push|addEventListener|absolute|upcoming|loading|scrollerDiv|expand|outlineType|100|animate|getElementsByTagName|viewport|dragArgs|isHtml|image|next|objectType|getExpander|target|re|td|imgPad|isImage|thumbstrip|controls|slideshowGroup|dimmer|justify|minSize|tblPos|previous|easing|in|focusKey|p2|round|min|right|transitions|pause|type|groups|ucwh|wh|tb|marginMin|lastX|lastY|move|useBox|match|html|swf|elem|parseInt||||xSize|outlineWhileAnimating||||crossfade|objectLoadTime|play|uaVersion|opera|extend|focus|discardElement|releaseMask|prop|step|graphic|block|isX|dimmingOpacity|anchor|center|resize|autoplay|objectWidth|duration|img|getParam|ready|tr|mediumContent|setTimeout|tgt|ySize|xp1|yp1|sg|cell|tree|to|marginLeft|zIndexCounter|bottom|preserveContent|minWidth|objectHeight|pendingOutlines|sleeping|navigator|safari|page|offsetLeft|getElementByClass|getNode|clone|cursor|onload||9999px|anchors|now|relative|setPosition|clientSize|marginMax|max|enable|contentType|active|invPos|xpos|ypos|overlayId|createOverlay|dom|graphicsDir|marginTop|params|cacheBindings|end|fx|documentElement|break|while|RegExp|htmls|onLoad|removeEventListener|preventDefault|doShowHide|styleRestoreCursor|images|ieLt7|clearing|prototype|fitsize|sizeOverlayBox|disable|scrollingContent|changed|selectThumb|expKey|heading|Id|relToVP|mode|minTblPos|number|cur|restoreCursor|250|padToMinWidth|minHeight|allowSizeReduction|ul|preloadTheseImages|numberPosition|idCounter|above||slideshows|userAgent|toLowerCase|all|geckoMac|filter|unit|currentStyle|iebody|scrollLeft|scrollTop|getParams|Expander|matches|getAnchors|cloneNode|owner|event|isExpanded|isClosing|on|Outline|tbody|destroy|stl|uclt|opos|iDoc|showLoading|contentLoaded|contentWindow|maxY|minX|minY|afterClose|fade|xsize|ysize|credits|setAttribute|mask|positionOverlay|loadHTML|curTblPos|domCh|addRule|fix|expandCursor|expandDuration|marginBottom|allowWidthReduction|allowHeightReduction|after|maxWidth|below|mouse|preloadTheseAjax|cachedGets|onReady|object|complete|curAnim|getPageSize|compatMode|getPosition|tagName|rel|ajax|Ajax|topmostKey|getSrc|url|previousOrNext|keyHandler|doFullExpand|hsKey|isHsAnchor|clientX|clientY|mousemove|dragHandler|hasDragged|hideOnMouseOut|dur|preloadFullImage|init|langDefaults|els|Date|getTime|start|Dimension|lt|setSize|thumbsUserSetId|onLoadStarted|cancelLoading|maincontent|before|writeExtendedContent|DIV|split|destroyOverlays|afterExpand|ximgPad|yimgPad|getAnchorIndex|add|showHideElements|pointer|panel|offX|offY|tId|fullExpandLabel|childNodes|regBody|disabled|overlayWidth|marker|cssDirection|Click|fullExpandTitle||previousText|nextText|moveText|closeText||closeTitle|previousTitle|arrow|nextTitle|moveTitle|restoreTitle|restoreDuration|marginRight|allowMultipleInstances|numberOfImagesToPreload|openerTagNames|area|dimmingDuration|cacheAjax|align|dragByHeading|skin|continuePreloading|overrides|contentId|swfOptions|wrapperClassName|maxHeight|oPos|middle|timers|clones|parseFloat|getElementById|padding|border|margin|css|custom|defaultView|BackCompat|clientWidth|offsetTop|htmlExpand|getSelfRendered|replaceLang|getCacheBinding|preloadAjaxElement|onError|run|garbageBin|background|undim|transit|getAdjacentAnchor|srcElement|form|keypress|keydown|getWrapperKey|string||mouseClickHandler|mousedown|blur|hasFocused|moveTo|relatedTarget|location|direction|easeOutQuad|isReady|updateAnchors|update|startTime|state|hasAlphaImageLoader|ucrb|loadingPos|loadingPosXfade|maxsize|osize|calcBorders|calcThumb|calcExpanded|sizeDiff|setPos|thumbnailId|Create|connectOutline|error|getInline|setObjContainerSize|htmlGetSize|initSlideshow|fitOverlayBox|show|ruler|correctIframeSize|swfobject|getIframePageHeight|removeChild|contentDocument|abs|changeSize|other|startOff|endOff|props|xp2|yp2|genOverlayBox|mX|mY|mouseIsOver|Slideshow|caption|Text|origProp|resizeTo|getElementContent|xhr|activeRight|scrollUp|scrollDown|floatMode|load|ltr|loadingText|loadingTitle|focusTitle|creditsText||Highslide|JS|creditsTitle|Previous|Next|Move|Close|resizeTitle|playText|Play|playTitle|spacebar|pauseText|Pause|pauseTitle|fullExpandText|and|loadingOpacity|fullExpandPosition|fullExpandOpacity|showCredits|creditsHref|creditsTarget|enableKeyListener|transitionDuration|targetX|targetY|200|white|contentWrapper|captionOverlay|headingOverlay|creditsPosition|easingClose|fadeInOut|leftpanel|rightpanel|flashvars|attributes|rv|Safari|alpha|arguments|easeInQuad|getComputedStyle|getPropertyValue|toUpperCase|self|clientHeight|name|offsetParent|awake|hasHtmlExpanders|setClickEvents|isUnobtrusiveAnchor|hsHasSetClick|preloadAjax|focusTopmost|dimmingGeckoFix|png|switch|returnValue|hitSpace|toString|reOrder|clickX|clickY|mouseup|pow|wrapperMouseHandler|detachEvent|preloadImages|ie6SSL|javascript|525|clear|both|hideSelects|hideIframes|vendor||KDE|orig|_default|call|timerId|preloadGraphic|onGraphicLoad|Microsoft|Width|Height|Left|Top|Right|Bottom|rb|readyState|thumb|getImageMapAreaCorrection|onHideLoading|getOverlays|htmlSizeOperations|correctRatio|fixedControls|overlayOptions|createFullExpand|hasExtendedContent|wmode|newHeight|oldImg|newImg|ximgSize|yimgSize|reuseOverlay|doc|prepareNextOutline|showOverlays|preloadNext|repeat|getNumber|checkFirstAndLast|writeCredits|Eval|_|nextSibling|Overlay|getAttribute|indexOf|hand|htmlPrepareClose|destroyObject|sleep|relativeTo|overlay|offsetX|offsetY|gotOverlays|pre|cachedGet|XMLHttpRequest|ActiveXObject|XMLHTTP|open|setRequestHeader|gi|script|getControls|Thumbstrip||horizontal|stripItemFormatter|wheelDelta|detail|styleSheets|Loading|cancel|bring|front|Expand|actual|Powered|Go|the|homepage|esc|Resize|Image|of|click|drag|Use|keys|graphics|zoomin|zoomout|1001|outlineStartOffset|http|com|_self|rounded|header|footer|captionId|captionText|captionEval|headingId||headingText|headingEval|maincontentId|maincontentText|maincontentEval|Trident|it|ra|Macintosh|Gecko|removeAttribute|innerWidth|innerHeight|pageXOffset|pageYOffset|useMap|onSetClickEvent|element|dimming|onDimmerClick|geckodimmer|onKeyDown|keyCode|registerOverlay|addSlideshow|htmlE|xpand|button|onImageClick|onDrop|01|sqrt|dragSensitivity|onDrag|mouseover|fromElement|toElement|onMouseOver|onMouseOut|attachEvent|protocol|https|paddingTop|1px|linearTween|onActivate|setInterval|splice|clearInterval|cellSpacing|borderCollapse|collapse|lineHeight|fontSize|outlinesDir|outlines|progid|DXImageTransform|AlphaImageLoader|sizingMethod|scale|onInit|allowSimultaneousLoading|onmouseover|onmouseout|onShowLoading|imageCreate|blockRightClick|oncontextmenu|flushImgSize|htmlCreate|onBeforeGetContent|onAfterGetContent|static|fit|newWidth|frameborder|flash|transparent|embedSWF|version|expressInstallSwfurl|300|nodeName|insertBefore|coords|shape|circle|floor|reflow|onBeforeExpand|clip|rect|reuse|boolean|onAfterExpand|interval|500|onBeforeGetCaption|onBeforeGetHeading|eval|SELECT|IFRAME|onBlur|onFocus|onBeforeClose|default|StopPlay|removeSWF|||onCreateOverlay|200px|onAfterGetCaption|onAfterGetHeading|useOnHtml|onCreateFullExpand|onDoFullExpand|onAfterClose|Msxml2|onreadystatechange|forceAjaxReload|dummy|GET|Requested|With|Content|Type|application|www|urlencoded|send|about||blank|responseText|link|write|ig|dynamicallyUpdateAnchors|useControls|clearTimeout|mgnRight|float|inner|up|down|firstChild|pI|onmousewheel|mousewheel|DOMMouseScroll|120|HsExpander|doScroll|callee|DOMContentLoaded|text|HEAD|createTextNode|expression|ignoreMe|important|fixed'.split('|'),0,{}))
DEMO
This site (highslide attachement. - with the black bagground)

And save and refresh your template.

Re: Highslide Attachment Mod

Posted: 25 Mar 2010, 15:30
by Inner Circle
cisco007 » 25 Mar 2010, 14:22 wrote:
Inner Circle » 25 Mar 2010, 14:17 wrote:This seems to be an interesting Mod, but would it be simpler to modify the existing [img] BBcode for Highslide, instead of creating a new one?
I am sure you read Stokers 1st post, in the FAQ section, where he talks about it! I do have highslide on my [img] BBcode, but you have to make sure you know what your users are going to be posting, if you want i could maybe post how i did it!
D´oh, i missed that part :oops:

But if you could tell me, how to do that, it would be very nice :)

Re: Highslide Attachment Mod

Posted: 25 Mar 2010, 15:38
by Steve
Fire-Fox » 25 Mar 2010, 14:23 wrote:@Vectra

I dont get the black bagground effect =/
why not?
you only add one line in the overall_header.html to the highslide script and the refresh template in acpanel

:shock: