/*! VersionVI: 30F220073h x */
var bAvecEffet=!1;(function(n){function t(){var t=n(window).scrollTop(),r=n(window).scrollLeft(),i;this.nDebutVueNavigateur!=t&&(i=this.nDebutVueNavigateur<t,this.nDebutVueNavigateur=t,n('div[id^="dww"]').filter(".fixedcoulisse").each(function(){var u=n(this),l,a;if(r>0){u.removeClass("fixed");u.removeClass("abs");u.removeClass("effet");return}var e=parseFloat(u.attr("data-marge-avant"),10),v=u.attr("data-fin")=="",y=parseFloat(u.attr("data-fin"),10),c=parseFloat(u.attr("data-fin-absolue"),10);u.css("position")!="fixed"&&n(".wbParallax,.wbParallaxChamp").length>0&&u.attr("data-debut",u.offset().top);var f=parseFloat(u.attr("data-debut"),10),s=u.outerHeight(),o=u.attr("data-sens")=="bas",h=n(window).height();bAvecEffet?o?s+=e:(u.hasClass("fixed")&&(f-=e),c-=e):o?s+=e:(f-=e,c-=e);(o?t+h<=f+s-(bAvecEffet?e:0):t>=f)?!v&&(o?t+h<=c+s:t>=c)?(u.removeClass("fixed"),u.addClass("abs"),u.removeClass("effet")):(u.addClass("fixed"),u.removeClass("abs")):(!bAvecEffet||(o?t+h>f+s:t<f))&&(u.removeClass("fixed"),u.removeClass("abs"),u.addClass("effet"));u.hasClass("fixedcoulissemasquee")&&u.queue().length==0&&(l=o?t+h-f:t-f+s,a=l>0,a&&(o?!i:i)?l>(t+h)/3&&u.fadeOut():u.fadeIn())}))}n('div[id^="dww"]').filter(".fixedcoulisse").each(function(){var t=n(this),u=t.attr("id"),i,r;t.attr("data-debut",t.offset().top);var c=t.attr("style").replace("fixed","absolute"),o=parseFloat(t.attr("data-marge-avant"),10),l=t.attr("data-fin")=="",s=parseFloat(t.attr("data-fin"),10),h=t.attr("data-sens")=="bas",f=h?"bottom":"top",e=h?"top":"bottom";n("html > head").append(n("<style>#"+u+".fixed { position:fixed; margin-"+f+":"+o+"px;"+f+":0; }<\/style>")).append(n("<style>#"+u+".abs { position:absolute; margin-"+e+":"+s+"px;"+e+":0; }<\/style>")).append(n("<style>#"+u+" { "+c+" }<\/style>"));bAvecEffet&&(i=u+"_fixedcoulissemarge",r="0% \t{ margin-"+f+":0; }100% { margin-"+f+":"+o+"px;}",n("html > head").append(n("<style>@-ms-keyframes "+i+" { "+r+" }<\/style>")).append(n("<style>@-moz-keyframes "+i+" { "+r+" }<\/style>")).append(n("<style>@-o-keyframes "+i+" { "+r+" }<\/style>")).append(n("<style>@-webkit-keyframes "+i+" { "+r+" }<\/style>")).append(n("<style>@keyframes "+i+" { "+r+" }<\/style>")).append(n("<style>#"+u+".effet.fixed { -ms-animation:"+i+" 1s;-moz-animation:"+i+" 1s;-o-animation:"+i+" 1s;-webkit-animation:"+i+" 1s;animation:"+i+" 1s;}<\/style>")));l||(t.attr("style","margin:0;position:absolute;"+e+":"+s+"px;"),t.attr("data-fin-absolue",t.offset().top));t.css("display","none");setTimeout(function(){t.css("display","block").attr("style","");AppelMethode&&t.length==1&&window.WDChamp&&WDChamp.prototype.ms_sOnDisplay&&AppelMethode(WDChamp.prototype.ms_sOnDisplay,[t[0],!0])},1)});n(window).scroll(function(n){t(n)});n(window).resize(function(n){t(n)});n(window).trigger("scroll")})(jQuery)