(function(A){A.fn.extend({autocomplete:function(B,C){var D=typeof B=="string";C=A.extend({},A.Autocompleter.defaults,{url:D?B:null,data:D?null:B,delay:D?A.Autocompleter.defaults.delay:10,max:C&&!C.scroll?10:150},C);C.highlight=C.highlight||function(E){return E};C.formatMatch=C.formatMatch||C.formatItem;return this.each(function(){new A.Autocompleter(this,C)})},result:function(B){return this.bind("result",B)},search:function(B){return this.trigger("search",[B])},flushCache:function(){return this.trigger("flushCache")},setOptions:function(B){return this.trigger("setOptions",[B])},unautocomplete:function(){return this.trigger("unautocomplete")}});A.Autocompleter=function(L,G){var C={UP:38,DOWN:40,DEL:46,TAB:9,RETURN:13,ESC:27,COMMA:188,PAGEUP:33,PAGEDOWN:34,BACKSPACE:8};var B=A(L).attr("autocomplete","off").addClass(G.inputClass);var J;var P="";var M=A.Autocompleter.Cache(G);var E=0;var U;var X={mouseDownOnSelect:false};var R=A.Autocompleter.Select(G,L,D,X);var W;A.browser.opera&&A(L.form).bind("submit.autocomplete",function(){if(W){W=false;return false}});B.bind((A.browser.opera?"keypress":"keydown")+".autocomplete",function(Y){U=Y.keyCode;switch(Y.keyCode){case C.UP:Y.preventDefault();if(R.visible()){R.prev()}else{T(0,true)}break;case C.DOWN:Y.preventDefault();if(R.visible()){R.next()}else{T(0,true)}break;case C.PAGEUP:Y.preventDefault();if(R.visible()){R.pageUp()}else{T(0,true)}break;case C.PAGEDOWN:Y.preventDefault();if(R.visible()){R.pageDown()}else{T(0,true)}break;case G.multiple&&A.trim(G.multipleSeparator)==","&&C.COMMA:case C.TAB:case C.RETURN:if(D()){Y.preventDefault();W=true;return false}break;case C.ESC:R.hide();break;default:clearTimeout(J);J=setTimeout(T,G.delay);break}}).focus(function(){E++}).blur(function(){E=0;if(!X.mouseDownOnSelect){S()}}).click(function(){if(E++>1&&!R.visible()){T(0,true)}}).bind("search",function(){var Y=(arguments.length>1)?arguments[1]:null;function Z(d,c){var a;if(c&&c.length){for(var b=0;b<c.length;b++){if(c[b].result.toLowerCase()==d.toLowerCase()){a=c[b];break}}}if(typeof Y=="function"){Y(a)}else{B.trigger("result",a&&[a.data,a.value])}}A.each(H(B.val()),function(a,b){F(b,Z,Z)})}).bind("flushCache",function(){M.flush()}).bind("setOptions",function(){A.extend(G,arguments[1]);if("data" in arguments[1]){M.populate()}}).bind("unautocomplete",function(){R.unbind();B.unbind();A(L.form).unbind(".autocomplete")});function D(){var Z=R.selected();if(!Z){return false}var Y=Z.result;P=Y;if(G.multiple){var a=H(B.val());if(a.length>1){Y=a.slice(0,a.length-1).join(G.multipleSeparator)+G.multipleSeparator+Y}Y+=G.multipleSeparator}B.val(Y);V();B.trigger("result",[Z.data,Z.value]);return true}function T(a,Z){if(U==C.DEL){R.hide();return }var Y=B.val();if(!Z&&Y==P){return }P=Y;Y=I(Y);if(Y.length>=G.minChars){B.addClass(G.loadingClass);if(!G.matchCase){Y=Y.toLowerCase()}F(Y,K,V)}else{N();R.hide()}}function H(Z){if(!Z){return[""]}var a=Z.split(G.multipleSeparator);var Y=[];A.each(a,function(b,c){if(A.trim(c)){Y[b]=A.trim(c)}});return Y}function I(Y){if(!G.multiple){return Y}var Z=H(Y);return Z[Z.length-1]}function Q(Y,Z){if(G.autoFill&&(I(B.val()).toLowerCase()==Y.toLowerCase())&&U!=C.BACKSPACE){B.val(B.val()+Z.substring(I(P).length));A.Autocompleter.Selection(L,P.length,P.length+Z.length)}}function S(){clearTimeout(J);J=setTimeout(V,200)}function V(){var Y=R.visible();R.hide();clearTimeout(J);N();if(G.mustMatch){B.search(function(Z){if(!Z){if(G.multiple){var a=H(B.val()).slice(0,-1);B.val(a.join(G.multipleSeparator)+(a.length?G.multipleSeparator:""))}else{B.val("")}}})}if(Y){A.Autocompleter.Selection(L,L.value.length,L.value.length)}}function K(Z,Y){if(Y&&Y.length&&E){N();R.display(Y,Z);Q(Z,Y[0].value);R.show()}else{V()}}function F(Z,b,Y){if(!G.matchCase){Z=Z.toLowerCase()}var a=M.load(Z);if(a&&a.length){b(Z,a)}else{if((typeof G.url=="string")&&(G.url.length>0)){var c={timestamp:+new Date()};A.each(G.extraParams,function(d,e){c[d]=typeof e=="function"?e():e});A.ajax({mode:"abort",port:"autocomplete"+L.name,dataType:G.dataType,url:G.url,data:A.extend({q:I(Z),limit:G.max},c),success:function(e){var d=G.parse&&G.parse(e)||O(e);M.add(Z,d);b(Z,d)}})}else{R.emptyList();Y(Z)}}}function O(b){var Y=[];var a=b.split("\n");for(var Z=0;Z<a.length;Z++){var c=A.trim(a[Z]);if(c){c=c.split("|");Y[Y.length]={data:c,value:c[0],result:G.formatResult&&G.formatResult(c,c[0])||c[0]}}}return Y}function N(){B.removeClass(G.loadingClass)}};A.Autocompleter.defaults={inputClass:"ac_input",resultsClass:"ac_results",loadingClass:"ac_loading",minChars:1,delay:400,matchCase:false,matchSubset:true,matchContains:false,cacheLength:10,max:100,mustMatch:false,extraParams:{},selectFirst:true,formatItem:function(B){return B[0]},formatMatch:null,autoFill:false,width:0,multiple:false,multipleSeparator:", ",highlight:function(C,B){return C.replace(new RegExp("(?![^&;]+;)(?!<[^<>]*)("+B.replace(/([\^\$\(\)\[\]\{\}\*\.\+\?\|\\])/gi,"\\$1")+")(?![^<>]*>)(?![^&;]+;)","gi"),"<strong>$1</strong>")},scroll:true,scrollHeight:180};A.Autocompleter.Cache=function(C){var F={};var D=0;function H(K,J){if(!C.matchCase){K=K.toLowerCase()}var I=K.indexOf(J);if(I==-1){return false}return I==0||C.matchContains}function G(J,I){if(D>C.cacheLength){B()}if(!F[J]){D++}F[J]=I}function E(){if(!C.data){return false}var J={},I=0;if(!C.url){C.cacheLength=1}J[""]=[];for(var L=0,K=C.data.length;L<K;L++){var O=C.data[L];O=(typeof O=="string")?[O]:O;var N=C.formatMatch(O,L+1,C.data.length);if(N===false){continue}var M=N.charAt(0).toLowerCase();if(!J[M]){J[M]=[]}var P={value:N,data:O,result:C.formatResult&&C.formatResult(O)||N};J[M].push(P);if(I++<C.max){J[""].push(P)}}A.each(J,function(Q,R){C.cacheLength++;G(Q,R)})}setTimeout(E,25);function B(){F={};D=0}return{flush:B,add:G,populate:E,load:function(L){if(!C.cacheLength||!D){return null}if(!C.url&&C.matchContains){var K=[];for(var I in F){if(I.length>0){var M=F[I];A.each(M,function(O,N){if(H(N.value,L)){K.push(N)}})}}return K}else{if(F[L]){return F[L]}else{if(C.matchSubset){for(var J=L.length-1;J>=C.minChars;J--){var M=F[L.substr(0,J)];if(M){var K=[];A.each(M,function(O,N){if(H(N.value,L)){K[K.length]=N}});return K}}}}}return null}}};A.Autocompleter.Select=function(E,J,L,P){var I={ACTIVE:"ac_over"};var K,F=-1,R,M="",S=true,C,O;function N(){if(!S){return }C=A("<div/>").hide().addClass(E.resultsClass).css("position","absolute").appendTo(document.body);O=A("<ul/>").appendTo(C).mouseover(function(T){if(Q(T).nodeName&&Q(T).nodeName.toUpperCase()=="LI"){F=A("li",O).removeClass(I.ACTIVE).index(Q(T));A(Q(T)).addClass(I.ACTIVE)}}).click(function(T){A(Q(T)).addClass(I.ACTIVE);L();J.focus();return false}).mousedown(function(){P.mouseDownOnSelect=true}).mouseup(function(){P.mouseDownOnSelect=false});if(E.width>0){C.css("width",E.width)}S=false}function Q(U){var T=U.target;while(T&&T.tagName!="LI"){T=T.parentNode}if(!T){return[]}return T}function H(T){K.slice(F,F+1).removeClass(I.ACTIVE);G(T);var V=K.slice(F,F+1).addClass(I.ACTIVE);if(E.scroll){var U=0;K.slice(0,F).each(function(){U+=this.offsetHeight});if((U+V[0].offsetHeight-O.scrollTop())>O[0].clientHeight){O.scrollTop(U+V[0].offsetHeight-O.innerHeight())}else{if(U<O.scrollTop()){O.scrollTop(U)}}}}function G(T){F+=T;if(F<0){F=K.size()-1}else{if(F>=K.size()){F=0}}}function B(T){return E.max&&E.max<T?E.max:T}function D(){O.empty();var U=B(R.length);for(var V=0;V<U;V++){if(!R[V]){continue}var W=E.formatItem(R[V].data,V+1,U,R[V].value,M);if(W===false){continue}var T=A("<li/>").html(E.highlight(W,M)).addClass(V%2==0?"ac_even":"ac_odd").appendTo(O)[0];A.data(T,"ac_data",R[V])}K=O.find("li");if(E.selectFirst){K.slice(0,1).addClass(I.ACTIVE);F=0}if(A.fn.bgiframe){O.bgiframe()}}return{display:function(U,T){N();R=U;M=T;D()},next:function(){H(1)},prev:function(){H(-1)},pageUp:function(){if(F!=0&&F-8<0){H(-F)}else{H(-8)}},pageDown:function(){if(F!=K.size()-1&&F+8>K.size()){H(K.size()-1-F)}else{H(8)}},hide:function(){C&&C.hide();K&&K.removeClass(I.ACTIVE);F=-1},visible:function(){return C&&C.is(":visible")},current:function(){return this.visible()&&(K.filter("."+I.ACTIVE)[0]||E.selectFirst&&K[0])},show:function(){var V=A(J).offset();C.css({width:typeof E.width=="string"||E.width>0?E.width:A(J).width(),top:V.top+J.offsetHeight,left:V.left}).show();if(E.scroll){O.scrollTop(0);O.css({maxHeight:E.scrollHeight,overflow:"auto"});if(A.browser.msie&&typeof document.body.style.maxHeight==="undefined"){var T=0;K.each(function(){T+=this.offsetHeight});var U=T>E.scrollHeight;O.css("height",U?E.scrollHeight:T);if(!U){K.width(O.width()-parseInt(K.css("padding-left"))-parseInt(K.css("padding-right")))}}}},selected:function(){var T=K&&K.filter("."+I.ACTIVE).removeClass(I.ACTIVE);return T&&T.length&&A.data(T[0],"ac_data")},emptyList:function(){O&&O.empty()},unbind:function(){C&&C.remove()}}};A.Autocompleter.Selection=function(D,E,C){if(D.createTextRange){var B=D.createTextRange();B.collapse(true);B.moveStart("character",E);B.moveEnd("character",C);B.select()}else{if(D.setSelectionRange){D.setSelectionRange(E,C)}else{if(D.selectionStart){D.selectionStart=E;D.selectionEnd=C}}}D.focus()}})(jQuery);(function(A){A.fn.lightBox=function(P){P=jQuery.extend({overlayBgColor:"#000",overlayOpacity:0.8,fixedNavigation:false,imageLoading:"/fr/images/appli/lightbox/lightbox-ico-loading.gif",imageBtnPrev:"/fr/images/appli/lightbox/lightbox-btn-prev.gif",imageBtnNext:"/fr/images/appli/lightbox/lightbox-btn-next.gif",imageBtnClose:"/fr/images/appli/lightbox/lightbox-btn-close.gif",imageBlank:"/fr/images/appli/lightbox/lightbox-blank.gif",containerBorderSize:10,containerResizeSpeed:400,txtImage:"Image",txtOf:"of",keyToClose:"c",keyToPrev:"p",keyToNext:"n",imageArray:[],activeImage:0},P);var I=this;function R(){O(this,I);return false}function O(V,U){A("embed, object, select").css({visibility:"hidden"});C();P.imageArray.length=0;P.activeImage=0;if(U.length==1){P.imageArray.push(new Array(V.getAttribute("href"),V.getAttribute("title")))}else{for(var T=0;T<U.length;T++){P.imageArray.push(new Array(U[T].getAttribute("href"),U[T].getAttribute("title")))}}while(P.imageArray[P.activeImage][0]!=V.getAttribute("href")){P.activeImage++}L()}function C(){A("body").append('<div id="jquery-overlay"></div><div id="jquery-lightbox"><div id="lightbox-container-image-box"><div id="lightbox-container-image"><img id="lightbox-image"><div style="" id="lightbox-nav"><a href="#" id="lightbox-nav-btnPrev"></a><a href="#" id="lightbox-nav-btnNext"></a></div><div id="lightbox-loading"><a href="#" id="lightbox-loading-link"><img src="'+P.imageLoading+'"></a></div></div><div id="lightbox-container-image-data-box"><div id="lightbox-container-image-data"><div id="lightbox-image-details"><span id="lightbox-image-details-caption"></span><span id="lightbox-image-details-currentNumber"></span></div><div id="lightbox-secNav"><a href="#" id="lightbox-secNav-btnClose"><img src="'+P.imageBtnClose+'"></a></div></div></div></div></div>');var T=F();A("#jquery-overlay").css({backgroundColor:P.overlayBgColor,opacity:P.overlayOpacity,width:T[0],height:T[1]}).fadeIn();var U=H();A("#jquery-lightbox").css({top:U[1]+(T[3]/10),left:U[0]}).show();A("#jquery-overlay,#jquery-lightbox").click(function(){B()});A("#lightbox-loading-link,#lightbox-secNav-btnClose").click(function(){B();return false});A(window).resize(function(){var V=F();A("#jquery-overlay").css({width:V[0],height:V[1]});var W=H();A("#jquery-lightbox").css({top:W[1]+(V[3]/10),left:W[0]})})}function L(){A("#lightbox-loading").show();if(P.fixedNavigation){A("#lightbox-image,#lightbox-container-image-data-box,#lightbox-image-details-currentNumber").hide()}else{A("#lightbox-image,#lightbox-nav,#lightbox-nav-btnPrev,#lightbox-nav-btnNext,#lightbox-container-image-data-box,#lightbox-image-details-currentNumber").hide()}var T=new Image();T.onload=function(){A("#lightbox-image").attr("src",P.imageArray[P.activeImage][0]);J(T.width,T.height);T.onload=function(){}};T.src=P.imageArray[P.activeImage][0]}function J(W,Z){var T=A("#lightbox-container-image-box").width();var Y=A("#lightbox-container-image-box").height();var X=(W+(P.containerBorderSize*2));var V=(Z+(P.containerBorderSize*2));var U=T-X;var a=Y-V;A("#lightbox-container-image-box").animate({width:X,height:V},P.containerResizeSpeed,function(){G()});if((U==0)&&(a==0)){if(A.browser.msie){N(250)}else{N(100)}}A("#lightbox-container-image-data-box").css({width:W});A("#lightbox-nav-btnPrev,#lightbox-nav-btnNext").css({height:Z+(P.containerBorderSize*2)})}function G(){A("#lightbox-loading").hide();A("#lightbox-image").fadeIn(function(){K();S()});Q()}function K(){A("#lightbox-container-image-data-box").slideDown("fast");A("#lightbox-image-details-caption").hide();if(P.imageArray[P.activeImage][1]){A("#lightbox-image-details-caption").html(P.imageArray[P.activeImage][1]).show()}if(P.imageArray.length>1){A("#lightbox-image-details-currentNumber").html(P.txtImage+" "+(P.activeImage+1)+" "+P.txtOf+" "+P.imageArray.length).show()}}function S(){A("#lightbox-nav").show();A("#lightbox-nav-btnPrev,#lightbox-nav-btnNext").css({background:"transparent url("+P.imageBlank+") no-repeat"});if(P.activeImage!=0){if(P.fixedNavigation){A("#lightbox-nav-btnPrev").css({background:"url("+P.imageBtnPrev+") left 15% no-repeat"}).unbind().bind("click",function(){P.activeImage=P.activeImage-1;L();return false})}else{A("#lightbox-nav-btnPrev").unbind().hover(function(){A(this).css({background:"url("+P.imageBtnPrev+") left 15% no-repeat"})},function(){A(this).css({background:"transparent url("+P.imageBlank+") no-repeat"})}).show().bind("click",function(){P.activeImage=P.activeImage-1;L();return false})}}if(P.activeImage!=(P.imageArray.length-1)){if(P.fixedNavigation){A("#lightbox-nav-btnNext").css({background:"url("+P.imageBtnNext+") right 15% no-repeat"}).unbind().bind("click",function(){P.activeImage=P.activeImage+1;L();return false})}else{A("#lightbox-nav-btnNext").unbind().hover(function(){A(this).css({background:"url("+P.imageBtnNext+") right 15% no-repeat"})},function(){A(this).css({background:"transparent url("+P.imageBlank+") no-repeat"})}).show().bind("click",function(){P.activeImage=P.activeImage+1;L();return false})}}M()}function M(){A(document).keydown(function(T){D(T)})}function E(){A(document).unbind()}function D(T){if(T==null){keycode=event.keyCode;escapeKey=27}else{keycode=T.keyCode;escapeKey=T.DOM_VK_ESCAPE}key=String.fromCharCode(keycode).toLowerCase();if((key==P.keyToClose)||(key=="x")||(keycode==escapeKey)){B()}if((key==P.keyToPrev)||(keycode==37)){if(P.activeImage!=0){P.activeImage=P.activeImage-1;L();E()}}if((key==P.keyToNext)||(keycode==39)){if(P.activeImage!=(P.imageArray.length-1)){P.activeImage=P.activeImage+1;L();E()}}}function Q(){if((P.imageArray.length-1)>P.activeImage){objNext=new Image();objNext.src=P.imageArray[P.activeImage+1][0]}if(P.activeImage>0){objPrev=new Image();objPrev.src=P.imageArray[P.activeImage-1][0]}}function B(){A("#jquery-lightbox").remove();A("#jquery-overlay").fadeOut(function(){A("#jquery-overlay").remove()});A("embed, object, select").css({visibility:"visible"})}function F(){var V,T;if(window.innerHeight&&window.scrollMaxY){V=window.innerWidth+window.scrollMaxX;T=window.innerHeight+window.scrollMaxY}else{if(document.body.scrollHeight>document.body.offsetHeight){V=document.body.scrollWidth;T=document.body.scrollHeight}else{V=document.body.offsetWidth;T=document.body.offsetHeight}}var U,W;if(self.innerHeight){if(document.documentElement.clientWidth){U=document.documentElement.clientWidth}else{U=self.innerWidth}W=self.innerHeight}else{if(document.documentElement&&document.documentElement.clientHeight){U=document.documentElement.clientWidth;W=document.documentElement.clientHeight}else{if(document.body){U=document.body.clientWidth;W=document.body.clientHeight}}}if(T<W){pageHeight=W}else{pageHeight=T}if(V<U){pageWidth=V}else{pageWidth=U}arrayPageSize=new Array(pageWidth,pageHeight,U,W);return arrayPageSize}function H(){var U,T;if(self.pageYOffset){T=self.pageYOffset;U=self.pageXOffset}else{if(document.documentElement&&document.documentElement.scrollTop){T=document.documentElement.scrollTop;U=document.documentElement.scrollLeft}else{if(document.body){T=document.body.scrollTop;U=document.body.scrollLeft}}}arrayPageScroll=new Array(U,T);return arrayPageScroll}function N(V){var U=new Date();T=null;do{var T=new Date()}while(T-U<V)}return this.unbind("click").click(R)}})(jQuery);(function(A){A.fn.innerfade=function(B){return this.each(function(){A.innerfade(this,B)})};A.innerfade=function(B,C){var E={animationtype:"fade",speed:"normal",type:"sequence",timeout:2000,containerheight:"auto",runningclass:"innerfade",children:null};if(C){A.extend(E,C)}if(E.children===null){var G=A(B).children()}else{var G=A(B).children(E.children)}if(G.length>1){A(B).css("position","relative").css("height",E.containerheight).addClass(E.runningclass);for(var D=0;D<G.length;D++){A(G[D]).css("z-index",String(G.length-D)).css("position","absolute").hide()}if(E.type=="sequence"){setTimeout(function(){A.innerfade.next(G,E,1,0)},E.timeout);A(G[0]).show()}else{if(E.type=="random"){var F=Math.floor(Math.random()*(G.length));setTimeout(function(){do{H=Math.floor(Math.random()*(G.length))}while(F==H);A.innerfade.next(G,E,H,F)},E.timeout);A(G[F]).show()}else{if(E.type=="random_start"){E.type="sequence";var H=Math.floor(Math.random()*(G.length));setTimeout(function(){A.innerfade.next(G,E,(H+1)%G.length,H)},E.timeout);A(G[H]).show()}else{alert("Innerfade-Type must either be 'sequence', 'random' or 'random_start'")}}}}};A.innerfade.next=function(D,B,E,C){if(B.animationtype=="slide"){A(D[C]).slideUp(B.speed);A(D[E]).slideDown(B.speed)}else{if(B.animationtype=="fade"){A(D[C]).fadeOut(B.speed);A(D[E]).fadeIn(B.speed,function(){removeFilter(A(this)[0])})}else{alert("Innerfade-animationtype must either be 'slide' or 'fade'")}}if(B.type=="sequence"){if((E+1)<D.length){E=E+1;C=E-1}else{E=0;C=D.length-1}}else{if(B.type=="random"){C=E;while(E==C){E=Math.floor(Math.random()*D.length)}}else{alert("Innerfade-Type must either be 'sequence', 'random' or 'random_start'")}}setTimeout((function(){A.innerfade.next(D,B,E,C)}),B.timeout)}})(jQuery);function removeFilter(A){if(A.style.removeAttribute){A.style.removeAttribute("filter")}}(function(D){var A=D.fn.height,C=D.fn.width;D.fn.extend({height:function(){if(this[0]==window){return self.innerHeight||D.boxModel&&document.documentElement.clientHeight||document.body.clientHeight}if(this[0]==document){return Math.max(document.body.scrollHeight,document.body.offsetHeight)}return A.apply(this,arguments)},width:function(){if(this[0]==window){return self.innerWidth||D.boxModel&&document.documentElement.clientWidth||document.body.clientWidth}if(this[0]==document){return Math.max(document.body.scrollWidth,document.body.offsetWidth)}return C.apply(this,arguments)},innerHeight:function(){return this[0]==window||this[0]==document?this.height():this.is(":visible")?this[0].offsetHeight-B(this,"borderTopWidth")-B(this,"borderBottomWidth"):this.height()+B(this,"paddingTop")+B(this,"paddingBottom")},innerWidth:function(){return this[0]==window||this[0]==document?this.width():this.is(":visible")?this[0].offsetWidth-B(this,"borderLeftWidth")-B(this,"borderRightWidth"):this.width()+B(this,"paddingLeft")+B(this,"paddingRight")},outerHeight:function(){return this[0]==window||this[0]==document?this.height():this.is(":visible")?this[0].offsetHeight:this.height()+B(this,"borderTopWidth")+B(this,"borderBottomWidth")+B(this,"paddingTop")+B(this,"paddingBottom")},outerWidth:function(){return this[0]==window||this[0]==document?this.width():this.is(":visible")?this[0].offsetWidth:this.width()+B(this,"borderLeftWidth")+B(this,"borderRightWidth")+B(this,"paddingLeft")+B(this,"paddingRight")},scrollLeft:function(F){if(F!=undefined){return this.each(function(){if(this==window||this==document){window.scrollTo(F,D(window).scrollTop())}else{this.scrollLeft=F}})}if(this[0]==window||this[0]==document){return self.pageXOffset||D.boxModel&&document.documentElement.scrollLeft||document.body.scrollLeft}return this[0].scrollLeft},scrollTop:function(F){if(F!=undefined){return this.each(function(){if(this==window||this==document){window.scrollTo(D(window).scrollLeft(),F)}else{this.scrollTop=F}})}if(this[0]==window||this[0]==document){return self.pageYOffset||D.boxModel&&document.documentElement.scrollTop||document.body.scrollTop}return this[0].scrollTop},position:function(O,J){var G=this[0],M=G.parentNode,I=G.offsetParent,O=D.extend({margin:false,border:false,padding:false,scroll:false},O||{}),L=G.offsetLeft,K=G.offsetTop,H=G.scrollLeft,N=G.scrollTop;if(D.browser.mozilla||D.browser.msie){L+=B(G,"borderLeftWidth");K+=B(G,"borderTopWidth")}if(D.browser.mozilla){do{if(D.browser.mozilla&&M!=G&&D.css(M,"overflow")!="visible"){L+=B(M,"borderLeftWidth");K+=B(M,"borderTopWidth")}if(M==I){break}}while((M=M.parentNode)&&(M.tagName.toLowerCase()!="body"||M.tagName.toLowerCase()!="html"))}var F=E(G,O,L,K,H,N);if(J){D.extend(J,F);return this}else{return F}},offset:function(G,L){var K=0,J=0,T=0,O=0,U=this[0],I=this[0],H,F,S=D.css(U,"position"),R=D.browser.mozilla,M=D.browser.msie,W=D.browser.safari,Q=D.browser.opera,N=false,P=false,G=D.extend({margin:true,border:false,padding:false,scroll:true,lite:false},G||{});if(G.lite){return this.offsetLite(G,L)}if(U.tagName.toLowerCase()=="body"){K=U.offsetLeft;J=U.offsetTop;if(R){K+=B(U,"marginLeft")+(B(U,"borderLeftWidth")*2);J+=B(U,"marginTop")+(B(U,"borderTopWidth")*2)}else{if(Q){K+=B(U,"marginLeft");J+=B(U,"marginTop")}else{if(M&&jQuery.boxModel){K+=B(U,"borderLeftWidth");J+=B(U,"borderTopWidth")}}}}else{do{F=D.css(I,"position");K+=I.offsetLeft;J+=I.offsetTop;if(R||M){K+=B(I,"borderLeftWidth");J+=B(I,"borderTopWidth");if(R&&F=="absolute"){N=true}if(M&&F=="relative"){P=true}}H=I.offsetParent;if(G.scroll||R){do{if(G.scroll){T+=I.scrollLeft;O+=I.scrollTop}if(R&&I!=U&&D.css(I,"overflow")!="visible"){K+=B(I,"borderLeftWidth");J+=B(I,"borderTopWidth")}I=I.parentNode}while(I!=H)}I=H;if(I.tagName.toLowerCase()=="body"||I.tagName.toLowerCase()=="html"){if((W||(M&&D.boxModel))&&S!="absolute"&&S!="fixed"){K+=B(I,"marginLeft");J+=B(I,"marginTop")}if((R&&!N&&S!="fixed")||(M&&S=="static"&&!P)){K+=B(I,"borderLeftWidth");J+=B(I,"borderTopWidth")}break}}while(I)}var V=E(U,G,K,J,T,O);if(L){D.extend(L,V);return this}else{return V}},offsetLite:function(N,I){var K=0,J=0,G=0,M=0,L=this[0],H,N=D.extend({margin:true,border:false,padding:false,scroll:true},N||{});do{K+=L.offsetLeft;J+=L.offsetTop;H=L.offsetParent;if(N.scroll){do{G+=L.scrollLeft;M+=L.scrollTop;L=L.parentNode}while(L!=H)}L=H}while(L&&L.tagName.toLowerCase()!="body"&&L.tagName.toLowerCase()!="html");var F=E(this[0],N,K,J,G,M);if(I){D.extend(I,F);return this}else{return F}}});var B=function(F,G){return parseInt(D.css(F.jquery?F[0]:F,G))||0};var E=function(J,I,G,K,F,H){if(!I.margin){G-=B(J,"marginLeft");K-=B(J,"marginTop")}if(I.border&&(D.browser.safari||D.browser.opera)){G+=B(J,"borderLeftWidth");K+=B(J,"borderTopWidth")}else{if(!I.border&&!(D.browser.safari||D.browser.opera)){G-=B(J,"borderLeftWidth");K-=B(J,"borderTopWidth")}}if(I.padding){G+=B(J,"paddingLeft");K+=B(J,"paddingTop")}if(I.scroll){F-=J.scrollLeft;H-=J.scrollTop}return I.scroll?{top:K-H,left:G-F,scrollTop:H,scrollLeft:F}:{top:K,left:G}}})(jQuery);(function(A){var B=function(D,F,C,E){this.x1=D;this.x2=C;this.y1=F;this.y2=E};B.prototype.contains=function(C){return(this.x1<=C.x1&&C.x2<=this.x2)&&(this.y1<=C.y1&&C.y2<=this.y2)};B.prototype.transform=function(C,D){return new B(this.x1+C,this.y1+D,this.x2+C,this.y2+D)};A.fn.positionBy=function(I){var K=new Date();if(this.length==0){return this}var I=A.extend({target:null,targetPos:null,elementPos:null,x:null,y:null,positions:null,addClass:false,force:false,container:window,hideAfterPosition:false},I);if(I.x!=null){var F=I.x;var G=I.y;var E=0;var J=0}else{var C=A(A(I.target)[0]);var E=C.outerWidth();var J=C.outerHeight();var H=C.offset();var F=H.left;var G=H.top}var D=F+E;var L=G+J;return this.each(function(){var Z=A(this);if(!Z.is(":visible")){Z.css({left:-3000,top:-3000}).show()}var a=Z.outerWidth();var Y=Z.outerHeight();var R=[];var Q=[];R[0]=new B(D,G,D+a,G+Y);Q[0]=[1,7,4];R[1]=new B(D,L-Y,D+a,L);Q[1]=[0,6,4];R[2]=new B(D,L,D+a,L+Y);Q[2]=[1,3,10];R[3]=new B(D-a,L,D,L+Y);Q[3]=[1,6,10];R[4]=new B(F,L,F+a,L+Y);Q[4]=[1,6,9];R[5]=new B(F-a,L,F,L+Y);Q[5]=[6,4,9];R[6]=new B(F-a,L-Y,F,L);Q[6]=[7,1,4];R[7]=new B(F-a,G,F,G+Y);Q[7]=[6,0,4];R[8]=new B(F-a,G-Y,F,G);Q[8]=[7,9,4];R[9]=new B(F,G-Y,F+a,G);Q[9]=[0,7,4];R[10]=new B(D-a,G-Y,D,G);Q[10]=[0,7,3];R[11]=new B(D,G-Y,D+a,G);Q[11]=[0,10,3];R[12]=new B(D-a,G,D,G+Y);Q[12]=[13,7,10];R[13]=new B(D-a,L-Y,D,L);Q[13]=[12,6,3];R[14]=new B(F,L-Y,F+a,L);Q[14]=[15,1,4];R[15]=new B(F,G,F+a,G+Y);Q[15]=[14,0,9];if(I.positions!==null){var W=I.positions[0]}else{if(I.targetPos!=null&&I.elementPos!=null){var W=[];W[0]=[];W[0][0]=15;W[0][1]=7;W[0][2]=8;W[0][3]=9;W[1]=[];W[1][0]=0;W[1][1]=12;W[1][2]=10;W[1][3]=11;W[2]=[];W[2][0]=2;W[2][1]=3;W[2][2]=13;W[2][3]=1;W[3]=[];W[3][0]=4;W[3][1]=5;W[3][2]=6;W[3][3]=14;var W=W[I.targetPos][I.elementPos]}}var P=R[W];var O=W;if(!I.force){$window=A(window);var X=$window.scrollLeft();var V=$window.scrollTop();var M=new B(X,V,X+$window.width(),V+$window.height());var U;if(I.positions){U=I.positions}else{U=[W]}var T=[];while(U.length>0){var N=U.shift();if(T[N]){continue}T[N]=true;if(!M.contains(R[N])){if(I.positions===null){U=jQuery.merge(U,Q[N])}}else{P=R[N];break}}}Z.parents().each(function(){var c=A(this);if(c.css("position")!="static"){var b=c.offset();P=P.transform(-b.left,-b.top);return false}});var S={left:P.x1,top:P.y1};if(I.hideAfterPosition){S.display="none"}Z.css(S);if(I.addClass){Z.removeClass("positionBy0 positionBy1 positionBy2 positionBy3 positionBy4 positionBy5 positionBy6 positionBy7 positionBy8 positionBy9 positionBy10 positionBy11 positionBy12 positionBy13 positionBy14 positionBy15").addClass("positionBy"+N)}})}})(jQuery);(function(A){A.fn.bgIframe=A.fn.bgiframe=function(C){if(A.browser.msie&&/6.0/.test(navigator.userAgent)){C=A.extend({top:"auto",left:"auto",width:"auto",height:"auto",opacity:true,src:"javascript:false;"},C||{});var D=function(E){return E&&E.constructor==Number?E+"px":E},B='<iframe class="bgiframe"frameborder="0"tabindex="-1"src="'+C.src+'"style="display:block;position:absolute;z-index:-1;'+(C.opacity!==false?"filter:Alpha(Opacity='0');":"")+"top:"+(C.top=="auto"?"expression(((parseInt(this.parentNode.currentStyle.borderTopWidth)||0)*-1)+'px')":D(C.top))+";left:"+(C.left=="auto"?"expression(((parseInt(this.parentNode.currentStyle.borderLeftWidth)||0)*-1)+'px')":D(C.left))+";width:"+(C.width=="auto"?"expression(this.parentNode.offsetWidth+'px')":D(C.width))+";height:"+(C.height=="auto"?"expression(this.parentNode.offsetHeight+'px')":D(C.height))+';"/>';return this.each(function(){if(A("> iframe.bgiframe",this).length==0){this.insertBefore(document.createElement(B),this.firstChild)}})}return this}})(jQuery);jQuery(function(A){A("ul.jd_menu").jdMenu()});(function(D){function C(E){var F=D.data(D(E).parents().andSelf().filter("ul.jd_menu")[0],"jdMenuSettings");D("> li",E).bind("mouseenter.jdmenu mouseleave.jdmenu",function(G){D(this).toggleClass("jdm_hover");var H=D("> ul",this);if(H.length==1){if(H.html()!=""){clearTimeout(this.$jdTimer);var J=(G.type=="mouseenter");var I=(J?B:A);this.$jdTimer=setTimeout(function(){I(H[0],F.onAnimate,F.isVertical)},J?F.showDelay:F.hideDelay)}}}).bind("click.jdmenu",function(H){var I=D("> ul",this);if(I.length==1&&(F.disableLinks==true||D(this).hasClass("accessible"))){return true}if(H.target==this){var J=D("> a",H.target).not(".accessible");if(J.length>0){var G=J[0];if(!G.onclick){window.open(G.href,G.target||"_self")}else{D(G).trigger("click")}}}if(F.disableLinks||(!F.disableLinks&&!D(this).parent().hasClass("jd_menu"))){D(this).parent().jdMenuHide();H.stopPropagation()}}).find("> a").bind("focus.jdmenu blur.jdmenu",function(G){var H=D(this).parents("li:eq(0)");if(G.type=="focus"){H.addClass("jdm_hover")}else{H.removeClass("jdm_hover")}}).filter(".accessible").bind("click.jdmenu",function(G){G.preventDefault()})}function B(H,G,F){var H=D(H);if(H.is(":visible")){return }H.bgiframe();var E=H.parent();H.trigger("jdMenuShow").positionBy({target:E[0],targetPos:(F===true||!E.parent().hasClass("jd_menu")?1:3),elementPos:0,hideAfterPosition:true});if(!H.hasClass("jdm_events")){H.addClass("jdm_events");C(H)}E.addClass("jdm_active").siblings("li").find("> ul:eq(0):visible").each(function(){A(this)});if(G===undefined){H.show()}else{G.apply(H[0],[true])}}function A(F,E){var F=D(F);D(".bgiframe",F).remove();F.filter(":not(.jd_menu)").find("> li > ul:eq(0):visible").each(function(){A(this)}).end();if(E===undefined){F.hide()}else{E.apply(F[0],[false])}F.trigger("jdMenuHide").parents("li:eq(0)").removeClass("jdm_active jdm_hover").end().find("> li").removeClass("jdm_active jdm_hover")}D.fn.jdMenu=function(E){var E=D.extend({showDelay:40,hideDelay:150,disableLinks:true},E);if(!D.isFunction(E.onAnimate)){E.onAnimate=undefined}return this.filter("ul.jd_menu").each(function(){D.data(this,"jdMenuSettings",D.extend({isVertical:D(this).hasClass("jd_menu_vertical")},E));C(this)})};D.fn.jdMenuUnbind=function(){D("ul.jdm_events",this).unbind(".jdmenu").find("> a").unbind(".jdmenu")};D.fn.jdMenuHide=function(){return this.filter("ul").each(function(){A(this)})};D(window).bind("click.jdmenu",function(){D("ul.jd_menu ul:visible").jdMenuHide()})})(jQuery);if(typeof deconcept=="undefined"){var deconcept=new Object()}if(typeof deconcept.util=="undefined"){deconcept.util=new Object()}if(typeof deconcept.SWFObjectUtil=="undefined"){deconcept.SWFObjectUtil=new Object()}deconcept.SWFObject=function(L,B,M,D,H,J,F,E,C,K,I){if(!document.createElement||!document.getElementById){return }this.DETECT_KEY=I?I:"detectflash";this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY);this.params=new Object();this.variables=new Object();this.attributes=new Array();if(L){this.setAttribute("swf",L)}if(B){this.setAttribute("id",B)}if(M){this.setAttribute("width",M)}if(D){this.setAttribute("height",D)}if(H){this.setAttribute("version",new deconcept.PlayerVersion(H.toString().split(".")))}this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion(this.getAttribute("version"),F);if(J){this.addParam("bgcolor",J)}var A=E?E:"high";this.addParam("quality",A);this.setAttribute("useExpressInstall",F);this.setAttribute("doExpressInstall",false);var G=(C)?C:window.location;this.setAttribute("xiRedirectUrl",G);this.setAttribute("redirectUrl","");if(K){this.setAttribute("redirectUrl",K)}};deconcept.SWFObject.prototype={setAttribute:function(A,B){this.attributes[A]=B},getAttribute:function(A){return this.attributes[A]},addParam:function(B,A){this.params[B]=A},getParams:function(){return this.params},addVariable:function(B,A){this.variables[B]=A},getVariable:function(A){return this.variables[A]},getVariables:function(){return this.variables},getVariablePairs:function(){var C=new Array();var B;var A=this.getVariables();for(B in A){C.push(B+"="+A[B])}return C},getSWFHTML:function(){var B="";if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","PlugIn")}B='<embed type="application/x-shockwave-flash" src="'+this.getAttribute("swf")+'" width="'+this.getAttribute("width")+'" height="'+this.getAttribute("height")+'"';B+=' id="'+this.getAttribute("id")+'" name="'+this.getAttribute("id")+'" ';var F=this.getParams();for(var E in F){B+=[E]+'="'+F[E]+'" '}var D=this.getVariablePairs().join("&");if(D.length>0){B+='flashvars="'+D+'"'}B+="/>"}else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX")}B='<object id="'+this.getAttribute("id")+'" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+this.getAttribute("width")+'" height="'+this.getAttribute("height")+'">';B+='<param name="movie" value="'+this.getAttribute("swf")+'" />';var C=this.getParams();for(var E in C){B+='<param name="'+E+'" value="'+C[E]+'" />'}var A=this.getVariablePairs().join("&");if(A.length>0){B+='<param name="flashvars" value="'+A+'" />'}B+="</object>"}return B},write:function(B){if(this.getAttribute("useExpressInstall")){var A=new deconcept.PlayerVersion([6,0,65]);if(this.installedVer.versionIsValid(A)&&!this.installedVer.versionIsValid(this.getAttribute("version"))){this.setAttribute("doExpressInstall",true);this.addVariable("MMredirectURL",escape(this.getAttribute("xiRedirectUrl")));document.title=document.title.slice(0,47)+" - Flash Player Installation";this.addVariable("MMdoctitle",document.title)}}if(this.skipDetect||this.getAttribute("doExpressInstall")||this.installedVer.versionIsValid(this.getAttribute("version"))){var C=(typeof B=="string")?document.getElementById(B):B;C.innerHTML=this.getSWFHTML();return true}else{if(this.getAttribute("redirectUrl")!=""){document.location.replace(this.getAttribute("redirectUrl"))}}return false}};deconcept.SWFObjectUtil.getPlayerVersion=function(G,F){var D=new deconcept.PlayerVersion([0,0,0]);if(navigator.plugins&&navigator.mimeTypes.length){var A=navigator.plugins["Shockwave Flash"];if(A&&A.description){D=new deconcept.PlayerVersion(A.description.replace(/([a-z]|[A-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."))}}else{try{var C=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");for(var B=3;C!=null;B++){C=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+B);D=new deconcept.PlayerVersion([B,0,0])}}catch(E){}if(G&&D.major>G.major){return D}if(!G||((G.minor!=0||G.rev!=0)&&D.major==G.major)||D.major!=6||F){try{D=new deconcept.PlayerVersion(C.GetVariable("$version").split(" ")[1].split(","))}catch(E){}}}return D};deconcept.PlayerVersion=function(A){this.major=parseInt(A[0])!=null?parseInt(A[0]):0;this.minor=parseInt(A[1])||0;this.rev=parseInt(A[2])||0};deconcept.PlayerVersion.prototype.versionIsValid=function(A){if(this.major<A.major){return false}if(this.major>A.major){return true}if(this.minor<A.minor){return false}if(this.minor>A.minor){return true}if(this.rev<A.rev){return false}return true};deconcept.util={getRequestParameter:function(C){var D=document.location.search||document.location.hash;if(D){var B=D.indexOf(C+"=");var A=(D.indexOf("&",B)>-1)?D.indexOf("&",B):D.length;if(D.length>1&&B>-1){return D.substring(D.indexOf("=",B)+1,A)}}return""}};if(Array.prototype.push==null){Array.prototype.push=function(A){this[this.length]=A;return this.length}}var getQueryParamValue=deconcept.util.getRequestParameter;var FlashObject=deconcept.SWFObject;var SWFObject=deconcept.SWFObject;(function(A){A.transition=function(D,E){this.settings=E;this.current=0;this.slideshowRunning=false;this.thumbstripOffset=0;var C=this;if(D.is("ul")||D.is("ol")){this.$thumbnails=D;this.count=A("li",D).size()}else{if(this.settings.images&&this.settings.images.length>0){this.$thumbnails=A("<ul></ul>");A.each(this.settings.images,function(H,I){var J=I.title?' title="'+I.title+'"':"";C.$thumbnails.append('<li><a href="'+I.image+'"'+J+'><img src="'+I.thumb+'" alt="" /></a></li>')});D.append(this.$thumbnails);this.count=this.settings.images.length}else{return }}A("a",this.$thumbnails).each(function(H){A(this).attr("rel",H).click(function(I){I.preventDefault();I.stopPropagation();C.stopSlideshow();C.displayImage(parseInt(A(this).attr("rel")),true);return false})});if(typeof (this.settings.thumbSize)=="number"){this.thumbWidth=this.settings.thumbSize;this.thumbHeight=this.settings.thumbSize}else{this.thumbWidth=this.settings.thumbSize.width;this.thumbHeight=this.settings.thumbSize.height}var G=A(B).width(this.settings.width);this.$thumbnails.before(G);this.$thumbstrip=A(".transition-thumbstrip",G).prepend(this.$thumbnails).width(this.settings.width).height(this.thumbHeight);this.$image=A("img:eq(0)",G);this.$caption=A(".transition-caption",G);this.$previousButton=A(".transition-prev",G).hide();this.$slideshowButton=A(".transition-slideshow",G).hide();this.$nextButton=A(".transition-next",G).hide();this.$backwardButton=A(".transition-backward",G).hide();this.$forwardButton=A(".transition-forward",G).hide();A(".transition-view",G).width(this.settings.width).height(this.settings.height);var F=A(".transition-title",G).text(this.$thumbnails.attr("title")||this.settings.title||"jQuery Transition");if(A.browser.msie){A(".transition-view a",G).css({opacity:".67"});C.$backwardButton.css({opacity:".67"});C.$forwardButton.css({opacity:".67"})}this.$previousButton.click(function(){C.stopSlideshow();C.displayPreviousImage()});this.$nextButton.click(function(){C.stopSlideshow();C.displayNextImage()});this.$slideshowButton.click(function(){if(C.slideshowRunning){C.stopSlideshow()}else{C.displayNextImage(true)}});this.$backwardButton.click(function(){C.stopSlideshow();C.moveThumbstrip(-C.settings.thumbs)});this.$forwardButton.click(function(){C.stopSlideshow();C.moveThumbstrip(C.settings.thumbs)});G.hover(function(){if(C.settings.displayCaption){C.$caption.animate({marginBottom:0},"fast")}if(C.settings.displayTitle){F.animate({marginTop:0},"fast")}A(".transition-view a",G).fadeIn("fast");C.$backwardButton.fadeIn("fast");C.$forwardButton.fadeIn("fast")},function(){if(C.settings.displayCaption){C.$caption.animate({marginBottom:"-3em"},"slow")}if(C.settings.displayTitle){F.animate({marginTop:"-3em"},"slow")}A(".transition-view a",G).fadeOut("slow");C.$backwardButton.fadeOut("slow");C.$forwardButton.fadeOut("slow")});if(this.settings.autoRun){this.current=-1;this.displayNextImage(true)}else{this.displayImage(0,false)}};A.transition.prototype.loadImage=function(C,D,E){A(C).load(function(){A(this).css({marginLeft:-A(this).width()/2,marginTop:-A(this).height()/2}).show();if(E){E()}}).hide().attr("src",D)};A.transition.prototype.displayImage=function(F,G){var E=A("a:eq("+F+")",this.$thumbnails);if(G){var D=this;var C=A('<img src=""/>').css({zIndex:0});this.$image.css({zIndex:1}).after(C);this.loadImage(C,E.attr("href"),function(){D.$image.animate({opacity:0},D.settings.transitionTime,function(){D.$image.remove();D.$image=C})})}else{this.loadImage(this.$image,E.attr("href"))}var I=(F+1)+"/"+this.count;if(E.attr("title")){I+=" - "+E.attr("title")}this.$caption.text(I);this.current=F;var H=F-Math.floor(this.settings.thumbs/2);this.displayThumbstrip(H);this.maintainControls()};A.transition.prototype.displayPreviousImage=function(){var C=this.current-1;if(C<=0){C=0}this.displayImage(C,true)};A.transition.prototype.displayNextImage=function(C){var E=this.current+1;if(E>this.count-1){if(C){E=0}else{E=this.count-1}}if(C){var D=this;this.slideshowRunning=setTimeout(function(){D.displayNextImage(true)},D.settings.displayTime)}this.displayImage(E,true)};A.transition.prototype.stopSlideshow=function(){if(this.slideshowRunning){clearTimeout(this.slideshowRunning);this.slideshowRunning=false}this.$slideshowButton.removeClass("transition-stop")};A.transition.prototype.displayThumbstrip=function(F){if(F<0){F=0}else{if(F>this.count-this.settings.thumbs){F=this.count-this.settings.thumbs}}var E=1+this.settings.width/this.settings.thumbs;A(".transition-current",this.$thumbnails).remove();var C=A('<span class="transition-current"></span>');var D=A("<span></span>");C.width(this.thumbWidth-4).height(this.thumbHeight-4);D.width(this.thumbWidth-8).height(this.thumbHeight-8);A("li:eq("+this.current+")",this.$thumbnails).append(C.append(D));if(F!=this.thumbstripOffset){this.$thumbnails.animate({marginLeft:(-E*F)+"px"},"fast");this.thumbstripOffset=F;this.maintainControls()}};A.transition.prototype.moveThumbstrip=function(C){var D=this.thumbstripOffset+C;this.displayThumbstrip(D)};A.transition.prototype.maintainControls=function(){if(this.current==0){this.$previousButton.addClass("transition-disabled")}else{this.$previousButton.removeClass("transition-disabled")}if(this.current==this.count-1){this.$nextButton.addClass("transition-disabled")}else{this.$nextButton.removeClass("transition-disabled")}if(this.slideshowRunning){this.$slideshowButton.addClass("transition-stop")}else{this.$slideshowButton.removeClass("transition-stop")}if(this.thumbstripOffset==0){this.$backwardButton.addClass("transition-disabled")}else{this.$backwardButton.removeClass("transition-disabled")}if(this.thumbstripOffset>=this.count-this.settings.thumbs){this.$forwardButton.addClass("transition-disabled")}else{this.$forwardButton.removeClass("transition-disabled")}};A.fn.transition=function(C){var D=A.extend({},A.fn.transition.defaults,C);return this.each(function(){var E=A(this);var F=A.meta?A.extend({},D,E.data()):D;new A.transition(E,F)})};A.fn.transition.defaults={title:"",images:null,autoRun:false,displayTime:5000,transitionTime:1000,width:400,height:300,thumbs:5,thumbSize:76,displayTitle:true,displayCaption:true};var B='<div class="transition"><div class="transition-view"><img src="" /><p class="transition-title"></p><p class="transition-caption"></p><a class="transition-prev" href="javascript:;"><span>Previous</span></a><a class="transition-slideshow" href="javascript:;"><span>Start/stop slideshow</span></a><a class="transition-next" href="javascript:;"><span>Next</span></a></div><div class="transition-thumbstrip"><a class="transition-backward" href="javascript:;"><span>Backward</span></a><a class="transition-forward" href="javascript:;"><span>Forward</span></a></div></div>'})(jQuery);var tb_pathToImage="/fr/images/loadingAnimation.gif";
/*!!!!!!!!!!!!!!!! edit below this line at your own risk !!!!!!!!!!!!!!!!!!!!!!!*/
jQuery(document).ready(function(A){tb_init("a.thickbox, area.thickbox, input.thickbox");imgLoader=new Image();imgLoader.src=tb_pathToImage});function tb_init(A){jQuery(A).click(function(E){var C=this.title||this.name||null;var B=this.href||this.alt;var D=this.rel||false;tb_show(C,B,D);this.blur();return false})}function tb_show(I,B,G){try{if(typeof document.body.style.maxHeight==="undefined"){jQuery("body","html").css({height:"100%",width:"100%"});jQuery("html").css("overflow","hidden");if(document.getElementById("TB_HideSelect")===null){jQuery("body").append("<iframe id='TB_HideSelect'></iframe><div id='TB_overlay'></div><div id='TB_window'></div>");jQuery("#TB_overlay").click(tb_remove)}}else{if(document.getElementById("TB_overlay")===null){jQuery("body").append("<div id='TB_overlay'></div><div id='TB_window'></div>");jQuery("#TB_overlay").click(tb_remove)}}if(tb_detectMacXFF()){jQuery("#TB_overlay").addClass("TB_overlayMacFFBGHack")}else{jQuery("#TB_overlay").addClass("TB_overlayBG")}if(I===null){I=""}jQuery("body").append("<div id='TB_load'><img src='"+imgLoader.src+"' /></div>");jQuery("#TB_load").show();var C;if(B.indexOf("?")!==-1){C=B.substr(0,B.indexOf("?"))}else{C=B}var E=/\.jpgjQuery|\.jpegjQuery|\.pngjQuery|\.gifjQuery|\.bmpjQuery/;var J=C.toLowerCase().match(E);if(J==".jpg"||J==".jpeg"||J==".png"||J==".gif"||J==".bmp"){TB_PrevCaption="";TB_PrevURL="";TB_PrevHTML="";TB_NextCaption="";TB_NextURL="";TB_NextHTML="";TB_imageCount="";TB_FoundURL=false;if(G){TB_TempArray=jQuery("a[@rel="+G+"]").get();for(TB_Counter=0;((TB_Counter<TB_TempArray.length)&&(TB_NextHTML===""));TB_Counter++){var F=TB_TempArray[TB_Counter].href.toLowerCase().match(E);if(!(TB_TempArray[TB_Counter].href==B)){if(TB_FoundURL){TB_NextCaption=TB_TempArray[TB_Counter].title;TB_NextURL=TB_TempArray[TB_Counter].href;TB_NextHTML="<span id='TB_next'>&nbsp;&nbsp;<a href='#'>Next &gt;</a></span>"}else{TB_PrevCaption=TB_TempArray[TB_Counter].title;TB_PrevURL=TB_TempArray[TB_Counter].href;TB_PrevHTML="<span id='TB_prev'>&nbsp;&nbsp;<a href='#'>&lt; Prev</a></span>"}}else{TB_FoundURL=true;TB_imageCount="Image "+(TB_Counter+1)+" of "+(TB_TempArray.length)}}}imgPreloader=new Image();imgPreloader.onload=function(){imgPreloader.onload=null;var N=tb_getPageSize();var L=N[0]-150;var Q=N[1]-150;var M=imgPreloader.width;var K=imgPreloader.height;if(M>L){K=K*(L/M);M=L;if(K>Q){M=M*(Q/K);K=Q}}else{if(K>Q){M=M*(Q/K);K=Q;if(M>L){K=K*(L/M);M=L}}}TB_WIDTH=M+30;TB_HEIGHT=K+60;jQuery("#TB_window").append("<a href='' id='TB_ImageOff' title='Fermer'><img id='TB_Image' src='"+B+"' width='"+M+"' height='"+K+"' alt='"+I+"'/></a><div id='TB_caption'><em>"+I+"</em><div id='TB_secondLine'>"+TB_imageCount+TB_PrevHTML+TB_NextHTML+"</div></div><div id='TB_closeWindow'><a href='#' id='TB_closeWindowButton' title='Close'>Fermer</a></div>");jQuery("#TB_closeWindowButton").click(tb_remove);if(!(TB_PrevHTML==="")){function P(){if(jQuery(document).unbind("click",P)){jQuery(document).unbind("click",P)}jQuery("#TB_window").remove();jQuery("body").append("<div id='TB_window'></div>");tb_show(TB_PrevCaption,TB_PrevURL,G);return false}jQuery("#TB_prev").click(P)}if(!(TB_NextHTML==="")){function O(){jQuery("#TB_window").remove();jQuery("body").append("<div id='TB_window'></div>");tb_show(TB_NextCaption,TB_NextURL,G);return false}jQuery("#TB_next").click(O)}document.onkeydown=function(R){if(R==null){keycode=event.keyCode}else{keycode=R.which}if(keycode==27){tb_remove()}else{if(keycode==190){if(!(TB_NextHTML=="")){document.onkeydown="";O()}}else{if(keycode==188){if(!(TB_PrevHTML=="")){document.onkeydown="";P()}}}}};tb_position();jQuery("#TB_load").remove();jQuery("#TB_ImageOff").click(tb_remove);jQuery("#TB_window").css({display:"block"})};imgPreloader.src=B}else{var A=B.replace(/^[^\?]+\??/,"");var D=tb_parseQuery(A);TB_WIDTH=(D.width*1)+30||630;TB_HEIGHT=(D.height*1)+40||440;ajaxContentW=TB_WIDTH-30;ajaxContentH=TB_HEIGHT-45;if(B.indexOf("TB_iframe")!=-1){urlNoQuery=B.split("TB_");jQuery("#TB_iframeContent").remove();if(D.modal!="true"){jQuery("#TB_window").append("<div id='TB_title'><div id='TB_ajaxWindowTitle'><em>"+I+"</em></div><div id='TB_closeAjaxWindow'><a href='#' id='TB_closeWindowButton' title='Close'>Fermer</a></div></div><iframe frameborder='0' hspace='0' src='"+urlNoQuery[0]+"' id='TB_iframeContent' name='TB_iframeContent"+Math.round(Math.random()*1000)+"' onload='tb_showIframe()' style='width:"+(ajaxContentW+29)+"px;height:"+(ajaxContentH+17)+"px;' > </iframe>")}else{jQuery("#TB_overlay").unbind();jQuery("#TB_window").append("<iframe frameborder='0' hspace='0' src='"+urlNoQuery[0]+"' id='TB_iframeContent' name='TB_iframeContent"+Math.round(Math.random()*1000)+"' onload='tb_showIframe()' style='width:"+(ajaxContentW+29)+"px;height:"+(ajaxContentH+17)+"px;'> </iframe>")}}else{if(jQuery("#TB_window").css("display")!="block"){if(D.modal!="true"){jQuery("#TB_window").append("<div id='TB_title'><div id='TB_ajaxWindowTitle'><em>"+I+"</em></div><div id='TB_closeAjaxWindow'><a href='#' id='TB_closeWindowButton'>Fermer</a></div></div><div id='TB_ajaxContent' style='width:"+ajaxContentW+"px;height:"+ajaxContentH+"px'></div>")}else{jQuery("#TB_overlay").unbind();jQuery("#TB_window").append("<div id='TB_ajaxContent' class='TB_modal' style='width:"+ajaxContentW+"px;height:"+ajaxContentH+"px;'></div>")}}else{jQuery("#TB_ajaxContent")[0].style.width=ajaxContentW+"px";jQuery("#TB_ajaxContent")[0].style.height=ajaxContentH+"px";jQuery("#TB_ajaxContent")[0].scrollTop=0;jQuery("#TB_ajaxWindowTitle").html(I)}}jQuery("#TB_closeWindowButton").click(tb_remove);if(B.indexOf("TB_inline")!=-1){jQuery("#TB_ajaxContent").append(jQuery("#"+D.inlineId).children());jQuery("#TB_window").unload(function(){jQuery("#"+D.inlineId).append(jQuery("#TB_ajaxContent").children())});tb_position();jQuery("#TB_load").remove();jQuery("#TB_window").css({display:"block"})}else{if(B.indexOf("TB_iframe")!=-1){tb_position();if(jQuery.browser.safari){jQuery("#TB_load").remove();jQuery("#TB_window").css({display:"block"})}}else{jQuery("#TB_ajaxContent").load(B+="&random="+(new Date().getTime()),function(){tb_position();jQuery("#TB_load").remove();tb_init("#TB_ajaxContent a.thickbox");jQuery("#TB_window").css({display:"block"})})}}}if(!D.modal){document.onkeyup=function(K){if(K==null){keycode=event.keyCode}else{keycode=K.which}if(keycode==27){tb_remove()}}}}catch(H){}}function tb_showIframe(){jQuery("#TB_load").remove();jQuery("#TB_window").css({display:"block"})}function tb_remove(){jQuery("#TB_imageOff").unbind("click");jQuery("#TB_closeWindowButton").unbind("click");jQuery("#TB_window").fadeOut("fast",function(){jQuery("#TB_window,#TB_overlay,#TB_HideSelect").trigger("unload").unbind().remove()});jQuery("#TB_load").remove();if(typeof document.body.style.maxHeight=="undefined"){jQuery("body","html").css({height:"auto",width:"auto"});jQuery("html").css("overflow","")}document.onkeydown="";document.onkeyup="";return false}function tb_position(){jQuery("#TB_window").css({marginLeft:"-"+parseInt((TB_WIDTH/2),10)+"px",width:TB_WIDTH+"px"});if(!(jQuery.browser.msie&&jQuery.browser.version<7)){jQuery("#TB_window").css({marginTop:"-"+parseInt((TB_HEIGHT/2),10)+"px"})}}function tb_parseQuery(D){var E={};if(!D){return E}var A=D.split(/[;&]/);for(var C=0;C<A.length;C++){var G=A[C].split("=");if(!G||G.length!=2){continue}var B=unescape(G[0]);var F=unescape(G[1]);F=F.replace(/\+/g," ");E[B]=F}return E}function tb_getPageSize(){var C=document.documentElement;var A=window.innerWidth||self.innerWidth||(C&&C.clientWidth)||document.body.clientWidth;var B=window.innerHeight||self.innerHeight||(C&&C.clientHeight)||document.body.clientHeight;arrayPageSize=[A,B];return arrayPageSize}function tb_detectMacXFF(){var A=navigator.userAgent.toLowerCase();if(A.indexOf("mac")!=-1&&A.indexOf("firefox")!=-1){return true}}function afficherDate(){var E=new Date();var D=["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"];var F=["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"];document.write(D[E.getDay()]+" "+E.getDate()+" "+F[E.getMonth()]+" "+E.getFullYear())}jQuery(function(A){if(A(".photo").length>0){A(".photo").transition({autoRun:true,displayTitle:false,width:"600px",height:"400px",thumbs:"5",thumbSize:{width:100,height:72}})}});function clickButton(D,C){var A=D?D:window.event;var B=document.getElementById(C);if(B){if(A.keyCode==13){B.click();return false}}}jQuery(document).ready(function(A){A("a.light").lightBox();A("input.noter").hover(function(){A(this).attr("src","/fr/images/css/v3base/actnoter_bleu.gif")},function(){A(this).attr("src","/fr/images/css/v3base/actnoter_gris.gif")});A("div#affiche_redaction").hide();A("div#affiche_servicepublicite").hide();A("div.catarticle div.i_bloccommentaires").hide();A("span.mod").click(function(){var C=A(this).parents("div.catarticle");var B=A(C).next(".i_bloccommentaires");A(B).slideToggle("slow")});A("a.redaction").click(function(){A("div#affiche_redaction").show();A("div#affiche_servicepublicite").hide()});A("a.servicepub").click(function(){A("div#affiche_servicepublicite").show();A("div#affiche_redaction").hide()})});jQuery(function(A){A("#article_plus div.content").hide();A("#article_plus div#bloc01 .titlig").addClass("selected");A("#article_plus div#bloc01 div.content").show();A("div.article p.legende a").slice(0,1).addClass("live");A("div.article h3 a").slice(0,1).addClass("live");A("div.i_blocinfos").slice(1,2).addClass("color");A("div.article p.legende a").click(function(){A("div.article p.legende a").removeClass("live");A("div.article h3 a").removeClass("live");A(this).addClass("live")});A("div.article h3 a").click(function(){A("div.article h3 a").removeClass("live");A("div.article p.legende a").removeClass("live");A(this).addClass("live")});A("#article_plus .titlig").toggle(function(){A(this).addClass("selected");A(this).next(".content").slideDown("fast")},function(){A(this).removeClass("selected");A(this).next(".content").slideUp("fast")})});function LoadTopArticles(){}function clean_curly(A){return A.replace("‘","'").replace("’","'").replace("“",'"').replace("”",'"')};