jQuery.easing.jswing=jQuery.easing.swing;jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(e,f,a,h,g){return jQuery.easing[jQuery.easing.def](e,f,a,h,g)},easeInQuad:function(e,f,a,h,g){return h*(f/=g)*f+a},easeOutQuad:function(e,f,a,h,g){return -h*(f/=g)*(f-2)+a},easeInOutQuad:function(e,f,a,h,g){if((f/=g/2)<1){return h/2*f*f+a}return -h/2*((--f)*(f-2)-1)+a},easeInCubic:function(e,f,a,h,g){return h*(f/=g)*f*f+a},easeOutCubic:function(e,f,a,h,g){return h*((f=f/g-1)*f*f+1)+a},easeInOutCubic:function(e,f,a,h,g){if((f/=g/2)<1){return h/2*f*f*f+a}return h/2*((f-=2)*f*f+2)+a},easeInQuart:function(e,f,a,h,g){return h*(f/=g)*f*f*f+a},easeOutQuart:function(e,f,a,h,g){return -h*((f=f/g-1)*f*f*f-1)+a},easeInOutQuart:function(e,f,a,h,g){if((f/=g/2)<1){return h/2*f*f*f*f+a}return -h/2*((f-=2)*f*f*f-2)+a},easeInQuint:function(e,f,a,h,g){return h*(f/=g)*f*f*f*f+a},easeOutQuint:function(e,f,a,h,g){return h*((f=f/g-1)*f*f*f*f+1)+a},easeInOutQuint:function(e,f,a,h,g){if((f/=g/2)<1){return h/2*f*f*f*f*f+a}return h/2*((f-=2)*f*f*f*f+2)+a},easeInSine:function(e,f,a,h,g){return -h*Math.cos(f/g*(Math.PI/2))+h+a},easeOutSine:function(e,f,a,h,g){return h*Math.sin(f/g*(Math.PI/2))+a},easeInOutSine:function(e,f,a,h,g){return -h/2*(Math.cos(Math.PI*f/g)-1)+a},easeInExpo:function(e,f,a,h,g){return(f==0)?a:h*Math.pow(2,10*(f/g-1))+a},easeOutExpo:function(e,f,a,h,g){return(f==g)?a+h:h*(-Math.pow(2,-10*f/g)+1)+a},easeInOutExpo:function(e,f,a,h,g){if(f==0){return a}if(f==g){return a+h}if((f/=g/2)<1){return h/2*Math.pow(2,10*(f-1))+a}return h/2*(-Math.pow(2,-10*--f)+2)+a},easeInCirc:function(e,f,a,h,g){return -h*(Math.sqrt(1-(f/=g)*f)-1)+a},easeOutCirc:function(e,f,a,h,g){return h*Math.sqrt(1-(f=f/g-1)*f)+a},easeInOutCirc:function(e,f,a,h,g){if((f/=g/2)<1){return -h/2*(Math.sqrt(1-f*f)-1)+a}return h/2*(Math.sqrt(1-(f-=2)*f)+1)+a},easeInElastic:function(f,h,e,l,k){var i=1.70158;var j=0;var g=l;if(h==0){return e}if((h/=k)==1){return e+l}if(!j){j=k*0.3}if(g<Math.abs(l)){g=l;var i=j/4}else{var i=j/(2*Math.PI)*Math.asin(l/g)}return -(g*Math.pow(2,10*(h-=1))*Math.sin((h*k-i)*(2*Math.PI)/j))+e},easeOutElastic:function(f,h,e,l,k){var i=1.70158;var j=0;var g=l;if(h==0){return e}if((h/=k)==1){return e+l}if(!j){j=k*0.3}if(g<Math.abs(l)){g=l;var i=j/4}else{var i=j/(2*Math.PI)*Math.asin(l/g)}return g*Math.pow(2,-10*h)*Math.sin((h*k-i)*(2*Math.PI)/j)+l+e},easeInOutElastic:function(f,h,e,l,k){var i=1.70158;var j=0;var g=l;if(h==0){return e}if((h/=k/2)==2){return e+l}if(!j){j=k*(0.3*1.5)}if(g<Math.abs(l)){g=l;var i=j/4}else{var i=j/(2*Math.PI)*Math.asin(l/g)}if(h<1){return -0.5*(g*Math.pow(2,10*(h-=1))*Math.sin((h*k-i)*(2*Math.PI)/j))+e}return g*Math.pow(2,-10*(h-=1))*Math.sin((h*k-i)*(2*Math.PI)/j)*0.5+l+e},easeInBack:function(e,f,a,i,h,g){if(g==undefined){g=1.70158}return i*(f/=h)*f*((g+1)*f-g)+a},easeOutBack:function(e,f,a,i,h,g){if(g==undefined){g=1.70158}return i*((f=f/h-1)*f*((g+1)*f+g)+1)+a},easeInOutBack:function(e,f,a,i,h,g){if(g==undefined){g=1.70158}if((f/=h/2)<1){return i/2*(f*f*(((g*=(1.525))+1)*f-g))+a}return i/2*((f-=2)*f*(((g*=(1.525))+1)*f+g)+2)+a},easeInBounce:function(e,f,a,h,g){return h-jQuery.easing.easeOutBounce(e,g-f,0,h,g)+a},easeOutBounce:function(e,f,a,h,g){if((f/=g)<(1/2.75)){return h*(7.5625*f*f)+a}else{if(f<(2/2.75)){return h*(7.5625*(f-=(1.5/2.75))*f+0.75)+a}else{if(f<(2.5/2.75)){return h*(7.5625*(f-=(2.25/2.75))*f+0.9375)+a}else{return h*(7.5625*(f-=(2.625/2.75))*f+0.984375)+a}}}},easeInOutBounce:function(e,f,a,h,g){if(f<g/2){return jQuery.easing.easeInBounce(e,f*2,0,h,g)*0.5+a}return jQuery.easing.easeOutBounce(e,f*2-g,0,h,g)*0.5+h*0.5+a}});(function(d,e,f){d.fn.jScrollPane=function(a){function c(bq,bb){var bp,a9=this,a1,bE,aI,bC,a6,a0,aF,aM,bn,bP,bw,aU,bg,aV,aT,aZ,a5,bA,a2,aK,bt,bz,bJ,bB,bk,aR,bx,br,aG,bv,bM,aW,bQ,bF=true,ba=true,bN=false,aS=false,aX=d.fn.mwheelIntent?"mwheelIntent.jsp":"mousewheel.jsp";bM=bq.css("paddingTop")+" "+bq.css("paddingRight")+" "+bq.css("paddingBottom")+" "+bq.css("paddingLeft");aW=(parseInt(bq.css("paddingLeft"))||0)+(parseInt(bq.css("paddingRight"))||0);by(bb);function by(g){var j,k,l,h,i,m;bp=g;if(a1==f){bq.css({overflow:"hidden",padding:0});bE=bq.innerWidth()+aW;aI=bq.innerHeight();bq.width(bE);a1=d('<div class="jspPane" />').wrap(d('<div class="jspContainer" />').css({width:bE+"px",height:aI+"px"}));bq.wrapInner(a1.parent());bC=bq.find(">.jspContainer");a1=bC.find(">.jspPane");a1.css("padding",bM)}else{bq.css("width","");m=bq.outerWidth()+aW!=bE||bq.outerHeight()!=aI;if(m){bE=bq.innerWidth()+aW;aI=bq.innerHeight();bC.css({width:bE+"px",height:aI+"px"})}bQ=a1.innerWidth();if(!m&&a1.outerWidth()==a6&&a1.outerHeight()==a0){if(bP||bn){a1.css("width",bQ+"px");bq.css("width",(bQ+aW)+"px")}return}a1.css("width","");bq.css("width",(bE)+"px");bC.find(">.jspVerticalBar,>.jspHorizontalBar").remove().end()}j=a1.clone().css("position","absolute");k=d('<div style="width:1px; position: relative;" />').append(j);d("body").append(k);a6=Math.max(a1.outerWidth(),j.outerWidth());k.remove();a0=a1.outerHeight();aF=a6/bE;aM=a0/aI;bn=aM>1;bP=aF>1;if(!(bP||bn)){bq.removeClass("jspScrollable");a1.css({top:0,width:bC.width()-aW});aP();bo();a8();aH();bG()}else{bq.addClass("jspScrollable");l=bp.maintainPosition&&(bg||aZ);if(l){h=bh();i=bl()}bO();s();bm();if(l){bc(h);bd(i)}be();bI();if(bp.enableKeyboardNavigation){a7()}if(bp.clickOnTrack){aN()}bs();if(bp.hijackInternalLinks){aQ()}}if(bp.autoReinitialise&&!bv){bv=setInterval(function(){by(bp)},bp.autoReinitialiseDelay)}else{if(!bp.autoReinitialise&&bv){clearInterval(bv)}}bq.trigger("jsp-initialised",[bP||bn])}function bO(){if(bn){bC.append(d('<div class="jspVerticalBar" />').append(d('<div class="jspCap jspCapTop" />'),d('<div class="jspTrack" />').append(d('<div class="jspDrag" />').append(d('<div class="jspDragTop" />'),d('<div class="jspDragBottom" />'))),d('<div class="jspCap jspCapBottom" />')));a5=bC.find(">.jspVerticalBar");bA=a5.find(">.jspTrack");bw=bA.find(">.jspDrag");if(bp.showArrows){bz=d('<a class="jspArrow jspArrowUp" />').bind("mousedown.jsp",bf(0,-1)).bind("click.jsp",bj);bJ=d('<a class="jspArrow jspArrowDown" />').bind("mousedown.jsp",bf(0,1)).bind("click.jsp",bj);if(bp.arrowScrollOnHover){bz.bind("mouseover.jsp",bf(0,-1,bz));bJ.bind("mouseover.jsp",bf(0,1,bJ))}bD(bA,bp.verticalArrowPositions,bz,bJ)}aK=aI;bC.find(">.jspVerticalBar>.jspCap:visible,>.jspVerticalBar>.jspArrow").each(function(){aK-=d(this).outerHeight()});bw.hover(function(){bw.addClass("jspHover")},function(){bw.removeClass("jspHover")}).bind("mousedown.jsp",function(g){d("html").bind("dragstart.jsp selectstart.jsp",function(){return false});bw.addClass("jspActive");var h=g.pageY-bw.position().top;d("html").bind("mousemove.jsp",function(i){a4(i.pageY-h,false)}).bind("mouseup.jsp mouseleave.jsp",bu);return false});aO()}}function aO(){bA.height(aK+"px");bg=0;a2=bp.verticalGutter+bA.outerWidth();a1.width(bE-a2-aW);if(a5.position().left==0){a1.css("margin-left",a2+"px")}}function s(){if(bP){bC.append(d('<div class="jspHorizontalBar" />').append(d('<div class="jspCap jspCapLeft" />'),d('<div class="jspTrack" />').append(d('<div class="jspDrag" />').append(d('<div class="jspDragLeft" />'),d('<div class="jspDragRight" />'))),d('<div class="jspCap jspCapRight" />')));bB=bC.find(">.jspHorizontalBar");bk=bB.find(">.jspTrack");aV=bk.find(">.jspDrag");if(bp.showArrows){br=d('<a class="jspArrow jspArrowLeft" />').bind("mousedown.jsp",bf(-1,0)).bind("click.jsp",bj);aG=d('<a class="jspArrow jspArrowRight" />').bind("mousedown.jsp",bf(1,0)).bind("click.jsp",bj);if(bp.arrowScrollOnHover){br.bind("mouseover.jsp",bf(-1,0,br));aG.bind("mouseover.jsp",bf(1,0,aG))}bD(bk,bp.horizontalArrowPositions,br,aG)}aV.hover(function(){aV.addClass("jspHover")},function(){aV.removeClass("jspHover")}).bind("mousedown.jsp",function(g){d("html").bind("dragstart.jsp selectstart.jsp",function(){return false});aV.addClass("jspActive");var h=g.pageX-aV.position().left;d("html").bind("mousemove.jsp",function(i){a3(i.pageX-h,false)}).bind("mouseup.jsp mouseleave.jsp",bu);return false});aR=bC.innerWidth();bH()}else{}}function bH(){bC.find(">.jspHorizontalBar>.jspCap:visible,>.jspHorizontalBar>.jspArrow").each(function(){aR-=d(this).outerWidth()});bk.width(aR+"px");aZ=0}function bm(){if(bP&&bn){var g=bk.outerHeight(),h=bA.outerWidth();aK-=g;d(bB).find(">.jspCap:visible,>.jspArrow").each(function(){aR+=d(this).outerWidth()});aR-=h;aI-=h;bE-=g;bk.parent().append(d('<div class="jspCorner" />').css("width",g+"px"));aO();bH()}if(bP){a1.width((bC.outerWidth()-aW)+"px")}a0=a1.outerHeight();aM=a0/aI;if(bP){bx=1/aF*aR;if(bx>bp.horizontalDragMaxWidth){bx=bp.horizontalDragMaxWidth}else{if(bx<bp.horizontalDragMinWidth){bx=bp.horizontalDragMinWidth}}aV.width(bx+"px");aT=aR-bx;bK(aZ)}if(bn){bt=1/aM*aK;if(bt>bp.verticalDragMaxHeight){bt=bp.verticalDragMaxHeight}else{if(bt<bp.verticalDragMinHeight){bt=bp.verticalDragMinHeight}}bw.height(bt+"px");aU=aK-bt;bL(bg)}}function bD(h,m,i,j){var k="before",g="after",l;if(m=="os"){m=/Mac/.test(navigator.platform)?"after":"split"}if(m==k){g=m}else{if(m==g){k=m;l=i;i=j;j=l}}h[k](i)[g](j)}function bf(h,i,g){return function(){bi(h,i,this,g);this.blur();return false}}function bi(g,i,k,l){k=d(k).addClass("jspActive");var m,j=function(){if(g!=0){a3(aZ+g*bp.arrowButtonSpeed,false)}if(i!=0){a4(bg+i*bp.arrowButtonSpeed,false)}},h=setInterval(j,bp.arrowRepeatFreq);j();m=l==f?"mouseup.jsp":"mouseout.jsp";l=l||d("html");l.bind(m,function(){k.removeClass("jspActive");clearInterval(h);l.unbind(m)})}function aN(){aH();if(bn){bA.bind("mousedown.jsp",function(g){if(g.originalTarget==f||g.originalTarget==g.currentTarget){var h=d(this),j=setInterval(function(){var l=h.offset(),k=g.pageY-l.top;if(bg+bt<k){a4(bg+bp.trackClickSpeed)}else{if(k<bg){a4(bg-bp.trackClickSpeed)}else{i()}}},bp.trackClickRepeatFreq),i=function(){j&&clearInterval(j);j=null;d(document).unbind("mouseup.jsp",i)};d(document).bind("mouseup.jsp",i);return false}})}if(bP){bk.bind("mousedown.jsp",function(g){if(g.originalTarget==f||g.originalTarget==g.currentTarget){var h=d(this),j=setInterval(function(){var l=h.offset(),k=g.pageX-l.left;if(aZ+bx<k){a3(aZ+bp.trackClickSpeed)}else{if(k<aZ){a3(aZ-bp.trackClickSpeed)}else{i()}}},bp.trackClickRepeatFreq),i=function(){j&&clearInterval(j);j=null;d(document).unbind("mouseup.jsp",i)};d(document).bind("mouseup.jsp",i);return false}})}}function aH(){bk&&bk.unbind("mousedown.jsp");bA&&bA.unbind("mousedown.jsp")}function bu(){d("html").unbind("dragstart.jsp selectstart.jsp mousemove.jsp mouseup.jsp mouseleave.jsp");bw&&bw.removeClass("jspActive");aV&&aV.removeClass("jspActive")}function a4(h,g){if(!bn){return}if(h<0){h=0}else{if(h>aU){h=aU}}if(g==f){g=bp.animateScroll}if(g){a9.animate(bw,"top",h,bL)}else{bw.css("top",h);bL(h)}}function bL(i){if(i==f){i=bw.position().top}bC.scrollTop(0);bg=i;var k=bg==0,h=bg==aU,g=i/aU,j=-g*(a0-aI);if(bF!=k||bN!=h){bF=k;bN=h;bq.trigger("jsp-arrow-change",[bF,bN,ba,aS])}aJ(k,h);a1.css("top",j);bq.trigger("jsp-scroll-y",[-j,k,h])}function a3(g,h){if(!bP){return}if(g<0){g=0}else{if(g>aT){g=aT}}if(h==f){h=bp.animateScroll}if(h){a9.animate(aV,"left",g,bK)}else{aV.css("left",g);bK(g)}}function bK(i){if(i==f){i=aV.position().left}bC.scrollTop(0);aZ=i;var k=aZ==0,g=aZ==aT,h=i/aT,j=-h*(a6-bE);if(ba!=k||aS!=g){ba=k;aS=g;bq.trigger("jsp-arrow-change",[bF,bN,ba,aS])}aL(k,g);a1.css("left",j);bq.trigger("jsp-scroll-x",[-j,k,g])}function aJ(g,h){if(bp.showArrows){bz[g?"addClass":"removeClass"]("jspDisabled");bJ[h?"addClass":"removeClass"]("jspDisabled")}}function aL(g,h){if(bp.showArrows){br[g?"addClass":"removeClass"]("jspDisabled");aG[h?"addClass":"removeClass"]("jspDisabled")}}function bd(i,h){var g=i/(a0-aI);a4(g*aU,h)}function bc(h,i){var g=h/(a6-bE);a3(g*aT,i)}function aY(l,r,j){var u,i,h,v=0,m=0,k,t,o,q,n;try{u=d(l)}catch(g){return}i=u.outerHeight();h=u.outerWidth();bC.scrollTop(0);bC.scrollLeft(0);while(!u.is(".jspPane")){v+=u.position().top;m+=u.position().left;u=u.offsetParent();if(/^body|html$/i.test(u[0].nodeName)){return}}k=bl();t=k+aI;if(v<k||r){q=v-bp.verticalGutter}else{if(v+i>t){q=v-aI+i+bp.verticalGutter}}if(q){bd(q,j)}viewportLeft=bh();o=viewportLeft+bE;if(m<viewportLeft||r){n=m-bp.horizontalGutter}else{if(m+h>o){n=m-bE+h+bp.horizontalGutter}}if(n){bc(n,j)}}function bh(){return -a1.position().left}function bl(){return -a1.position().top}function bI(){bC.unbind(aX).bind(aX,function(l,k,g,i){var h=aZ,j=bg;a3(aZ+g*bp.mouseWheelSpeed,false);a4(bg-i*bp.mouseWheelSpeed,false);return h==aZ&&j==bg})}function aP(){bC.unbind(aX)}function bj(){return false}function be(){a1.unbind("focusin.jsp").bind("focusin.jsp",function(g){if(g.target===a1[0]){return}aY(g.target,false)})}function bo(){a1.unbind("focusin.jsp")}function a7(){var g,h;bq.attr("tabindex",0).unbind("keydown.jsp").bind("keydown.jsp",function(k){if(k.target!==bq[0]){return}var i=aZ,j=bg,l=g?2:16;switch(k.keyCode){case 40:a4(bg+l,false);break;case 38:a4(bg-l,false);break;case 34:case 32:bd(bl()+Math.max(32,aI)-16);break;case 33:bd(bl()-aI+16);break;case 35:bd(a0-aI);break;case 36:bd(0);break;case 39:a3(aZ+l,false);break;case 37:a3(aZ-l,false);break}if(!(i==aZ&&j==bg)){g=true;clearTimeout(h);h=setTimeout(function(){g=false},260);return false}});if(bp.hideFocus){bq.css("outline","none");if("hideFocus" in bC[0]){bq.attr("hideFocus",true)}}else{bq.css("outline","");if("hideFocus" in bC[0]){bq.attr("hideFocus",false)}}}function a8(){bq.attr("tabindex","-1").removeAttr("tabindex").unbind("keydown.jsp")}function bs(){if(location.hash&&location.hash.length>1){var g,h;try{g=d(location.hash)}catch(i){return}if(g.length&&a1.find(g)){if(bC.scrollTop()==0){h=setInterval(function(){if(bC.scrollTop()>0){aY(location.hash,true);d(document).scrollTop(bC.position().top);clearInterval(h)}},50)}else{aY(location.hash,true);d(document).scrollTop(bC.position().top)}}}}function bG(){d("a.jspHijack").unbind("click.jsp-hijack").removeClass("jspHijack")}function aQ(){bG();d("a[href^=#]").addClass("jspHijack").bind("click.jsp-hijack",function(){var h=this.href.split("#"),g;if(h.length>1){g=h[1];if(g.length>0&&a1.find("#"+g).length>0){aY("#"+g,true);return false}}})}d.extend(a9,{reinitialise:function(g){g=d.extend({},g,bp);by(g)},scrollToElement:function(g,h,i){aY(g,h,i)},scrollTo:function(g,i,h){bc(g,h);bd(i,h)},scrollToX:function(g,h){bc(g,h)},scrollToY:function(h,g){bd(h,g)},scrollBy:function(h,i,g){a9.scrollByX(h,g);a9.scrollByY(i,g)},scrollByX:function(j,h){var i=bh()+j,g=i/(a6-bE);a3(g*aT,h)},scrollByY:function(j,h){var i=bl()+j,g=i/(a0-aI);a4(g*aU,h)},animate:function(i,k,j,g){var h={};h[k]=j;i.animate(h,{duration:bp.animateDuration,ease:bp.animateEase,queue:false,step:g})},getContentPositionX:function(){return bh()},getContentPositionY:function(){return bl()},getIsScrollableH:function(){return bP},getIsScrollableV:function(){return bn},getContentPane:function(){return a1},scrollToBottom:function(g){a4(aU,g)},hijackInternalLinks:function(){aQ()}})}a=d.extend({},d.fn.jScrollPane.defaults,a);var b;this.each(function(){var j=d(this),i=j.data("jsp");if(i){i.reinitialise(a)}else{i=new c(j,a);j.data("jsp",i)}b=b?b.add(j):j});return b};d.fn.jScrollPane.defaults={showArrows:false,maintainPosition:true,clickOnTrack:true,autoReinitialise:false,autoReinitialiseDelay:500,verticalDragMinHeight:0,verticalDragMaxHeight:99999,horizontalDragMinWidth:0,horizontalDragMaxWidth:99999,animateScroll:false,animateDuration:300,animateEase:"linear",hijackInternalLinks:false,verticalGutter:4,horizontalGutter:4,mouseWheelSpeed:10,arrowButtonSpeed:10,arrowRepeatFreq:100,arrowScrollOnHover:false,trackClickSpeed:30,trackClickRepeatFreq:100,verticalArrowPositions:"split",horizontalArrowPositions:"split",enableKeyboardNavigation:true,hideFocus:false}})(jQuery,this);
/*! Copyright (c) 2010 Brandon Aaron (http://brandonaaron.net)
 * Licensed under the MIT License (LICENSE.txt).
 *
 * Thanks to: http://adomas.org/javascript-mouse-wheel/ for some pointers.
 * Thanks to: Mathias Bank(http://www.mathias-bank.de) for a scope bug fix.
 * Thanks to: Seamus Leahy for adding deltaX and deltaY
 *
 * Version: 3.0.4
 *
 * Requires: 1.2.2+
 */
(function(c){var a=["DOMMouseScroll","mousewheel"];c.event.special.mousewheel={setup:function(){if(this.addEventListener){for(var d=a.length;d;){this.addEventListener(a[--d],b,false)}}else{this.onmousewheel=b}},teardown:function(){if(this.removeEventListener){for(var d=a.length;d;){this.removeEventListener(a[--d],b,false)}}else{this.onmousewheel=null}}};c.fn.extend({mousewheel:function(d){return d?this.bind("mousewheel",d):this.trigger("mousewheel")},unmousewheel:function(d){return this.unbind("mousewheel",d)}});function b(i){var g=i||window.event,f=[].slice.call(arguments,1),j=0,h=true,e=0,d=0;i=c.event.fix(g);i.type="mousewheel";if(i.wheelDelta){j=i.wheelDelta/120}if(i.detail){j=-i.detail/3}d=j;if(g.axis!==undefined&&g.axis===g.HORIZONTAL_AXIS){d=0;e=-1*j}if(g.wheelDeltaY!==undefined){d=g.wheelDeltaY/120}if(g.wheelDeltaX!==undefined){e=-1*g.wheelDeltaX/120}f.unshift(i,j,e,d);return c.event.handle.apply(this,f)}})(jQuery);(function(C,Q){var D={transition:"elastic",speed:500,width:false,initialWidth:"600",innerWidth:false,maxWidth:false,height:false,initialHeight:"450",innerHeight:false,maxHeight:"80%",scalePhotos:true,scrolling:true,inline:false,html:false,iframe:false,photo:false,href:false,title:false,rel:false,opacity:0.9,preloading:true,current:"{current}/{total}&nbsp;",previous:"<img src='images/1.gif' onMouseOver='this.src=\"images/1_hover.gif\";' onMouseOut='this.src=\"images/1.gif\";'>",next:"<img src='images/3.gif' onMouseOver='this.src=\"images/3_hover.gif\";' onMouseOut='this.src=\"images/3.gif\";'>",close:"&nbsp;sortir du diaporama",open:false,returnFocus:true,loop:true,slideshow:false,slideshowAuto:true,slideshowSpeed:3000,slideshowStart:"<img src='images/2.gif' onMouseOver='this.src=\"images/2_hover.gif\";' onMouseOut='this.src=\"images/2.gif\";'>",slideshowStop:"<img src='images/4.gif' onMouseOver='this.src=\"images/4_hover.gif\";' onMouseOut='this.src=\"images/4.gif\";'>",onOpen:false,onLoad:false,onComplete:false,onCleanup:false,onClosed:false,overlayClose:false,escKey:true,arrowKey:true},u="colorbox",N="cbox",P=N+"_open",e=N+"_load",O=N+"_complete",r=N+"_cleanup",V=N+"_closed",i=N+"_purge",J=N+"_loaded",s=C.browser.msie&&!C.support.opacity,Y=s&&C.browser.version<7,U=N+"_IE6",L,Z,aa,d,A,m,b,K,c,T,G,j,h,l,q,R,o,M,w,ab,k,g,a,t,B,W,y,S,F=false,E,n=N+"Element";function I(ad,ac){ad=ad?' id="'+N+ad+'"':"";ac=ac?' style="'+ac+'"':"";return C("<div"+ad+ac+"/>")}function H(ac,ad){ad=ad==="x"?T.width():T.height();return(typeof ac==="string")?Math.round((/%/.test(ac)?(ad/100)*parseInt(ac,10):parseInt(ac,10))):ac}function x(ac){return W.photo||/\.(gif|png|jpg|jpeg|bmp)(?:\?([^#]*))?(?:#(\.*))?$/i.test(ac)}function X(ad){for(var ac in ad){if(C.isFunction(ad[ac])&&ac.substring(0,2)!=="on"){ad[ac]=ad[ac].call(t)}}ad.rel=ad.rel||t.rel||"nofollow";ad.href=ad.href||C(t).attr("href");ad.title=ad.title||t.title;return ad}function z(ac,ad){if(ad){ad.call(t)}C.event.trigger(ac)}function v(){var ad,af=N+"Slideshow_",ag="click."+N,ah,ae,ac;if(W.slideshow&&c[1]){ah=function(){R.html(W.slideshowStop).unbind(ag).bind(O,function(){if(B<c.length-1||W.loop){ad=setTimeout(E.next,W.slideshowSpeed)}}).bind(e,function(){clearTimeout(ad)}).one(ag+" "+r,ae);Z.removeClass(af+"off").addClass(af+"on");ad=setTimeout(E.next,W.slideshowSpeed)};ae=function(){clearTimeout(ad);R.html(W.slideshowStart).unbind([O,e,r,ag].join(" ")).one(ag,ah);Z.removeClass(af+"on").addClass(af+"off")};if(W.slideshowAuto){ah()}else{ae()}}}function f(ac){if(!F){t=ac;W=X(C.extend({},C.data(t,u)));c=C(t);B=0;if(W.rel!=="nofollow"){c=C("."+n).filter(function(){var ae=C.data(this,u).rel||this.rel;return(ae===W.rel)});B=c.index(t);if(B===-1){c=c.add(t);B=c.length-1}}if(!y){y=S=true;Z.show();if(W.returnFocus){try{t.blur();C(t).one(V,function(){try{this.focus()}catch(ae){}})}catch(ad){}}L.css({opacity:+W.opacity,cursor:W.overlayClose?"pointer":"auto"}).show();W.w=H(W.initialWidth,"x");W.h=H(W.initialHeight,"y");E.position(0);if(Y){T.bind("resize."+U+" scroll."+U,function(){L.css({width:T.width(),height:T.height(),top:T.scrollTop(),left:T.scrollLeft()})}).trigger("scroll."+U)}z(P,W.onOpen);q.add(M).add(o).add(R).add(l).hide();w.html(W.close).show()}E.load(true)}}E=C.fn[u]=C[u]=function(ac,af){var ad=this,ae;if(!ad[0]&&ad.selector){return ad}ac=ac||{};if(af){ac.onComplete=af}if(!ad[0]||ad.selector===undefined){ad=C("<a/>");ac.open=true}ad.each(function(){C.data(this,u,C.extend({},C.data(this,u)||D,ac));C(this).addClass(n)});ae=ac.open;if(C.isFunction(ae)){ae=ae.call(ad)}if(ae){f(ad[0])}return ad};E.init=function(){T=C(Q);Z=I().attr({id:u,"class":s?N+"IE":""});L=I("Overlay",Y?"position:absolute":"").hide();aa=I("Wrapper");d=I("Content").append(G=I("LoadedContent","width:0; height:0; overflow:hidden"),h=I("LoadingOverlay").add(I("LoadingGraphic")),l=I("Title"),q=I("Current"),M=I("Previous"),o=I("Next"),R=I("Slideshow").bind(P,v),w=I("Close"));aa.append(I().append(I("TopLeft"),A=I("TopCenter"),I("TopRight")),I(false,"clear:left").append(m=I("MiddleLeft"),d,b=I("MiddleRight")),I(false,"clear:left").append(I("BottomLeft"),K=I("BottomCenter"),I("BottomRight"))).children().children().css({"float":"left"});j=I(false,"position:absolute; width:9999px; visibility:hidden; display:none");C("body").prepend(L,Z.append(aa,j));d.children().hover(function(){C(this).addClass("hover")},function(){C(this).removeClass("hover")}).addClass("hover");ab=A.height()+K.height()+d.outerHeight(true)-d.height();k=m.width()+b.width()+d.outerWidth(true)-d.width();g=G.outerHeight(true);a=G.outerWidth(true);Z.css({"padding-bottom":ab,"padding-right":k}).hide();o.click(E.next);M.click(E.prev);w.click(E.close);d.children().removeClass("hover");C("."+n).live("click",function(ac){if(!((ac.button!==0&&typeof ac.button!=="undefined")||ac.ctrlKey||ac.shiftKey||ac.altKey)){ac.preventDefault();f(this)}});L.click(function(){if(W.overlayClose){E.close()}});C(document).bind("keydown",function(ac){if(y&&W.escKey&&ac.keyCode===27){ac.preventDefault();E.close()}if(y&&W.arrowKey&&!S&&c[1]){if(ac.keyCode===37&&(B||W.loop)){ac.preventDefault();M.click()}else{if(ac.keyCode===39&&(B<c.length-1||W.loop)){ac.preventDefault();o.click()}}}})};E.remove=function(){Z.add(L).remove();C("."+n).die("click").removeData(u).removeClass(n)};E.position=function(ag,ad){var af,ae=Math.max(document.documentElement.clientHeight-W.h-g-ab,0)/2+T.scrollTop(),ac=Math.max(T.width()-W.w-a-k,0)/2+T.scrollLeft();af=(Z.width()===W.w+a&&Z.height()===W.h+g)?0:ag;aa[0].style.width=aa[0].style.height="9999px";function ah(ai){A[0].style.width=K[0].style.width=d[0].style.width=ai.style.width;h[0].style.height=h[1].style.height=d[0].style.height=m[0].style.height=b[0].style.height=ai.style.height}Z.dequeue().animate({width:W.w+a,height:W.h+g,top:ae,left:ac},{duration:af,complete:function(){ah(this);S=false;aa[0].style.width=(W.w+a+k)+"px";aa[0].style.height=(W.h+g+ab)+"px";if(ad){ad()}},step:function(){ah(this)}})};E.resize=function(ac){if(y){ac=ac||{};if(ac.width){W.w=H(ac.width,"x")-a-k}if(ac.innerWidth){W.w=H(ac.innerWidth,"x")}G.css({width:W.w});if(ac.height){W.h=H(ac.height,"y")-g-ab}if(ac.innerHeight){W.h=H(ac.innerHeight,"y")}if(!ac.innerHeight&&!ac.height){var ad=G.wrapInner("<div style='overflow:auto'></div>").children();W.h=ad.height();ad.replaceWith(ad.children())}G.css({height:W.h});E.position(W.transition==="none"?0:W.speed)}};E.prep=function(af){if(!y){return}var ae,ag=W.transition==="none"?0:W.speed;T.unbind("resize."+N);G.remove();G=I("LoadedContent").html(af);function ac(){W.w=W.w||G.width();W.w=W.mw&&W.mw<W.w?W.mw:W.w;return W.w}function ah(){W.h=W.h||G.height();W.h=W.mh&&W.mh<W.h?W.mh:W.h;return W.h}G.hide().appendTo(j.show()).css({width:ac(),overflow:W.scrolling?"auto":"hidden"}).css({height:ah()}).prependTo(d);j.hide();C("#"+N+"Photo").css({cssFloat:"none",marginLeft:"auto",marginRight:"auto"});if(Y){C("select").not(Z.find("select")).filter(function(){return this.style.visibility!=="hidden"}).css({visibility:"hidden"}).one(r,function(){this.style.visibility="inherit"})}function ad(al){var an,ao,ak,aj,am=c.length,ai=W.loop;E.position(al,function(){function ap(){if(s){Z[0].style.filter=false}}if(!y){return}if(s){if(ae){G.fadeIn(100)}}G.show();z(J);l.show().html(W.title);if(am>1){if(typeof W.current==="string"){q.html(W.current.replace(/\{current\}/,B+1).replace(/\{total\}/,am)).show()}o[(ai||B<am-1)?"show":"hide"]().html(W.next);M[(ai||B)?"show":"hide"]().html(W.previous);an=B?c[B-1]:c[am-1];ak=B<am-1?c[B+1]:c[0];if(W.slideshow){R.show()}if(W.preloading){aj=C.data(ak,u).href||ak.href;ao=C.data(an,u).href||an.href;aj=C.isFunction(aj)?aj.call(ak):aj;ao=C.isFunction(ao)?ao.call(an):ao;if(x(aj)){C("<img/>")[0].src=aj}if(x(ao)){C("<img/>")[0].src=ao}}}h.hide();if(W.transition==="fade"){G.fadeTo(ag,1,function(){ap()})}else{ap()}T.bind("resize."+N,function(){E.position(0)});z(O,W.onComplete)})}if(W.transition==="fade"){G.fadeTo(ag,0,function(){ad(0)})}else{ad(ag)}};E.load=function(af){var ae,ad,ag,ac=E.prep;S=true;t=c[B];if(!af){W=X(C.extend({},C.data(t,u)))}z(i);z(e,W.onLoad);W.h=W.height?H(W.height,"y")-g-ab:W.innerHeight&&H(W.innerHeight,"y");W.w=W.width?H(W.width,"x")-a-k:W.innerWidth&&H(W.innerWidth,"x");W.mw=W.w;W.mh=W.h;if(W.maxWidth){W.mw=H(W.maxWidth,"x")-a-k;W.mw=W.w&&W.w<W.mw?W.w:W.mw}if(W.maxHeight){W.mh=H(W.maxHeight,"y")-g-ab;W.mh=W.h&&W.h<W.mh?W.h:W.mh}ae=W.href;h.show();if(W.inline){I().hide().insertBefore(C(ae)[0]).one(i,function(){C(this).replaceWith(G.children())});ac(C(ae))}else{if(W.iframe){Z.one(J,function(){var ah=C("<iframe name='"+new Date().getTime()+"' frameborder=0"+(W.scrolling?"":" scrolling='no'")+(s?" allowtransparency='true'":"")+" style='width:100%; height:100%; border:0; display:block;'/>");ah[0].src=W.href;ah.appendTo(G).one(i,function(){ah[0].src="//about:blank"})});ac(" ")}else{if(W.html){ac(W.html)}else{if(x(ae)){ad=new Image();ad.onload=function(){var ah;ad.onload=null;ad.id=N+"Photo";C(ad).css({border:"none",display:"block",cssFloat:"left"});if(W.scalePhotos){ag=function(){ad.height-=ad.height*ah;ad.width-=ad.width*ah};if(W.mw&&ad.width>W.mw){ah=(ad.width-W.mw)/ad.width;ag()}if(W.mh&&ad.height>W.mh){ah=(ad.height-W.mh)/ad.height;ag()}}if(W.h){ad.style.marginTop=Math.max(W.h-ad.height,0)/2+"px"}if(c[1]&&(B<c.length-1||W.loop)){C(ad).css({cursor:"pointer"}).click(E.next)}if(s){ad.style.msInterpolationMode="bicubic"}setTimeout(function(){ac(ad)},1)};setTimeout(function(){ad.src=ae},1)}else{if(ae){j.load(ae,function(ai,ah,aj){ac(ah==="error"?"Request unsuccessful: "+aj.statusText:C(this).children())})}}}}}};E.next=function(){if(!S){B=B<c.length-1?B+1:0;E.load()}};E.prev=function(){if(!S){B=B?B-1:c.length-1;E.load()}};E.close=function(){if(y&&!F){F=true;y=false;z(r,W.onCleanup);T.unbind("."+N+" ."+U);L.fadeTo("fast",0);Z.stop().fadeTo("fast",0,function(){z(i);G.remove();Z.add(L).css({opacity:1,cursor:"auto"}).hide();setTimeout(function(){F=false;z(V,W.onClosed)},1)})}};E.element=function(){return C(t)};E.settings=D;C(E.init)}(jQuery,this));(function(i){var l="2.88";if(i.support==undefined){i.support={opacity:!(i.browser.msie)}}function a(r){if(i.fn.cycle.debug){f(r)}}function f(){if(window.console&&window.console.log){window.console.log("[cycle] "+Array.prototype.join.call(arguments," "))}}i.fn.cycle=function(s,r){var t={s:this.selector,c:this.context};if(this.length===0&&s!="stop"){if(!i.isReady&&t.s){f("DOM not ready, queuing slideshow");i(function(){i(t.s,t.c).cycle(s,r)});return this}f("terminating; zero elements found by selector"+(i.isReady?"":" (DOM not ready)"));return this}return this.each(function(){var x=m(this,s,r);if(x===false){return}x.updateActivePagerLink=x.updateActivePagerLink||i.fn.cycle.updateActivePagerLink;if(this.cycleTimeout){clearTimeout(this.cycleTimeout)}this.cycleTimeout=this.cyclePause=0;var y=i(this);var z=x.slideExpr?i(x.slideExpr,this):y.children();var v=z.get();if(v.length<2){f("terminating; too few slides: "+v.length);return}var u=k(y,z,v,x,t);if(u===false){return}var w=u.continuous?10:h(v[u.currSlide],v[u.nextSlide],u,!u.rev);if(w){w+=(u.delay||0);if(w<10){w=10}a("first timeout: "+w);this.cycleTimeout=setTimeout(function(){e(v,u,0,(!u.rev&&!x.backwards))},w)}})};function m(r,u,s){if(r.cycleStop==undefined){r.cycleStop=0}if(u===undefined||u===null){u={}}if(u.constructor==String){switch(u){case"destroy":case"stop":var w=i(r).data("cycle.opts");if(!w){return false}r.cycleStop++;if(r.cycleTimeout){clearTimeout(r.cycleTimeout)}r.cycleTimeout=0;i(r).removeData("cycle.opts");if(u=="destroy"){q(w)}return false;case"toggle":r.cyclePause=(r.cyclePause===1)?0:1;v(r.cyclePause,s,r);return false;case"pause":r.cyclePause=1;return false;case"resume":r.cyclePause=0;v(false,s,r);return false;case"prev":case"next":var w=i(r).data("cycle.opts");if(!w){f('options not found, "prev/next" ignored');return false}i.fn.cycle[u](w);return false;default:u={fx:u}}return u}else{if(u.constructor==Number){var t=u;u=i(r).data("cycle.opts");if(!u){f("options not found, can not advance slide");return false}if(t<0||t>=u.elements.length){f("invalid slide index: "+t);return false}u.nextSlide=t;if(r.cycleTimeout){clearTimeout(r.cycleTimeout);r.cycleTimeout=0}if(typeof s=="string"){u.oneTimeFx=s}e(u.elements,u,1,t>=u.currSlide);return false}}return u;function v(y,z,x){if(!y&&z===true){var A=i(x).data("cycle.opts");if(!A){f("options not found, can not resume");return false}if(x.cycleTimeout){clearTimeout(x.cycleTimeout);x.cycleTimeout=0}e(A.elements,A,1,(!w.rev&&!w.backwards))}}}function b(r,s){if(!i.support.opacity&&s.cleartype&&r.style.filter){try{r.style.removeAttribute("filter")}catch(t){}}}function q(r){if(r.next){i(r.next).unbind(r.prevNextEvent)}if(r.prev){i(r.prev).unbind(r.prevNextEvent)}if(r.pager||r.pagerAnchorBuilder){i.each(r.pagerAnchors||[],function(){this.unbind().remove()})}r.pagerAnchors=null;if(r.destroy){r.destroy(r)}}function k(z,L,v,u,F){var D=i.extend({},i.fn.cycle.defaults,u||{},i.metadata?z.metadata():i.meta?z.data():{});if(D.autostop){D.countdown=D.autostopCount||v.length}var s=z[0];z.data("cycle.opts",D);D.$cont=z;D.stopCount=s.cycleStop;D.elements=v;D.before=D.before?[D.before]:[];D.after=D.after?[D.after]:[];D.after.unshift(function(){D.busy=0});if(!i.support.opacity&&D.cleartype){D.after.push(function(){b(this,D)})}if(D.continuous){D.after.push(function(){e(v,D,0,(!D.rev&&!D.backwards))})}n(D);if(!i.support.opacity&&D.cleartype&&!D.cleartypeNoBg){g(L)}if(z.css("position")=="static"){z.css("position","relative")}if(D.width){z.width(D.width)}if(D.height&&D.height!="auto"){z.height(D.height)}if(D.startingSlide){D.startingSlide=parseInt(D.startingSlide)}else{if(D.backwards){D.startingSlide=v.length-1}}if(D.random){D.randomMap=[];for(var J=0;J<v.length;J++){D.randomMap.push(J)}D.randomMap.sort(function(N,w){return Math.random()-0.5});D.randomIndex=1;D.startingSlide=D.randomMap[1]}else{if(D.startingSlide>=v.length){D.startingSlide=0}}D.currSlide=D.startingSlide||0;var y=D.startingSlide;L.css({position:"absolute",top:0,left:0}).hide().each(function(w){var N;if(D.backwards){N=y?w<=y?v.length+(w-y):y-w:v.length-w}else{N=y?w>=y?v.length-(w-y):y-w:v.length-w}i(this).css("z-index",N)});i(v[y]).css("opacity",1).show();b(v[y],D);if(D.fit&&D.width){L.width(D.width)}if(D.fit&&D.height&&D.height!="auto"){L.height(D.height)}var E=D.containerResize&&!z.innerHeight();if(E){var x=0,C=0;for(var H=0;H<v.length;H++){var r=i(v[H]),M=r[0],B=r.outerWidth(),K=r.outerHeight();if(!B){B=M.offsetWidth||M.width||r.attr("width")}if(!K){K=M.offsetHeight||M.height||r.attr("height")}x=B>x?B:x;C=K>C?K:C}if(x>0&&C>0){z.css({width:x+"px",height:C+"px"})}}if(D.pause){z.hover(function(){this.cyclePause++},function(){this.cyclePause--})}if(c(D)===false){return false}var t=false;u.requeueAttempts=u.requeueAttempts||0;L.each(function(){var P=i(this);this.cycleH=(D.fit&&D.height)?D.height:(P.height()||this.offsetHeight||this.height||P.attr("height")||0);this.cycleW=(D.fit&&D.width)?D.width:(P.width()||this.offsetWidth||this.width||P.attr("width")||0);if(P.is("img")){var N=(i.browser.msie&&this.cycleW==28&&this.cycleH==30&&!this.complete);var Q=(i.browser.mozilla&&this.cycleW==34&&this.cycleH==19&&!this.complete);var O=(i.browser.opera&&((this.cycleW==42&&this.cycleH==19)||(this.cycleW==37&&this.cycleH==17))&&!this.complete);var w=(this.cycleH==0&&this.cycleW==0&&!this.complete);if(N||Q||O||w){if(F.s&&D.requeueOnImageNotLoaded&&++u.requeueAttempts<100){f(u.requeueAttempts," - img slide not loaded, requeuing slideshow: ",this.src,this.cycleW,this.cycleH);setTimeout(function(){i(F.s,F.c).cycle(u)},D.requeueTimeout);t=true;return false}else{f("could not determine size of image: "+this.src,this.cycleW,this.cycleH)}}}return true});if(t){return false}D.cssBefore=D.cssBefore||{};D.animIn=D.animIn||{};D.animOut=D.animOut||{};L.not(":eq("+y+")").css(D.cssBefore);if(D.cssFirst){i(L[y]).css(D.cssFirst)}if(D.timeout){D.timeout=parseInt(D.timeout);if(D.speed.constructor==String){D.speed=i.fx.speeds[D.speed]||parseInt(D.speed)}if(!D.sync){D.speed=D.speed/2}var G=D.fx=="shuffle"?500:250;while((D.timeout-D.speed)<G){D.timeout+=D.speed}}if(D.easing){D.easeIn=D.easeOut=D.easing}if(!D.speedIn){D.speedIn=D.speed}if(!D.speedOut){D.speedOut=D.speed}D.slideCount=v.length;D.currSlide=D.lastSlide=y;if(D.random){if(++D.randomIndex==v.length){D.randomIndex=0}D.nextSlide=D.randomMap[D.randomIndex]}else{if(D.backwards){D.nextSlide=D.startingSlide==0?(v.length-1):D.startingSlide-1}else{D.nextSlide=D.startingSlide>=(v.length-1)?0:D.startingSlide+1}}if(!D.multiFx){var I=i.fn.cycle.transitions[D.fx];if(i.isFunction(I)){I(z,L,D)}else{if(D.fx!="custom"&&!D.multiFx){f("unknown transition: "+D.fx,"; slideshow terminating");return false}}}var A=L[y];if(D.before.length){D.before[0].apply(A,[A,A,D,true])}if(D.after.length>1){D.after[1].apply(A,[A,A,D,true])}if(D.next){i(D.next).bind(D.prevNextEvent,function(){return o(D,D.rev?-1:1)})}if(D.prev){i(D.prev).bind(D.prevNextEvent,function(){return o(D,D.rev?1:-1)})}if(D.pager||D.pagerAnchorBuilder){d(v,D)}j(D,v);return D}function n(r){r.original={before:[],after:[]};r.original.cssBefore=i.extend({},r.cssBefore);r.original.cssAfter=i.extend({},r.cssAfter);r.original.animIn=i.extend({},r.animIn);r.original.animOut=i.extend({},r.animOut);i.each(r.before,function(){r.original.before.push(this)});i.each(r.after,function(){r.original.after.push(this)})}function c(x){var v,t,s=i.fn.cycle.transitions;if(x.fx.indexOf(",")>0){x.multiFx=true;x.fxs=x.fx.replace(/\s*/g,"").split(",");for(v=0;v<x.fxs.length;v++){var w=x.fxs[v];t=s[w];if(!t||!s.hasOwnProperty(w)||!i.isFunction(t)){f("discarding unknown transition: ",w);x.fxs.splice(v,1);v--}}if(!x.fxs.length){f("No valid transitions named; slideshow terminating.");return false}}else{if(x.fx=="all"){x.multiFx=true;x.fxs=[];for(p in s){t=s[p];if(s.hasOwnProperty(p)&&i.isFunction(t)){x.fxs.push(p)}}}}if(x.multiFx&&x.randomizeEffects){var u=Math.floor(Math.random()*20)+30;for(v=0;v<u;v++){var r=Math.floor(Math.random()*x.fxs.length);x.fxs.push(x.fxs.splice(r,1)[0])}a("randomized fx sequence: ",x.fxs)}return true}function j(s,r){s.addSlide=function(u,v){var t=i(u),w=t[0];if(!s.autostopCount){s.countdown++}r[v?"unshift":"push"](w);if(s.els){s.els[v?"unshift":"push"](w)}s.slideCount=r.length;t.css("position","absolute");t[v?"prependTo":"appendTo"](s.$cont);if(v){s.currSlide++;s.nextSlide++}if(!i.support.opacity&&s.cleartype&&!s.cleartypeNoBg){g(t)}if(s.fit&&s.width){t.width(s.width)}if(s.fit&&s.height&&s.height!="auto"){$slides.height(s.height)}w.cycleH=(s.fit&&s.height)?s.height:t.height();w.cycleW=(s.fit&&s.width)?s.width:t.width();t.css(s.cssBefore);if(s.pager||s.pagerAnchorBuilder){i.fn.cycle.createPagerAnchor(r.length-1,w,i(s.pager),r,s)}if(i.isFunction(s.onAddSlide)){s.onAddSlide(t)}else{t.hide()}}}i.fn.cycle.resetState=function(s,r){r=r||s.fx;s.before=[];s.after=[];s.cssBefore=i.extend({},s.original.cssBefore);s.cssAfter=i.extend({},s.original.cssAfter);s.animIn=i.extend({},s.original.animIn);s.animOut=i.extend({},s.original.animOut);s.fxFn=null;i.each(s.original.before,function(){s.before.push(this)});i.each(s.original.after,function(){s.after.push(this)});var t=i.fn.cycle.transitions[r];if(i.isFunction(t)){t(s.$cont,i(s.elements),s)}};function e(y,r,x,A){if(x&&r.busy&&r.manualTrump){a("manualTrump in go(), stopping active transition");i(y).stop(true,true);r.busy=false}if(r.busy){a("transition active, ignoring new tx request");return}var v=r.$cont[0],C=y[r.currSlide],B=y[r.nextSlide];if(v.cycleStop!=r.stopCount||v.cycleTimeout===0&&!x){return}if(!x&&!v.cyclePause&&!r.bounce&&((r.autostop&&(--r.countdown<=0))||(r.nowrap&&!r.random&&r.nextSlide<r.currSlide))){if(r.end){r.end(r)}return}var z=false;if((x||!v.cyclePause)&&(r.nextSlide!=r.currSlide)){z=true;var w=r.fx;C.cycleH=C.cycleH||i(C).height();C.cycleW=C.cycleW||i(C).width();B.cycleH=B.cycleH||i(B).height();B.cycleW=B.cycleW||i(B).width();if(r.multiFx){if(r.lastFx==undefined||++r.lastFx>=r.fxs.length){r.lastFx=0}w=r.fxs[r.lastFx];r.currFx=w}if(r.oneTimeFx){w=r.oneTimeFx;r.oneTimeFx=null}i.fn.cycle.resetState(r,w);if(r.before.length){i.each(r.before,function(D,E){if(v.cycleStop!=r.stopCount){return}E.apply(B,[C,B,r,A])})}var t=function(){i.each(r.after,function(D,E){if(v.cycleStop!=r.stopCount){return}E.apply(B,[C,B,r,A])})};a("tx firing; currSlide: "+r.currSlide+"; nextSlide: "+r.nextSlide);r.busy=1;if(r.fxFn){r.fxFn(C,B,r,t,A,x&&r.fastOnEvent)}else{if(i.isFunction(i.fn.cycle[r.fx])){i.fn.cycle[r.fx](C,B,r,t,A,x&&r.fastOnEvent)}else{i.fn.cycle.custom(C,B,r,t,A,x&&r.fastOnEvent)}}}if(z||r.nextSlide==r.currSlide){r.lastSlide=r.currSlide;if(r.random){r.currSlide=r.nextSlide;if(++r.randomIndex==y.length){r.randomIndex=0}r.nextSlide=r.randomMap[r.randomIndex];if(r.nextSlide==r.currSlide){r.nextSlide=(r.currSlide==r.slideCount-1)?0:r.currSlide+1}}else{if(r.backwards){var u=(r.nextSlide-1)<0;if(u&&r.bounce){r.backwards=!r.backwards;r.nextSlide=1;r.currSlide=0}else{r.nextSlide=u?(y.length-1):r.nextSlide-1;r.currSlide=u?0:r.nextSlide+1}}else{var u=(r.nextSlide+1)==y.length;if(u&&r.bounce){r.backwards=!r.backwards;r.nextSlide=y.length-2;r.currSlide=y.length-1}else{r.nextSlide=u?0:r.nextSlide+1;r.currSlide=u?y.length-1:r.nextSlide-1}}}}if(z&&r.pager){r.updateActivePagerLink(r.pager,r.currSlide,r.activePagerClass)}var s=0;if(r.timeout&&!r.continuous){s=h(y[r.currSlide],y[r.nextSlide],r,A)}else{if(r.continuous&&v.cyclePause){s=10}}if(s>0){v.cycleTimeout=setTimeout(function(){e(y,r,0,(!r.rev&&!r.backwards))},s)}}i.fn.cycle.updateActivePagerLink=function(r,t,s){i(r).each(function(){i(this).children().removeClass(s).eq(t).addClass(s)})};function h(w,u,v,s){if(v.timeoutFn){var r=v.timeoutFn.call(w,w,u,v,s);while((r-v.speed)<250){r+=v.speed}a("calculated timeout: "+r+"; speed: "+v.speed);if(r!==false){return r}}return v.timeout}i.fn.cycle.next=function(r){o(r,r.rev?-1:1)};i.fn.cycle.prev=function(r){o(r,r.rev?1:-1)};function o(t,w){var s=t.elements;var v=t.$cont[0],u=v.cycleTimeout;if(u){clearTimeout(u);v.cycleTimeout=0}if(t.random&&w<0){t.randomIndex--;if(--t.randomIndex==-2){t.randomIndex=s.length-2}else{if(t.randomIndex==-1){t.randomIndex=s.length-1}}t.nextSlide=t.randomMap[t.randomIndex]}else{if(t.random){t.nextSlide=t.randomMap[t.randomIndex]}else{t.nextSlide=t.currSlide+w;if(t.nextSlide<0){if(t.nowrap){return false}t.nextSlide=s.length-1}else{if(t.nextSlide>=s.length){if(t.nowrap){return false}t.nextSlide=0}}}}var r=t.onPrevNextEvent||t.prevNextClick;if(i.isFunction(r)){r(w>0,t.nextSlide,s[t.nextSlide])}e(s,t,1,w>=0);return false}function d(s,t){var r=i(t.pager);i.each(s,function(u,v){i.fn.cycle.createPagerAnchor(u,v,r,s,t)});t.updateActivePagerLink(t.pager,t.startingSlide,t.activePagerClass)}i.fn.cycle.createPagerAnchor=function(v,w,t,u,x){var s;if(i.isFunction(x.pagerAnchorBuilder)){s=x.pagerAnchorBuilder(v,w);a("pagerAnchorBuilder("+v+", el) returned: "+s)}else{s='<a href="#">'+(v+1)+"</a>"}if(!s){return}var y=i(s);if(y.parents("body").length===0){var r=[];if(t.length>1){t.each(function(){var z=y.clone(true);i(this).append(z);r.push(z[0])});y=i(r)}else{y.appendTo(t)}}x.pagerAnchors=x.pagerAnchors||[];x.pagerAnchors.push(y);y.bind(x.pagerEvent,function(C){C.preventDefault();x.nextSlide=v;var B=x.$cont[0],A=B.cycleTimeout;if(A){clearTimeout(A);B.cycleTimeout=0}var z=x.onPagerEvent||x.pagerClick;if(i.isFunction(z)){z(x.nextSlide,u[x.nextSlide])}e(u,x,1,x.currSlide<v)});if(!/^click/.test(x.pagerEvent)&&!x.allowPagerClickBubble){y.bind("click.cycle",function(){return false})}if(x.pauseOnPagerHover){y.hover(function(){x.$cont[0].cyclePause++},function(){x.$cont[0].cyclePause--})}};i.fn.cycle.hopsFromLast=function(u,t){var s,r=u.lastSlide,v=u.currSlide;if(t){s=v>r?v-r:u.slideCount-r}else{s=v<r?r-v:r+u.slideCount-v}return s};function g(t){a("applying clearType background-color hack");function s(u){u=parseInt(u).toString(16);return u.length<2?"0"+u:u}function r(x){for(;x&&x.nodeName.toLowerCase()!="html";x=x.parentNode){var u=i.css(x,"background-color");if(u.indexOf("rgb")>=0){var w=u.match(/\d+/g);return"#"+s(w[0])+s(w[1])+s(w[2])}if(u&&u!="transparent"){return u}}return"#ffffff"}t.each(function(){i(this).css("background-color",r(this))})}i.fn.cycle.commonReset=function(x,u,v,s,t,r){i(v.elements).not(x).hide();v.cssBefore.opacity=1;v.cssBefore.display="block";if(s!==false&&u.cycleW>0){v.cssBefore.width=u.cycleW}if(t!==false&&u.cycleH>0){v.cssBefore.height=u.cycleH}v.cssAfter=v.cssAfter||{};v.cssAfter.display="none";i(x).css("zIndex",v.slideCount+(r===true?1:0));i(u).css("zIndex",v.slideCount+(r===true?0:1))};i.fn.cycle.custom=function(D,x,r,u,w,s){var C=i(D),y=i(x);var t=r.speedIn,B=r.speedOut,v=r.easeIn,A=r.easeOut;y.css(r.cssBefore);if(s){if(typeof s=="number"){t=B=s}else{t=B=1}v=A=null}var z=function(){y.animate(r.animIn,t,v,u)};C.animate(r.animOut,B,A,function(){if(r.cssAfter){C.css(r.cssAfter)}if(!r.sync){z()}});if(r.sync){z()}};i.fn.cycle.transitions={fade:function(s,t,r){t.not(":eq("+r.currSlide+")").css("opacity",0);r.before.push(function(w,u,v){i.fn.cycle.commonReset(w,u,v);v.cssBefore.opacity=0});r.animIn={opacity:1};r.animOut={opacity:0};r.cssBefore={top:0,left:0}}};i.fn.cycle.ver=function(){return l};i.fn.cycle.defaults={fx:"fade",timeout:4000,timeoutFn:null,continuous:0,speed:1000,speedIn:null,speedOut:null,next:null,prev:null,onPrevNextEvent:null,prevNextEvent:"click.cycle",pager:null,onPagerEvent:null,pagerEvent:"click.cycle",allowPagerClickBubble:false,pagerAnchorBuilder:null,before:null,after:null,end:null,easing:null,easeIn:null,easeOut:null,shuffle:null,animIn:null,animOut:null,cssBefore:null,cssAfter:null,fxFn:null,height:"auto",startingSlide:0,sync:1,random:0,fit:0,containerResize:1,pause:0,pauseOnPagerHover:0,autostop:0,autostopCount:0,delay:0,slideExpr:null,cleartype:!i.support.opacity,cleartypeNoBg:false,nowrap:0,fastOnEvent:0,randomizeEffects:1,rev:0,manualTrump:true,requeueOnImageNotLoaded:true,requeueTimeout:250,activePagerClass:"activeSlide",updateActivePagerLink:null,backwards:false}})(jQuery);(function(a){a.fn.cycle.transitions.none=function(c,d,b){b.fxFn=function(g,e,f,h){a(e).show();a(g).hide();h()}};a.fn.cycle.transitions.scrollUp=function(d,e,c){d.css("overflow","hidden");c.before.push(a.fn.cycle.commonReset);var b=d.height();c.cssBefore={top:b,left:0};c.cssFirst={top:0};c.animIn={top:0};c.animOut={top:-b}};a.fn.cycle.transitions.scrollDown=function(d,e,c){d.css("overflow","hidden");c.before.push(a.fn.cycle.commonReset);var b=d.height();c.cssFirst={top:0};c.cssBefore={top:-b,left:0};c.animIn={top:0};c.animOut={top:b}};a.fn.cycle.transitions.scrollLeft=function(d,e,c){d.css("overflow","hidden");c.before.push(a.fn.cycle.commonReset);var b=d.width();c.cssFirst={left:0};c.cssBefore={left:b,top:0};c.animIn={left:0};c.animOut={left:0-b}};a.fn.cycle.transitions.scrollRight=function(d,e,c){d.css("overflow","hidden");c.before.push(a.fn.cycle.commonReset);var b=d.width();c.cssFirst={left:0};c.cssBefore={left:-b,top:0};c.animIn={left:0};c.animOut={left:b}};a.fn.cycle.transitions.scrollHorz=function(c,d,b){c.css("overflow","hidden").width();b.before.push(function(h,f,g,e){a.fn.cycle.commonReset(h,f,g);g.cssBefore.left=e?(f.cycleW-1):(1-f.cycleW);g.animOut.left=e?-h.cycleW:h.cycleW});b.cssFirst={left:0};b.cssBefore={top:0};b.animIn={left:0};b.animOut={top:0}};a.fn.cycle.transitions.scrollVert=function(c,d,b){c.css("overflow","hidden");b.before.push(function(h,f,g,e){a.fn.cycle.commonReset(h,f,g);g.cssBefore.top=e?(1-f.cycleH):(f.cycleH-1);g.animOut.top=e?h.cycleH:-h.cycleH});b.cssFirst={top:0};b.cssBefore={left:0};b.animIn={top:0};b.animOut={left:0}};a.fn.cycle.transitions.slideX=function(c,d,b){b.before.push(function(g,e,f){a(f.elements).not(g).hide();a.fn.cycle.commonReset(g,e,f,false,true);f.animIn.width=e.cycleW});b.cssBefore={left:0,top:0,width:0};b.animIn={width:"show"};b.animOut={width:0}};a.fn.cycle.transitions.slideY=function(c,d,b){b.before.push(function(g,e,f){a(f.elements).not(g).hide();a.fn.cycle.commonReset(g,e,f,true,false);f.animIn.height=e.cycleH});b.cssBefore={left:0,top:0,height:0};b.animIn={height:"show"};b.animOut={height:0}};a.fn.cycle.transitions.shuffle=function(e,f,d){var c,b=e.css("overflow","visible").width();f.css({left:0,top:0});d.before.push(function(i,g,h){a.fn.cycle.commonReset(i,g,h,true,true,true)});if(!d.speedAdjusted){d.speed=d.speed/2;d.speedAdjusted=true}d.random=0;d.shuffle=d.shuffle||{left:-b,top:15};d.els=[];for(c=0;c<f.length;c++){d.els.push(f[c])}for(c=0;c<d.currSlide;c++){d.els.push(d.els.shift())}d.fxFn=function(m,j,l,g,i){var h=i?a(m):a(j);a(j).css(l.cssBefore);var k=l.slideCount;h.animate(l.shuffle,l.speedIn,l.easeIn,function(){var o=a.fn.cycle.hopsFromLast(l,i);for(var q=0;q<o;q++){i?l.els.push(l.els.shift()):l.els.unshift(l.els.pop())}if(i){for(var r=0,n=l.els.length;r<n;r++){a(l.els[r]).css("z-index",n-r+k)}}else{var s=a(m).css("z-index");h.css("z-index",parseInt(s)+1+k)}h.animate({left:0,top:0},l.speedOut,l.easeOut,function(){a(i?this:m).hide();if(g){g()}})})};d.cssBefore={display:"block",opacity:1,top:0,left:0}};a.fn.cycle.transitions.turnUp=function(c,d,b){b.before.push(function(g,e,f){a.fn.cycle.commonReset(g,e,f,true,false);f.cssBefore.top=e.cycleH;f.animIn.height=e.cycleH});b.cssFirst={top:0};b.cssBefore={left:0,height:0};b.animIn={top:0};b.animOut={height:0}};a.fn.cycle.transitions.turnDown=function(c,d,b){b.before.push(function(g,e,f){a.fn.cycle.commonReset(g,e,f,true,false);f.animIn.height=e.cycleH;f.animOut.top=g.cycleH});b.cssFirst={top:0};b.cssBefore={left:0,top:0,height:0};b.animOut={height:0}};a.fn.cycle.transitions.turnLeft=function(c,d,b){b.before.push(function(g,e,f){a.fn.cycle.commonReset(g,e,f,false,true);f.cssBefore.left=e.cycleW;f.animIn.width=e.cycleW});b.cssBefore={top:0,width:0};b.animIn={left:0};b.animOut={width:0}};a.fn.cycle.transitions.turnRight=function(c,d,b){b.before.push(function(g,e,f){a.fn.cycle.commonReset(g,e,f,false,true);f.animIn.width=e.cycleW;f.animOut.left=g.cycleW});b.cssBefore={top:0,left:0,width:0};b.animIn={left:0};b.animOut={width:0}};a.fn.cycle.transitions.zoom=function(c,d,b){b.before.push(function(g,e,f){a.fn.cycle.commonReset(g,e,f,false,false,true);f.cssBefore.top=e.cycleH/2;f.cssBefore.left=e.cycleW/2;f.animIn={top:0,left:0,width:e.cycleW,height:e.cycleH};f.animOut={width:0,height:0,top:g.cycleH/2,left:g.cycleW/2}});b.cssFirst={top:0,left:0};b.cssBefore={width:0,height:0}};a.fn.cycle.transitions.fadeZoom=function(c,d,b){b.before.push(function(g,e,f){a.fn.cycle.commonReset(g,e,f,false,false);f.cssBefore.left=e.cycleW/2;f.cssBefore.top=e.cycleH/2;f.animIn={top:0,left:0,width:e.cycleW,height:e.cycleH}});b.cssBefore={width:0,height:0};b.animOut={opacity:0}};a.fn.cycle.transitions.blindX=function(d,e,c){var b=d.css("overflow","hidden").width();c.before.push(function(h,f,g){a.fn.cycle.commonReset(h,f,g);g.animIn.width=f.cycleW;g.animOut.left=h.cycleW});c.cssBefore={left:b,top:0};c.animIn={left:0};c.animOut={left:b}};a.fn.cycle.transitions.blindY=function(d,e,c){var b=d.css("overflow","hidden").height();c.before.push(function(h,f,g){a.fn.cycle.commonReset(h,f,g);g.animIn.height=f.cycleH;g.animOut.top=h.cycleH});c.cssBefore={top:b,left:0};c.animIn={top:0};c.animOut={top:b}};a.fn.cycle.transitions.blindZ=function(e,f,d){var c=e.css("overflow","hidden").height();var b=e.width();d.before.push(function(i,g,h){a.fn.cycle.commonReset(i,g,h);h.animIn.height=g.cycleH;h.animOut.top=i.cycleH});d.cssBefore={top:c,left:b};d.animIn={top:0,left:0};d.animOut={top:c,left:b}};a.fn.cycle.transitions.growX=function(c,d,b){b.before.push(function(g,e,f){a.fn.cycle.commonReset(g,e,f,false,true);f.cssBefore.left=this.cycleW/2;f.animIn={left:0,width:this.cycleW};f.animOut={left:0}});b.cssBefore={width:0,top:0}};a.fn.cycle.transitions.growY=function(c,d,b){b.before.push(function(g,e,f){a.fn.cycle.commonReset(g,e,f,true,false);f.cssBefore.top=this.cycleH/2;f.animIn={top:0,height:this.cycleH};f.animOut={top:0}});b.cssBefore={height:0,left:0}};a.fn.cycle.transitions.curtainX=function(c,d,b){b.before.push(function(g,e,f){a.fn.cycle.commonReset(g,e,f,false,true,true);f.cssBefore.left=e.cycleW/2;f.animIn={left:0,width:this.cycleW};f.animOut={left:g.cycleW/2,width:0}});b.cssBefore={top:0,width:0}};a.fn.cycle.transitions.curtainY=function(c,d,b){b.before.push(function(g,e,f){a.fn.cycle.commonReset(g,e,f,true,false,true);f.cssBefore.top=e.cycleH/2;f.animIn={top:0,height:e.cycleH};f.animOut={top:g.cycleH/2,height:0}});b.cssBefore={left:0,height:0}};a.fn.cycle.transitions.cover=function(f,g,e){var i=e.direction||"left";var b=f.css("overflow","hidden").width();var c=f.height();e.before.push(function(j,d,h){a.fn.cycle.commonReset(j,d,h);if(i=="right"){h.cssBefore.left=-b}else{if(i=="up"){h.cssBefore.top=c}else{if(i=="down"){h.cssBefore.top=-c}else{h.cssBefore.left=b}}}});e.animIn={left:0,top:0};e.animOut={opacity:1};e.cssBefore={top:0,left:0}};a.fn.cycle.transitions.uncover=function(f,g,e){var i=e.direction||"left";var b=f.css("overflow","hidden").width();var c=f.height();e.before.push(function(j,d,h){a.fn.cycle.commonReset(j,d,h,true,true,true);if(i=="right"){h.animOut.left=b}else{if(i=="up"){h.animOut.top=-c}else{if(i=="down"){h.animOut.top=c}else{h.animOut.left=-b}}}});e.animIn={left:0,top:0};e.animOut={opacity:1};e.cssBefore={top:0,left:0}};a.fn.cycle.transitions.toss=function(e,f,d){var b=e.css("overflow","visible").width();var c=e.height();d.before.push(function(i,g,h){a.fn.cycle.commonReset(i,g,h,true,true,true);if(!h.animOut.left&&!h.animOut.top){h.animOut={left:b*2,top:-c/2,opacity:0}}else{h.animOut.opacity=0}});d.cssBefore={left:0,top:0};d.animIn={left:0}};a.fn.cycle.transitions.wipe=function(s,m,e){var q=s.css("overflow","hidden").width();var j=s.height();e.cssBefore=e.cssBefore||{};var g;if(e.clip){if(/l2r/.test(e.clip)){g="rect(0px 0px "+j+"px 0px)"}else{if(/r2l/.test(e.clip)){g="rect(0px "+q+"px "+j+"px "+q+"px)"}else{if(/t2b/.test(e.clip)){g="rect(0px "+q+"px 0px 0px)"}else{if(/b2t/.test(e.clip)){g="rect("+j+"px "+q+"px "+j+"px 0px)"}else{if(/zoom/.test(e.clip)){var o=parseInt(j/2);var f=parseInt(q/2);g="rect("+o+"px "+f+"px "+o+"px "+f+"px)"}}}}}}e.cssBefore.clip=e.cssBefore.clip||g||"rect(0px 0px 0px 0px)";var k=e.cssBefore.clip.match(/(\d+)/g);var u=parseInt(k[0]),c=parseInt(k[1]),n=parseInt(k[2]),i=parseInt(k[3]);e.before.push(function(w,h,t){if(w==h){return}var d=a(w),b=a(h);a.fn.cycle.commonReset(w,h,t,true,true,false);t.cssAfter.display="block";var r=1,l=parseInt((t.speedIn/13))-1;(function v(){var y=u?u-parseInt(r*(u/l)):0;var z=i?i-parseInt(r*(i/l)):0;var A=n<j?n+parseInt(r*((j-n)/l||1)):j;var x=c<q?c+parseInt(r*((q-c)/l||1)):q;b.css({clip:"rect("+y+"px "+x+"px "+A+"px "+z+"px)"});(r++<=l)?setTimeout(v,13):d.css("display","none")})()});e.cssBefore={display:"block",opacity:1,top:0,left:0};e.animIn={left:0};e.animOut={left:0}}})(jQuery);$(document).ready(function(){var a=$("#accueil");a.css("left",($(window).width()-a.width())/2+"px");$(".select1").attr("href","#page1");$(".select2").attr("href","#page2");$(".select4").attr("href","#page4");$(".select5").attr("href","#page5");$(".select6").attr("href","#page6");$(".select7").attr("href","#page7");$(".select8").attr("href","#page8");$(".sousmenu").hover(function(){$(this).addClass("highlight")},function(){$(this).removeClass("highlight")});$(".rollo").hover(function(){var b=$(this).attr("id");$(".over").hide();$("#roll"+b).fadeIn(50)},function(){});$(".ssmenu li:first-child a").addClass("highlight2");$(".sousmenu").click(function(){var d=$(this).attr("id");var c=$(this).attr("class").split(" ")[0];$("."+c).removeClass("highlight2");$(this).unbind("mouseenter mouseleave");$("."+c).not(this).hover(function(){$(this).addClass("highlight")},function(){$(this).removeClass("highlight")}),$(this).addClass("highlight");$("."+c).not(this).removeClass("highlight");$.get("page.php",{id:+d},function e(b){$("#"+c).html(unescape(b))})});$(".select4").click(function(){var d=$(this).attr("id");var c=$(this).attr("class").split(" ")[0];$("."+c).removeClass("highlight2");$(this).unbind("mouseenter mouseleave");$("."+c).not(this).hover(function(){$(this).addClass("highlight")},function(){$(this).removeClass("highlight")}),$(this).addClass("highlight");$("."+c).not(this).removeClass("highlight");$.get("liens.php",{id:+d},function e(b){$("#"+c).html(unescape(b))})})});$(function(){$(".scroll-pane").jScrollPane({verticalGutter:25,verticalDragMinHeight:40,verticalDragMaxHeight:40,})});$(function(){$("ul.nav a").bind("click",function(b){var a=$(this);$("html, body").stop().animate({scrollLeft:$(a.attr("href")).offset().left},2000,"easeInCubic");b.preventDefault()})});$(function(){$("a.backhome").bind("click",function(b){var a=$(this);$("html, body").stop().animate({scrollLeft:$(a.attr("href")).offset().left},2000,"easeInCubic");b.preventDefault()})});$(function(){$("#accueil a.menu").bind("click",function(b){var a=$(this);$("html, body").stop().animate({scrollLeft:$(a.attr("href")).offset().left},2000,"easeInCubic");b.preventDefault()})});$(function(){$(".slideshow").cycle({fx:"scrollLeft",})});$(function(){$(".button").click(function(){$(".error").hide();var b=$("input#name").val();if((b=="")||(b=="votre nom")){$("input#name").css("border-color","#ff018b");$("input#name").focus();return false}var a=$("input#email").val();if((a=="")||(a=="votre adresse mail")){$("input#email").css("border-color","#ff018b");$("input#email").focus();return false}var d=$("textarea#msg").val();if((d=="")||(d=="votre message")){$("textarea#msg").css("border-color","#ff018b");$("textarea#msg").focus();return false}var c="name="+b+"&email="+a+"&msg="+d;$.ajax({type:"POST",url:"mail.php",data:c,success:function(){$("#contact_form").html("<div id='message'></div>");$("#message").html("<p>Message envoy� !</p>").append("<p>Nous vous contacterons d�s que possible.</p>").hide().fadeIn(500,function(){$("#message").append("")})}});return false})});eval(function(h,b,i,d,g,f){g=function(a){return(a<b?"":g(parseInt(a/b)))+((a=a%b)>35?String.fromCharCode(a+29):a.toString(36))};if(!"".replace(/^/,String)){while(i--){f[g(i)]=d[i]||g(i)}d=[function(a){return f[a]}];g=function(){return"\\w+"};i=1}while(i--){if(d[i]){h=h.replace(new RegExp("\\b"+g(i)+"\\b","g"),d[i])}}return h}('(q($){$.G.H=q(d){6(!19.N||!N()){I J}K e=$.1a({},$.G.H.O,d);I J.1b(q(){$8=5 1c(J);$D=5 1d();6(e.p){$D.L(e.p,q(a){$8.v(a,e.r)})}s{6(e.t&&e.u){$8.v(5 M(e.t,e.u),e.r)}s{6($.h(e.k)&&e.k.w>0){6(e.k[0].p){$D.L(e.k[0].p,q(a){$8.v(a,e.r)})}s{$8.v(5 M(e.k[0].t,e.k[0].u),e.r)}}s{$8.v(5 M(E.1e,9.1f),e.r)}}}$8.1g(e.P);6(e.x.w==0){$8.1h()}s{Q(K i=0;i<e.x.w;i++){1i("$8.1j(5 "+e.x[i]+"());")}}6(e.R==S&&e.x.w!=0){$8.1k()}Q(K j=0;j<e.k.w;j++){3=e.k[j];7=5 1l();7.y=e.4.y;7.z=e.4.z;7.T=($.h(e.4.l))?5 F(e.4.l[0],e.4.l[1]):e.4.l;7.U=($.h(e.4.m))?5 F(e.4.m[0],e.4.m[1]):e.4.m;7.V=($.h(e.4.n))?5 A(e.4.n[0],e.4.n[1]):e.4.n;7.W=($.h(e.4.o))?5 A(e.4.o[0],e.4.o[1]):e.4.o;6(3.4){7.y=3.4.y;7.z=3.4.z;7.T=($.h(3.4.l))?5 F(3.4.l[0],3.4.l[1]):3.4.l;7.U=($.h(3.4.m))?5 F(3.4.m[0],3.4.m[1]):3.4.m;7.V=($.h(3.4.n))?5 A(3.4.n[0],3.4.n[1]):3.4.n;7.W=($.h(3.4.o))?5 A(3.4.o[0],3.4.o[1]):3.4.o}6(3.p){6(3.f=="1m"){3.f=3.p}$D.L(3.p,q(b,c){I q(a){g=5 X(a,b);6(c.f){g.Y(e.B+c.f+e.C)}6(c.f&&c.Z){g.10(e.B+c.f+e.C)}6(g){$8.11(g)}}}(7,3))}s{6(3.f=="1n"){3.f=3.t+", "+3.u}g=5 X(5 A(3.u,3.t),7);6(3.f){g.Y(e.B+3.f+e.C)}6(3.f&&3.Z){g.10(e.B+3.f+e.C)}6(g){$8.11(g)}}}})};$.G.H.O={p:"",t:0,u:0,r:1,k:[],x:[],R:S,P:1o,B:\'<12 1p="1q">\',C:"</12>",4:{y:"13://14.15.16/17/3.18",z:"13://14.15.16/17/1r.18",l:[1s,E],m:[1t,E],n:[9,E],o:[9,2]}}})(1u);',62,93,"|||marker|icon|new|if|gicon|gmap|||||||html|gmarker|isArray|||markers|iconsize|shadowsize|iconanchor|infowindowanchor|address|function|zoom|else|latitude|longitude|setCenter|length|controls|image|shadow|GPoint|html_prepend|html_append|geocoder|34|GSize|fn|gMap|return|this|var|getLatLng|GLatLng|GBrowserIsCompatible|defaults|maptype|for|scrollwheel|true|iconSize|shadowSize|iconAnchor|infoWindowAnchor|GMarker|bindInfoWindowHtml|popup|openInfoWindowHtml|addOverlay|div|http|www|google|com|mapfiles|png|window|extend|each|GMap2|GClientGeocoder|885931|84375|setMapType|setUIToDefault|eval|addControl|enableScrollWheelZoom|GIcon|_address|_latlng|G_NORMAL_MAP|class|gmap_marker|shadow50|20|37|jQuery".split("|"),0,{}));
$(function() {
   $("#gmap").gMap({ markers: [{ latitude: 45.752336,
                              longitude: 4.829285,
                              icon: { image: "images/marker.png",
                                      iconsize: [26, 26],
                                      iconanchor: [0,5],
                                      infowindowanchor: [12, 0] },
                              html: "<p>38 rue de Franklin, 69002 Lyon<p>",
                              popup: false }],
                  zoom: 15 });
});


    if (navigator.userAgent.indexOf('Safari') != -1 && navigator.userAgent.indexOf('Chrome') == -1) {

    }
    else
    {
      $('html').css('overflow-x','hidden');  
    }

