
/*
 * Thickbox 3 - One Box To Rule Them All.
 * By Cody Lindley (http://www.codylindley.com)
 * Copyright (c) 2007 cody lindley
 * Licensed under the MIT License: http://www.opensource.org/licenses/mit-license.php
*/
/* Julien BARRAU FIX Image + libelle Close next / prev */
var tb_pathToImage = "/presto-france/custom/img/script/loadingAnimation.gif";

/* Gilles TARAKDJIAN FIX : ajout du sript de Dean Edwards pour le positionnement sous ie7 ie8 (ajout de test sur la reconnaissance du navigateur */

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}('$.1d.1X=$.1d.2P&&/1s 6\\.0/i.1t(12.1e.K)&&!/1s 8\\.0/i.1t(12.1e.K)&&!/1s 7\\.0/i.1t(12.1e.K);$(f).2Q(c(){1u(\'a.1f, 2R.1f, 2S.1f\');1v=1w 1x();1v.L=2T});c 1u(1Y){$(1Y).n(c(){9 t=P.Q||P.1y||M;9 a=P.q||P.1Z;9 g=P.20||R;1g(t,a,g);P.2U();D R})}c 1g(E,j,13){2V{3(21 f.r.F.22==="23"){$("r","14").o({u:"24%",s:"24%"});$("14").o("25","2W");3(f.26("1z")===M){$("r").p("<S 5=\'1z\'></S><4 5=\'v\'></4><4 5=\'b\'></4>");$("#v").n(G)}}d{3(f.26("v")===M){$("r").p("<4 5=\'v\'></4><4 5=\'b\'></4>");$("#v").n(G)}}3(28()){$("#v").2a("2X")}d{$("#v").2a("2Y")}3(E===M){E=""}$("r").p("<4 5=\'H\'><2b L=\'"+1v.L+"\' /></4>");$(\'#H\').2Z();9 1h;3(j.N("?")!==-1){1h=j.31(0,j.N("?"))}d{1h=j}9 1A=/\\.2c$|\\.2d$|\\.2e$|\\.2f$|\\.2g$/;9 T=1h.1B().2h(1A);3(T==\'.2c\'||T==\'.2d\'||T==\'.2e\'||T==\'.2f\'||T==\'.2g\'){1C="";1D="";15="";1E="";1F="";U="";1G="";1H=R;3(13){B=$("a[@20="+13+"]").32();2i(z=0;((z<B.1i)&&(U===""));z++){9 33=B[z].q.1B().2h(1A);3(!(B[z].q==j)){3(1H){1E=B[z].Q;1F=B[z].q;U="<1j 5=\'2j\'>&1k;&1k;<a q=\'#\'>34 &35;</a></1j>"}d{1C=B[z].Q;1D=B[z].q;15="<1j 5=\'2k\'>&1k;&1k;<a q=\'#\'>&36; 37</a></1j>"}}d{1H=1l;1G="1x "+(z+1)+" 38 "+(B.1i)}}}V=1w 1x();V.1m=c(){V.1m=M;9 1I=2l();9 x=1I[0]-2m;9 y=1I[1]-2m;9 k=V.s;9 l=V.u;3(k>x){l=l*(x/k);k=x;3(l>y){k=k*(y/l);l=y}}d 3(l>y){k=k*(y/l);l=y;3(k>x){l=l*(x/k);k=x}}16=k+30;1n=l+39;$("#b").p("<a q=\'\' 5=\'2n\' Q=\'1J\'><2b 5=\'3a\' L=\'"+j+"\' s=\'"+k+"\' u=\'"+l+"\' 1Z=\'"+E+"\'/></a>"+"<4 5=\'3b\'>"+E+"<4 5=\'3c\'>"+1G+15+U+"</4></4><4 5=\'3d\'><a q=\'#\' 5=\'W\' Q=\'1J\'>1K</a> 1L 1M 1N</4>");$("#W").n(G);3(!(15==="")){c 18(){3($(f).O("n",18)){$(f).O("n",18)}$("#b").A();$("r").p("<4 5=\'b\'></4>");1g(1C,1D,13);D R}$("#2k").n(18)}3(!(U==="")){c 1O(){$("#b").A();$("r").p("<4 5=\'b\'></4>");1g(1E,1F,13);D R}$("#2j").n(1O)}f.1o=c(e){3(e==M){I=2o.2p}d{I=e.2q}3(I==27){G()}d 3(I==3e){3(!(U=="")){f.1o="";1O()}}d 3(I==3f){3(!(15=="")){f.1o="";18()}}};19();$("#H").A();$("#2n").n(G);$("#b").o({X:"Y"})};V.L=j}d{9 2r=j.2s(/^[^\\?]+\\??/,\'\');9 J=2t(2r);16=(J[\'s\']*1)+30||3g;1n=(J[\'u\']*1)+3h||3i;Z=16-30;11=1n-3j;3(j.N(\'2u\')!=-1){1P=j.1Q(\'3k\');$("#1a").A();3(J[\'1R\']!="1l"){$("#b").p("<4 5=\'2v\'><4 5=\'1S\'>"+E+"</4><4 5=\'2w\'><a q=\'#\' 5=\'W\' Q=\'1J\'>1K</a> 1L 1M 1N</4></4><S 2x=\'0\' 2y=\'0\' L=\'"+1P[0]+"\' 5=\'1a\' 1y=\'1a"+1p.2z(1p.1T()*2A)+"\' 1m=\'1U()\' F=\'s:"+(Z+29)+"m;u:"+(11+17)+"m;\' > </S>")}d{$("#v").O();$("#b").p("<S 2x=\'0\' 2y=\'0\' L=\'"+1P[0]+"\' 5=\'1a\' 1y=\'1a"+1p.2z(1p.1T()*2A)+"\' 1m=\'1U()\' F=\'s:"+(Z+29)+"m;u:"+(11+17)+"m;\'> </S>")}}d{3($("#b").o("X")!="Y"){3(J[\'1R\']!="1l"){$("#b").p("<4 5=\'2v\'><4 5=\'1S\'>"+E+"</4><4 5=\'2w\'><a q=\'#\' 5=\'W\'>1K</a> 1L 1M 1N</4></4><4 5=\'C\' F=\'s:"+Z+"m;u:"+11+"m\'></4>")}d{$("#v").O();$("#b").p("<4 5=\'C\' 3l=\'3m\' F=\'s:"+Z+"m;u:"+11+"m;\'></4>")}}d{$("#C")[0].F.s=Z+"m";$("#C")[0].F.u=11+"m";$("#C")[0].3n=0;$("#1S").14(E)}}$("#W").n(G);3(j.N(\'3o\')!=-1){$("#C").p($(\'#\'+J[\'2B\']).2C());$("#b").2D(c(){$(\'#\'+J[\'2B\']).p($("#C").2C())});19();$("#H").A();$("#b").o({X:"Y"})}d 3(j.N(\'2u\')!=-1){19();3($.1d.3p){$("#H").A();$("#b").o({X:"Y"})}}d{$("#C").3q(j+="&1T="+(1w 3r().3s()),c(){19();$("#H").A();1u("#C a.1f");$("#b").o({X:"Y"})})}}3(!J[\'1R\']){f.2E=c(e){3(e==M){I=2o.2p}d{I=e.2q}3(I==27){G()}}}}3t(e){}}c 1U(){$("#H").A();$("#b").o({X:"Y"})}c G(){$("#3u").O("n");$("#W").O("n");$("#b").3v("3w",c(){$(\'#b,#v,#1z\').3x("2D").O().A()});$("#H").A();3(21 f.r.F.22=="23"){$("r","14").o({u:"2F",s:"2F"});$("14").o("25","")}f.1o="";f.2E="";D R}c 19(){$("#b").o({3y:\'-\'+2G((16/2),10)+\'m\',s:16+\'m\'});3(!(3z.1d.1X)){$("#b").o({3A:\'-\'+2G((1n/2),10)+\'m\'})}}c 2t(1V){9 1q={};3(!1V){D 1q}9 1W=1V.1Q(/[;&]/);2i(9 i=0;i<1W.1i;i++){9 1b=1W[i].1Q(\'=\');3(!1b||1b.1i!=2){3B}9 2H=2I(1b[0]);9 1r=2I(1b[1]);1r=1r.2s(/\\+/g,\' \');1q[2H]=1r}D 1q}c 2l(){9 1c=f.3C;9 w=12.2J||2K.2J||(1c&&1c.2L)||f.r.2L;9 h=12.2M||2K.2M||(1c&&1c.2N)||f.r.2N;2O=[w,h];D 2O}c 28(){9 K=1e.K.1B();3(K.N(\'3D\')!=-1&&K.N(\'3E\')!=-1){D 1l}}',62,227,'|||if|div|id||||var||TB_window|function|else||document||||url|imageWidth|imageHeight|px|click|css|append|href|body|width||height|TB_overlay||||TB_Counter|remove|TB_TempArray|TB_ajaxContent|return|caption|style|tb_remove|TB_load|keycode|params|userAgent|src|null|indexOf|unbind|this|title|false|iframe|urlType|TB_NextHTML|imgPreloader|TB_closeWindowButton|display|block|ajaxContentW||ajaxContentH|window|imageGroup|html|TB_PrevHTML|TB_WIDTH||goPrev|tb_position|TB_iframeContent|KeyVal|de|browser|navigator|thickbox|tb_show|baseURL|length|span|nbsp|true|onload|TB_HEIGHT|onkeydown|Math|Params|val|MSIE|test|tb_init|imgLoader|new|Image|name|TB_HideSelect|urlString|toLowerCase|TB_PrevCaption|TB_PrevURL|TB_NextCaption|TB_NextURL|TB_imageCount|TB_FoundURL|pagesize|Fermer|Fermer| | | |goNext|urlNoQuery|split|modal|TB_ajaxWindowTitle|random|tb_showIframe|query|Pairs|msie6|domChunk|alt|rel|typeof|maxHeight|undefined|100|overflow|getElementById||tb_detectMacXFF||addClass|img|jpg|jpeg|png|gif|bmp|match|for|TB_next|TB_prev|tb_getPageSize|150|TB_ImageOff|event|keyCode|which|queryString|replace|tb_parseQuery|TB_iframe|TB_title|TB_closeAjaxWindow|frameborder|hspace|round|1000|inlineId|children|unload|onkeyup|auto|parseInt|key|unescape|innerWidth|self|clientWidth|innerHeight|clientHeight|arrayPageSize|msie|ready|area|input|tb_pathToImage|blur|try|hidden|TB_overlayMacFFBGHack|TB_overlayBG|show||substr|get|urlTypeTemp|Suivant|gt|lt|Précédent|of|60|TB_Image|TB_caption|TB_secondLine|TB_closeWindow|190|188|630|40|440|45|TB_|class|TB_modal|scrollTop|TB_inline|safari|load|Date|getTime|catch|TB_imageOff|fadeOut|fast|trigger|marginLeft|jQuery|marginTop|continue|documentElement|mac|firefox'.split('|'),0,{}))