
/**
 * Cookie plugin
 */
eval(function(p,a,c,k,e,r){e=function(c){return c.toString(36)};if('0'.replace(0,e)==0){while(c--)r[e(c)]=k[c];k=[function(e){return r[e]||e}];e=function(){return'[2-9a-hj-p]'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('j.5=function(8,9,2){6(e 9!=\'undefined\'){2=2||{};6(9===k){9=\'\';2.3=-1}4 3=\'\';6(2.3&&(e 2.3==\'l\'||2.3.m)){4 7;6(e 2.3==\'l\'){7=new Date();7.setTime(7.getTime()+(2.3*24*n*n*1000))}o{7=2.3}3=\'; 3=\'+7.m()}4 a=2.a?\'; a=\'+(2.a):\'\';4 b=2.b?\'; b=\'+(2.b):\'\';4 c=2.c?\'; c\':\'\';d.5=[8,\'=\',encodeURIComponent(9),3,a,b,c].join(\'\')}o{4 f=k;6(d.5&&d.5!=\'\'){4 g=d.5.split(\';\');for(4 i=0;i<g.h;i++){4 5=j.trim(g[i]);6(5.p(0,8.h+1)==(8+\'=\')){f=decodeURIComponent(5.p(8.h+1));break}}}return f}};',[],26,'||options|expires|var|cookie|if|date|name|value|path|domain|secure|document|typeof|cookieValue|cookies|length||jQuery|null|number|toUTCString|60|else|substring'.split('|'),0,{}))

/**
 * jQuery.Preload
 */
eval(function(p,a,c,k,e,r){e=function(c){return(c<62?'':e(parseInt(c/62)))+((c=c%62)>35?String.fromCharCode(c+29):c.toString(36))};if('0'.replace(0,e)==0){while(c--)r[e(c)]=k[c];k=[function(e){return r[e]||e}];e=function(){return'[3-9a-df-hj-zA-P]'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}(';(8($){g $9=$.9=8(6,4){5(6.x)6=$(6);4=$.extend({},$9.y,4);g p=$.map(6,8(a){5(!a)b;5(a.x)b 4.z+a+4.A;g h=a.7||a.href;5(typeof 4.q==\'string\'&&a.7)a.7=4.q;5(h&&4.B)h=h.r(4.B,4.r);b h||C});g 3={D:0,E:0,c:0,s:0,k:p.length};5(!3.k)b t();g d=\'<f/>\',F=4.G;while(--F>0)d+=\'<f/>\';d=$(d).u(l).H(l).bind(\'I\',l).each(m);8 l(e){3.v=e.type==\'u\';3.w=j.7;g n=3.6=6[j.J];3[3.v?\'D\':\'E\']++;3.s++;5(4.q&&n.7)n.7=3.v?3.w:4.notFound||n.7;5(4.K)4.K(3);5(3.s<3.k)m(0,j);else{5(d.o)d.o(\'u\').o(\'H\').o(\'I\');d=C;t()}};8 m(i,f,L){5($.browser.msie&&3.c&&3.c%$9.M==0&&!L){setTimeout(8(){m(i,f,true)},0);b N}5(3.c==3.k)b N;f.J=3.c;f.7=p[3.c++];5(4.O){3.w=f.7;3.6=6[3.c-1];4.O(3)}};8 t(){5(4.P)4.P(3)}};$9.M=14;$9.y={G:2,z:\'\',A:\'\',r:\'\'};$.fn.9=8(4){$9(j,4);b j}})(jQuery);',[],52,'|||data|settings|if|original|src|function|preload|source|return|next|imgs||img|var|url||this|total|handler|fetch|orig|unbind|sources|placeholder|replace|done|finish|load|found|image|split|defaults|base|ext|find|null|loaded|failed|thres|threshold|error|abort|index|onComplete|retry|gap|false|onRequest|onFinish'.split('|'),0,{}))

/**
 * jQuery-Plugin "preloadCssImages"
 */
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}(';e.16=n(b){b=e.17({x:N,o:N,O:18,P:2},b);3 19=[],8=0,4=[],d,y;n p(){1a(y);5(4&&4.9&&4[8]){8++;5(b.x){3 Q=(4[8])?\'1b R: <c>\'+4[8].q(\'/\')[4[8].q(\'/\').9-1]:\'R S\';e(b.x).1c(\'<c r="1d">\'+8+\'</c> 1e <c r="1f">\'+4.9+\'</c> 8 (<c r="1g">\'+(8/4.9*1h).T(0)+\'%</c>) <c r="1i">\'+Q+\'</c></c>\')}5(b.o){3 z=e(b.o).1j();e(b.o).1k(\'1l-1m\',-(z-(z*8/4.9).T(0))+\'1n 1o%\')}A()}}n A(){5(4&&4.9&&4[8]){3 s=1p 1q();s.1r=4[8];5(!s.S){e(s).1s(\'1t 1u 1v\',p)}B{p()}y=U(p,b.O)}}n C(7,t){3 D=V,k=[],E=[],f;3 6=7.9;u(6--){3 F=\'\';5(t&&t[6]){f=t[6]}B{3 W=(7[6].v)?7[6].v:\'1w.1x.v\';3 G=W.q(\'/\');G.X();f=G.Y(\'/\');5(f){f+=\'/\'}}5(7[6].H||7[6].Z){d=(7[6].H)?7[6].H:7[6].Z;3 h=d.9;u(h--){5(d[h].I&&d[h].I.10){3 J=d[h].I.10;5(J.1y().1z(\'1A\')!=-1){F+=J}}B 5(d[h].11){k.w(d[h].11);D=1B}}}3 j=F.K(/[^\\("]+\\.(1C|1D|1E|1F)/g);5(j){3 i=j.9;u(i--){3 L=(j[i].12(0)==\'/\'||j[i].K(\'://\'))?j[i]:f+j[i];5(e.1G(L,4)==-1){4.w(L)}}}5(!D&&7[6].l&&7[6].l.9){1H(3 m=0,13=7[6].l.9;m<13;m++){3 a=7[6].l[m].v;a=a.q(\'/\');a.X();a=a.Y(\'/\');5(a){a+=\'/\'}3 14=(a.12(0)==\'/\'||a.K(\'://\'))?a:f+a;E.w(14);k.w(7[6].l[m])}}}5(k.9){C(k,E);15 V}3 M=b.P;u(M--){U(A,M)}}C(1I.1J);15 4};',62,108,'|||var|imgUrls|if|sheetIndex|sheets|loaded|length|iHref|settings|span|thisSheetRules|jQuery|baseURL||ruleIndex||tmpImage|imported|imports|iImport|function|statusBarEl|onImgComplete|split|class|img|urls|while|href|push|statusTextEl|errorTimer|barWidth|loadImgs|else|parseCSS|w3cImport|importedSrc|cssPile|baseURLarr|cssRules|style|text|match|imgSrc|downloads|null|errorDelay|simultaneousCacheLoading|nowloading|Loading|complete|toFixed|setTimeout|false|csshref|pop|join|rules|cssText|styleSheet|charAt|importLen|iSrc|return|preloadCssImages|extend|999|allImgs|clearTimeout|Now|html|numLoaded|of|numTotal|percentLoaded|100|currentImg|width|css|background|position|px|50|new|Image|src|bind|error|load|onreadystatechange|window|location|toLowerCase|indexOf|url|true|gif|jpg|jpeg|png|inArray|for|document|styleSheets'.split('|'),0,{}))


/* -------------------------------------------------- *
 * ToggleVal 2.1
** -------------------------------------------------- */
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}('(5($){$.z.A=5(1){4(!1||i(1)=="B"){1=$.C({9:"j-D",7:"j-E",k:"l",a:F,m:n},1)}o 4(i(1)=="G"&&1.H()=="b"){p b=q}r 0.I(5(){4(b){$(0).s("t.6").s("u.6").J("2");r n}p 2="";K(1.k){c"v":2=$(0).d("v");$(0).3(2);e;c"f":2=$("f[w=\'"+$(0).d("x")+"\']").a();$(0).3(2);e;c"L":2=1.a;$(0).3(2);e;l:2=$(0).3()}$(0).g("6").8("2",2);4(1.m==q){$("f[w=\'"+$(0).d("x")+"\']").M()}$(0).y("t.6",5(){4($(0).3()==$(0).8("2")){$(0).3("")}$(0).g(1.9).h(1.7)}).y("u.6",5(){4($(0).3()==""){$(0).3($(0).8("2"))}$(0).h(1.9);4($(0).3()!=$(0).8("2")){$(0).g(1.7)}o{$(0).h(1.7)}})})}})(N);',50,50,'this|theOptions|defText|val|if|function|toggleval|changedClass|data|focusClass|text|destroy|case|attr|break|label|addClass|removeClass|typeof|tv|populateFrom|default|removeLabels|false|else|var|true|return|unbind|focus|blur|alt|for|id|bind|fn|toggleVal|object|extend|focused|changed|null|string|toLowerCase|each|removeData|switch|custom|remove|jQuery'.split('|'),0,{}))

/*
 * Thickbox 3 - One Box To Rule Them All.
*/
var tb_pathToImage = "/blog/themes/librairie-enfants-2009/img/loading.gif";
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}('$.1e.1W=$.1e.2P&&/1s 6\\.0/i.1t(11.1f.K)&&!/1s 8\\.0/i.1t(11.1f.K)&&!/1s 7\\.0/i.1t(11.1f.K);$(f).2Q(c(){1u(\'a.12, 2R.12, 2S.12\');1v=1w 1x();1v.L=2T});c 1u(1X){$(1X).n(c(){9 t=P.13||P.1y||M;9 a=P.s||P.1Y;9 g=P.1Z||Q;1g(t,a,g);P.2U();D Q}).2V(\'12\')}c 1g(E,j,14){2W{3(20 f.q.F.21==="22"){$("q","15").o({u:"23%",r:"23%"});$("15").o("24","2X");3(f.25("1z")===M){$("q").p("<R 5=\'1z\'></R><4 5=\'v\'></4><4 5=\'b\'></4>");$("#v").n(G)}}d{3(f.25("v")===M){$("q").p("<4 5=\'v\'></4><4 5=\'b\'></4>");$("#v").n(G)}}3(26()){$("#v").28("2Y")}d{$("#v").28("2Z")}3(E===M){E=""}$("q").p("<4 5=\'H\'><2a L=\'"+1v.L+"\' /></4>");$(\'#H\').31();9 1h;3(j.N("?")!==-1){1h=j.32(0,j.N("?"))}d{1h=j}9 1A=/\\.2b$|\\.2c$|\\.2d$|\\.2e$|\\.2f$/;9 S=1h.1B().2g(1A);3(S==\'.2b\'||S==\'.2c\'||S==\'.2d\'||S==\'.2e\'||S==\'.2f\'){1C="";1D="";16="";1E="";1F="";T="";1G="";1H=Q;3(14){B=$("a[@1Z="+14+"]").33();2h(z=0;((z<B.1i)&&(T===""));z++){9 34=B[z].s.1B().2g(1A);3(!(B[z].s==j)){3(1H){1E=B[z].13;1F=B[z].s;T="<1j 5=\'2i\'>&1k;&1k;<a s=\'#\'>35 &36;</a></1j>"}d{1C=B[z].13;1D=B[z].s;16="<1j 5=\'2j\'>&1k;&1k;<a s=\'#\'>&37; 38</a></1j>"}}d{1H=1l;1G="1x "+(z+1)+" 39 "+(B.1i)}}}U=1w 1x();U.1m=c(){U.1m=M;9 1I=2k();9 x=1I[0]-2l;9 y=1I[1]-2l;9 k=U.r;9 l=U.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}}18=k+30;1n=l+3a;$("#b").p("<2a 5=\'2m\' L=\'"+j+"\' r=\'"+k+"\' u=\'"+l+"\' 1Y=\'"+E+"\'/>"+"<4 5=\'3b\'>"+E+"<4 5=\'3c\'>"+1G+16+T+"</4></4><4 5=\'3d\'><a s=\'#\' 5=\'V\' 13=\'2n\'>1J</a> 1K 1L 1M</4>");$("#V").n(G);3(!(16==="")){c 19(){3($(f).O("n",19)){$(f).O("n",19)}$("#b").A();$("q").p("<4 5=\'b\'></4>");1g(1C,1D,14);D Q}$("#2j").n(19)}3(!(T==="")){c 1N(){$("#b").A();$("q").p("<4 5=\'b\'></4>");1g(1E,1F,14);D Q}$("#2i").n(1N)}f.1o=c(e){3(e==M){I=2o.2p}d{I=e.2q}3(I==27){G()}d 3(I==3e){3(!(T=="")){f.1o="";1N()}}d 3(I==3f){3(!(16=="")){f.1o="";19()}}};1a();$("#H").A();$("#2m").n(G);$("#b").o({W:"X"})};U.L=j}d{9 2r=j.2s(/^[^\\?]+\\??/,\'\');9 J=2t(2r);18=(J[\'r\']*1)+30||3g;1n=(J[\'u\']*1)+3h||3i;Y=18-30;Z=1n-3j;3(j.N(\'2u\')!=-1){1O=j.1P(\'3k\');$("#1b").A();3(J[\'1Q\']!="1l"){$("#b").p("<4 5=\'2v\'><4 5=\'1R\'>"+E+"</4><4 5=\'2w\'><a s=\'#\' 5=\'V\' 13=\'2n\'>1J</a> 1K 1L 1M</4></4><R 2x=\'0\' 2y=\'0\' L=\'"+1O[0]+"\' 5=\'1b\' 1y=\'1b"+1p.2z(1p.1S()*2A)+"\' 1m=\'1T()\' F=\'r:"+(Y+29)+"m;u:"+(Z+17)+"m;\' > </R>")}d{$("#v").O();$("#b").p("<R 2x=\'0\' 2y=\'0\' L=\'"+1O[0]+"\' 5=\'1b\' 1y=\'1b"+1p.2z(1p.1S()*2A)+"\' 1m=\'1T()\' F=\'r:"+(Y+29)+"m;u:"+(Z+17)+"m;\'> </R>")}}d{3($("#b").o("W")!="X"){3(J[\'1Q\']!="1l"){$("#b").p("<4 5=\'2v\'><4 5=\'1R\'>"+E+"</4><4 5=\'2w\'><a s=\'#\' 5=\'V\'>1J</a> 1K 1L 1M</4></4><4 5=\'C\' F=\'r:"+Y+"m;u:"+Z+"m\'></4>")}d{$("#v").O();$("#b").p("<4 5=\'C\' 3l=\'3m\' F=\'r:"+Y+"m;u:"+Z+"m;\'></4>")}}d{$("#C")[0].F.r=Y+"m";$("#C")[0].F.u=Z+"m";$("#C")[0].3n=0;$("#1R").15(E)}}$("#V").n(G);3(j.N(\'3o\')!=-1){$("#C").p($(\'#\'+J[\'2B\']).2C());$("#b").2D(c(){$(\'#\'+J[\'2B\']).p($("#C").2C())});1a();$("#H").A();$("#b").o({W:"X"})}d 3(j.N(\'2u\')!=-1){1a();3($.1e.3p){$("#H").A();$("#b").o({W:"X"})}}d{$("#C").3q(j+="&1S="+(1w 3r().3s()),c(){1a();$("#H").A();1u("#C a.12");$("#b").o({W:"X"})})}}3(!J[\'1Q\']){f.2E=c(e){3(e==M){I=2o.2p}d{I=e.2q}3(I==27){G()}}}}3t(e){}}c 1T(){$("#H").A();$("#b").o({W:"X"})}c G(){$("#3u").O("n");$("#V").O("n");$("#b").3v("3w",c(){$(\'#b,#v,#1z\').3x("2D").O().A()});$("#H").A();3(20 f.q.F.21=="22"){$("q","15").o({u:"2F",r:"2F"});$("15").o("24","")}f.1o="";f.2E="";D Q}c 1a(){$("#b").o({3y:\'-\'+2G((18/2),10)+\'m\',r:18+\'m\'});3(!(3z.1e.1W)){$("#b").o({3A:\'-\'+2G((1n/2),10)+\'m\'})}}c 2t(1U){9 1q={};3(!1U){D 1q}9 1V=1U.1P(/[;&]/);2h(9 i=0;i<1V.1i;i++){9 1c=1V[i].1P(\'=\');3(!1c||1c.1i!=2){3B}9 2H=2I(1c[0]);9 1r=2I(1c[1]);1r=1r.2s(/\\+/g,\' \');1q[2H]=1r}D 1q}c 2k(){9 1d=f.3C;9 w=11.2J||2K.2J||(1d&&1d.2L)||f.q.2L;9 h=11.2M||2K.2M||(1d&&1d.2N)||f.q.2N;2O=[w,h];D 2O}c 26(){9 K=1f.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|body|width|href||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|false|iframe|urlType|TB_NextHTML|imgPreloader|TB_closeWindowButton|display|block|ajaxContentW|ajaxContentH||window|thickbox|title|imageGroup|html|TB_PrevHTML||TB_WIDTH|goPrev|tb_position|TB_iframeContent|KeyVal|de|browser|navigator|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|close|or|Esc|Key|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_Image|Close|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|removeClass|try|hidden|TB_overlayMacFFBGHack|TB_overlayBG||show|substr|get|urlTypeTemp|Next|gt|lt|Prev|of|60|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,{}))

/* cycle lite */
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}('(4(D){6 A="1n-1.0";D.g.i=4(E){j 5.n(4(){E=E||{};3(5.k){Y(5.k)}5.k=0;5.s=0;6 I=D(5);6 J=E.P?D(E.P,5):I.1o();6 G=J.1p();3(G.9<2){3(Q.R&&Q.R.Z){Q.R.Z("1q; 1r 1s 1t: "+G.9)}j}6 H=D.1u({},D.g.i.10,E||{},D.11?I.11():D.1v?I.1w():{});H.f=H.f?[H.f]:[];H.l=H.l?[H.l]:[];H.l.1x(4(){H.S=0});6 F=5.1y;H.a=T((F.U(/w:(\\d+)/)||[])[1])||H.a;H.7=T((F.U(/h:(\\d+)/)||[])[1])||H.7;H.b=T((F.U(/t:(\\d+)/)||[])[1])||H.b;3(I.c("V")=="1z"){I.c("V","1A")}3(H.a){I.a(H.a)}3(H.7&&H.7!="W"){I.7(H.7)}6 K=0;J.c({V:"1B",1C:0,1D:0}).1E().n(4(M){D(5).c("z-1F",G.9-M)});D(G[K]).c("m",1).12();3(D.13.14){G[K].15.16("17")}3(H.o&&H.a){J.a(H.a)}3(H.o&&H.7&&H.7!="W"){J.7(H.7)}3(H.18){I.1G(4(){5.s=1},4(){5.s=0})}D.g.i.19.1a(I,J,H);J.n(4(){6 M=D(5);5.1H=(H.o&&H.7)?H.7:M.7();5.1I=(H.o&&H.a)?H.a:M.a()});J.1b(":1c("+K+")").c({m:0});3(H.1d){D(J[K]).c(H.1d)}3(H.b){3(H.e.1J==1K){H.e={1L:1M,1N:1O}[H.e]||1P}3(!H.u){H.e=H.e/2}1Q((H.b-H.e)<1R){H.b+=H.e}}H.1e=H.e;H.1f=H.e;H.1S=G.9;H.p=K;H.8=1;6 L=J[K];3(H.f.9){H.f[0].v(L,[L,L,H,1g])}3(H.l.9>1){H.l[1].v(L,[L,L,H,1g])}3(H.x&&!H.q){H.q=H.x}3(H.q){D(H.q).1h("x",4(){j C(G,H,H.y?-1:1)})}3(H.X){D(H.X).1h("x",4(){j C(G,H,H.y?1:-1)})}3(H.b){5.k=1i(4(){B(G,H,0,!H.y)},H.b+(H.1j||0))}})};4 B(J,E,I,K){3(E.S){j}6 H=J[0].1k,M=J[E.p],L=J[E.8];3(H.k===0&&!I){j}3(I||!H.s){3(E.f.9){D.n(E.f,4(N,O){O.v(L,[M,L,E,K])})}6 F=4(){3(D.13.14){5.15.16("17")}D.n(E.l,4(N,O){O.v(L,[M,L,E,K])})};3(E.8!=E.p){E.S=1;D.g.i.1l(M,L,E,F)}6 G=(E.8+1)==J.9;E.8=G?0:E.8+1;E.p=G?J.9-1:E.8-1}3(E.b){H.k=1i(4(){B(J,E,0,!E.y)},E.b)}}4 C(E,F,I){6 H=E[0].1k,G=H.k;3(G){Y(G);H.k=0}F.8=F.p+I;3(F.8<0){F.8=E.9-1}1T{3(F.8>=E.9){F.8=0}}B(E,F,1,I>=0);j 1U}D.g.i.1l=4(K,H,I,E){6 J=D(K),G=D(H);G.c({m:0});6 F=4(){G.1m({m:1},I.1e,I.1V,E)};J.1m({m:0},I.1f,I.1W,4(){J.c({1X:"1Y"});3(!I.u){F()}});3(I.u){F()}};D.g.i.19={1a:4(F,G,E){G.1b(":1c(0)").c("m",0);E.f.1Z(4(){D(5).12()})}};D.g.i.20=4(){j A};D.g.i.10={b:21,e:22,q:r,X:r,f:r,l:r,7:"W",u:1,o:0,18:0,1j:0,P:r}})(23)',62,128,'|||if|function|this|var|height|nextSlide|length|width|timeout|css||speed|before|fn||cycle|return|cycleTimeout|after|opacity|each|fit|currSlide|next|null|cyclePause||sync|apply||click|rev|||||||||||||||||slideExpr|window|console|busy|parseInt|match|position|auto|prev|clearTimeout|log|defaults|metadata|show|browser|msie|style|removeAttribute|filter|pause|transitions|fade|not|eq|cssFirst|speedIn|speedOut|true|bind|setTimeout|delay|parentNode|custom|animate|Lite|children|get|terminating|too|few|slides|extend|meta|data|unshift|className|static|relative|absolute|top|left|hide|index|hover|cycleH|cycleW|constructor|String|slow|600|fast|200|400|while|250|slideCount|else|false|easeIn|easeOut|display|none|push|ver|4000|1000|jQuery'.split('|'),0,{}))

/* LIBRAIRIE DES ENFANTS 2009 */

/* PRELOAD CSS IMG AND ROLLOVER IMG */
function preloadImg() {
	if (!jQuery.cookie('preloadImgsCookie')) {
        jQuery('.swapImg').preload({
		    //onComplete: completeLoad,
			find: '-off',
		    replace: '-on'
		});
		//jQuery.preloadCssImages();
		//jQuery.cookie('preloadImgsCookie', 'PreloadImg', { path: '/', expires: 10});
	}
	/*function completeLoad( data ){
	 	update( data );
		jQuery('#image-loaded').html( data.image );
	};
	function update( data ){
		jQuery('#done').html( ''+data.done );
		jQuery('#total').html( ''+data.total );
		jQuery('#loaded').html( ''+data.loaded );
		jQuery('#failed').html( ''+data.failed );
	};*/
}

/* TOGGLEVAL ON INPUTS */
myToggleVal = function(elt) {
	jQuery(elt).toggleVal();
}

/* SAME HEIGHT ON BLOCKS (ALL BROWSERS) */
mySameHeight = function(elt) {
	var heightBlockMax=0;
	jQuery(elt).each(function(){ if( jQuery(this).height() > heightBlockMax ) heightBlockMax = jQuery(this).height(); }); // get max height
	if (jQuery.browser.msie) {
		jQuery(elt).each(function(){ jQuery(this).css("height",heightBlockMax); }); // assign max height
	} else {
		jQuery(elt).each(function(){ jQuery(this).css("min-height",heightBlockMax); }); // assign max height
	}
	heightBlockMax=0;
}

/* ENABLE ROLLOVER ON TARGETED IMAGES (ALL BROWSERS) */
function imgRollover(elt) {
    jQuery(elt).each( function() {
		jQuery(this).hover(
			function() {
				jQuery(this).attr("src", jQuery(this).attr("src").replace("-off","-on"));
			},
			function () {
				jQuery(this).attr("src", jQuery(this).attr("src").replace("-on","-off"));
			}
		);
	});
}

/* SPECIAL BLOCKS */
function specialBlocks(elt) {
	jQuery(elt).each(function() {
		var id2Move = jQuery(this).attr('id');
        jQuery(this).wrap('<div class="blockOutside"></div>');
		jQuery(this).parent('.blockOutside').attr('id',id2Move);
		jQuery(this).removeAttr('id');
	});
}

/* CYCLE */
function myCycle(elt) {
	jQuery(elt).cycle({
	    timeout: 3000
	});
}

/* CYCLE ON HOME */
function myHomeCycle(elt) {
	jQuery(elt).parent().append('<span id="prev" title="Livre precedent">Livre precedent</span><span id="next" title="Livre suivant">Livre suivant</span>');
	jQuery(elt).cycle({
	    prev:   '#prev',
	    next:   '#next',
	    timeout: 3000
	});
}

/* REDIRECT TO SUBCAT LISTING */
function myRedirect(elt,baseUrl2go) {
	jQuery(elt).each(function() {
		jQuery(this).change(function() {
			var url2go = jQuery(this).val();
            window.location.href = baseUrl2go+url2go;
		});
	});
}

/* Only initialize functions for all pages if needed */
jQuery(document).ready(function() {
	jQuery('body').addClass('hasJS');

	if (jQuery('#footerLinks li a:contains("RSS")').size() > 0) {
		jQuery('#footerLinks li a:contains("RSS")').each(function() {
			jQuery(this).html(jQuery(this).html().replace('RSS', '<img src="/blog/themes/librairie-enfants-2009/img/picto-rss.gif" alt="RSS" />'));
		});
	}

   	/* PRELOAD CSS IMG AND ROLLOVER IMG */
	initPreloadImg = preloadImg();

    /* ENABLE ROLLOVER ON TARGETED IMAGES (ALL BROWSERS) */
	if (jQuery('.swapImg').size() > 0) { initImgRollover = imgRollover('.swapImg'); }

    /* TOGGLEVAL ON INPUTS */
	if (jQuery('input.swapValue').size() > 0) { initMyToggleVal = myToggleVal('input.swapValue'); }

    /* SPECIAL BLOCKS */
	if (jQuery('.blockInside').size() > 0) { initSpecialBlock = specialBlocks('.blockInside'); }

    /* CYCLE ON HOME */
	if (jQuery('.dc-home .bookList li').size() > 1) { initMyHomeCycle = myHomeCycle('.bookList'); }

    /* SAME HEIGHT ON BOOK ITEMS IN SELECTION/NEWS LISTS */
	if ((jQuery('#selectionList .bookList li').size() > 1) || (jQuery('#newsBooksList .bookList li').size() > 1)) {
		initMySameHeight = mySameHeight('.bookList li');
	}

	/* REDIRECT TO SUBCAT LISTING */
	if (jQuery('#catList').size() >0) { initMyRedirect = myRedirect("#catList",'/'); }

    /* CYCLE ON PRESENTATION AND CONTACT */
	if (jQuery('#introIllus ul li').size() > 1) { initPresCycle = myCycle('#introIllus ul'); }
	if (jQuery('#contactIllus ul li').size() > 1) { initContCycle = myCycle('#contactIllus ul'); }

});

//END
