/////////////////////////////////////////////////////////////////////
// prototype extended 0.10 (c) by Andreas Kalsch, Ulm/Trier Germany
// This file adds some useful functions
// and fixes prototype (1.5.0_rc1) inconsistencies
// by casting an eye at some CSS details.
// Last change: 13.11.2006
//
// Published under MIT-style license:
// http://www.opensource.org/licenses/mit-license.php
//
// More scripts: http://aka-fotos.de/web

eval(function(p,a,c,k,e,d){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--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('p{u.1u(\'\');2 17=2e.2k.1h();5(17.14(\'2a\')>-1&&17.14(\'7\')==-1)24 1i 2c()}o(e){u.1u=6(){2 T=\'\';c(2 i=0;i<B.m;i++)T+=1m(B[i]);2 s=u.2f(\'2g\');s.1y=T;2 e=u.2h||u.1r(\'*\');2 U=e[e.m-1];U.1a.2i(s);U.1a.2j(s);U.1a.1y+=T}}I=6(1A){8 1A 2l 2n};2o.1e.2p=6(1c,19){5(r<1c)8 1c;5(r>19)8 19;8 r};1B=6(9,g,D,Q){5(!I(9))9=[9];5(!I(g))g=[g];c(2 i=0;i<9.m;i++){2 4=$(9[i]);c(2 j=0;j<g.m;j++){2 d=g[j];p{4.1B(d,D,Q)}o(f){2 z=\'2r\'+d;c(2 k=0;G 4[d+k]==\'6\';k++);5(k==0){5(4[z]){4[d+k]=4[z];4[z]=2t;k++}}4[d+k]=D;5(!4[z])4[z]=6(e){5(!e)e=2u.2v;c(2 j=0;G r[e.d+j]==\'6\';j++);c(2 i=0;i<j;i++)r[e.d+i](e)}}}}};1d=6(9,g,D,Q){5(!I(9))9=[9];5(!I(g))g=[g];c(2 i=0;i<9.m;i++){2 4=$(9[i]);c(2 j=0;j<g.m;j++){2 d=g[j];p{4.1d(d,D,Q)}o(e){p{c(2 k=0;G 4[d+k]!=\'t\';k++){5(4[d+k]==D)1I 4[d+k]}}o(e){}}}}};p{Y.L(1m.1e,{1M:6(1g,M,E){M=r.1f.1O(M);E=(G E==\'t\')?1:E;8 r.1f(1g,6(K){5(--E<0)8 K[0];8 M(K)})},1P:6(){2 a=$A(r);c(2 i=0;i<a.m;i++)5(a[i].K(/[A-Z]/)){a[i]=\'-\'+a[i].1h()}8 a.1S(\'\')}});Y.L(x,{H:6(3){8 x.16(3,\'l\')!=\'S\'},1T:6(){c(2 i=0;i<B.m;i++){2 3=$(B[i]);3.11=3.h.l;3.h.l=\'S\'}},1V:6(){c(2 i=0;i<B.m;i++){2 3=$(B[i]);3.h.l=G 3.11==\'t\'?\'\':3.11;5(x.16(3,\'l\')==\'S\'&&3.h.l==\'\')3.h.l=x.1k(3)}},1k:6(3){2 1o=3.1Y;8[\'1Z\',\'21\',\'22\',\'P\',\'23\'].14(1o)>-1?\'25\':\'1t\'},26:6(J){5(J==t)J=\'27\';c(2 i=0;$(J+i);i++);8 J+i},28:6(3,O){3=$(3);2 b=3.h;2 H=x.H(3);5(!H){2 1C=b.18;2 1z=b.N;b.18=\'29\';b.N=\'1s\';b.l=\'1t\'}2 q={y:3.1D,w:3.1p};5(O==t)O=X;5(O){1E=b.y;1l=b.w;b.y=q.y+\'1v\';b.w=q.w+\'1v\';q.y-=3.1D-q.y;q.w-=3.1p-q.w;b.y=1E;b.w=1l}5(!H){b.l=\'S\';b.N=1z;b.18=1C}8 q},2w:6(3,v){2 4=$(3);p{4.h.v=v}o(e){}p{4.h.1F=v}o(e){}p{4.h.1G=\'1H(v=\'+1J.1L(v*1N)+\')\'}o(e){}p{4.h.1Q=v}o(e){}}});Y.L(1U,{1W:6(3,C,F,13){2 4=$(3);C=(C==t)?u.1n:$(C);F=(F==t)?X:F;2 1X=(13==t)?X:13;2 n=4;c(2 W=0,10=0;n!=C;n=n.1w){5(x.16(n,\'N\')==\'1s\'&&4!=n)2b;2 1b=n.1w;2 V=n.V;2 R=n.R;5(F){V-=1b.2m;R-=1b.2s}W+=V;10+=R}8{1K:W,C:10}}});u.1R=6(15,1j){2 1q=$(1j)||u.1n;2 1x=1q.1r(\'*\');8 $A(1x).2q([],6(9,12){5(12.15.K(1i 20("(^|\\\\s)"+15+"(\\\\s|$)")))9.2d(x.L(12));8 9})}}o(e){}',62,157,'||var|element|el|if|function||return|elements||els|for|type|||types|style||||display|length|el_|catch|try|dim|this||undefined|document|opacity|height|Element|width|ontype||arguments|top|handler|count|scrolling|typeof|visible|isArray|prefix|match|extend|replacement|position|forStyle||phase|offsetTop|none|str|last|offsetLeft|lx|false|Object||ly|_display|child|toNextAbsolutePositioned|indexOf|className|getStyle|nav|visibility|to|parentNode|par|from|removeEventListener|prototype|gsub|pattern|toLowerCase|new|parentElement|getDisplayType|originalHeight|String|body|tag|offsetHeight|parent|getElementsByTagName|absolute|inline|write|px|offsetParent|children|innerHTML|originalPosition|object|addEventListener|originalVisibility|offsetWidth|originalWidth|MozOpacity|filter|alpha|delete|Math|left|round|sub|100|prepareReplacement|uncamelize|KhtmlOpacity|getElementsByClassName|join|hide|Position|show|get|tnap|nodeName|BLOCKQUOTE|RegExp|DIV|FORM|TABLE|throw|block|createUniqueId|id|getDimensions|hidden|opera|break|Error|push|navigator|createElement|span|all|appendChild|removeChild|userAgent|instanceof|scrollLeft|Array|Number|setInRange|inject|on|scrollTop|null|window|event|setOpacity'.split('|'),0,{}))
