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(f){f.facebox=function(m,l){f.facebox.loading();if(m.ajax){g(m.ajax,l);}else{if(m.image){c(m.image,l);}else{if(m.div){j(m.div,l);}else{if(f.isFunction(m)){m.call(f);}else{f.facebox.reveal(m,l);}}}}};f.extend(f.facebox,{settings:{opacity:0.8,overlay:true,loadingImage:"/facebox/loading.gif",closeImage:"/facebox/closelabel.png",imageTypes:["png","jpg","jpeg","gif"],faceboxHtml:'    <div id="facebox" style="display:none;">       <div class="popup">         <div class="content">         </div>         <a href="#" class="close"></a>       </div>     </div>'},loading:function(){k();if(f("#facebox .loading").length==1){return true;}e();f("#facebox .content").empty().append('<div class="loading"><img src="'+f.facebox.settings.loadingImage+'"/></div>');f("#facebox").show().css({top:h()[1]+(i()/10),left:f(window).width()/2-(f("#facebox .popup").outerWidth()/2)});f(document).bind("keydown.facebox",function(l){if(l.keyCode==27){f.facebox.close();}return true;});f(document).trigger("loading.facebox");},reveal:function(m,l){f(document).trigger("beforeReveal.facebox");if(l){f("#facebox .content").addClass(l);}f("#facebox .content").empty().append(m);f("#facebox .popup").children().fadeIn("normal");f("#facebox").css("left",f(window).width()/2-(f("#facebox .popup").outerWidth()/2));f(document).trigger("reveal.facebox").trigger("afterReveal.facebox");},close:function(){f(document).trigger("close.facebox");return false;}});f.fn.facebox=function(l){if(f(this).length==0){return;}k(l);function m(){f.facebox.loading(true);var n=this.rel.match(/facebox\[?\.(\w+)\]?/);if(n){n=n[1];}j(this.href,n);return false;}return this.bind("click.facebox",m);};function k(n){if(f.facebox.settings.inited){return true;}else{f.facebox.settings.inited=true;}f(document).trigger("init.facebox");d();var l=f.facebox.settings.imageTypes.join("|");f.facebox.settings.imageTypesRegexp=new RegExp("\\.("+l+")(\\?.*)?$","i");if(n){f.extend(f.facebox.settings,n);}f("body").append(f.facebox.settings.faceboxHtml);var m=[new Image(),new Image()];m[0].src=f.facebox.settings.closeImage;m[1].src=f.facebox.settings.loadingImage;f("#facebox").find(".b:first, .bl").each(function(){m.push(new Image());m.slice(-1).src=f(this).css("background-image").replace(/url\((.+)\)/,"$1");});f("#facebox .close").click(f.facebox.close).append('<img src="'+f.facebox.settings.closeImage+'" class="close_image" title="close">');}function h(){var m,l;if(self.pageYOffset){l=self.pageYOffset;m=self.pageXOffset;}else{if(document.documentElement&&document.documentElement.scrollTop){l=document.documentElement.scrollTop;m=document.documentElement.scrollLeft;}else{if(document.body){l=document.body.scrollTop;m=document.body.scrollLeft;}}}return new Array(m,l);}function i(){var l;if(self.innerHeight){l=self.innerHeight;}else{if(document.documentElement&&document.documentElement.clientHeight){l=document.documentElement.clientHeight;}else{if(document.body){l=document.body.clientHeight;}}}return l;}function d(){var l=f.facebox.settings;l.loadingImage=l.loading_image||l.loadingImage;l.closeImage=l.close_image||l.closeImage;l.imageTypes=l.image_types||l.imageTypes;l.faceboxHtml=l.facebox_html||l.faceboxHtml;}function j(m,l){if(m.match(/#/)){var n=window.location.href.split("#")[0];var o=m.replace(n,"");if(o=="#"){return;}f.facebox.reveal(f(o).html(),l);}else{if(m.match(f.facebox.settings.imageTypesRegexp)){c(m,l);}else{g(m,l);}}}function c(m,l){var n=new Image();n.onload=function(){f.facebox.reveal('<div class="image"><img src="'+n.src+'" /></div>',l);};n.src=m;}function g(m,l){f.get(m,function(n){f.facebox.reveal(n,l);});}function b(){return f.facebox.settings.overlay==false||f.facebox.settings.opacity===null;}function e(){if(b()){return;}if(f("#facebox_overlay").length==0){f("body").append('<div id="facebox_overlay" class="facebox_hide"></div>');}f("#facebox_overlay").hide().addClass("facebox_overlayBG").css("opacity",f.facebox.settings.opacity).click(function(){f(document).trigger("close.facebox");}).fadeIn(200);return false;}function a(){if(b()){return;}f("#facebox_overlay").fadeOut(200,function(){f("#facebox_overlay").removeClass("facebox_overlayBG");f("#facebox_overlay").addClass("facebox_hide");f("#facebox_overlay").remove();});return false;}f(document).bind("close.facebox",function(){f(document).unbind("keydown.facebox");f("#facebox").fadeOut(function(){f("#facebox .content").removeClass().addClass("content");f("#facebox .loading").remove();f(document).trigger("afterClose.facebox");});a();});})(jQuery);(function(c){var a=c.scrollTo=function(f,e,d){c(window).scrollTo(f,e,d);};a.defaults={axis:"xy",duration:parseFloat(c.fn.jquery)>=1.3?0:1};a.window=function(d){return c(window)._scrollable();};c.fn._scrollable=function(){return this.map(function(){var e=this,d=!e.nodeName||c.inArray(e.nodeName.toLowerCase(),["iframe","#document","html","body"])!=-1;if(!d){return e;}var f=(e.contentWindow||e).document||e.ownerDocument||e;return c.browser.safari||f.compatMode=="BackCompat"?f.body:f.documentElement;});};c.fn.scrollTo=function(f,e,d){if(typeof e=="object"){d=e;e=0;}if(typeof d=="function"){d={onAfter:d};}if(f=="max"){f=9000000000;}d=c.extend({},a.defaults,d);e=e||d.speed||d.duration;d.queue=d.queue&&d.axis.length>1;if(d.queue){e/=2;}d.offset=b(d.offset);d.over=b(d.over);return this._scrollable().each(function(){var l=this,j=c(l),k=f,i,g={},m=j.is("html,body");switch(typeof k){case"number":case"string":if(/^([+-]=)?\d+(\.\d+)?(px|%)?$/.test(k)){k=b(k);break;}k=c(k,this);case"object":if(k.is||k.style){i=(k=c(k)).offset();}}c.each(d.axis.split(""),function(q,r){var s=r=="x"?"Left":"Top",u=s.toLowerCase(),p="scroll"+s,o=l[p],n=a.max(l,r);if(i){g[p]=i[u]+(m?0:o-j.offset()[u]);if(d.margin){g[p]-=parseInt(k.css("margin"+s))||0;g[p]-=parseInt(k.css("border"+s+"Width"))||0;}g[p]+=d.offset[u]||0;if(d.over[u]){g[p]+=k[r=="x"?"width":"height"]()*d.over[u];}}else{var t=k[u];g[p]=t.slice&&t.slice(-1)=="%"?parseFloat(t)/100*n:t;}if(/^\d+$/.test(g[p])){g[p]=g[p]<=0?0:Math.min(g[p],n);}if(!q&&d.queue){if(o!=g[p]){h(d.onAfterFirst);}delete g[p];}});h(d.onAfter);function h(n){j.animate(g,e,d.easing,n&&function(){n.call(this,f,d);});}}).end();};a.max=function(j,i){var h=i=="x"?"Width":"Height",e="scroll"+h;if(!c(j).is("html,body")){return j[e]-c(j)[h.toLowerCase()]();}var g="client"+h,f=j.ownerDocument.documentElement,d=j.ownerDocument.body;return Math.max(f[e],d[e])-Math.min(f[g],d[g]);};function b(d){return typeof d=="object"?d:{top:d,left:d};}})(jQuery);jQuery(function(a){if(window.b4f&&window.b4f.configuration){a.extend(a.facebox.settings,{closeImage:window.b4f.configuration.contextStaticPath+"/ockle/img/facebox-closelabel.png",loadingImage:window.b4f.configuration.contextStaticPath+"/ockle/img/facebox-loading.gif"});}a("a[rel*=facebox]").facebox();});jQuery(function(a){a(".t-closable").click(function(c){var b=a(c.target);if(b.attr("data-state")!==undefined){a.cookie(b.attr("data-state"),"1");}b.parent(".t-closable-box").fadeTo(250,0.4).slideUp();});});jQuery(function(a){a("a.top").click(function(){a.scrollTo(this.hash,{easing:"easeOutQuint",duration:400,axis:"y"});return false;});});jQuery(function(a){var b=a("#t-notification");if(b.length===0){return false;}a.facebox(b.html());});jQuery(function(a){a(".t-remember-me").click(function(b){if(a(this).is(":checked")){a.facebox('<div class="info"><h2>Glückwunsch zu der guten Entscheidung!</h2><p>Du hast deine Login-Daten auf diesem Computer gespeichert. So bleibst du künftig automatisch angemeldet. Solltest du die Cookies in deinem Browser löschen, musst du allerdings Nutzernamen und Passwort erneut eingeben.<br/>Sitzt du an einem öffentlichen Rechner? Oder wird dein Computer von mehreren Leuten genutzt? Dann empfehlen wir aus Sicherheits-Gründen, die Merkfunktion hier zu deaktivieren.<br/>Dein brands4friends-Team</p></div>');}return true;});});jQuery(function(a){a(".t-ajaxform").submit(function(c){var b=a(this);c.preventDefault();b.stop();a.facebox(function(){a.post(b.attr("action"),b.serialize(),"html").complete(function(d){a.facebox(d.responseText);});});});});jQuery(function(a){if(a.browser.msie){if(a.browser.version==="7.0"||a.browser.version==="6.0"){a("button[type=submit]").bind("click",function(){a(this).parentsUntil("form").find("button[type=submit]").not(this).each(function(){a(this).attr("disabled","disabled");});});}}});jQuery(function(a){var b=function(){a("html > body a > button[type=button]").live("click",function(){window.location=a(this).parent().attr("href");return false;});};window.b4f.ieButtonFix=b;});(function(k,o){o.b4f=o.b4f||{};var g=86400,e=3600,p=function(s){var r;if(s.time<e){r="m nm s ns";}else{if(s.time<g){r="h nh m nm";}else{r="d nd h nh";}}return s.format(r);},b=function(){k(".t-timer").each(function(){var t=k(this),u=parseInt(t.attr("data-start"),10),r=parseInt(t.attr("data-end"),10),s=t.html();if(u>=g&&r>=g){t.addClass("now").countdown({waittime:r,onUpdate:function(w,v){w.text("Läuft noch "+p(v)).append(s);}});}else{if(r<g){t.addClass("soon").countdown({waittime:r,onUpdate:function(w,v){w.text("Läuft nur noch "+p(v)).append(s);}});}else{if(u<g){t.addClass("now").countdown({runtime:u,onUpdate:function(w,v){w.text("Läuft seit "+p(v)).append(s);}});}}}});},l=function(r){k("#t-primarynavigation>li").mouseenter(function(){k(this).addClass("selected");var s=k(this).find(".nav-sub");k(this).parent().find(".nav-sub").hide();if(s.length){s.show();}else{k(this).append(k(r.html(k(this).attr("id"))));}}).mouseleave(function(){k(this).removeClass("selected");k(this).find(".nav-sub").hide();});k("#form-invitation-email").bind({focus:function(){k(this).parent().doTimeout("hover",100,"addClass","hover");},blur:function(){k(this).parent().doTimeout("hover",250,"removeClass","hover");}});},f=function(r,s){k("a.t-video-trigger").click(function(u){var t=s.videos[k(u.target).data("campaignid")];r.renderPlayer("t-video-player",t.teaser);k.facebox({div:"#t-video"});k.trackOEventWithEVar("event4","Videolayer Link","eVar27",t.headline);return false;});},j={init:function(){k("#notepad-container form").bind("submit",function(s){var r=k(this);s.preventDefault();r.stop();if(j.validate(r)){j.tracklink();k.when(r.find(".dialog-title").html('Aktiviere E-Mail-Benachrichtigung <div class="loading"><img src="'+k.facebox.settings.loadingImage+'"/></div>').end().find(".dialog-content").slideUp(500),k.post(r.attr("action"),r.serialize(),"html")).done(function(t){r.find(".dialog-title").html("Deine Anfrage wurde gespeichert");r.find(".dialog-content").fadeIn(200).html("Vielen Dank!");k.doTimeout(2000,function(){k(document).trigger("close.facebox");});}).fail(function(t){r.find(".dialog-title").html("Deine Anfrage konnte nicht gespeichert werden");r.find(".dialog-content").fadeIn(200).html("Beim Speichern der Anfrage ist ein Fehler aufgetreten. Bitte versuche es später noch einmal.");k.doTimeout(5000,function(){k(document).trigger("close.facebox");});});}else{j.showError(r);}});},showError:function(r){r.find(".dialog-error").empty().append(j.message).fadeIn(200);},validate:function(r){j.message="";if(r.find("#variantToRemind").length!==0){if(!r.find("#variantToRemind").val()){j.message+="Bitte gewünschten Artikel auswählen";}}return(j.message.length==0);},tracklink:function(){var r=s_gi(s_account);r.linkTrackVars="events";r.linkTrackEvents="event22";r.events="event22";r.tl(true,"o","E-Mail-Benachrichtigung");r.linkTrackVars=r.linkTrackEvents="";}},i=function(){j.init();},q={init:function(r){r=r||{};r.waitTitle=r.waitTitle||"Sende Anfrage";r.successTitle=r.successTitle||"Erfolg";r.successMsg=r.successMsg||"Vielen Dank.";r.failureTitle=r.failureTitle||"Fehler";r.failureMsg=r.failureMsg||"Ein Fehler ist aufgetreten";k("#facebox form").live("submit",function(u){var s=k(this),t=function(x,v,w){s.find("h2").html(x).end().find("p").hide().html(v).fadeIn(200);k.doTimeout(w,function(){k(document).trigger("close.facebox");});};u.preventDefault();s.stop();k.when(s.find("h2").html(r.waitTitle).end().find("p").remove().end().append("<p></p>").find("p").html('<img src="'+k.facebox.settings.loadingImage+'"/>'),k.post(s.attr("action"),s.serialize(),"html")).done(function(v){t(r.successTitle,r.successMsg,2000);}).fail(function(v){t(r.failureTitle,r.failureMsg,5000);});});}},n=function(r,s){if(s){k(".t-stage-slideshow").cycle({fx:"scrollHorz",timeout:r,next:k("#t-stage-next"),prev:k("#t-stage-prev"),pager:k("#t-stage-pager"),width:620,height:269,pause:true,before:function(v,u,w,t){k("#t-stage-sell-link").bind("click",false).removeClass("t-stage-sell-link-active").addClass("t-stage-sell-link-inactive");},after:function(v,u,w,t){k("#t-stage-sell-link").unbind("click",false).removeClass("t-stage-sell-link-inactive").addClass("t-stage-sell-link-active").attr("href",k(u).attr("href"));}});k(".t-stage-slideshow a,#t-stage-prev,#t-stage-next,#t-stage-pager").mouseenter(function(){k("#t-stage-prev, #t-stage-next").addClass("active");}).mouseleave(function(){k("#t-stage-prev, #t-stage-next").removeClass("active");});}},h=function(r){k("#t-detail-tabs").accessibleTabs({tabhead:"h2",fx:"fadeIn",autoAnchor:true});k("a#t-deliveryperiod").click(function(s){k.trackOEventWithEVarAndSProp("eVar29",r,"prop16",r);return false;});k("a#t-paymentoptions").click(function(s){k.trackOEventWithEVarAndSProp("eVar30",r,"prop17",r);return false;});},a=function(t){var r=0,s=k("#t-product-thumbs a");MagicZoomPlus.options={"disable-expand":true,"zoom-distance":6,"zoom-width":380,"zoom-height":550};s.click(function(){r=s.index(this);k(this).closest("ul").find("a.selected").removeClass("selected");k(this).addClass("selected");MagicZoomPlus.update("Zoomer",this.href,this.rev);return false;}).first().addClass("selected");k("#Zoomer, .bigpicture").click(function(){o.location=t+r;return false;});},d=function(){k("#t-add-email-field").click(function(s){var r=k(this);k(".t-email-field").filter(".hidden").first().each(function(){k(this).removeClass("hidden");if(k(this).siblings().filter(".hidden").size()===0){r.hide();}});return false;});},m=function(){k(".t-headline").click(function(){if(!k(this).next("dd.t-question").is(":visible")){k("dd.t-question").hide(200).removeClass("t-display-true");k("div.t-triggered-element").hide();k("dt.expanded").removeClass("expanded").addClass("collapsed");k(this).removeClass("collapsed").addClass("expanded");k(this).next("dd.t-question").addClass("t-display-true").show(200);}return false;});k(".t-trigger-link").click(function(){var r=k(this).parent();r.parent().siblings("div.t-triggered-element").show(200);r.siblings("div.t-triggered-element").show(200);return false;});},c=function(z){var x=z||0,v=new Array(),B=k(".image-list"),s=k("#t-image"),u=k(".image-previous"),y=k(".image-next"),E=k(".image-loading"),t=k(".image-close"),C=s.attr("src");var r=function(F){u.toggle(F>0);y.toggle(F<v.length-1);};var w=function(F){B.find("a.selected").removeClass("selected");B.find("a").eq(F).addClass("selected");};var A=function(F){var G=new Image();G.onload=function(){E.hide();s.attr("src",v[F]);G.onload=function(){};};G.src=v[F];};var D=function(F){u.hide();y.hide();E.show();s.attr("src",C);A(F);r(x);};u.click(function(F){x=x-1;D(x);return false;});y.click(function(F){x=x+1;D(x);return false;});k(document).keydown(function(G){var F=false;if(!F&&G.which===27){F=true;history.back();return false;}});t.jScroll({top:0}).click(function(){history.back();return false;});s.click(function(){history.back();return false;});u.jScroll({top:200});y.jScroll({top:200});E.jScroll({top:200});B.find("a").each(function(){v.push(k(this).attr("href"));});D(x);};o.b4f.campaigntimer=b;o.b4f.header=l;o.b4f.campaignvideos=f;o.b4f.notepad=i;o.b4f.FaceboxPoster=q;o.b4f.stage=n;o.b4f.productdetailtabs=h;o.b4f.magiczoom=a;o.b4f.faq=m;o.b4f.addemailfields=d;o.b4f.productimageswitcher=c;}(jQuery,window));
