/* ADOBE CONFIDENTIAL ___________________ Copyright 2011 Adobe Systems Incorporated All Rights Reserved. NOTICE: All information contained herein is, and remains the property of Adobe Systems Incorporated and its suppliers, if any. The intellectual and technical concepts contained herein are proprietary to Adobe Systems Incorporated and its suppliers and may be covered by U.S. and Foreign Patents, patents in process, and are protected by trade secret or copyright law. Dissemination of this information or reproduction of this material is strictly forbidden unless prior written permission is obtained from Adobe Systems Incorporated. */ if(typeof Muse=="undefined")window.Muse={};Muse.Assert={};Muse.Assert.fail=function(b){alert("MuseJSAssert: "+b)};$.extend($.browser,{SafariMobile:navigator.userAgent.toLowerCase().match(/iP(hone|ad)/i)});if(!Array.indexOf)Array.prototype.indexOf=function(b){for(var c=0;c0;)c.appendChild(b.childNodes[0])};Muse.Utils.copyChildren=function(b,c){for(var a=0;aa){var f=c.substring(d),c=b[1],b=(document.documentElement||document.body).scrollHeight-$(window).height(),a=(document.documentElement||document.body).scrollWidth-$(window).width(),g=Math.min(b,$(f).offset().top),h=Math.min(a,$(f).offset().left),b=function(){window.scrollTo(h,g);try{history.replaceState({})}catch(a){if(!jQuery.browser.msie|| jQuery.browser.version>7)window.location.hash=f}};try{history.pushState({},null,f)}catch(j){}if(window.scrollTo){var i=$(document).scrollLeft(),k=$(document).scrollTop(),m=i,l=k;$({scrollDistance:0}).animate({scrollDistance:1},{duration:1E3,easing:c,step:function(a){a!=0&&(l=a*(g-k),m=a*(h-i),window.scrollTo(i+m,k+l))},complete:b})}else $("html,body").animate({scrollTop:g,scrollLeft:h},1E3,c,b);return!1}}(c=Muse.Utils.urlParam(c,"devicelock"))&&Muse.Utils.createCookie("devicelock",c,0);return!0}; var actionStack=[];Muse.Utils.redirectCancelled=!1;Muse.Utils.redirectHyperlink=function(b){if(Muse.Utils.redirectCancelled)setTimeout(function(){Muse.Utils.redirectCancelled=!1},0);else if(actionStack=[],Muse.Utils.processHyperlink(b)){var c=$(b).attr("target");c||(c="_self");window.open(b.href,c)}}; Muse.Utils.redirectHyperlinkInNewTab=function(b,c){if(Muse.Utils.redirectCancelled)setTimeout(function(){Muse.Utils.redirectCancelled=!1},0);else{actionStack=[];thisWindow=window.self;var a=window.open(b);c?a.focus():thisWindow.focus()}};Muse.Utils.isMouseLeftClick=function(b){return b.which==1};Muse.Utils.isMouseMiddleClick=function(b){return b.which==2};Muse.Utils.isRedirectLinkKeyboardAction=function(b){return b.which==13}; Muse.Utils.addHyperlinkAnchor=function(b){b=$(b);b.bind("mousedown",function(b){(Muse.Utils.isMouseLeftClick(b)||Muse.Utils.isMouseMiddleClick(b))&&actionStack.push(this)});b.bind("mouseup keyup",function(b){if(Muse.Utils.isMouseLeftClick(b)&&actionStack.indexOf(this)!=-1)b.ctrlKey||b.metaKey?Muse.Utils.redirectHyperlinkInNewTab(this.href,b.shiftKey):Muse.Utils.redirectHyperlink(this);else if(Muse.Utils.isMouseMiddleClick(b)&&actionStack.indexOf(this)!=-1)if(jQuery.browser.webkit||!b.target.href&& jQuery.browser.msie)Muse.Utils.redirectHyperlinkInNewTab(this.href,b.shiftKey);else return actionStack=[],!0;else Muse.Utils.isRedirectLinkKeyboardAction(b)&&Muse.Utils.redirectHyperlink(this);return!1});b.bind("click",function(){return!1})}; Muse.Utils.addHyperlinkBlock=function(b){var c=$(b.parentNode);c.bind("mousedown",function(a){(Muse.Utils.isMouseLeftClick(a)||Muse.Utils.isMouseMiddleClick(a))&&actionStack.push(this);return!1});c.bind("mouseup keyup",function(a){Muse.Utils.isMouseLeftClick(a)&&actionStack.indexOf(this)!=-1?a.ctrlKey||a.metaKey?Muse.Utils.redirectHyperlinkInNewTab(b.href,a.shiftKey):Muse.Utils.redirectHyperlink(b):Muse.Utils.isMouseMiddleClick(a)&&actionStack.indexOf(this)!=-1?Muse.Utils.redirectHyperlinkInNewTab(b.href, a.shiftKey):Muse.Utils.isRedirectLinkKeyboardAction(a)&&Muse.Utils.redirectHyperlink(b);return!1});c.bind("click",function(){return!1})}; Muse.Utils.prepHyperlinks=function(){$("a.block").each(function(){var b=$(this.parentNode);Muse.Utils.addHyperlinkBlock(this);b.find("a.nonblock").each(function(){var b=$(this);if(b.data("registeredNonBlockLink")===!0)return!1;Muse.Utils.addHyperlinkAnchor(this);b.data("registeredNonBlockLink",!0)})});$("a.nonblock").each(function(){var b=$(this);b.data("registeredNonBlockLink")!==!0&&(b.parent('[class~="sbg"]').length>0?Muse.Utils.addHyperlinkAnchor(this):(b.attr("class").match(/anim_(\w+)/)||this.href.indexOf("devicelock=")!= -1)&&$(this).bind("click",function(){return Muse.Utils.processHyperlink(this)}))})}; Muse.Utils.getNaturalWidth=function(b){var c=-1;b.naturalWidth!=null?c=b.naturalWidth:b.runtimeStyle?(b.runtimeStyle.width="auto",b.runtimeStyle.height="auto",b.runtimeStyle.borderWidth="0",b.runtimeStyle.padding="0",c=b.offsetWidth,b.runtimeStyle.width="",b.runtimeStyle.height="",b.runtimeStyle.borderWidth="",b.runtimeStyle.padding=""):(b=b.cloneNode(!0),b.className="",b.style.width="auto !important",b.style.height="auto !important",b.style.borderWidth="0 !important",b.style.padding="0 !important", c=b.width);return c}; Muse.Utils.getNaturalHeight=function(b){var c=-1;b.naturalHeight!=null?c=b.naturalHeight:b.runtimeStyle?(b.runtimeStyle.width="auto",b.runtimeStyle.height="auto",b.runtimeStyle.borderWidth="0",b.runtimeStyle.padding="0",c=b.offsetHeight,b.runtimeStyle.width="",b.runtimeStyle.height="",b.runtimeStyle.borderWidth="",b.runtimeStyle.padding=""):(b=b.cloneNode(!0),b.className="",b.style.width="auto !important",b.style.height="auto !important",b.style.borderWidth="0 !important",b.style.padding="0 !important", c=b.height);return c};Muse.Utils.needPIE=function(b){if(Muse.Utils.havePIE)b();else{var c="scripts/pie.js";c[0]=="/"&&(c=location.pathname.indexOf(".html")!=-1?location.pathname.substring(0,location.pathname.lastIndexOf("/"))+c:location.pathname+c,c=c.replace(/\/+/g,"/"));$.ajax({url:c,dataType:"script",complete:function(){if(typeof PIE!="undefined")Muse.Utils.havePIE=!0,b()}})}}; Muse.Utils.transformMarkupToFixBrowserProblemsPreInit=function(){jQuery.browser.msie?(jQuery("html").addClass("ie"),jQuery.browser.version<8&&Muse.Utils.changeLItoDIVs()):jQuery.browser.SafariMobile&&jQuery("body").css("-webkit-text-size-adjust","none")}; Muse.Utils.transformMarkupToFixBrowserProblems=function(){Muse.Utils.havePIE=!1;jQuery.browser.msie&&(jQuery.browser.version<=9&&(Muse.Utils.addGradientFill(),Muse.Utils.addShadows()),jQuery.browser.version<9&&(Muse.Utils.applyIEFilterToPNGImages(),Muse.Utils.addRoundedCorners(),Muse.Utils.addRGBA(),Muse.Utils.removeEdgeAnimationBorderForIE78()),jQuery.browser.version<8&&Muse.Utils.fixWidthsForClearingInIE7());(jQuery.browser.msie&&jQuery.browser.version<9||jQuery.browser.webkit)&&Muse.Utils.insertEmptyDivAfterPinnedColumnElements()}; Muse.Utils.applyIEFilterToPNGImages=function(){jQuery.browser.msie&&jQuery.browser.version<9&&$("body *").not(".museBgSizePolyfill img").each(function(){var b=$(this);if(b.css("background-image").match(/\b.png/i)||this.nodeName&&this.nodeName.toLowerCase()=="img"&&b.attr("src").match(/\b.png/i)){var c=b.css("filter");b.css("filter",c?c+" progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF)":"progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF)")}})}; Muse.Utils.insertEmptyDivAfterPinnedColumnElements=function(){$(".pinned-colelem").each(function(){$("
").insertAfter($(this))})};Muse.Utils.fixPNGImages=function(){$("body *").each(function(){var b=this,c=$(b);(c.css("background-image").match(/\b.png/i)||b.nodeName&&b.nodeName.toLowerCase()=="img"&&c.attr("src").match(/\b.png/i))&&Muse.Utils.needPIE(function(){c.css("-pie-png-fix","true");PIE.attach(b)})})}; Muse.Utils.addGradientFill=function(){$(".gradient").each(function(){var b=this;Muse.Utils.needPIE(function(){PIE.attach(b)})})};Muse.Utils.addShadows=function(){$(".shadow").each(function(){var b=this;Muse.Utils.needPIE(function(){PIE.attach(b)})})}; Muse.Utils.addRoundedCorners=function(){$(".rounded-corners").each(function(){var b=this;Muse.Utils.needPIE(function(){var c=$(b);if(jQuery.browser.msie&&jQuery.browser.version<8&&(c.css("border-left-width")==0||c.css("border-left-style")=="none")&&(c.css("border-right-width")==0||c.css("border-right-style")=="none")&&(c.css("border-top-width")==0||c.css("border-top-style")=="none")&&(c.css("border-bottom-width")==0||c.css("border-bottom-style")=="none"))c.css({"border-right-width":"1px","border-right-style":"solid", "border-right-color":c.css("background-color")}),c.width(c.width()-1);PIE.attach(b)})})};Muse.Utils.addRGBA=function(){$(".rgba-background").each(function(){var b=this;Muse.Utils.needPIE(function(){PIE.attach(b)})})};Muse.Utils.fixWidthsForClearingInIE7=function(){$(".colelem").each(function(){var b=$(this).offset().left-$(this).parent().offset().left;if($(this).width()<1||$(this).width()+b<1)$(this).css("width",(b<0?1-b:1)+"px")})}; Muse.Utils.removeEdgeAnimationBorderForIE78=function(){$(".animationContainer").each(function(){$(this).parent().html(function(b,c){return c.replace(/><\/iframe>$/gi,' frameBorder="0">')})})};Muse.Utils.fixAnimationsMarkup=function(){$(".animationContainer").each(function(){var b=$(this);b.load(function(){var c=b.contents();$("#report-abuse",c).remove();$("#report-abuse-spacer",c).remove()})})}; Muse.Utils.fullPage=function(b){var c=$(b+" .verticalspacer"),a=$(b),d=$(window),f=$("body"),g=c.height();f.bind("wp-page-height-change",function(a,b){p(b)});var h=Muse.Utils.getCSSIntValue(f,"padding-top")+Muse.Utils.getCSSIntValue(f,"margin-top"),j=Muse.Utils.getCSSIntValue(f,"padding-bottom")+Muse.Utils.getCSSIntValue(f,"margin-bottom"),i=0,k=!0,m=f.hasClass("always_vert_scroll"),l=0!=Muse.Utils.getCSSIntValue(c,"margin-bottom"),n=function(a){var a=i");a.addClass(b.attr("class"));a.attr("id",b.attr("id"));a.append(b.contents());b.replaceWith(a)};$("ul").each(function(){$(this).find("li").each(b)});$("ul").each(b)}; Muse.Utils.showWidgetsWhenReady=function(){jQuery(".disn").removeClass("disn");jQuery(".invi").removeClass("invi");jQuery(".widget_invisible").removeClass("widget_invisible")}; Muse.Utils.detachIframesAndObjectsToPauseMedia=function(b){var c=[];$("iframe, object",b).each(function(){var a=$(this);if(!a.is("object")||!(jQuery.browser.msie&&jQuery.browser.version<9)){var b={};b.$next=a.next();b.$parent=a.parent();jQuery.browser.msie?(b.html=a.wrap("
").parent().html(),a.remove(),b.$parent.children("div #deleteMeWrapper").remove()):b.$node=a.detach();c.push(b)}});c.length&&b.data("detached",c);$("video",b).each(function(){if(jQuery.browser.msie&&jQuery.browser.version== 9&&this.pause&&this.getAttribute("autoplay")&&this.readyState!=4)$(this).one("play",function(){this.pause()});else this.pause&&!this.paused&&this.pause()})}; Muse.Utils.attachIframesAndObjectsToResumeMedia=function(b){var c=b.data("detached");if(c){for(var a=c.length-1;a>=0;a--){var d=c[a];!d.$next||d.$next.length==0?d.$parent.append(d.$node?d.$node:d.html):d.$next.before(d.$node?d.$node:d.html);d.$next=d.$parent=d.$node=d.html=void 0}b.data("detached",null)}$("video",b).each(function(){if(this.play&&this.getAttribute("autoplay")&&this.paused)this.currentTime=0,this.play()})}; Muse.Utils.createCookie=function(b,c,a){if(a){var d=new Date;d.setTime(d.getTime()+a*864E5);a="; expires="+d.toGMTString()}else a="";document.cookie=b+"="+c+a+"; path=/"};Muse.Utils.readCookie=function(b){b+="=";for(var c=document.cookie.split(";"),a=0;a0)return{Start:"pointerDown",End:"pointerUp",Move:"pointerMove",Listener:function(a){return function(b){var c=b.originalEvent||b;if(c.pointerType!=c.POINTER_TYPE_MOUSE)return a.apply(this,arguments)}}};else for(var b=0,c=Muse.Browser.domPrefixes.length;ba
';var c=document.createElement("div"),a=document.createElement("div");document.body.appendChild(b);b.appendChild(c);b.appendChild(a);c.innerHTML="a";c.id="mbbcnow01";a.innerHTML="b";a.id="mbbcnow02"; c=a.getBoundingClientRect().top-c.getBoundingClientRect().top;document.body.removeChild(b);return c<1}();Muse.Browser.Bugs.CannotHandleZeroHeightDivs=function(){return jQuery.browser.msie&&8==jQuery.browser.version}();Muse.Browser.Bugs.CannotHandleClearBoth=function(){return jQuery.browser.msie&&7==jQuery.browser.version}(); Muse.Browser.Bugs.ScrollWidthHeightIncludesBorder=function(){var b=!1,c=$("
").css({border:"1px solid #000000;",width:100,height:100,position:"absolute",top:-99999,left:-99999,padding:0,margin:0,overflow:"auto"}).appendTo(document.body)[0];c.scrollHeight!==c.clientHeight&&(b=!0);$(c).remove();return b}();