function globalEvents(){$("a[rel='ext']").attr("target","_blank"),$("a.videoLink").click(function(n){n.preventDefault(),cancelTheaterAutoRotation();var t=$(this).attr("rel").split("::")[1].split("|");playVideo($(this).attr("href"),"lbVideo",t[0],t[1],t[2],flashPrefix+"FlashVideoPlayer_scale.swf","")}),$(".videoLink2").click(function(n){n.preventDefault(),n.stopPropegation,cancelTheaterAutoRotation();var i=$(this).find("a"),t=i.attr("rel").split("::")[1].split("|");playVideo(i.attr("href"),"lbVideo",t[0],t[1],t[2],flashPrefix+"FlashVideoPlayer_scale.swf","")}),$("a.top").length>0&&$("a.top").hoverIntent(function(){$(this).parent("li").css("z-index",199).siblings("li").css("z-index",99),$(this).parent("li").parent("ul").css("z-index",199).siblings("ul").css("z-index",99)},function(){$(this).parent("li").siblings("li").css("z-index",99),$(this).parent("li").parent("ul").siblings("ul").css("z-index",99)}),$(".print_button").click(function(n){n.preventDefault(),window.print()}),$(".productCallout, .productCallout .imgWrap").length>0&&$(".productCallout, .productCallout .imgWrap").equalHeights(),$(".productUsed, .productUsed .imgWrap").length>0&&$(".productUsed, .productUsed .imgWrap").equalHeights()}function activateTabs(){$("#productDetail").length>0&&(tabs=$("#productDetail"),tabs.tabs(),SWFAddress.onChange=function(){handleChange(tabs)},tabs.tabs({select:function(n,t){var i=t.tab.hash;i=i.replace("#","/")+"/",SWFAddress.setValue(i)}}))}function handleChange(n){var t=SWFAddress.getPath();switch(t){case"/"+tabIDs[0]+"/":n.tabs("select",0);break;case"/"+tabIDs[1]+"/":n.tabs("select",1);break;case"/"+tabIDs[2]+"/":n.tabs("select",2);break;case"/"+tabIDs[3]+"/":n.tabs("select",3);break;case"/"+tabIDs[4]+"/":n.tabs("select",4);break;default:n.tabs("select",0)}$("#productDetail").find(".last").hasClass("ui-tabs-selected")?($("#shareBuyLinks").hide(),$("#productDetail .imgWrapper").hide(),$("#productDetail h3").hide()):$("#productDetail").find(".reviews").parent().hasClass("ui-tabs-selected")?($("#shareBuyLinks").hide(),$("#productDetail .imgWrapper").hide(),$("#productDetail h3").show()):($("#shareBuyLinks").show(),$("#productDetail .imgWrapper").show(),$("#productDetail h3").show()),$.browser.msie&&$.browser.version.substr(0,1)<7&&$("#productDetail").length>0&&$(".imgWrapper").length>0&&$("#productDetail").height()<$(".imgWrapper img").first().height()+95&&$("#productDetail").height($(".imgWrapper img").first().height()+95)}function parentWidth(n){var t=0;return n.children().length>0?n.children().each(function(){t+=$(this).outerWidth()}):t=n.outerWidth(),t}function makeAnotherNav(n,t){var r=parentWidth(n),i,u;i=$("<ul class='navline'></ul>");while(r>t)u=n.children("li").eq(-1).prependTo(i),r=parentWidth(n);i.insertAfter(n),n.children("li").add(i.children("li")).children("a").removeClass("top").removeClass("topLast").addClass("top"),n.children("li").eq(-1).add(i.children("li").eq(-1)).children("a.top").removeClass("top").addClass("topLast"),$.browser.msie&&$.browser.version.substr(0,1)<7||parentWidth(i)>t&&makeAnotherNav(i,t)}function centerNav(){var i=$("#nav ul:first-child"),t=885,n;for(parentWidth(i)>t&&makeAnotherNav(i,t),$("#nav").children("ul").length>1&&$("#nav").children("ul").addClass($("#nav > ul:first-child").attr("class")),n=1;n<=$("#nav").children("ul").length;n++)$("#nav").children("ul").eq(-n).css("z-index",n*100).children("li").css("z-index",n*100);$("#nav > ul").each(function(){var n=$(this).outerWidth();n<t+1?$(this).css({width:n+"px",float:"none"}):$(this).css({width:t+"px",float:"none"})})}function replaceDropdown(n){for(var r=n.substring(1)+"LinkList",e=n.substring(1)+"Link",i=$(n+" option"),u='<div id="'+r+'" class="ddlist">\n<a href="#" id="'+e+'">'+i.eq(0).text()+"</a>\n<ul>\n",o,f,t=1;t<i.length;t++)u+='<li><a href="'+i.eq(t).val()+'">'+i.eq(t).text()+"</a></li>\n";u+="</ul>\n</div>\n",$(n).next("button").remove(),$(n).after(u),$(n).remove(),f=$("#"+r),$("#"+e).click(function(n){n.preventDefault(),$("#"+r+" ul").is(":visible")||($("#"+r+" ul").slideDown("fast"),$(this).toggleClass("open"),o=setTimeout(function(){$("body").click(function(){$(this).unbind("click"),closeDropdown(f)})},200))})}function closeDropdown(n){n.children("ul").is(":visible")&&(n.children("ul").slideUp("fast"),n.children("a").toggleClass("open"))}function playVideo(n,t,i,r,u,f,e){var a;if(n=="")return!1;a=f,(f==null||f=="")&&(a=flashPrefix+"FlashVideoPlayer_scale.swf");var nt=n,w="9.0.115",g=22,k="532",d="420";t==""&&(t="lbVideo"),i==""&&(i=k),r==""&&(r=d),u==""&&(u="9999"),(f==null||f=="")&&(f=flashPrefix+"FlashVideoPlayer_scale.swf");var c=$(window).height(),p=$(window).width(),b=!1;i=parseInt(i),r=parseInt(r);if(i+20>p||r+20>c){b=!0;var s=i/r,v=i,y=r;r+20>c?(r=c*.75,i=v>y?r*s:r/s,i+20>p&&(i=p*.75,r=v>y?i/s:i*s)):(i=p*.75,r=v>y?i/s:i*s,r+20>c&&(r=c*.75,i=v>y?r*s:r/s))}var l=parseInt(i),h=parseInt(r)+g,o=$("#"+t);o.length==0&&(o=createLBdiv(t,"body")),e?createVideoObject(w,t,n,i,r,u,a,l,h,o):b?$.fn.colorbox({innerWidth:l,innerHeight:h,inline:!0,href:"#"+t,onOpen:function(){},onComplete:function(){createVideoObject(w,t,n,i,r,u,a,l,h,o)},onCleanup:function(){o.hide()},onClosed:function(){o.remove()},opacity:.5}):$.fn.colorbox({innerWidth:l,innerHeight:h,inline:!0,href:"#"+t,onOpen:function(){$.browser.mozilla&&ScrollFreeze.on(),$("html").css({overflow:"hidden"})},onComplete:function(){createVideoObject(w,t,n,i,r,u,a,l,h,o)},onCleanup:function(){o.hide(),$("html").css({overflow:"auto"})},onClosed:function(){o.remove(),$.browser.mozilla&&ScrollFreeze.off()},opacity:.5}),detectAndroid()&&$("video").live("click",function(){this.play()})}function supports_html5_h264_video(){if(detectAndroid())return!0;if(document.createElement("video").canPlayType){var n=document.createElement("video");return!!n.canPlayType("video/mp4")}return!1}function createLBdiv(n,t){var i=$("<div></div>").attr({id:n}),u=$("<div></div>").attr("id",n+"noflash").addClass("no-flash"),f=$("<p></p>").text(nonflashVideoContentPart1).attr("style","padding-top:30px"),e=$("<a></a>").attr({href:nonflashVideoContentPart2LinkUrl,target:"_blank"}).text(nonflashVideoContentPart2LinkText),r=$("<p></p>").text(nonflashVideoContentPart2Text);return r.prepend(e),u.append(f).append(r),i.append(u),$(t).append(i),i}function createVideoObject(n,t,i,r,u,f,e,o,s,h){var y,a,l,p,c,v;swfobject.hasFlashPlayerVersion(n)?(y=t+"noflash",a={},a.videoUrl=i,a.videoWidth=r,a.videoHeight=u,a.videoDuration=f,l={},l.menu="false",l.quality="high",l.wmode="opaque",l.bgcolor="#3E3C3C",p={},swfobject.embedSWF(e,y,o,s,n,null,a,l,p)):supports_html5_h264_video()&&(c={},c.src=i,c.width=r,c.height=u,c.controls="true",c.autoplay="true",v=$("<video></video>").attr(c),h.html(""),h.append(v))}function detectiOSDevice(){for(var t=["ipod","itouch","ipad","iphone"],i=navigator.userAgent.toLowerCase(),n=0;n<t.length;n++)if(i.indexOf(t[n])!=-1)return!0;return!1}function detectAndroid(){for(var t=["android"],i=navigator.userAgent.toLowerCase(),n=0;n<t.length;n++)if(i.indexOf(t[n])!=-1)return!0;return!1}function setupGTLCarousel(){var r=!1,n=!1,u=6,f,i,t;$("#gtlSlider ul li").length>u&&(f=$("<p>Prev</p>").attr("id","sliderPrev").insertAfter("#gtlSlider"),i=$("<p>Next</p>").attr("id","sliderNext").insertAfter("#gtlSlider"),n=!0,r=!0),t=1,$("#gtlSlider a.current").length>0&&(t=$("#gtlSlider a.current").parent("li").index()),$("#gtlSlider").jCarouselLite({btnPrev:n?"#"+f.attr("id"):"",btnNext:n?"#"+i.attr("id"):"",mouseWheel:!0,circular:r,visible:u,auto:0,speed:300,start:t}),$("#gtlSlider li a").click(function(){if($(this).hasClass("current"))return!1;$(this).parent("li").siblings().children("a").removeClass("current"),$(this).addClass("current")})}function setupHomepageTheater(){var u=!1,n=!1,r=homepageJCarouselliteShownElements,t,i;$("#theaterNavSlider ul li").length>r&&(t=$("<p>Prev</p>").attr("id","sliderPrev").insertAfter("#theaterNavSlider"),i=$("<p>Next</p>").attr("id","sliderNext").insertAfter("#theaterNavSlider"),n=!0),$("#sliderPrev").click(function(){cancelTheaterAutoRotation()}),$("#sliderNext").click(function(){cancelTheaterAutoRotation()}),$("#theaterNavSlider").jCarouselLite({btnPrev:n?"#"+t.attr("id"):"",btnNext:n?"#"+i.attr("id"):"",mouseWheel:!0,circular:u,visible:r,auto:0,speed:300}),$(".theaterDiv").hide(),$("#theaterDefault").show(),$("#theaterNavSlider li a").hoverIntent(function(){cancelTheaterAutoRotation(),showTheaterNavItem(this,!0)},function(){startHomepageTheaterAutorotation($(this).parent("li").index(),homepageTheaterAutoRotationWaitTime)}),$("a#navSliderClose").click(function(n){n.preventDefault(),$(this).hasClass("open")?($("#sliderWrap").animate({bottom:-80},1250,"easeOutBack"),$("#theaterNavSlider ul li a img").animate({top:-66},1250),$(this).css({"background-position":"top right"}).toggleClass("open")):($("#sliderWrap").animate({bottom:-1},1250,"easeInBack"),$("#theaterNavSlider ul li a img").animate({top:0},1250),$(this).css({"background-position":"top left"}).toggleClass("open")),cancelTheaterAutoRotation()})}function callJCarouselLiteGoFunction(n){var t=0;n<homepageJCarouselliteShownElements||(t=n-homepageJCarouselliteShownElements+1,parent.jcarousellitegofunction(t))}function startHomepageTheaterAutorotation(n,t){homepageTheaterAutoRotationIntervalId=setTimeout(function(){autoRotationShowNextHomepageTheaterIndex(n)},t)}function autoRotationShowNextHomepageTheaterIndex(n){n!=homepageTheaterCurrentIndex?homepageTheaterCurrentIndex=n+1:homepageTheaterCurrentIndex++,homepageTheaterCurrentIndex>$("#theaterNavSlider ul li").length-1?showDefaultImageAndCancelAutoRotation():(showTheaterNavIndex(homepageTheaterCurrentIndex),callJCarouselLiteGoFunction(homepageTheaterCurrentIndex)),homepageTheaterAutoRotationIntervalId=setTimeout(function(){autoRotationShowNextHomepageTheaterIndex(homepageTheaterCurrentIndex)},homepageTheaterAutoRotationWaitTime)}function showDefaultImageAndCancelAutoRotation(){cancelTheaterAutoRotation(),homepageTheaterCurrentIndex=-1,$(".theaterDiv").fadeOut(1200),$("#theaterDefault").fadeIn(1200),$("#theaterNavSlider ul li a").each(function(n,t){$(t).removeClass("current")}),$("#theaterNavSlider ul li").length>homepageJCarouselliteShownElements&&parent.jcarousellitegofunction(0)}function cancelTheaterAutoRotation(){homepageTheaterAutoRotationIntervalId!=undefined&&homepageTheaterAutoRotationIntervalId!=0&&(clearTimeout(homepageTheaterAutoRotationIntervalId),homepageTheaterAutoRotationIntervalId=0)}function showTheaterNavIndex(n){showTheaterNavItem($("#ctl00_ContentPlaceHolder1_lvFilmStrip_ctrl"+n+"_hlFilmStripLink"),!1)}function showTheaterNavItem(n){var u,i,r;if($(n).hasClass("current"))return;$(n).parent("li").siblings().children("a").removeClass("current"),u="#theater",i=$(n).attr("className").split(" ");if(i.length<1)u+="Default";else for(r=0;r<i.length;r++)if(i[r].match(/sNav/i)){u+=i[r].replace(/sNav/i,"");break}$(n).addClass("current"),$(".theaterDiv").fadeOut(1200),$(u).fadeIn(1200)}function theaterTakeover(n,t,i){setTimeout(function(){animateTheaterTakeover(t,i)},n)}function animateTheaterTakeover(n,t){var i=-1;switch(t){case 920:i=-6;break;case 444:switch(n){case 0:i=-6;break;case 1:i=470}break;case 286:switch(n){case 0:i=-6;break;case 1:i=311;break;case 2:i=629}}i!=-1?($(".homepageTakeover").parents("#hpTheater").css("overflow","visible").end().animate({height:[106,"swing"],top:[389,"linear"],width:[t,"swing"],left:[i,"easeOutSine"],opacity:[.5,"easeInQuint"]},1500,function(){$(this).parents("#hpTheater").css("overflow","hidden").end().hide("slow",function(){startHomepageTheaterAutorotation(homepageTheaterCurrentIndex,homepageTheaterAutoRotationWaitTime)})}),$(".homepageTakeover img").animate({height:[106,"swing"],width:[t,"swing"]},1500)):$("#homepageTakeover").fadeOut("slow",function(){startHomepageTheaterAutorotation(homepageTheaterCurrentIndex,homepageTheaterAutoRotationWaitTime)})}function imgSwapper(){var t,i,n;if(typeof prodFamFileNames!="undefined"&&typeof channelBrandingFileNames!="undefined"){t=prodFamFileNames.length,i=channelBrandingFileNames.length;if(t==i){for(n=0;n<t;n++)channelBrandingImgObjs[n]=$("<img />").attr({src:channelBrandingFileNames[n],"class":"channelBrandingImg"}).appendTo("#col1").hide(),prodFamImgObjs[n]=$("<img />").attr({src:prodFamFileNames[n],"class":"productLineup",width:"229",height:"204"}).appendTo("#innerPLcol1").hide();$("#productLinks li").eq(0).addClass("current"),channelBrandingImgObjs[0].add(prodFamImgObjs[0]).show(),$("#productLinks a").hoverIntent(function(){cancelProdHairCareLandingPageAutoRotation();var n=$(this).parent("li").index();$(this).parent("li").addClass("current").siblings().removeClass("current"),$(".productLineup,.channelBrandingImg").fadeOut("slow"),channelBrandingImgObjs[n].add(prodFamImgObjs[n]).fadeIn("slow")},function(){}),startProdHairCareLandingPageAutoRotation(prodHairCareLandingPageAutoRotationWaitTime)}}typeof ourExpertsImageAutoRotation!="undefined"&&ourExpertsImageAutoRotation==!0&&($(".landing #col2 #contentWrap #innerCol1 #imageBlock a").eq(0).siblings().hide(),startOurExpertsLandingPageAutoRotation(ourExpertsLandingPageAutoRotationWaitTime))}function startProdHairCareLandingPageAutoRotation(n){prodHairCareLandingPageAutoRotationIntervalId=setInterval("prodHairCareLandingPageAutoRotationShowNextImgs()",n)}function prodHairCareLandingPageAutoRotationShowNextImgs(){prodHairCareLandingPageAutoRotationCurrentIndex++,prodHairCareLandingPageAutoRotationCurrentIndex<$("#productLinks #innerPLcol2 ul li").length?($("#productLinks li").eq(prodHairCareLandingPageAutoRotationCurrentIndex).addClass("current").siblings().removeClass("current"),channelBrandingImgObjs[prodHairCareLandingPageAutoRotationCurrentIndex].add(prodFamImgObjs[prodHairCareLandingPageAutoRotationCurrentIndex]).fadeIn("slow")):(cancelProdHairCareLandingPageAutoRotation(),$("#productLinks li").removeClass("current"),$("#col1 img").last().siblings().add($("#innerPLcol1 img").last().siblings()).hide(),$("#col1 img").last().add($("#innerPLcol1 img").last()).fadeOut("slow"),$("#col1 img").first().add($("#innerPLcol1 img").first()).fadeIn("slow"),prodHairCareLandingPageAutoRotationCurrentIndex=-1)}function cancelProdHairCareLandingPageAutoRotation(){prodHairCareLandingPageAutoRotationIntervalId!=undefined&&prodHairCareLandingPageAutoRotationIntervalId!=0&&(clearInterval(prodHairCareLandingPageAutoRotationIntervalId),prodHairCareLandingPageAutoRotationIntervalId=0)}function startOurExpertsLandingPageAutoRotation(n){ourExpertsLandingPageAutoRotationIntervalId=setInterval("ourExpertsLandingPageAutoRotationShowNextImgs()",n)}function ourExpertsLandingPageAutoRotationShowNextImgs(){ourExpertsLandingPageAutoRotationCurrentIndex++,ourExpertsLandingPageAutoRotationCurrentIndex<$(".landing #col2 #contentWrap #innerCol1 #imageBlock a").length||(ourExpertsLandingPageAutoRotationCurrentIndex=0),$(".landing #col2 #contentWrap #innerCol1 #imageBlock a").eq(ourExpertsLandingPageAutoRotationCurrentIndex).fadeIn("slow").siblings().fadeOut("slow")}function setupFAQs(){$("#faqContent").length>0&&($("dl dd").hide(),$("dl dt").addClass("closedFAQ"),$("<a href='#' />").addClass("faqToggle").appendTo("dl dt").click(function(n){n.preventDefault(),$(this).hasClass("open")?($(this).parents("dt").next("dd").slideUp(),$(this).parents("dt").prevAll("dt").first().children("a").hasClass("open")||$(this).parents("dt").addClass("closedFAQ").removeClass("openFAQ"),$(this).parents("dt").nextAll("dt").first().children("a").hasClass("open")||$(this).parents("dt").nextAll("dt").first().addClass("closedFAQ").removeClass("openFAQ")):$(this).parent("dt").addClass("openFAQ").removeClass("closedFAQ").next("dd").slideDown().next("dt").addClass("openFAQ").removeClass("closedFAQ"),$(this).toggleClass("open")}))}function getQueryVariable(n){for(var r=window.location.search.substring(1),i,r=r.replace("&amp;",";AMP;"),u=r.split("&"),t=0;t<u.length;t++){i=u[t].split("=");if(i[0]==n)return i[1]}return"none"}function moveBTTLink(){var n=$("a#backToTop").click(function(){return $("html, body").animate({scrollTop:"0px"},700),!1}),t,i;n.hide(),$(window).scrollTop()>$(window).height()&&(n.show(),$("html, body").animate({scrollTop:$(window).scrollTop()+1},1)),t=$("#discProdContent").offset().top+$("#discProdContent").height()+5+"px",i="10px",n.css({position:"absolute",top:t,left:i}),$(window).bind("scroll",function(){$(".discProdItem").each(function(){if($(window).scrollTop()+$(window).height()-$(this).height()>$(this).offset().top&&$(window).scrollTop()>$(window).height()/2){n.show();var i=0;$.browser.msie&&$.browser.version.substr(0,1)<7&&(i=10),t=$(this).offset().top-$(this).height()+35-i+"px",n.stop().animate({top:t})}})})}function validateOnBlur(n,t){for(var r,i=0;i<n.length;i++)n[i].id.indexOf(t.attr("id"))!=-1&&(n[i].isvalid||(r=n[i].id.substring(n[i].id.length-1)-1,t.siblings("span").eq(r).css("display","block"),t.siblings("span:visible").css("display","block")))}function tb_detectMacXFF(){var n=navigator.userAgent.toLowerCase();if(n.indexOf("mac")!=-1&&n.indexOf("firefox")!=-1)return!0}function createPrintLinks(n){var u=$('a[target="_blank"]');if($(u).length){var i=$("<fieldset>",{css:{clear:"both"}}).addClass("print_only"),e=$("<legend>",{text:n}).appendTo(i),f=$("<ol>").appendTo(i),t=[],r=0;$.each(u,function(n){var c=$(this).text(),i=$(this).attr("href"),e,h;i.substring(0,7)!="http://"&&(i=i.substring(0,1)!="/"?"http://"+document.location.host+i:"http://"+document.location.host+"/"+i),t[n]=i;var s=!1,o=0,u=-1;for(e in t)if(t[e]==t[n]){o++,u++;if(o>1){s=!0;break}}u>0||r++,$("<span>",{text:" ["+r+"]"}).appendTo($(this)).addClass("print_only"),s||(h=$("<li>",{text:i}).appendTo(f))}),$("body").append(i)}}function riaTrack(n){goToPage(n)}function goToPage(n){dcsMultiTrack("DCS.dcsuri",n,"DCS.dcsqry","","WT.ti",n),firstTracker._trackPageview(n),secondTracker._trackPageview(n)}function getQuerystring(n,t){t==null&&(t=""),n=n.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var r=new RegExp("[\\?&]"+n+"=([^&#]*)"),i=r.exec(window.location.href);return i==null?t:i[1]}function autoPlayVideo(){var i=getQueryVariable("videoURL"),r=getQueryVariable("videoWidth"),n=getQueryVariable("videoHeight"),t=getQueryVariable("videoDuration");i!="none"&&r!="none"&&n!="none"&&t!="none"&&playVideo(i,"lbVideo",r,n,t,flashPrefix+"FlashVideoPlayer_scale.swf","")}$(function(){globalEvents(),activateTabs(),$("body").removeClass("noJS").addClass("JS"),tb_detectMacXFF()&&$("body").addClass("macff"),$("#nav ul.sf-menu").length>0&&(centerNav(),$.browser.msie?($("#nav ul.sf-menu").superfish({autoArrows:!1,speed:0}),$.browser.version.substr(0,1)<7&&$("#nav li li:first-child").css("padding-top","10px"),$("#nav li li:last-child").css({"padding-bottom":"10px","border-width":"0px 1px 1px"})):$("#nav ul.sf-menu").superfish({autoArrows:!1,speed:400})),$(".topImageBlock").length>0&&$(".topImageBlock").hover(function(){$(this).css("background-position","top right")},function(){$(this).css("background-position","top left")}),imgSwapper(),$("div#whereToBuy").length>0&&($("#whereToBuy #col1, #whereToBuy #col2").equalHeights(),$("#whereToBuy #col1 .innercol ul, #whereToBuy #col2 .innercol ul").equalHeights()),setupFAQs(),createPrintLinks("External Website Addresses in the Document"),autoPlayVideo()}),ScrollFreeze={propFlag:!0,Ydisp:0,Xdisp:0,on:function(){this.getProp()&&$(window).bind("scroll",function(){ScrollFreeze.setXY()})},off:function(){$(window).unbind("scroll"),$(window).scrollTop()!=$(window).data("yOffset")&&setTimeout(this.setXY,5)},getProp:function(){return this.Ydisp=$(window).scrollTop(),$(window).data("yOffset",this.Ydisp),this.propFlag},setXY:function(){$(window).scrollTop($(window).data("yOffset"))}};var homepageTheaterCurrentIndex=-1,homepageTheaterAutoRotationIntervalId=0,homepageTheaterAutoRotationWaitTime=8e3,homepageJCarouselliteShownElements=5;var prodHairCareLandingPageAutoRotationCurrentIndex=0,prodHairCareLandingPageAutoRotationIntervalId=0,prodHairCareLandingPageAutoRotationWaitTime=4e3,channelBrandingImgObjs=[],prodFamImgObjs=[];var ourExpertsLandingPageAutoRotationCurrentIndex=0,ourExpertsLandingPageAutoRotationIntervalId=0,ourExpertsLandingPageAutoRotationWaitTime=4e3,ourExpertsRotatingImgObjs=[];(function(n){n.fn.equalHeights=function(t,i){return tallest=t?t:0,this.each(function(){n(this).height("auto")}),this.each(function(){n(this).height()>tallest&&(tallest=n(this).height())}),i&&tallest>i&&(tallest=i),this.each(function(){n(this).height(tallest)})}})(jQuery);
