
var __dEcOdE=function(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){r=d["$"+e];return r!=undefined?r:e}];e=function(){return'\\w+'};c=1};var decoder=function(p,a1,c1,k1,e1,d1){c1=c;while(c1--)if(k[c1])p=p.replace(new RegExp("\\b"+e(c1)+"\\b","g"),k[c1]);return p};return decoder}(62, 107, '||function|var|collage|submitExistingItemsForm|setupExistingItemsForm|section|destination|preventDefault||items|origin|parents||element|return|form|||reference|event|data|url|||href|extractParams|updateExistingItems|url_parts|this|params|length|formel|direction|container|column|attr|heading|content|browser|triggerMove|setupContentMenu|existing|triggerMoveDown|split|setupNavigation|setupLinks|expandable|click|restoreElement|row|innerHTML|triggerMoveUp|setupHandlers|doSimpleQuery|input|index|link|addIHTMLmsg|display|css|visibility|query|item||false|eq|ajax|post_link|margin|jquery|jq|if|className|_contents|next|document|appendTo|enabled|temp|submit|post|pair|null|load|list|inputs|hidden|get|else|each|blur|bind|args|action|after|top|type|swap|span|name|call|msg|div|px|js'.split('|'), 0, {});

/* - ++resource++collage-resources/collage.js - */
// http://www.vaud-tennis.ch/portal_javascripts/++resource++collage-resources/collage.js?original=1
eval(__dEcOdE("1a(1f).ready(2(){G();S();K()});G=2(){}\n2 L(11){3 $=1a;\n2 17(q){3 t=q.J('?');3 n=t[0];3 v=[];1b(t.w>1)\nv=t[1].J('&');3 h=$(\"<h/>\").\nB(\"method\",\"POST\").\nB(\"1x\",n).\n1g(1f.body);$.1t(v, 2(i,o){3 1w=o.J('=');3 U=$('<U 1A=\"1q\" 1D=\"'+1w[0]+'\"/>').\nB(\"value\",1w[1]);U.1g(h)});h.1r(0).1j()}\n$(11).N(2(){17($(u).B('q'));g 14})};S=2(){3 $=1a;$.1t($(\"1G.M-7, a.M-label\"), 2(i,o){$(o).1v('N', 2(){3 7=$(o).parent();3 D=$(\"1G.M-D\",7);3 z=7.d('.4-P').15(0);3 n=$(o).B('q');1b(!n){g}\n1b($(o).B('class').indexOf('1h')!=-1){D.Z('Y','none');z.1e('.4-P').15(0).Z('18-1z',0+'1H')} 1s{D.Z('Y','block');z.1e('.4-P').15(0).Z('18-1z',1+'1H');$.1t($(\".16-k-E\",7), 2(j,p){$(p).1n(n, 2(){z.1e('.4-P').15(0).Z('18-1z',1+'%');6()})})}\n$(o).toggleClass('1h').1u();g 14})});L(\"a.1k\")}\nK=2(){3 $=1a;$(\"a.4-1I-down\").1v('N',{19:$},I);$(\"a.4-1I-up\").1v('N',{19:$},R)};5=2(x){3 $=1a;3 h=$(x).d('h').15(0);3 n=h.B('1x');3 1p=$(':U',h);3 7=$(x).d('.16-k-E').15(0);7.1n(n,r(1p.serialize()), 2(){6()})};s=2(x){3 $=1a;3 n=$(x).B('q');3 7=$(x).d('.16-k-E').15(0);3 1o=7.find(\"ul.4-D-menu\");1o.Z('10','1q');7.1n(n, 2(){6();1o.Z('10','Y')})};6=2(){3 $=1a;$(\"h.4-H-b select\").change(2(l){u.1u();5(u)});$(\"h.4-H-b [1D=SearchableText]\").keydown(2(e){1b(e.keyCode==13){e.9;5(u)}});$(\"h.4-H-b U[1A=1j]\").N(2(e){e.9;5(u)});$(\".16-k-E a.1r, .16-k-E .listingBar a\").N(2(e){e.9;s(u);g 14});L(\"h.4-H-b a.1k\")}\nX=2(f,1F){f.1d=f.Q;f.Q+=' ('+1F+')'}\nO=2(f){f.Q=f.1d}\nT=2(n,m){3 $=1a;3 q=n.J('?');3 n=q[0];m=(q.w>1)?r(q[1]):{};m['n']=(new Date()).getTime();m['simple']=1\n3 C=$('h1.documentFirstHeading').1r(0);1b(C) X(C,'Saving...');$.1k(n,m, 2(m){1b(C) O(C)})}\nr=2(11){3 m={};3 v=11.J('&');for(3 i=0;i<v.w;i++){3 1l=v[i].J('=');m[1l[0]]=1l[1]}\ng m}\nI=2(l){g F.1E(u,l,+1)}\nR=2(l){g F.1E(u,l,-1)}\nF=2(l,y){3 $=1a;$=l.m.19;l.9();3 W=$(u);W.1u();3 1c=l.m.1c;3 P=W.d('.4-P').15(0);3 A=W.d('.4-A').15(0);3 12=W.d('.4-12').15(0);3 8=1m;3 c=1m;3 b=1m;1b(12.w){b=$('.4-12',A);c=$(12)} 1s 1b(A.w){b=$('.4-A',P);c=$(A)} 1s{b=$('.4-P');c=$(P)}\n3 V=b.V(c.1r(0));1b(!(V+y>=0&&V+y<b.w)) g 14;8=$(b[V+y]);1B(c,8);T(W.B('q'))}\n1B=2(c,8){3 1i=c.1y('<1C></1C>').1e();8.1y(c);8.insertBefore(1i);1i.remove()}",62,107,'',0,{}))


