Team:TU Munich/jquery.inifinitecarousel2.js
From 2011.igem.org
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}('(3($){$.3g.2z({3h:3(r){G s={K:3i,1b:3j,1l:.25,1Q:R,1c:R,2A:R,2B:R,2C:\'2D\',29:\'2D\',2E:\'.3k\',2F:\'2G\',2H:\'2G\',1m:\'/3l/3m/3n/\',S:1,v:\'1R\',2a:1,1S:R,2I:2b,1y:2b,2J:R,1n:R,2K:R,2c:3(){},2L:3(){},2d:3(){}};G r=$.2z(s,r);3o w.2e(3(){G b=2M.3p(2M.3q()*3r);G o=r;G c=$(w);G d=o.2J;G e=$(\'1o\',c).2N;G f=$(\'1o:1z\',c).O();G g=$(\'1o:1z\',c).A();4(o.S>e-1)o.S=e-1;$(\'p\',c).1A();$(c).7({\'B\':\'1T\',\'2f\':\'2O\'}).A((g*o.S)+(o.S*E(o.v)*2)).O(f+(E(o.v)*2));$(\'1B\',c).7({\'3s-X\':\'1C\',\'1d\':\'0\',\'v\':\'0\',\'B\':\'1T\'}).A(g*e);$(\'T\',c).7({\'2P\':\'2Q\',\'2R\':\'C\',\'v\':o.v});$(\'T:2S\',c).3t($(\'1B\',c));$(\'1B\',c).7(\'C\',-g-(E(o.v)*2)+\'P\').A(3u);4(o.1Q){$(c).1e(\'<8 L="14\'+b+\'" 1D="3v-14-3w" X="B:1f;1E:0;H:#3x;C:0;z-3y:1"></8>\');$(\'#14\'+b).A(\'2T%\').O(5).7(\'F\',\'.6\')}3 2g(a){a=(a==1U)?o.1b:a;$(\'#14\'+b).A(\'2T%\').O(5);$(\'#14\'+b).u({\'A\':0},a)}G h=E($(c).7(\'Z-1E-A\'))+E($(c).7(\'Z-U-A\'));4(3z(h))h=0;G j=E($(c).7(\'v-C\'));Y(i=1;i<=o.S;i++){$(c).1e(\'<8 L="J\'+b+\'9\'+i+\'" 1D="J" X="B:1f;A:\'+g+\'P;1E:1R;1d-1E:\'+-(f*o.1l+h)+\'P;"><2h></2h></8>\');$(\'#J\'+b+\'9\'+i).7({\'C\':(i-1)*(g+E(o.v)*2),\'1d-C\':E(o.v)+j,\'1d-M\':o.v});$(\'#J\'+b+\'9\'+i).O(f*o.1l).7({\'3A\':\'#3B\',\'F\':\'0.5\'});N=\'<8 1D="10" L="10\'+b+\'9\'+i+\'" X="A:1g;O:1g;B:1f;U:2i;M:3C;17:1h;H:1i(\'+o.1m+\'2U.1F) 1G-1H 0 -1g"></8>\';N+=\'<8 1D="1p" L="1p\'+b+\'9\'+i+\'" X="A:1g;O:1g;B:1f;U:2i;M:2i;17:1h;H:1i(\'+o.1m+\'2U.1F) 1G-1H 0 0"></8>\';$(\'#J\'+b+\'9\'+i).1e(N);$(\'#10\'+b+\'9\'+i).1A();$(\'#1p\'+b+\'9\'+i).1A();4(!o.1y)1V($(\'T:1I(\'+i+\') p\',c).N(),i)}G k=E($(\'#J\'+b+\'2V\').7(\'v-C\'))+E($(\'#J\'+b+\'2V\').7(\'v-M\'));4(k>0)$(\'.J\',c).A(g-k);$(\'.1p\',c).2e(3(i){$(w).y(3(){$(\'#J\'+b+\'9\'+(i+1)).u({1J:(-f*o.1l)-h-1+\'P\'},1q)})});$(\'.10\',c).2e(3(i){$(w).y(3(){4(E($(\'#J\'+b+\'9\'+(i+1)).7(\'1d-1E\'))==0){$(\'#J\'+b+\'9\'+(i+1)).u({1J:((-f*o.1l)-h+12)+\'P\'},1q,3(){$(\'#10\'+b+\'9\'+(i+1)).7(\'H-B\',\'0 -11\')})}2W{$(\'#J\'+b+\'9\'+(i+1)).u({1J:\'1R\'},1q,3(){$(\'#10\'+b+\'9\'+(i+1)).7(\'H-B\',\'0 -1g\')})}})});3 1V(t,i){4(d){$(\'#10\'+b+\'9\'+i).1A();$(\'#1p\'+b+\'9\'+i).1A()}4(t!=1U){$(\'#J\'+b+\'9\'+i+\' 2h\').N(t);$(\'#J\'+b+\'9\'+i).V().u({1J:\'1R\'},1q);$(\'#10\'+b+\'9\'+i).7(\'H-B\',\'0 -1g\');2j()}}3 2j(){4(!d){$(\'.10\',c).1K(I);$(\'.1p\',c).1K(I)}}3 1W(){$(\'.J\',c).V().u({1J:(-f*o.1l-h-1)+\'P\'},o.K)}4(o.1c){3 2k(a){1r=w.L.2X(\'9\');4(l[0]!=1r[1]){n=\'1X\';$(\'#14\'+b).V().1s();2l(q);$(\'#13\'+b+\' 8\').7({\'17\':\'3D\'}).W(\'y\');d=0;1t(3(){$(\'#D\'+b).7(\'H-B\',\'0 -11\')},o.K);$(\'#D\'+b).W(\'y\').18(\'y\',3(){1u()})}4(1r[1]>l[0]){1Y=1r[1]-l[0];1j(1Y)}4(1r[1]<l[0]){1Y=l[0]-1r[1];2m(1Y)}}G l=[];G m=[];$(c).3E(\'<8 L="13\'+b+\'" X="B:1T;2f:2Y;3F:C;1Z-2Z:C;v-U:3G;"></8>\');Y(i=0;i<=e-1;i++){Q=$(\'1o:1I(\'+(i+1)+\')\',c).20(\'2n\');$(\'#13\'+b).1e(\'<8 1D="Q" L="Q\'+b+\'9\'+(i+1)+\'" X="17:1h;H-2o:1i(\'+Q+\');2P:2Q;2R:C;A:\'+o.2C+\';O:\'+o.29+\';3H-O:\'+o.29+\';v:0;2f:2O;1Z-2Z:3I;Z:1L 3J #30;1d-M:3K;31-3L:\'+o.2E+\';31-3M:3N;21:#3O;1Z-3P:0 0 1M #3Q">\'+(i+1)+\'</8>\');4(i<=o.S)$(\'#Q\'+b+\'9\'+i).7({\'Z-21\':\'#32\'});m.1N(i+1)}Y(i=1;i<=o.S;i++)l.1N(m.2p());Q=$(\'1o:1z\',c).20(\'2n\');$(\'#Q\'+b+\'9\'+e).7({\'H-2o\':\'1i(\'+Q+\')\'});$(\'#13\'+b+\' 8.Q:3R(:1z)\').7({F:.2q});$(\'#13\'+b+\' 8.Q\').1v(3(){$(w).u({\'F\':1},3S)},3(){4(l[0]!=w.L.2X(\'9\')[1])$(w).u({\'F\':.2q},I)});$(\'#13\'+b+\' 8\').18(\'y\',2k);4(!o.2A)$(\'#13\'+b+\' 8\').1Z(\'\');4(!o.2B)$(\'#13\'+b+\' 8\').7({\'H-2o\':\'1C\'})}4(o.1S){N=\'<8 L="D\'+b+\'" X="17:1h;B:1f;U:1M;M:1M;Z:1C;A:11;O:11;H:1i(\'+o.1m+\'3T.1F) 1G-1H 0 0"></8>\';$(c).1e(N);G n=\'22\';$(\'#D\'+b).7(\'F\',.5).1v(3(){$(w).u({F:\'1\'},I)},3(){$(w).u({F:\'.5\'},I)});$(\'#D\'+b).y(3(){n=(n==\'22\')?\'1X\':\'22\';(n==\'22\')?1u():23()});4(!o.1n){24=$(c).20(\'L\')+\'3U\';$(c).3V(\'<8 L="\'+24+\'"></8>\').7(\'1d\',\'0 2Y\');$(\'#\'+24).7(\'B\',\'1T\').A(($(c).A()+40+E($(c).7(\'v-C\'))+E($(c).7(\'v-M\'))))}1O=((f/2)-15)+E(o.v);N=\'<8 L="19\'+b+\'" X="B:1f;M:1L;U:\'+1O+\'P;17:1h;Z:1C;A:2r;O:33;H:1i(\'+o.1m+\'34.1F) 1G-1H 0 0"></8>\';N+=\'<8 L="1a\'+b+\'" X="B:1f;C:1L;U:\'+1O+\'P;17:1h;Z:1C;A:2r;O:33;H:1i(\'+o.1m+\'34.1F) 1G-1H -2r 0"></8>\';(o.1n)?$(c).1e(N):$(\'#\'+24).1e(N);$(\'#19\'+b).7(\'F\',.5).y(3(){1k(\'2s\')}).1v(3(){$(w).u({F:\'1\'},I)},3(){$(w).u({F:\'.5\'},I)});$(\'#1a\'+b).7(\'F\',.5).y(3(){1k(\'26\')}).1v(3(){$(w).u({F:\'1\'},I)},3(){$(w).u({F:\'.5\'},I)});4(o.2I&&o.1n){3 35(){$(\'#D\'+b).V().u({U:\'1M\',M:\'1M\'},I);$(\'#19\'+b).V().u({U:1O+\'P\',M:\'1L\'},I);$(\'#1a\'+b).V().u({U:1O+\'P\',C:\'1L\'},I)}3 2t(){$(\'#D\'+b).V().u({U:-16-h+\'P\',M:-16-h+\'P\'},I);$(\'#19\'+b).V().u({M:\'-11\'},I);$(\'#1a\'+b).V().u({C:\'-11\'},I)}$(c).1v(35,2t);2t()}4(o.1y){G p;3 2u(){p=R;Y(i=1;i<=o.S;i++)1V($(\'T:1I(\'+i+\') p\',c).N(),i)}3 36(){p=2b;1W()}$(c).1v(2u,36);1W()}}3 2v(){4(o.2K){$(27).28(3(a){4(a.1w==39){1k(\'2s\');$(27).W(\'28\')}4(a.1w==37){1k(\'26\');$(27).W(\'28\')}4(a.1w==3W||a.1w==3X)23();4(a.1w==3Y||a.1w==3Z){1u();$(27).W(\'28\')}})}}3 1k(a){o.2d.1P(w);$(\'#19\'+b).W(\'y\');$(\'#1a\'+b).W(\'y\');1t(3(){$(\'#D\'+b).7(\'H-B\',\'0 -11\')},o.K-1);d=0;$(\'#14\'+b).V().1s();n=\'1X\';2l(q);(a==\'26\')?2m():1j();$(\'#D\'+b).W(\'y\');1t(3(){$(\'#D\'+b).18(\'y\',3(){1u()});$(\'#19\'+b).18(\'y\',3(){1k(\'2s\')});$(\'#1a\'+b).18(\'y\',3(){1k(\'26\')})},o.K)}3 23(){$(\'#D\'+b).W(\'y\');4(d){o.2d.1P(w);$(\'#D\'+b).41(I,0,3(){$(w).7({\'H-B\':\'0 -11\',\'F\':\'.5\'})}).u({F:.5},I);d=0;2j();$(\'#14\'+b).V().1s();2l(q);1t(3(){$(\'#D\'+b).18(\'y\',3(){1u()})},o.K)}}3 1u(){$(\'#D\'+b).W(\'y\');4(!d){1t(3(){$(\'#D\'+b).7(\'H-B\',\'0 0\')},o.K-1);d=1;1j();q=38(3(){1j()},o.1b+o.K);1t(3(){$(\'#D\'+b).18(\'y\',3(){23()})},o.K)}}3 2w(){1W();4(o.1S&&o.1n){$(\'#D\'+b).1s(1x);$(\'#1a\'+b).1s(1x);$(\'#19\'+b).1s(1x)}4(o.1c)Y(i=1;i<=e;i++)$(\'#Q\'+b+\'9\'+i).7({\'Z-21\':\'#30\'}).u({\'F\':.2q},1q)}3 2x(){4(o.1S&&o.1n){$(\'#D\'+b).1K(1x);$(\'#1a\'+b).1K(1x);$(\'#19\'+b).1K(1x)}2v();4(o.1y&&p)2u();4(o.1c)Y(i=0;i<l.2N;i++)$(\'#Q\'+b+\'9\'+l[i]).7({\'Z-21\':\'#32\'}).u({\'F\':1},1q);4(!o.1y)Y(i=1;i<=o.S;i++)1V($(\'T:1I(\'+i+\') p\',c).N(),i);4(o.1c)$(\'#13\'+b+\' 8\').W(\'y\').18(\'y\',2k).7({\'17\':\'1h\'});2y=[];Y(x=1;x<=o.S;x++){2y.1N($(\'1o:1I(\'+x+\')\',c).20(\'2n\'))}o.2L.1P(w,2y)}3 1j(a){4(a==1U)a=o.2a;2w();4(o.1c){Y(i=1;i<=a;i++){l.1N(m.2p());m.1N(l.2p())}}4(o.1b==0){42(q)}$(\'T:3a(\'+a+\')\',c).3b(R).43($(\'T:2S\',c));o.2c.1P(w,l,\'C\');$(\'1B\',c).u({C:-g*(a+1)-(E(o.v)*(a+1))*2},o.K,o.2F,3(){$(\'T:3a(\'+a+\')\',c).3c();$(w).7({\'C\':-g-E(o.v)*2});4(o.1Q&&d)2g();2x();4(o.1b==0){1j()}})}3 2m(a){4(a==1U)a=o.2a;2w();4(o.1c){Y(i=1;i<=a;i++){l.3d(m.3e());m.3d(l.3e())}}$(\'T:3f(\'+(e-(a+1))+\')\',c).3b(R).44($(\'T:1z\',c));o.2c.1P(w,l,\'M\');$(\'1B\',c).7(\'C\',-(g*(a+1))-(E(o.v)*((a+1)*2))).u({C:-g-(E(o.v)*2)},o.K,o.2H,3(){$(\'T:3f(\'+(e-1)+\')\',c).3c();2x()})}4(d){G q=38(3(){1j()},o.1b+o.K);4(o.1Q)2g(o.1b+o.K)}2W{n=\'1X\';$(\'#D\'+b).7({\'H-B\':\'0 -11\'})}2v()})}})})(45);',62,254,'|||function|if|||css|div|_|||||||||||||||||||||animate|padding|this||click||width|position|left|play_pause_btn|parseInt|opacity|var|background|250|textholder|transitionSpeed|id|right|html|height|px|thumb|true|inView|li|top|stop|unbind|style|for|border|minmax|16px||thumbs|progress|||cursor|bind|btn_rt|btn_lt|displayTime|displayThumbnails|margin|append|absolute|8px|pointer|url|moveLeft|forcePrevNext|textholderHeight|imagePath|prevNextInternal|img|close|500|target_num|fadeOut|setTimeout|forceStart|hover|keyCode|200|autoHideCaptions|first|hide|ul|none|class|bottom|gif|no|repeat|eq|marginBottom|fadeIn|2px|3px|push|arrowsTop|call|displayProgressBar|0px|showControls|relative|null|showtext|hideCaption|pause|diff|text|attr|color|play|forcePause|wrapID||prev|document|keydown|thumbnailHeight|advance|false|onSlideStart|onPauseClick|each|overflow|startProgressBar|span|1px|showminmax|thumbclick|clearTimeout|moveRight|src|image|shift|65|13px|next|hidecontrols|autoShowCap|keyBind|preMove|postMove|ary|extend|displayThumbnailNumbers|displayThumbnailBackground|thumbnailWidth|20px|thumbnailFontSize|easeLeft|linear|easeRight|autoHideControls|autoStart|enableKeyboardNav|onSlideEnd|Math|length|hidden|display|inline|float|last|100|caption|_1|else|split|auto|align|ccc|font|ff0000|30px|leftright|showcontrols|autoHideCap||setInterval||lt|clone|remove|unshift|pop|gt|fn|infiniteCarousel|800|6000|7em|js|infinitecarousel|images|return|round|random|100000000|list|prependTo|9999|ic|bar|bbb|index|isNaN|backgroundColor|FFF|10px|default|after|clear|5px|line|center|solid|4px|size|family|Arial|000|shadow|fff|not|150|playpause|Wrapper|wrap|80|111|83|115||fadeTo|clearInterval|insertAfter|insertBefore|jQuery'.split('|'),0,{}))