(function(n,t,i){var u=i(n),f=i(t),r=i.fancybox=function(){r.open.apply(this,arguments)},e=!1,o=null;i.extend(r,{version:"2.0.4",defaults:{padding:15,margin:20,width:800,height:600,minWidth:200,minHeight:200,maxWidth:9999,maxHeight:9999,autoSize:!0,fitToView:!0,aspectRatio:!1,topRatio:.5,fixed:!i.browser.msie||i.browser.version>6||!t.documentElement.hasOwnProperty("ontouchstart"),scrolling:"auto",wrapCSS:"fancybox-default",arrows:!0,closeBtn:!0,closeClick:!1,nextClick:!1,mouseWheel:!0,autoPlay:!1,playSpeed:3e3,modal:!1,loop:!0,ajax:{},keys:{next:[13,32,34,39,40],prev:[8,33,37,38],close:[27]},index:0,type:null,href:null,content:null,title:null,tpl:{wrap:'<div class="fancybox-wrap"><div class="fancybox-outer"><div class="fancybox-inner"></div></div></div>',image:'<img class="fancybox-image" src="{href}" alt="" />',iframe:'<iframe class="fancybox-iframe" name="fancybox-frame{rnd}" frameborder="0" hspace="0" '+(i.browser.msie?'allowtransparency="true""':"")+' scrolling="{scrolling}" src="{href}"></iframe>',swf:'<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="100%" height="100%"><param name="wmode" value="transparent" /><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="{href}" /><embed src="{href}" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="100%" height="100%" wmode="transparent"></embed></object>',error:'<p class="fancybox-error">Image introuvable</p>',closeBtn:'<div title="Close" class="fancybox-item fancybox-close"></div>',next:'<a title="Next" class="fancybox-item fancybox-next"><span></span></a>',prev:'<a title="Previous" class="fancybox-item fancybox-prev"><span></span></a>'},openEffect:"fade",openSpeed:250,openEasing:"swing",openOpacity:!0,openMethod:"zoomIn",closeEffect:"fade",closeSpeed:250,closeEasing:"swing",closeOpacity:!0,closeMethod:"zoomOut",nextEffect:"elastic",nextSpeed:300,nextEasing:"swing",nextMethod:"changeIn",prevEffect:"elastic",prevSpeed:300,prevEasing:"swing",prevMethod:"changeOut",helpers:{overlay:{speedIn:0,speedOut:300,opacity:.8,css:{cursor:"pointer"},closeClick:!0},title:{type:"float"}},onCancel:i.noop,beforeLoad:i.noop,afterLoad:i.noop,beforeShow:i.noop,afterShow:i.noop,beforeClose:i.noop,afterClose:i.noop},group:{},opts:{},coming:null,current:null,isOpen:!1,isOpened:!1,wrap:null,outer:null,inner:null,player:{timer:null,isActive:!1},ajaxLoad:null,imgPreload:null,transitions:{},helpers:{},open:function(n,t){(i.isArray(n)||(n=[n]),n.length)&&(r.close(!0),r.opts=i.extend(!0,{},r.defaults,t),r.group=n,r._start(r.opts.index||0))},cancel:function(){r.coming&&!1===r.trigger("onCancel")||(r.coming=null,r.hideLoading(),r.ajaxLoad&&r.ajaxLoad.abort(),r.ajaxLoad=null,r.imgPreload&&(r.imgPreload.onload=r.imgPreload.onabort=r.imgPreload.onerror=null))},close:function(n){(r.cancel(),r.current&&!1!==r.trigger("beforeClose"))&&(r.unbindEvents(),!r.isOpen||n&&n[0]===!0?(i(".fancybox-wrap").stop().trigger("onReset").remove(),r._afterZoomOut()):(r.isOpen=r.isOpened=!1,i(".fancybox-item").remove(),r.wrap.stop(!0).removeClass("fancybox-opened"),r.inner.css("overflow","hidden"),r.transitions[r.current.closeMethod]()))},play:function(n){var t=function(){clearTimeout(r.player.timer)},f=function(){t(),r.current&&r.player.isActive&&(r.player.timer=setTimeout(r.next,r.current.playSpeed))},u=function(){t(),i("body").unbind(".player"),r.player.isActive=!1,r.trigger("onPlayEnd")},e=function(){r.current&&(r.current.loop||r.current.index<r.group.length-1)&&(r.player.isActive=!0,i("body").bind({"afterShow.player onUpdate.player":f,"onCancel.player beforeClose.player":u,"beforeLoad.player":t}),f(),r.trigger("onPlayStart"))};r.player.isActive||n&&n[0]===!1?u():e()},next:function(){r.current&&r.jumpto(r.current.index+1)},prev:function(){r.current&&r.jumpto(r.current.index-1)},jumpto:function(n){r.current&&(n=parseInt(n,10),r.group.length>1&&r.current.loop&&(n>=r.group.length?n=0:n<0&&(n=r.group.length-1)),typeof r.group[n]!="undefined"&&(r.cancel(),r._start(n)))},reposition:function(n){r.isOpen&&r.wrap.css(r._getPosition(n))},update:function(){r.isOpen&&(e||(o=setInterval(function(){e&&(e=!1,clearTimeout(o),r.current&&(r.current.autoSize&&(r.inner.height("auto"),r.current.height=r.inner.height()),r._setDimension(),r.current.canGrow&&r.inner.height("auto"),r.reposition(),r.trigger("onUpdate")))},100)),e=!0)},toggle:function(){r.isOpen&&(r.current.fitToView=!r.current.fitToView,r.update())},hideLoading:function(){i("#fancybox-loading").remove()},showLoading:function(){r.hideLoading(),i('<div id="fancybox-loading"></div>').click(r.cancel).appendTo("body")},getViewport:function(){return{x:u.scrollLeft(),y:u.scrollTop(),w:u.width(),h:u.height()}},unbindEvents:function(){r.wrap&&r.wrap.unbind(".fb"),f.unbind(".fb"),u.unbind(".fb")},bindEvents:function(){var t=r.current,n=t.keys;t&&(u.bind("resize.fb, orientationchange.fb",r.update),n&&f.bind("keydown.fb",function(t){var u;t.ctrlKey||t.altKey||t.shiftKey||t.metaKey||!(i.inArray(t.target.tagName.toLowerCase(),["input","textarea","select","button"])<0)||(u=t.keyCode,i.inArray(u,n.close)>-1?(r.close(),t.preventDefault()):i.inArray(u,n.next)>-1?(r.next(),t.preventDefault()):i.inArray(u,n.prev)>-1&&(r.prev(),t.preventDefault()))}),i.fn.mousewheel&&t.mouseWheel&&r.group.length>1&&r.wrap.bind("mousewheel.fb",function(n,t){var u=i(n.target).get(0);(u.clientHeight===0||u.scrollHeight===u.clientHeight)&&(n.preventDefault(),r[t>0?"prev":"next"]())}))},trigger:function(n){var u,t=r[i.inArray(n,["onCancel","beforeLoad","afterLoad"])>-1?"coming":"current"];if(t){if(i.isFunction(t[n])&&(u=t[n].apply(t,Array.prototype.slice.call(arguments,1))),u===!1)return!1;t.helpers&&i.each(t.helpers,function(u,f){f&&typeof r.helpers[u]!="undefined"&&i.isFunction(r.helpers[u][n])&&r.helpers[u][n](f,t)}),i.event.trigger(n+".fb")}},isImage:function(n){return n&&n.match(/\.(jpg|gif|png|bmp|jpeg)(.*)?$/i)},isSWF:function(n){return n&&n.match(/\.(swf)(.*)?$/i)},_start:function(n){var t={},f=r.group[n]||null,s,e,u,o;if(typeof f=="object"&&(f.nodeType||f instanceof i)&&(s=!0,i.metadata&&(t=i(f).metadata())),t=i.extend(!0,{},r.opts,{index:n,element:f},i.isPlainObject(f)?f:t),i.each(["href","title","content","type"],function(n,u){t[u]=r.opts[u]||s&&i(f).attr(u)||t[u]||null}),typeof t.margin=="number"&&(t.margin=[t.margin,t.margin,t.margin,t.margin]),t.modal&&i.extend(!0,t,{closeBtn:!1,closeClick:!1,nextClick:!1,arrows:!1,mouseWheel:!1,keys:null,helpers:{overlay:{css:{cursor:"auto"},closeClick:!1}}}),r.coming=t,!1===r.trigger("beforeLoad")){r.coming=null;return}u=t.type,e=t.href,u||(s&&(o=i(f).data("fancybox-type"),!o&&f.className&&(o=f.className.match(/fancybox\.(\w+)/),u=o?o[1]:null)),!u&&e&&(r.isImage(e)?u="image":r.isSWF(e)?u="swf":e.match(/^#/)&&(u="inline")),u||(u=s?"inline":"html"),t.type=u),u==="inline"||u==="html"?(t.content=t.content||(u==="inline"&&e?i(e):f),t.content.length||(u=null)):(t.href=e||f,t.href||(u=null)),t.group=r.group,u==="image"?r._loadImage():u==="ajax"?r._loadAjax():u?r._afterLoad():r._error("type")},_error:function(n){i.extend(r.coming,{type:"html",autoSize:!0,minHeight:"0",hasError:n,content:r.coming.tpl.error}),r._afterLoad()},_loadImage:function(){r.imgPreload=new Image,r.imgPreload.onload=function(){this.onload=this.onerror=null,r.coming.width=this.width,r.coming.height=this.height,r._afterLoad()},r.imgPreload.onerror=function(){this.onload=this.onerror=null,r._error("image")},r.imgPreload.src=r.coming.href,r.imgPreload.complete||r.showLoading()},_loadAjax:function(){r.showLoading(),r.ajaxLoad=i.ajax(i.extend({},r.coming.ajax,{url:r.coming.href,error:function(n,t){t!=="abort"?r._error("ajax",n):r.hideLoading()},success:function(n,t){t==="success"&&(r.coming.content=n,r._afterLoad())}}))},_preload:function(){var n=r.group,u=r.current.index,t=function(n){n&&r.isImage(n)&&((new Image).src=n)};n.length>1&&(t(i(n[u+1]||n[0]).attr("href")),t(i(n[u-1]||n[n.length-1]).attr("href")))},_afterLoad:function(){if(r.hideLoading(),!r.coming||!1===r.trigger("afterLoad",r.current)){r.coming=!1;return}r.isOpened?(i(".fancybox-item").remove(),r.wrap.stop(!0).removeClass("fancybox-opened"),r.inner.css("overflow","hidden"),r.transitions[r.current.prevMethod]()):(i(".fancybox-wrap").stop().trigger("onReset").remove(),r.trigger("afterClose")),r.unbindEvents(),r.isOpen=!1,r.current=r.coming,r.coming=!1,r.wrap=i(r.current.tpl.wrap).addClass("fancybox-tmp "+r.current.wrapCSS).appendTo("body"),r.outer=i(".fancybox-outer",r.wrap).css("padding",r.current.padding+"px"),r.inner=i(".fancybox-inner",r.wrap),r._setContent(),r.trigger("beforeShow"),r._setDimension(),r.wrap.hide().removeClass("fancybox-tmp"),r.bindEvents(),r._preload(),r.transitions[r.isOpened?r.current.nextMethod:r.current.openMethod]()},_setContent:function(){var t,u,n=r.current,f=n.type;switch(f){case"inline":case"ajax":case"html":t=n.content,f==="inline"&&t instanceof i&&(t=t.show().detach(),t.parent().hasClass("fancybox-inner")&&t.parents(".fancybox-wrap").trigger("onReset").remove(),i(r.wrap).bind("onReset",function(){t.appendTo("body").hide()})),n.autoSize&&(u=i('<div class="fancybox-tmp"></div>').appendTo(i("body")).append(t),n.width=u.outerWidth(),n.height=u.outerHeight(!0),t=u.contents().detach(),u.remove());break;case"image":t=n.tpl.image.replace("{href}",n.href),n.aspectRatio=!0;break;case"swf":t=n.tpl.swf.replace(/\{width\}/g,n.width).replace(/\{height\}/g,n.height).replace(/\{href\}/g,n.href);break;case"iframe":t=n.tpl.iframe.replace("{href}",n.href).replace("{scrolling}",n.scrolling).replace("{rnd}",+new Date)}i.inArray(f,["image","swf","iframe"])>-1&&(n.autoSize=!1,n.scrolling=!1),r.inner.append(t)},_setDimension:function(){var v=r.wrap,b=r.outer,y=r.inner,u=r.current,c=r.getViewport(),p=u.margin,f=u.padding*2,n=u.width+f,t=u.height+f,a=u.width/u.height,h=u.maxWidth,e=u.maxHeight,o=u.minWidth,s=u.minHeight,l,w;if(c.w-=p[1]+p[3],c.h-=p[0]+p[2],n.toString().indexOf("%")>-1&&(n=c.w*parseFloat(n)/100),t.toString().indexOf("%")>-1&&(t=c.h*parseFloat(t)/100),u.fitToView&&(h=Math.min(c.w,h),e=Math.min(c.h,e)),o=Math.min(n,o),s=Math.min(n,s),h=Math.max(o,h),e=Math.max(s,e),u.aspectRatio?(n>h&&(n=h,t=(n-f)/a+f),t>e&&(t=e,n=(t-f)*a+f),n<o&&(n=o,t=(n-f)/a+f),t<s&&(t=s,n=(t-f)*a+f)):(n=Math.max(o,Math.min(n,h)),t=Math.max(s,Math.min(t,e))),n=Math.round(n),t=Math.round(t),i(v.add(b).add(y)).width("auto").height("auto"),y.width(n-f).height(t-f),v.width(n),l=v.height(),n>h||l>e)while((n>h||l>e)&&n>o&&l>s)t=t-10,u.aspectRatio?(n=Math.round((t-f)*a+f),n<o&&(n=o,t=(n-f)/a+f)):n=n-10,y.width(n-f).height(t-f),v.width(n),l=v.height();u.dim={width:n,height:l},u.canGrow=u.autoSize&&t>s&&t<e,u.canShrink=!1,u.canExpand=!1,n-f<u.width||t-f<u.height?u.canExpand=!0:(n>c.w||l>c.h)&&n>o&&t>s&&(u.canShrink=!0),w=l-f,r.innerSpace=w-y.height(),r.outerSpace=w-b.height()},_getPosition:function(n){var f=r.current,u=r.getViewport(),t=f.margin,e=r.wrap.width()+t[1]+t[3],o=r.wrap.height()+t[0]+t[2],i={position:"absolute",top:t[0]+u.y,left:t[3]+u.x};return f.fixed&&(!n||n[0]===!1)&&o<=u.h&&e<=u.w&&(i={position:"fixed",top:t[0],left:t[3]}),i.top=Math.ceil(Math.max(i.top,i.top+(u.h-o)*f.topRatio))+"px",i.left=Math.ceil(Math.max(i.left,i.left+(u.w-e)*.5))+"px",i},_afterZoomIn:function(){var n=r.current;r.isOpen=r.isOpened=!0,r.wrap.addClass("fancybox-opened").css("overflow","visible"),r.update(),r.inner.css("overflow",n.scrolling==="auto"?"auto":n.scrolling==="yes"?"scroll":"hidden"),(n.closeClick||n.nextClick)&&r.inner.css("cursor","pointer").bind("click.fb",n.nextClick?r.next:r.close),n.closeBtn&&i(n.tpl.closeBtn).appendTo(r.wrap).bind("click.fb",r.close),n.arrows&&r.group.length>1&&((n.loop||n.index>0)&&i(n.tpl.prev).appendTo(r.wrap).bind("click.fb",r.prev),(n.loop||n.index<r.group.length-1)&&i(n.tpl.next).appendTo(r.wrap).bind("click.fb",r.next)),r.trigger("afterShow"),r.opts.autoPlay&&!r.player.isActive&&(r.opts.autoPlay=!1,r.play())},_afterZoomOut:function(){r.trigger("afterClose"),r.wrap.trigger("onReset").remove(),i.extend(r,{group:{},opts:{},current:null,isOpened:!1,isOpen:!1,wrap:null,outer:null,inner:null})}}),r.transitions={getOrigPosition:function(){var f=r.current.element,n={},e=50,o=50,t,u;return f&&f.nodeName&&i(f).is(":visible")?(t=i(f).find("img:first"),t.length?(n=t.offset(),e=t.outerWidth(),o=t.outerHeight()):n=i(f).offset()):(u=r.getViewport(),n.top=u.y+(u.h-o)*.5,n.left=u.x+(u.w-e)*.5),n={top:Math.ceil(n.top)+"px",left:Math.ceil(n.left)+"px",width:Math.ceil(e)+"px",height:Math.ceil(o)+"px"}},step:function(n,t){var i,f,u;(t.prop==="width"||t.prop==="height")&&(f=u=Math.ceil(n-r.current.padding*2),t.prop==="height"&&(i=(n-t.start)/(t.end-t.start),t.start>t.end&&(i=1-i),f-=r.innerSpace*i,u-=r.outerSpace*i),r.inner[t.prop](f),r.outer[t.prop](u))},zoomIn:function(){var u=r.wrap,n=r.current,f,t,e=n.dim;n.openEffect==="elastic"?(t=i.extend({},e,r._getPosition(!0)),delete t.position,f=this.getOrigPosition(),n.openOpacity&&(f.opacity=0,t.opacity=1),u.css(f).show().animate(t,{duration:n.openSpeed,easing:n.openEasing,step:this.step,complete:r._afterZoomIn})):(u.css(i.extend({},e,r._getPosition())),n.openEffect==="fade"?u.fadeIn(n.openSpeed,r._afterZoomIn):(u.show(),r._afterZoomIn()))},zoomOut:function(){var t=r.wrap,n=r.current,i;n.closeEffect==="elastic"?(t.css("position")==="fixed"&&t.css(r._getPosition(!0)),i=this.getOrigPosition(),n.closeOpacity&&(i.opacity=0),t.animate(i,{duration:n.closeSpeed,easing:n.closeEasing,step:this.step,complete:r._afterZoomOut})):t.fadeOut(n.closeEffect==="fade"?n.closeSpeed:0,r._afterZoomOut)},changeIn:function(){var t=r.wrap,i=r.current,n;i.nextEffect==="elastic"?(n=r._getPosition(!0),n.opacity=0,n.top=parseInt(n.top,10)-200+"px",t.css(n).show().animate({opacity:1,top:"+=200px"},{duration:i.nextSpeed,complete:r._afterZoomIn})):(t.css(r._getPosition()),i.nextEffect==="fade"?t.hide().fadeIn(i.nextSpeed,r._afterZoomIn):(t.show(),r._afterZoomIn()))},changeOut:function(){var t=r.wrap,n=r.current,u=function(){i(this).trigger("onReset").remove()};t.removeClass("fancybox-opened"),n.prevEffect==="elastic"?t.animate({opacity:0,top:"+=200px"},{duration:n.prevSpeed,complete:u}):t.fadeOut(n.prevEffect==="fade"?n.prevSpeed:0,u)}},r.helpers.overlay={overlay:null,update:function(){var r,n,e;this.overlay.width(0).height(0),i.browser.msie?(n=Math.max(t.documentElement.scrollWidth,t.body.scrollWidth),e=Math.max(t.documentElement.offsetWidth,t.body.offsetWidth),r=n<e?u.width():n):r=f.width(),this.overlay.width(r).height(f.height())},beforeShow:function(n){this.overlay||(this.overlay=i('<div id="fancybox-overlay"></div>').css(n.css||{background:"black"}).appendTo("body"),this.update(),n.closeClick&&this.overlay.bind("click.fb",r.close),u.bind("resize.fb",i.proxy(this.update,this)),this.overlay.fadeTo(n.speedIn||"fast",n.opacity||1))},onUpdate:function(){this.update()},afterClose:function(n){this.overlay&&this.overlay.fadeOut(n.speedOut||"fast",function(){i(this).remove()}),this.overlay=null}},r.helpers.title={beforeShow:function(n){var t,u=r.current.title;u&&(t=i('<div class="fancybox-title fancybox-title-'+n.type+'-wrap">'+u+"</div>").appendTo("body"),n.type==="float"&&(t.width(t.width()),t.wrapInner('<span class="child"></span>'),r.current.margin[2]+=Math.abs(parseInt(t.css("margin-bottom"),10))),t.appendTo(n.type==="over"?r.inner:n.type==="outside"?r.wrap:r.outer))}},i.fn.fancybox=function(n){function e(n){var s=[],e,f,o=this.rel;n.ctrlKey||n.altKey||n.shiftKey||n.metaKey||(n.preventDefault(),f=i(this).data("fancybox-group"),typeof f!="undefined"?e=f?"data-fancybox-group":!1:o&&o!==""&&o!=="nofollow"&&(f=o,e="rel"),e&&(s=t.length?i(t).filter("["+e+'="'+f+'"]'):i("["+e+'="'+f+'"]')),s.length?(u.index=s.index(this),r.open(s.get(),u)):r.open(this,u))}var u=n||{},t=this.selector||"";return t?f.undelegate(t,"click.fb-start").delegate(t,"click.fb-start",e):i(this).unbind("click.fb-start").bind("click.fb-start",e),this}})(window,document,jQuery),function(n){var t=n.fancybox;t.helpers.buttons={tpl:'<div id="fancybox-buttons"><ul><li><a class="btnPrev" title="Previous" href="javascript:;"></a></li><li><a class="btnPlay" title="Start slideshow" href="javascript:;"></a></li><li><a class="btnNext" title="Next" href="javascript:;"></a></li><li><a class="btnToggle" title="Toggle size" href="javascript:;"></a></li><li><a class="btnClose" title="Close" href="javascript:jQuery.fancybox.close();"></a></li></ul></div>',list:null,buttons:{},update:function(){var n=this.buttons.toggle.removeClass("btnDisabled btnToggleOn");t.current.canShrink?n.addClass("btnToggleOn"):t.current.canExpand||n.addClass("btnDisabled")},beforeLoad:function(n){if(t.group.length<2){t.coming.helpers.buttons=!1,t.coming.closeBtn=!0;return}t.coming.margin[n.position==="bottom"?2:0]+=30},onPlayStart:function(){this.list&&this.buttons.play.attr("title","Pause slideshow").addClass("btnPlayOn")},onPlayEnd:function(){this.list&&this.buttons.play.attr("title","Start slideshow").removeClass("btnPlayOn")},afterShow:function(i){var r;this.list||(this.list=n(i.tpl||this.tpl).addClass(i.position||"top").appendTo("body"),this.buttons={prev:this.list.find(".btnPrev").click(t.prev),next:this.list.find(".btnNext").click(t.next),play:this.list.find(".btnPlay").click(t.play),toggle:this.list.find(".btnToggle").click(t.toggle)}),r=this.buttons,t.current.index>0||t.current.loop?r.prev.removeClass("btnDisabled"):r.prev.addClass("btnDisabled"),t.current.loop||t.current.index<t.group.length-1?(r.next.removeClass("btnDisabled"),r.play.removeClass("btnDisabled")):(r.next.addClass("btnDisabled"),r.play.addClass("btnDisabled")),this.update()},onUpdate:function(){this.update()},beforeClose:function(){this.list&&this.list.remove(),this.list=null,this.buttons={}}}}(jQuery),function(n){var t=n.fancybox;t.helpers.thumbs={wrap:null,list:null,width:0,source:function(t){var i=n(t).find("img");return i.length?i.attr("src"):t.href},init:function(i){for(var o=this,r=i.width||50,u=i.height||50,s=i.source||this.source,e="",f=0;f<t.group.length;f++)e+='<li><a style="width:'+r+"px;height:"+u+'px;" href="javascript:jQuery.fancybox.jumpto('+f+');"></a></li>';this.wrap=n('<div id="fancybox-thumbs"></div>').addClass(i.position||"bottom").appendTo("body"),this.list=n("<ul>"+e+"</ul>").appendTo(this.wrap),n.each(t.group,function(t){n("<img />").load(function(){var f=this.width,i=this.height,s,e,h;o.list&&f&&i&&(s=f/r,e=i/u,h=o.list.children().eq(t).find("a"),s>=1&&e>=1&&(s>e?(f=Math.floor(f/e),i=u):(f=r,i=Math.floor(i/s))),n(this).css({width:f,height:i,top:Math.floor(u/2-i/2),left:Math.floor(r/2-f/2)}),h.width(r).height(u),n(this).hide().appendTo(h).fadeIn(300))}).attr("src",s(this))}),this.width=this.list.children().eq(0).outerWidth(),this.list.width(this.width*(t.group.length+1)).css("left",Math.floor(n(window).width()*.5-(t.current.index*this.width+this.width*.5)))},update:function(){this.list&&this.list.stop(!0).animate({left:Math.floor(n(window).width()*.5-(t.current.index*this.width+this.width*.5))},150)},beforeLoad:function(n){if(t.group.length<2){t.coming.helpers.thumbs=!1;return}t.coming.margin[n.position==="top"?0:2]=n.height+30},afterShow:function(n){this.list?this.update(n):this.init(n),this.list.children().removeClass("active").eq(t.current.index).addClass("active")},onUpdate:function(){this.update()},beforeClose:function(){this.wrap&&this.wrap.remove(),this.wrap=null,this.list=null,this.width=0}}}(jQuery),jQuery(function(n){var t={thumbListId:"thumbs",imgViewerId:"viewer",activeClass:"active",activeTitle:"",zoomId:"zoom"},i=n("#"+t.thumbListId).find("a"),u=i.eq(0),e=function(n){i.removeClass(t.activeClass).removeAttr("title"),n.addClass(t.activeClass).attr("title",t.activeTitle)},f,r;e(u),n("#zoom").before(n(document.createElement("a")).attr("id","linkZoom").append(n(document.createElement("div")).attr("id",t.imgViewerId).append(n(document.createElement("img")).attr({alt:"",src:u.attr("href")})))),n("a#linkZoom").click(function(t){t.preventDefault(),n(".thumbsCadre a.active").click()}),n("#zoom").click(function(t){t.preventDefault(),n(".thumbsCadre a.active").click()}),f=n("#"+t.imgViewerId),r=f.children("img"),i.click(function(n){n.preventDefault()}),i.mouseover(function(t){t.preventDefault();var u=n(this),i=u.attr("href");r.attr("src")!=i&&(e(u),r.attr("src",i))})}),$(document).ready(function(){$("#textFormContact").replaceWith('<div id="textFormContact" class="colorClientAN"><div style="color:#9A0000;font-size:15px;font-weight: bold;">Attention aux Arnaques !</div><div style="margin-top:5px;">Chers utilisateurs,</div><div style="margin-top:5px;font-size:12px;">Nous vous conseillons de <strong>ne jamais répondre</strong> à des annonces proposant <strong>des prêts d’argent.</strong></div><div style="margin-top:5px;">Méfiez-vous aussi des propositions trop alléchantes et des prix trop bas. Ne payez jamais à l&#145;avance un vendeur que vous ne connaissez pas et ne versez pas d&#145;acompte.</div><div style="margin-top:5px;"><strong>En cas de doute,</strong> n’hésitez pas à contacter notre service modération: sarah.lallemand@editus.lu.</div></div>')})