/*! jQuery Migrate v1.2.1 | (c) 2005, 2013 jQuery Foundation, Inc. and other contributors | jquery.org/license */ jQuery.migrateMute===void 0&&(jQuery.migrateMute=!0),function(e,t,n){function r(n){var r=t.console;i[n]||(i[n]=!0,e.migrateWarnings.push(n),r&&r.warn&&!e.migrateMute&&(r.warn("JQMIGRATE: "+n),e.migrateTrace&&r.trace&&r.trace()))}function a(t,a,i,o){if(Object.defineProperty)try{return Object.defineProperty(t,a,{configurable:!0,enumerable:!0,get:function(){return r(o),i},set:function(e){r(o),i=e}}),n}catch(s){}e._definePropertyBroken=!0,t[a]=i}var i={};e.migrateWarnings=[],!e.migrateMute&&t.console&&t.console.log&&t.console.log("JQMIGRATE: Logging is active"),e.migrateTrace===n&&(e.migrateTrace=!0),e.migrateReset=function(){i={},e.migrateWarnings.length=0},"BackCompat"===document.compatMode&&r("jQuery is not compatible with Quirks Mode");var o=e("",{size:1}).attr("size")&&e.attrFn,s=e.attr,u=e.attrHooks.value&&e.attrHooks.value.get||function(){return null},c=e.attrHooks.value&&e.attrHooks.value.set||function(){return n},l=/^(?:input|button)$/i,d=/^[238]$/,p=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,f=/^(?:checked|selected)$/i;a(e,"attrFn",o||{},"jQuery.attrFn is deprecated"),e.attr=function(t,a,i,u){var c=a.toLowerCase(),g=t&&t.nodeType;return u&&(4>s.length&&r("jQuery.fn.attr( props, pass ) is deprecated"),t&&!d.test(g)&&(o?a in o:e.isFunction(e.fn[a])))?e(t)[a](i):("type"===a&&i!==n&&l.test(t.nodeName)&&t.parentNode&&r("Can't change the 'type' of an input or button in IE 6/7/8"),!e.attrHooks[c]&&p.test(c)&&(e.attrHooks[c]={get:function(t,r){var a,i=e.prop(t,r);return i===!0||"boolean"!=typeof i&&(a=t.getAttributeNode(r))&&a.nodeValue!==!1?r.toLowerCase():n},set:function(t,n,r){var a;return n===!1?e.removeAttr(t,r):(a=e.propFix[r]||r,a in t&&(t[a]=!0),t.setAttribute(r,r.toLowerCase())),r}},f.test(c)&&r("jQuery.fn.attr('"+c+"') may use property instead of attribute")),s.call(e,t,a,i))},e.attrHooks.value={get:function(e,t){var n=(e.nodeName||"").toLowerCase();return"button"===n?u.apply(this,arguments):("input"!==n&&"option"!==n&&r("jQuery.fn.attr('value') no longer gets properties"),t in e?e.value:null)},set:function(e,t){var a=(e.nodeName||"").toLowerCase();return"button"===a?c.apply(this,arguments):("input"!==a&&"option"!==a&&r("jQuery.fn.attr('value', val) no longer sets properties"),e.value=t,n)}};var g,h,v=e.fn.init,m=e.parseJSON,y=/^([^<]*)(<[\w\W]+>)([^>]*)$/;e.fn.init=function(t,n,a){var i;return t&&"string"==typeof t&&!e.isPlainObject(n)&&(i=y.exec(e.trim(t)))&&i[0]&&("<"!==t.charAt(0)&&r("$(html) HTML strings must start with '<' character"),i[3]&&r("$(html) HTML text after last tag is ignored"),"#"===i[0].charAt(0)&&(r("HTML string cannot start with a '#' character"),e.error("JQMIGRATE: Invalid selector string (XSS)")),n&&n.context&&(n=n.context),e.parseHTML)?v.call(this,e.parseHTML(i[2],n,!0),n,a):v.apply(this,arguments)},e.fn.init.prototype=e.fn,e.parseJSON=function(e){return e||null===e?m.apply(this,arguments):(r("jQuery.parseJSON requires a valid JSON string"),null)},e.uaMatch=function(e){e=e.toLowerCase();var t=/(chrome)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||0>e.indexOf("compatible")&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[];return{browser:t[1]||"",version:t[2]||"0"}},e.browser||(g=e.uaMatch(navigator.userAgent),h={},g.browser&&(h[g.browser]=!0,h.version=g.version),h.chrome?h.webkit=!0:h.webkit&&(h.safari=!0),e.browser=h),a(e,"browser",e.browser,"jQuery.browser is deprecated"),e.sub=function(){function t(e,n){return new t.fn.init(e,n)}e.extend(!0,t,this),t.superclass=this,t.fn=t.prototype=this(),t.fn.constructor=t,t.sub=this.sub,t.fn.init=function(r,a){return a&&a instanceof e&&!(a instanceof t)&&(a=t(a)),e.fn.init.call(this,r,a,n)},t.fn.init.prototype=t.fn;var n=t(document);return r("jQuery.sub() is deprecated"),t},e.ajaxSetup({converters:{"text json":e.parseJSON}});var b=e.fn.data;e.fn.data=function(t){var a,i,o=this[0];return!o||"events"!==t||1!==arguments.length||(a=e.data(o,t),i=e._data(o,t),a!==n&&a!==i||i===n)?b.apply(this,arguments):(r("Use of jQuery.fn.data('events') is deprecated"),i)};var j=/\/(java|ecma)script/i,w=e.fn.andSelf||e.fn.addBack;e.fn.andSelf=function(){return r("jQuery.fn.andSelf() replaced by jQuery.fn.addBack()"),w.apply(this,arguments)},e.clean||(e.clean=function(t,a,i,o){a=a||document,a=!a.nodeType&&a[0]||a,a=a.ownerDocument||a,r("jQuery.clean() is deprecated");var s,u,c,l,d=[];if(e.merge(d,e.buildFragment(t,a).childNodes),i)for(c=function(e){return!e.type||j.test(e.type)?o?o.push(e.parentNode?e.parentNode.removeChild(e):e):i.appendChild(e):n},s=0;null!=(u=d[s]);s++)e.nodeName(u,"script")&&c(u)||(i.appendChild(u),u.getElementsByTagName!==n&&(l=e.grep(e.merge([],u.getElementsByTagName("script")),c),d.splice.apply(d,[s+1,0].concat(l)),s+=l.length));return d});var Q=e.event.add,x=e.event.remove,k=e.event.trigger,N=e.fn.toggle,T=e.fn.live,M=e.fn.die,S="ajaxStart|ajaxStop|ajaxSend|ajaxComplete|ajaxError|ajaxSuccess",C=RegExp("\\b(?:"+S+")\\b"),H=/(?:^|\s)hover(\.\S+|)\b/,A=function(t){return"string"!=typeof t||e.event.special.hover?t:(H.test(t)&&r("'hover' pseudo-event is deprecated, use 'mouseenter mouseleave'"),t&&t.replace(H,"mouseenter$1 mouseleave$1"))};e.event.props&&"attrChange"!==e.event.props[0]&&e.event.props.unshift("attrChange","attrName","relatedNode","srcElement"),e.event.dispatch&&a(e.event,"handle",e.event.dispatch,"jQuery.event.handle is undocumented and deprecated"),e.event.add=function(e,t,n,a,i){e!==document&&C.test(t)&&r("AJAX events should be attached to document: "+t),Q.call(this,e,A(t||""),n,a,i)},e.event.remove=function(e,t,n,r,a){x.call(this,e,A(t)||"",n,r,a)},e.fn.error=function(){var e=Array.prototype.slice.call(arguments,0);return r("jQuery.fn.error() is deprecated"),e.splice(0,0,"error"),arguments.length?this.bind.apply(this,e):(this.triggerHandler.apply(this,e),this)},e.fn.toggle=function(t,n){if(!e.isFunction(t)||!e.isFunction(n))return N.apply(this,arguments);r("jQuery.fn.toggle(handler, handler...) is deprecated");var a=arguments,i=t.guid||e.guid++,o=0,s=function(n){var r=(e._data(this,"lastToggle"+t.guid)||0)%o;return e._data(this,"lastToggle"+t.guid,r+1),n.preventDefault(),a[r].apply(this,arguments)||!1};for(s.guid=i;a.length>o;)a[o++].guid=i;return this.click(s)},e.fn.live=function(t,n,a){return r("jQuery.fn.live() is deprecated"),T?T.apply(this,arguments):(e(this.context).on(t,this.selector,n,a),this)},e.fn.die=function(t,n){return r("jQuery.fn.die() is deprecated"),M?M.apply(this,arguments):(e(this.context).off(t,this.selector||"**",n),this)},e.event.trigger=function(e,t,n,a){return n||C.test(e)||r("Global events are undocumented and deprecated"),k.call(this,e,t,n||document,a)},e.each(S.split("|"),function(t,n){e.event.special[n]={setup:function(){var t=this;return t!==document&&(e.event.add(document,n+"."+e.guid,function(){e.event.trigger(n,null,t,!0)}),e._data(this,n,e.guid++)),!1},teardown:function(){return this!==document&&e.event.remove(document,n+"."+e._data(this,n)),!1}}})}(jQuery,window); // 'stacks' is the Stacks global object. // All of the other Stacks related Javascript will // be attatched to it. var stacks = {}; // this call to jQuery gives us access to the globaal // jQuery object. // 'noConflict' removes the '$' variable. // 'true' removes the 'jQuery' variable. // removing these globals reduces conflicts with other // jQuery versions that might be running on this page. stacks.jQuery = jQuery.noConflict(true); // Javascript for com_bigwhiteduck_stacks_foundationparagraphplus_s3 // --------------------------------------------------------------------- // Each stack has its own object with its own namespace. The name of // that object is the same as the stack's id. stacks.com_bigwhiteduck_stacks_foundationparagraphplus_s3 = {}; // A closure is defined and assigned to the stack's object. The object // is also passed in as 'stack' which gives you a shorthand for referring // to this object from elsewhere. stacks.com_bigwhiteduck_stacks_foundationparagraphplus_s3 = (function(stack) { // When jQuery is used it will be available as $ and jQuery but only // inside the closure. var jQuery = stacks.jQuery;var $ = jQuery;!function(e){function t(t,n){if(this.element=t,this.options=e.extend({},i,n),e(this.element).data("max-height",this.options.maxHeight),e(this.element).data("height-margin",this.options.heightMargin),delete this.options.maxHeight,this.options.embedCSS&&!o){var s=".readmore-js-toggle, .readmore-js-section { "+this.options.sectionCSS+" } .readmore-js-section { overflow: hidden; }";!function(e,t){var a=e.createElement("style");a.type="text/css",a.styleSheet?a.styleSheet.cssText=t:a.appendChild(e.createTextNode(t)),e.getElementsByTagName("head")[0].appendChild(a)}(document,s),o=!0}this._defaults=i,this._name=a,this.init()}var a="readmore",i={speed:100,maxHeight:200,heightMargin:16,moreLink:'Read More',lessLink:'Close',embedCSS:!0,sectionCSS:"display: block; width: 100%;",startOpen:!1,expandedClass:"readmore-js-expanded",collapsedClass:"readmore-js-collapsed",beforeToggle:function(){},afterToggle:function(){}},o=!1;t.prototype={init:function(){var t=this;e(this.element).each(function(){var a=e(this),i=a.css("max-height").replace(/[^-\d\.]/g,"")>a.data("max-height")?a.css("max-height").replace(/[^-\d\.]/g,""):a.data("max-height"),o=a.data("height-margin");if("none"!=a.css("max-height")&&a.css("max-height","none"),t.setBoxHeight(a),a.outerHeight(!0)<=i+o)return!0;a.addClass("readmore-js-section "+t.options.collapsedClass).data("collapsedHeight",i);var n=t.options.startOpen?t.options.lessLink:t.options.moreLink;a.after(e(n).on("click",function(e){t.toggleSlider(this,a,e)}).addClass("readmore-js-toggle")),t.options.startOpen||a.css({height:i})}),e(window).on("resize",function(){t.resizeBoxes()})},toggleSlider:function(t,a,i){i.preventDefault();var o=this,n=newLink=sectionClass="",s=!1,l=e(a).data("collapsedHeight");e(a).height()<=l?(n=e(a).data("expandedHeight")+"px",newLink="lessLink",s=!0,sectionClass=o.options.expandedClass):(n=l,newLink="moreLink",sectionClass=o.options.collapsedClass),o.options.beforeToggle(t,a,s),e(a).animate({height:n},{duration:o.options.speed,complete:function(){o.options.afterToggle(t,a,s),e(t).replaceWith(e(o.options[newLink]).on("click",function(e){o.toggleSlider(this,a,e)}).addClass("readmore-js-toggle")),e(this).removeClass(o.options.collapsedClass+" "+o.options.expandedClass).addClass(sectionClass)}})},setBoxHeight:function(e){var t=e.clone().css({height:"auto",width:e.width(),overflow:"hidden"}).insertAfter(e),a=t.outerHeight(!0);t.remove(),e.data("expandedHeight",a)},resizeBoxes:function(){var t=this;e(".readmore-js-section").each(function(){var a=e(this);t.setBoxHeight(a),(a.height()>a.data("expandedHeight")||a.hasClass(t.options.expandedClass)&&a.height()',e(a.e).each(function(){e(this).data("oCnt",a.e.html());var t=e.isFunction(a.o.atStart)?a.o.atStart.call(a.e):a.o.atStart;t="undefined"!=typeof a.e.attr("data-start")?a.e.attr("data-start"):t,"hide"==t?a.hide(a.e,0):a.show(a.e,0)});var i;e(t).on("resize",function(){a.o.dynamic&&"lines"==a.mode&&(clearTimeout(i),i=setTimeout(function(){a.reInit(a.e)},100))})},show:function(t,a){var i=this,o=e(t);"undefined"==typeof a&&(a=i.o.speed);var n=function(){e.isFunction(i.o.afterShow)&&i.o.afterShow.call(i.e,i)};switch(e.isFunction(i.o.beforeShow)&&i.o.beforeShow.call(i.e,i),i.mode){case"chars":case"words":var s=o.height();o.html(o.data("tHTML"));var l=o.height();o.height(s),o.animate({height:l},a,function(){o.height("auto"),n()}).removeClass(i.o.hideClass).addClass(i.o.showClass),o.data("tHTML",o.html());break;case"lines":0==o.children("div").length&&o.wrapInner("
");{var r=o.children("div"),h=r.height(),c=r.html(o.data("oCnt")).css("height","").height();r.css("height",h)}r.animate({height:c},a,function(){r.height("auto"),n()}),o.removeClass(i.o.hideClass).addClass(i.o.showClass);break;case"block":i.blockMode(o,"show",a,n)}return i.status=1,1==i.o.lockHide?(o.find("[data-ctrl]").remove(),""):void("block"==i.mode?o.off("click.coll").on("click.coll",function(e){e.preventDefault(),i.hide(o)}):(0!=o.find("[data-ctrl]").length||e.isFunction(i.o.controlBtn)||o.append(i.ctrlHtml),i.ctrlBtn=e.isFunction(i.o.controlBtn)?i.o.controlBtn.call(i.e):e(o.find("[data-ctrl]")),i.ctrlBtn.off("click.coll").on("click.coll",function(e){e.preventDefault(),i.hide(o)}).html(i.o.hideText)))},hide:function(t,a){var i=this,o=e(t);"undefined"==typeof a&&(a=i.o.speed);var n=function(){e.isFunction(i.o.afterHide)&&i.o.afterHide.call(i.e,i)};switch(e.isFunction(i.o.beforeHide)&&i.o.beforeHide.call(i.e,i),o.find("[data-ctrl]").remove(),i.mode){case"chars":var s=e.trim(o.text());i.remaining.chars=s.length-i.o.truncate,s.length>i.o.truncate&&(o.data("tHTML",o.html()),s=i.pad(s.slice(0,i.o.truncate),s.slice(i.o.truncate,s.length)),o.html(s).removeClass(i.o.showClass).addClass(i.o.hideClass),n());break;case"words":var s=e.trim(o.text()),l=s.split(" ");i.remaining.words=l.length-i.o.truncate,l.length>i.o.truncate&&(o.data("tHTML",o.html()),s=i.pad(l.slice(0,i.o.truncate).join(" "),l.slice(i.o.truncate,l.length).join(" ")),o.html(s).removeClass(i.o.showClass).addClass(i.o.hideClass),n());break;case"lines":0==o.children("div").length&&o.wrapInner("
");var r=o.children("div").css("height","");r.html(r.text());var h=r.height();"undefined"==typeof o.data("lHeight")?(temp=r.clone(),lHeight=temp.text("a").insertAfter(r).height(),o.data("lHeight",lHeight),r.next().remove()):lHeight=o.data("lHeight"),lines=h/lHeight,i.remaining.lines=lines-i.o.truncate,i.remaining.lines>0&&(r.css("overflow","hidden"),r.animate({height:lHeight*i.o.truncate},a).data("tHeight",h),o.removeClass(i.o.showClass).addClass(i.o.hideClass),0!=o.find("[data-ctrl]").length||e.isFunction(i.o.controlBtn)||o.append(i.ctrlHtml),n());break;case"block":i.blockMode(o,"hide",a,n)}if(i.status=0,"block"==i.mode)o.unbind("click.coll").bind("click.coll",function(e){e.preventDefault(),i.show(o)});else{i.ctrlBtn=e.isFunction(i.o.controlBtn)?i.o.controlBtn.call(i.e):e(o.find("[data-ctrl]")),i.ctrlBtn.off("click.coll").on("click.coll",function(e){e.preventDefault(),i.show(o)}).html(i.o.showText);var c=i.o.showText,d={chars:["character","characters"],words:["word","words"],lines:["lines","lines"]},g=i.remaining[i.mode]+(1==i.remaining[i.mode]?" "+d[i.mode][0]:" "+d[i.mode][1]);c=c.replace("%s",g),i.ctrlBtn.html(c)}},pad:function(t,a){var i=this;return t+''+i.o.ellipsis+""+(e.isFunction(i.o.ctrlBtn)?"":i.ctrlHtml)+'"},blockMode:function(t,a,i,o){var n=this,s=["fadeOut","slideUp","fadeIn","slideDown"],l="fade"==n.o.effect?0:1,r="hide"==a?s[l]:s[l+2];e.isFunction(n.o.target)?n.o.target.call(n.e)[r](i,o):e.fn[n.o.target]&&e(t)[n.o.target]()[r](i,o),"show"==a?(t.removeClass(n.o.showClass).addClass(n.o.hideClass),n.o.changeText&&t.text(n.o.hideText)):(t.removeClass(n.o.hideClass).addClass(n.o.showClass),n.o.changeText&&t.text(n.o.showText))},reInit:function(e){var t=this;e.find("[data-ctrl]").remove(),e.html(t.e.data("oCnt")),0==t.status?t.hide(e,0):t.show(e,0)}},e.fn[i]=function(t){return this.each(function(){e.data(this,i)||e.data(this,i,new a(this,t))})}}(jQuery,window,document),function(e){function t(i,o,n){var s=r[n.mode]||r.ascii;if(3==o.nodeType&&o.nodeValue.match(s)){var l=o.nodeValue;l=l.replace(/\n+/g," ");var h=l.match(s),c=h?h[h.length-2]:"",d=h?h[h.length-1]:"";n.keepCase||(c=c.toUpperCase());var g=document.createTextNode(c),u=document.createTextNode(d),f=document.createElement(n.element);return f.appendChild(g),o.parentNode.replaceChild(u,o),u.parentNode.insertBefore(f,u),e(f).css(n.css),e(f).addClass(n["class"]),a(i,f,n),f}3==o.nodeType&&e(o).parent().css({"float":"left",display:"inline"});for(var p=0;p=e(t).height()||e(a).width()>.4*e(t).width());){var s=1.2*e(t).height()+"px",l=1*e(t).height()+"px";e(a).css({fontSize:s,lineHeight:l})}var h=-1*e(a).height()/9+"px";e(a).css({marginBottom:h})}else if("px"==n.substr(n.length-2,2)){var c=n.substring(0,n.length-2),d=-1*Math.round(c/10)+"px",h=-1*Math.round(c/5)+"px";e(a).css({marginTop:d,marginBottom:h});var s=1.05*o.factor*c+"px",l=o.factor*c*.98+"px";e(a).css({fontSize:s,lineHeight:l})}else{var s=1.05*o.factor+"em";e(a).css({fontSize:s}),e(a).css({margin:"-.1ex 0 -.25ex 0",lineHeight:"95%"})}o.hang&&i(a)}function i(t){var a=-1*e(t).width()+"px";e(t).css({marginLeft:a,marginRight:a})}var o=/^\s*([^\uAC00-\uD7A3\u4E00-\u9FFF]?[\u00C0-\u02B8\uAC00-\uD7A3\u4E00-\u9FFF])(.*)/im,n=/^\s*([^a-z\u00C0-\u02B8]?[a-z\u00C0-\u02B8])(.*)/im,s=/^\s*(\W?[a-z])(.*)/im,l=/^\s*([^a-z\u00C0-\u02B8\uAC00-\uD7A3\u4E00-\u9FFF]?[a-z\u00C0-\u02B8\uAC00-\uD7A3\u4E00-\u9FFF])(.*)/im,r={ascii:s,cjk:o,extended:n,unified:l},h={opacity:.7,padding:0,display:"block",textAlign:"right","float":"left",fontStyle:"normal",fontWeight:"bold",overflow:"visible",textDecoration:"none"};e.fn.dropJ=function(a){var i=e.extend({},e.fn.dropJ.defaults,a);return this.each(function(){$this=e(this);var a=e.meta?e.extend({},i,$this.data()):i;t($this.get(0),$this.get(0),a)&&a.clear&&$this.css({clear:"left"})})},e.fn.dropJ.defaults={css:h,clear:!0,keepCase:!0,regex:r.ascii,element:"span",factor:3,toggleFamily:!1,"class":"dropj"}}(jQuery); return stack;})(stacks.com_bigwhiteduck_stacks_foundationparagraphplus_s3); // Javascript for com_bigwhiteduck_stacks_sticky_grummage // --------------------------------------------------------------------- // Each stack has its own object with its own namespace. The name of // that object is the same as the stack's id. stacks.com_bigwhiteduck_stacks_sticky_grummage = {}; // A closure is defined and assigned to the stack's object. The object // is also passed in as 'stack' which gives you a shorthand for referring // to this object from elsewhere. stacks.com_bigwhiteduck_stacks_sticky_grummage = (function(stack) { // When jQuery is used it will be available as $ and jQuery but only // inside the closure. var jQuery = stacks.jQuery;var $ = jQuery; (function(){var win;win=$(window);$.fn.grummage_me_sticky=function(opts){var doc,duck_sticky,does_bottom_out,fn,i,inner_scrolling,len,manual_spacer,offset_top,outer_width,parent_selector,recalc_every,sticky_class;if(opts==null){opts={};} sticky_class=opts.sticky_class,inner_scrolling=opts.inner_scrolling,recalc_every=opts.recalc_every,parent_selector=opts.parent,offset_top=opts.offset_top,manual_spacer=opts.spacer,does_bottom_out=opts.push_on_bottom;if(offset_top==null){offset_top=0;} if(parent_selector==null){parent_selector=void 0;} if(inner_scrolling==null){inner_scrolling=true;} if(sticky_class==null){sticky_class="is_stuck";} doc=$(document);if(does_bottom_out==null){does_bottom_out=true;} outer_width=function(el){var _el,computed,w;if(window.getComputedStyle){_el=el[0];computed=window.getComputedStyle(el[0]);w=parseFloat(computed.getPropertyValue("width"))+parseFloat(computed.getPropertyValue("margin-left"))+parseFloat(computed.getPropertyValue("margin-right"));if(computed.getPropertyValue("box-sizing")!=="border-box"){w+=parseFloat(computed.getPropertyValue("border-left-width"))+parseFloat(computed.getPropertyValue("border-right-width"))+parseFloat(computed.getPropertyValue("padding-left"))+parseFloat(computed.getPropertyValue("padding-right"));} return w;}else{return el.outerWidth(true);}};fn=function(duck_sticky,padding_bottom,parent_top,parent_height,top,height,el_float,detached){var bottomed,detach,fixed,last_pos,last_scroll_height,offset,parent,recalc,sticky_recalc,recalc_counter,spacer,tick;if(duck_sticky.data("sticky_grummage")){return;} duck_sticky.data("sticky_grummage",true);last_scroll_height=doc.height();parent=duck_sticky.parent();if(parent_selector!=null){parent=parent.closest(parent_selector);} if(!parent.length){console.error("SG: Failed to find parent container :",parent);} fixed=false;bottomed=false;spacer=manual_spacer!=null?manual_spacer&&duck_sticky.closest(manual_spacer):$("
");if(spacer){spacer.css('position',duck_sticky.css('position'));} recalc=function(){var border_top,padding_top,restore;if(detached){return;} last_scroll_height=doc.height();border_top=parseInt(parent.css("border-top-width"),10);padding_top=parseInt(parent.css("padding-top"),10);padding_bottom=parseInt(parent.css("padding-bottom"),10);parent_top=parent.offset().top+border_top+padding_top;parent_height=parent.height();if(fixed){fixed=false;bottomed=false;if(manual_spacer==null){duck_sticky.insertAfter(spacer);spacer.detach();} duck_sticky.css({position:"",top:"",width:"",bottom:""}).removeClass(sticky_class);restore=true;} top=duck_sticky.offset().top-(parseInt(duck_sticky.css("margin-top"),10)||0)-offset_top;height=duck_sticky.outerHeight(true);el_float=duck_sticky.css("float");if(spacer){spacer.css({width:outer_width(duck_sticky),height:height,display:duck_sticky.css("display"),"vertical-align":duck_sticky.css("vertical-align"),"float":el_float});} if(restore){return tick();}};recalc();if(height===parent_height){console.log('HEIGHT === parent height: Cannot Stick');console.log('StickyGrummage:',duck_sticky,'parent: ',parent);return;} last_pos=void 0;offset=offset_top;recalc_counter=recalc_every;tick=function(){var css,delta,recalced,scroll,will_bottom,win_height;if(detached){return;} recalced=false;if(recalc_counter!=null){recalc_counter-=1;if(recalc_counter<=0){recalc_counter=recalc_every;recalc();recalced=true;}} if(!recalced&&doc.height()!==last_scroll_height){recalc();recalced=true;} scroll=win.scrollTop();if(last_pos!=null){delta=scroll-last_pos;} last_pos=scroll;if(fixed){if(does_bottom_out){will_bottom=scroll+height+offset>parent_height+parent_top;if(bottomed&&!will_bottom){bottomed=false;duck_sticky.css({position:"fixed",bottom:"",top:offset}).trigger("sticky_grummage:unbottom");}} if(scrollwin_height){if(!bottomed){offset-=delta;offset=Math.max(win_height-height,offset);offset=Math.min(offset_top,offset);if(fixed){duck_sticky.css({top:offset+"px"});}}}}}else{if(scroll>top){fixed=true;css={position:"fixed",top:offset};css.width=duck_sticky.css("box-sizing")==="border-box"?duck_sticky.outerWidth()+"px":duck_sticky.width()+"px";duck_sticky.css(css).addClass(sticky_class);if(manual_spacer==null){duck_sticky.after(spacer);if(el_float==="left"||el_float==="right"){spacer.append(duck_sticky);}} duck_sticky.trigger("sticky_grummage:stick");}} if(fixed&&does_bottom_out){if(will_bottom==null){will_bottom=scroll+height+offset>parent_height+parent_top;} if(!bottomed&&will_bottom){bottomed=true;if(parent.css("position")==="static"){parent.css({position:"relative"});} return duck_sticky.css({position:"absolute",bottom:padding_bottom,top:"auto"}).trigger("sticky_grummage:bottom");}}};sticky_recalc=function(){recalc();return tick();};detach=function(){detached=true;win.off("touchmove",tick);win.off("scroll",tick);win.off("resize",sticky_recalc);$(document.body).off("sticky_grummage:recalc",sticky_recalc);duck_sticky.off("sticky_grummage:detach",detach);duck_sticky.removeData("sticky_grummage");duck_sticky.css({position:"",bottom:"",top:"",width:""});parent.position("position","");if(fixed){if(manual_spacer==null){if(el_float==="left"||el_float==="right"){duck_sticky.insertAfter(spacer);} spacer.remove();} return duck_sticky.removeClass(sticky_class);}};win.on("touchmove",tick);win.on("scroll",tick);win.on("resize",sticky_recalc);$(document.body).on("sticky_grummage:recalc",sticky_recalc);duck_sticky.on("sticky_grummage:detach",detach);return setTimeout(tick,0);};for(i=0,len=this.length;isettings.responsiveMax?settings.responsiveMax:elementWidthsettings.fontSizeMax?settings.fontSizeMax:scaledFontSize0;} jQuery.debug=function(msg,obj){if(window.debug===true&&window.console&&console.log){console.log('[jwstacks] '+msg);if(obj)console.log(obj);}};jQuery.isMobile=function(){return"ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch;};var triggerWindowResize=function(){$(window).trigger('resize')};if(typeof(orientationEvent)==undefined){var orientationEvent=0;} $(window).bind(orientationEvent,triggerWindowResize).load(triggerWindowResize);jQuery.clearBrowserCache=function(){$(window).bind("pageshow",function(event){if(event.originalEvent.persisted){window.location.reload()}});};jQuery.preloadImages=function(){for(var i=0;i").attr("src",arguments[i]);}}; return stack;})(stacks.com_joeworkman_stacks_quickflip2); // Javascript for uk_co_doobox_doorinse // --------------------------------------------------------------------- // Each stack has its own object with its own namespace. The name of // that object is the same as the stack's id. stacks.uk_co_doobox_doorinse = {}; // A closure is defined and assigned to the stack's object. The object // is also passed in as 'stack' which gives you a shorthand for referring // to this object from elsewhere. stacks.uk_co_doobox_doorinse = (function(stack) { // When jQuery is used it will be available as $ and jQuery but only // inside the closure. var jQuery = stacks.jQuery;var $ = jQuery;// Start Rinse stack page Javascript code !function(a){a.fn.extend({RinseImage:function(b){"use strict";var c=this,d=a.extend({hoverEffect:!0,webworkerPath:!1,invertHoverEffect:!1,speed:500,onImageReady:null,intensity:1},b),e=d.hoverEffect,f=d.webworkerPath,g=d.invertHoverEffect,h="number"==typeof d.intensity&&d.intensity<1&&d.intensity>0?d.intensity:1,i=a.isPlainObject(d.speed)?d.speed.fadeIn:d.speed,j=a.isPlainObject(d.speed)?d.speed.fadeOut:d.speed,k=a(window),l=".RinseImage",m=(document.all&&!window.opera&&window.XMLHttpRequest?!0:!1," -webkit- -moz- -o- -ms- ".split(" ")),n={},o=function(a){if(n[a]||""===n[a])return n[a]+a;var b=document.createElement("div"),c=["","Moz","Webkit","O","ms","Khtml"];for(var d in c)if("undefined"!=typeof b.style[c[d]+a])return n[a]=c[d],c[d]+a;return a.toLowerCase()},p=function(){var a=document.createElement("div");return a.style.cssText=m.join("filter:blur(2px); "),!!a.style.length&&(void 0===document.documentMode||document.documentMode>9)}(),q=!!document.createElement("canvas").getContext,r=function(){return"undefined"!=typeof Worker?!0:!1}(),s=o("Filter"),t=[],u=r&&f?new Worker(f+"BnWWorker.js"):!1,v=function(b){a(b.currentTarget).find(".RinseFade").stop(!0,!0).animate({opacity:g?0:1},j)},w=function(b){a(b.currentTarget).find(".RinseFade").stop(!0,!0).animate({opacity:g?1:0},i)},x=function(a){"function"==typeof d.onImageReady&&d.onImageReady(a)},y=function(a){u&&q&&!p&&!a&&z()},z=function(){return t.length?(u.postMessage({imgData:t[0].imageData,intensity:h}),void(u.onmessage=function(a){t[0].ctx.putImageData(a.data,0,0),x(t[0].img),t.splice(0,1),z()})):(u.terminate&&u.terminate(),void(u.close&&u.close()))},A=function(a){return a.complete||"undefined"!=typeof a.naturalWidth&&a.naturalWidth},B=function(a,b,c,d){var e=b.getContext("2d"),f=0;e.drawImage(a,0,0,c,d);var g=e.getImageData(0,0,c,d),i=g.data,j=i.length;if(u)t.push({imageData:g,ctx:e,img:a});else{for(;j>f;f+=4){var k=.3*i[f]+.59*i[f+1]+.11*i[f+2];i[f]=~~(k*h+i[f]*(1-h)),i[f+1]=~~(k*h+i[f+1]*(1-h)),i[f+2]=~~(k*h+i[f+2]*(1-h))}e.putImageData(g,0,0),x(a)}},C=function(b,c){var d,e=b[0],f=(e.src,b.position()),i={top:f.top,left:f.left,position:"absolute","-webkit-transform":"translate3d(0,0,0)",opacity:g?0:1};e.crossOrigin="anonymous",q&&!p?(d=a(''),i.width=b.width(),i.height=b.height(),B(e,d.get(0),e.naturalWidth,e.naturalHeight)):(q?i[s]="grayscale("+100*h+"%)":i.filter="progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)",d=b.clone().attr("alt","Loading...").addClass("RinseFilter RinseFade"),x(e)),d.css(i).appendTo(c),!a.support.opacity&&g&&d.animate({opacity:0},0)},D=function(){c.each(function(b,c){var d=a(c).find("img"),e=a(d).width(),f=a(d).height();a(this).find("canvas").css({width:e,height:f})})},E=function(){var b=c.find("img").filter(function(){return!a(this).data("_b&w")}).length;c.each(function(c,d){var e=a(d),f=e.find("img");f.data("_b&w")||(A(f[0])?(b--,C(f,e)):f.on("load",function(){return f.data("_b&w_loaded")||!f[0].complete?void setTimeout(function(){f.load()},20):(C(f,e),f.data("_b&w_loaded",!0),b--,void y(b))}).load(),f.data("_b&w",!0))}),y(b),e&&c.unbind(l).on("mouseleave"+l,v).on("mouseenter"+l,w),q&&!p&&k.unbind(l).on("resize"+l+" orientationchange"+l,D)},F=function(){c.off(l),k.off(l)};return E(),{destroy:F}}})}(jQuery); // End Rinse stack page Javascript code return stack;})(stacks.uk_co_doobox_doorinse); // Javascript for com_joeworkman_stacks_movingbox2 // --------------------------------------------------------------------- // Each stack has its own object with its own namespace. The name of // that object is the same as the stack's id. stacks.com_joeworkman_stacks_movingbox2 = {}; // A closure is defined and assigned to the stack's object. The object // is also passed in as 'stack' which gives you a shorthand for referring // to this object from elsewhere. stacks.com_joeworkman_stacks_movingbox2 = (function(stack) { // When jQuery is used it will be available as $ and jQuery but only // inside the closure. var jQuery = stacks.jQuery;var $ = jQuery;!function(a){"use strict";"function"==typeof define&&define.amd?define(["jquery"],a):"undefined"!=typeof exports?module.exports=a(require("jquery")):a(jQuery)}(function(a){"use strict";var b=window.Slick||{};b=function(){function b(b,d){var e,f=this;f.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:a(b),appendDots:a(b),arrows:!0,asNavFor:null,prevArrow:'',nextArrow:'',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(b,c){return a('