//
// jwlib-rwflexnav
//

;(function($){"use strict";var version='20140730.1100',debug=function(msg,obj){if(window.debug===true&&window.console&&console.log){console.log('[rwflexnav] '+msg);if(obj)console.log(obj);}};$.fn.divideNav=function(options){var opts=$.extend(true,{},$.fn.rwflexnav.defaults,options||{});var container=$(this);$('> li.'+opts.className.divider,container).remove();var items=$('> li',container);$('<li>').addClass(opts.className.divider).insertBefore(items);$('<li>').addClass(opts.className.divider).insertAfter(items.last());return $(container);};$.fn.hackRWFlexNav=function(options){var opts=$.extend(true,{},$.fn.rwflexnav.defaults,options||{});var container=$(this);$('> ul.'+opts.className.menu,container).first().removeClass(opts.className.dropdown).find('ul').removeClass(opts.className.menu);$('> ul.'+opts.className.menu,container).find('li').each(function(){if($(this).find('ul').length===0)$(this).removeClass(opts.className.hasDropdown);});return $(container);};$.fn.processRWFlexNav=function(options){var opts=$.extend(true,{},$.fn.rwflexnav.defaults,options||{});var container=$(this);$('li a header',container).parent().attr('href','javascript:void(0)').parent().addClass(opts.className.heading);$('li a label',container).unwrap();$('li a button',container).each(function(){var classes=$(this).attr('class');var text=$(this).text();$(this).parent().addClass(opts.className.button).addClass(classes).html(text).parent().addClass(opts.className.hasButton);});$('li a hr',container).unwrap().parent().addClass(opts.className.divider).html('');return $(container);};$.fn.rwflexnav=function(options){var opts=$.extend(true,{},$.fn.rwflexnav.defaults,options||{});return this.each(function(){if($('> ul.'+opts.className.menu,this).length===0){console.error('RWFlexNav Aborting! Unable to locate menu with class "'+opts.className.menu+'"');return false;}
var method=$.fn.rwflexnav[opts.scope],container=typeof method==='function'?method(opts,this):false;if(opts.hackNav)container.hackRWFlexNav(opts);container.processRWFlexNav(opts);if(opts.divide)$('> ul.'+opts.className.menu,container).divideNav(opts);debug('Processing Complete',container);return $(container);});};$.fn.rwflexnav.all=function(opts,container){return $(container);};$.fn.rwflexnav.top=function(opts,container){$('> ul.'+opts.className.menu,container).find('ul').remove();return $(container);};$.fn.rwflexnav.subnav=function(opts,container){var menu=$('> ul.'+opts.className.menu,container).first(),submenu=$('> ul.'+opts.className.menu+'> li:nth-child('+opts.subNavIndex+') > ul',container),classes=menu.attr('class');debug('Scope SubNav',submenu);if(submenu.length===0){console.error('RWFlexNav Error! No subnav found at index '+opts.subNavIndex);}
else{submenu.addClass(opts.className.menu).addClass(classes).insertAfter(menu);submenu.find('>li.js-generated').remove();menu.remove();}
return $(container);};$.fn.rwflexnav.active=function(opts,container){var menu=$('> ul.'+opts.className.menu,container).first(),submenu=$('> ul.'+opts.className.menu+' > li.'+opts.className.active+' > ul',container),classes=menu.attr('class');debug('Scope Active',submenu);if(submenu.length===0){console.error('RWFlexNav Error! No active subnav found with class "'+opts.className.active+'"');}
else{submenu.addClass(opts.className.menu).addClass(classes).insertAfter(menu);submenu.find('>li.js-generated').remove();menu.remove();}
return $(container);};$.fn.rwflexnav.defaults={scope:'all',hackNav:true,divide:false,subNavIndex:0,className:{menu:'menu',heading:'heading',divider:'divider',active:'active',dropdown:'dropdown',button:'button',hasButton:'has-form',hasDropdown:'has-dropdown'}};})(jQuery);


//
// vein
//

!function(e,t){"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define("vein",t):this.vein=t()}(0,function(){var e=function(){},t=function(e,t,n){var s,r,l=[],i=[],u=t[document.all?"rules":"cssRules"],o=e.replace(/\s/g,"");for(s=0,r=u.length;s<r;s++)(u[s].selectorText===e||4===u[s].type&&u[s].cssText.replace(/\s/g,"").substring(0,o.length)==o)&&(null===n?i.push(s):l.push(u[s]));for(s=0,r=i.length;s<r;s++)t.deleteRule(i[s]);return l},n=function(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n+": "+e[n]+";");return t.join("")};e.getStylesheet=function(){return this.element&&document.getElementById("vein")||(this.element=document.createElement("style"),this.element.setAttribute("type","text/css"),this.element.setAttribute("id","vein"),document.getElementsByTagName("head")[0].appendChild(this.element),this.stylesheet=this.element.sheet),this.stylesheet};var s=function(e){return e[document.all?"rules":"cssRules"]},r=function(e,t,n){var r=s(n);n.insertRule?n.insertRule(e+"{"+t+"}",r.length):n.addRule(e,t,r.length)};return e.inject=function(e,l,i){var u,o,h,f,c,a,y,d,g,p,m=(i=function(e){e=e||{};for(var t=1;t<arguments.length;t++)if(arguments[t])for(var n in arguments[t])arguments[t].hasOwnProperty(n)&&(e[n]=arguments[t][n]);return e}({},i)).stylesheet||this.getStylesheet();s(m);for("string"==typeof e&&(e=[e]),u=0,o=e.length;u<o;u++)if("object"==typeof e[u]&&m.insertRule)for(h in e[u])if(0===(f=t(h,m,l)).length)for(c=n(l),g=0,p=e[u][h].length;g<p;g++)r(h,e[u][h][g]+"{"+c+"}",m);else for(y=0,d=f.length;y<d;y++)this.inject(e[u][h],l,{stylesheet:f[y]});else{if(f=t(e[u],m,l),null===l)return;if(0===f.length)c=n(l),r(e[u],c,m);else for(y=0,d=f.length;y<d;y++)for(a in l)l.hasOwnProperty(a)&&(f[y].style.setProperty?f[y].style.setProperty(a,l[a],""):f[y].style.setAttribute(a,l[a],""))}return this},e});


//
// jwlib-utils
//

(function($){"use strict";jQuery.fn.exists=function(){return jQuery(this).length>0;};jQuery.getParameterByName=function(name,url){if(!url)url=window.location.href;name=name.replace(/[[\]]/g,"\\$&");var regex=new RegExp("[?&]"+name+"(=([^&#]*)|&|#|$)"),results=regex.exec(url);if(!results)return null;if(!results[2])return"";return decodeURIComponent(results[2].replace(/\+/g," "));};jQuery.debug=function(){if(window.debug===true)window.debug=1;var maxlevel=parseInt($.getParameterByName("debug")||window.debug)||0;if(maxlevel===0)return;var args=Array.prototype.slice.call(arguments),group="debug",loglevel=1;if(args.length>1&&typeof(args[args.length-1])==="number"){loglevel=args.pop();}
if(loglevel>maxlevel)return;if(args.length>1&&typeof(args[0])==="string"){group=args.shift();}
var debugGroup=$.getParameterByName("debugGroup")||window.debugGroup;if(debugGroup&&!group.match(debugGroup))return;console.group(group);args.forEach(function(arg){if(Array.isArray(arg)&&typeof arg[0]!=="object"){console.table(arg);}
else{console.log(arg);}});console.groupEnd();};jQuery.isMobile=jQuery.isTouch=function(){return"ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch||false;};if(jQuery.isTouch())document.documentElement.classList.add("touch");jQuery.clearBrowserCache=function(){$(window).on("pageshow",function(event){if(event.originalEvent.persisted){window.location.reload();}});};jQuery.preloadImages=function(){for(var i=0;i<arguments.length;i++){$("<img />").attr("src",arguments[i]);}};var triggerWindowResize=function(){$(window).trigger("resize");};if(typeof(orientationEvent)==undefined){var orientationEvent=0;}
$(window).on(orientationEvent,triggerWindowResize).on("load",triggerWindowResize);})(jQuery);


/*! 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("<input/>",{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);
var stacks = {};
stacks.jQuery = jQuery.noConflict(true);
stacks.com_joeworkman_stacks_totalcms_gallery = {};
stacks.com_joeworkman_stacks_totalcms_gallery = (function(stack) {
var jQuery = stacks.jQuery;var $ = jQuery; $(function(){$('.com_joeworkman_stacks_totalcms_gallery_stack img').error(function(){$(this).attr('src','../rw_common/plugins/stacks/total-cms/missing.jpg');});});

return stack;})(stacks.com_joeworkman_stacks_totalcms_gallery);
stacks.com_joeworkman_stacks_target = {};
stacks.com_joeworkman_stacks_target = (function(stack) {
var jQuery = stacks.jQuery;var $ = jQuery;/*!
 * jQuery afterresize event plugin
 * http://github.com/roxeteer/jquery-afterresize
 *
 * Copyright (c) 2010 Visa Kopu, visa@visakopu.net
 *
 * Licensed under the BSD license.
 * http://github.com/roxeteer/jquery-afterresize/wiki/License
 */
!function(a){var b=function(b){var c=a(this);c.data("resizetimer")&&window.clearTimeout(c.data("resizetimer")),c.data("resizetimer",window.setTimeout(function(){c.trigger("afterresize")},300))};a.event.special.afterresize={add:function(c){a(this).bind("resize",b);var d=c.handler;c.handler=function(a){return d.apply(this,arguments)}},remove:function(c){a(this).unbind("resize",b)}},a.fn.extend({afterresize:function(b){return a.isFunction(b)?a(this).bind("afterresize",b):a(this).trigger("afterresize"),this}})}(jQuery);

return stack;})(stacks.com_joeworkman_stacks_target);
stacks.uk_co_doobox_vegas = {};
stacks.uk_co_doobox_vegas = (function(stack) {
var jQuery = stacks.jQuery;var $ = jQuery;// -- Start Vegas Page js Template -- //
$(function(){
!function(t){"use strict";var s={slide:0,delay:5e3,preload:!1,preloadImage:!1,preloadVideo:!1,timer:!0,overlay:!1,autoplay:!0,shuffle:!1,cover:!0,color:null,align:"center",valign:"center",transition:"fade",transitionDuration:1e3,transitionRegister:[],animation:null,animationDuration:"auto",animationRegister:[],init:function(){},play:function(){},pause:function(){},walk:function(){},slides:[]},i={},e=function(i,e){this.elmt=i,this.settings=t.extend({},s,t.vegas.defaults,e),this.slide=this.settings.slide,this.total=this.settings.slides.length,this.noshow=this.total<2,this.paused=!this.settings.autoplay||this.noshow,this.$elmt=t(i),this.$timer=null,this.$overlay=null,this.$slide=null,this.timeout=null,this.transitions=["fade","fade2","blur","blur2","flash","flash2","negative","negative2","burn","burn2","slideLeft","slideLeft2","slideRight","slideRight2","slideUp","slideUp2","slideDown","slideDown2","zoomIn","zoomIn2","zoomOut","zoomOut2","swirlLeft","swirlLeft2","swirlRight","swirlRight2"],this.animations=["kenburns","kenburnsLeft","kenburnsRight","kenburnsUp","kenburnsUpLeft","kenburnsUpRight","kenburnsDown","kenburnsDownLeft","kenburnsDownRight"],this.settings.transitionRegister instanceof Array==!1&&(this.settings.transitionRegister=[this.settings.transitionRegister]),this.settings.animationRegister instanceof Array==!1&&(this.settings.animationRegister=[this.settings.animationRegister]),this.transitions=this.transitions.concat(this.settings.transitionRegister),this.animations=this.animations.concat(this.settings.animationRegister),this.support={objectFit:"objectFit"in document.body.style,transition:"transition"in document.body.style||"WebkitTransition"in document.body.style,video:t.vegas.isVideoCompatible()},this.settings.shuffle===!0&&this.shuffle(),this._init()};e.prototype={_init:function(){var s,i,e,n="BODY"===this.elmt.tagName,o=this.settings.timer,a=this.settings.overlay,r=this;this._preload(),n||(this.$elmt.css("height",this.$elmt.css("height")),s=t('<div class="vegas-wrapper">').css("overflow",this.$elmt.css("overflow")).css("padding",this.$elmt.css("padding")),this.$elmt.css("padding")||s.css("padding-top",this.$elmt.css("padding-top")).css("padding-bottom",this.$elmt.css("padding-bottom")).css("padding-left",this.$elmt.css("padding-left")).css("padding-right",this.$elmt.css("padding-right")),this.$elmt.clone(!0).children().appendTo(s),this.elmt.innerHTML=""),o&&this.support.transition&&(e=t('<div class="vegas-timer"><div class="vegas-timer-progress">'),this.$timer=e,this.$elmt.prepend(e)),a&&(i=t('<div class="vegas-overlay">'),"string"==typeof a&&i.css("background-image","url("+a+")"),this.$overlay=i,this.$elmt.prepend(i)),this.$elmt.addClass("vegas-container"),n||this.$elmt.append(s),setTimeout(function(){r.trigger("init"),r._goto(r.slide),r.settings.autoplay&&r.trigger("play")},1)},_preload:function(){var t,s;for(s=0;s<this.settings.slides.length;s++)(this.settings.preload||this.settings.preloadImages)&&this.settings.slides[s].src&&(t=new Image,t.src=this.settings.slides[s].src),(this.settings.preload||this.settings.preloadVideos)&&this.support.video&&this.settings.slides[s].video&&(this.settings.slides[s].video instanceof Array?this._video(this.settings.slides[s].video):this._video(this.settings.slides[s].video.src))},_random:function(t){return t[Math.floor(Math.random()*t.length)]},_slideShow:function(){var t=this;this.total>1&&!this.paused&&!this.noshow&&(this.timeout=setTimeout(function(){t.next()},this._options("delay")))},_timer:function(t){var s=this;clearTimeout(this.timeout),this.$timer&&(this.$timer.removeClass("vegas-timer-running").find("div").css("transition-duration","0ms"),this.paused||this.noshow||t&&setTimeout(function(){s.$timer.addClass("vegas-timer-running").find("div").css("transition-duration",s._options("delay")-100+"ms")},100))},_video:function(t){var s,e,n=t.toString();return i[n]?i[n]:(t instanceof Array==!1&&(t=[t]),s=document.createElement("video"),s.preload=!0,t.forEach(function(t){e=document.createElement("source"),e.src=t,s.appendChild(e)}),i[n]=s,s)},_fadeOutSound:function(t,s){var i=this,e=s/10,n=t.volume-.09;n>0?(t.volume=n,setTimeout(function(){i._fadeOutSound(t,s)},e)):t.pause()},_fadeInSound:function(t,s){var i=this,e=s/10,n=t.volume+.09;1>n&&(t.volume=n,setTimeout(function(){i._fadeInSound(t,s)},e))},_options:function(t,s){return void 0===s&&(s=this.slide),void 0!==this.settings.slides[s][t]?this.settings.slides[s][t]:this.settings[t]},_goto:function(s){function i(){f._timer(!0),setTimeout(function(){y&&(f.support.transition?(h.css("transition","all "+_+"ms").addClass("vegas-transition-"+y+"-out"),h.each(function(){var t=h.find("video").get(0);t&&(t.volume=1,f._fadeOutSound(t,_))}),e.css("transition","all "+_+"ms").addClass("vegas-transition-"+y+"-in")):e.fadeIn(_));for(var t=0;t<h.length-4;t++)h.eq(t).remove();f.trigger("walk"),f._slideShow()},100)}"undefined"==typeof this.settings.slides[s]&&(s=0),this.slide=s;var e,n,o,a,r,h=this.$elmt.children(".vegas-slide"),d=this.settings.slides[s].src,l=this.settings.slides[s].video,g=this._options("delay"),u=this._options("align"),c=this._options("valign"),p=this._options("cover"),m=this._options("color")||this.$elmt.css("background-color"),f=this,v=h.length,y=this._options("transition"),_=this._options("transitionDuration"),w=this._options("animation"),b=this._options("animationDuration");"repeat"!==p&&(p===!0?p="cover":p===!1&&(p="contain")),("random"===y||y instanceof Array)&&(y=y instanceof Array?this._random(y):this._random(this.transitions)),("random"===w||w instanceof Array)&&(w=w instanceof Array?this._random(w):this._random(this.animations)),("auto"===_||_>g)&&(_=g),"auto"===b&&(b=g),e=t('<div class="vegas-slide"></div>'),this.support.transition&&y&&e.addClass("vegas-transition-"+y),this.support.video&&l?(a=l instanceof Array?this._video(l):this._video(l.src),a.loop=void 0!==l.loop?l.loop:!0,a.muted=void 0!==l.mute?l.mute:!0,a.muted===!1?(a.volume=0,this._fadeInSound(a,_)):a.pause(),o=t(a).addClass("vegas-video").css("background-color",m),this.support.objectFit?o.css("object-position",u+" "+c).css("object-fit",p).css("width","100%").css("height","100%"):"contain"===p&&o.css("width","100%").css("height","100%"),e.append(o)):(r=new Image,n=t('<div class="vegas-slide-inner"></div>').css("background-image","url("+d+")").css("background-color",m).css("background-position",u+" "+c),"repeat"===p?n.css("background-repeat","repeat"):n.css("background-size",p),this.support.transition&&w&&n.addClass("vegas-animation-"+w).css("animation-duration",b+"ms"),e.append(n)),this.support.transition||e.css("display","none"),v?h.eq(v-1).after(e):this.$elmt.prepend(e),f._timer(!1),a?(4===a.readyState&&(a.currentTime=0),a.play(),i()):(r.src=d,r.onload=i)},shuffle:function(){for(var t,s,i=this.total-1;i>0;i--)s=Math.floor(Math.random()*(i+1)),t=this.settings.slides[i],this.settings.slides[i]=this.settings.slides[s],this.settings.slides[s]=t},play:function(){this.paused&&(this.paused=!1,this.next(),this.trigger("play"))},pause:function(){this._timer(!1),this.paused=!0,this.trigger("pause")},toggle:function(){this.paused?this.play():this.pause()},playing:function(){return!this.paused&&!this.noshow},current:function(t){return t?{slide:this.slide,data:this.settings.slides[this.slide]}:this.slide},jump:function(t){0>t||t>this.total-1||t===this.slide||(this.slide=t,this._goto(this.slide))},next:function(){this.slide++,this.slide>=this.total&&(this.slide=0),this._goto(this.slide)},previous:function(){this.slide--,this.slide<0&&(this.slide=this.total-1),this._goto(this.slide)},trigger:function(t){var s=[];s="init"===t?[this.settings]:[this.slide,this.settings.slides[this.slide]],this.$elmt.trigger("vegas"+t,s),"function"==typeof this.settings[t]&&this.settings[t].apply(this.$elmt,s)},options:function(i,e){var n=this.settings.slides.slice();if("object"==typeof i)this.settings=t.extend({},s,t.vegas.defaults,i);else{if("string"!=typeof i)return this.settings;if(void 0===e)return this.settings[i];this.settings[i]=e}this.settings.slides!==n&&(this.total=this.settings.slides.length,this.noshow=this.total<2,this._preload())},destroy:function(){clearTimeout(this.timeout),this.$elmt.removeClass("vegas-container"),this.$elmt.find("> .vegas-slide").remove(),this.$elmt.find("> .vegas-wrapper").clone(!0).children().appendTo(this.$elmt),this.$elmt.find("> .vegas-wrapper").remove(),this.settings.timer&&this.$timer.remove(),this.settings.overlay&&this.$overlay.remove(),this.elmt._vegas=null}},t.fn.vegas=function(t){var s,i=arguments,n=!1;if(void 0===t||"object"==typeof t)return this.each(function(){this._vegas||(this._vegas=new e(this,t))});if("string"==typeof t){if(this.each(function(){var e=this._vegas;if(!e)throw new Error("No Vegas applied to this element.");"function"==typeof e[t]&&"_"!==t[0]?s=e[t].apply(e,[].slice.call(i,1)):n=!0}),n)throw new Error('No method "'+t+'" in Vegas.');return void 0!==s?s:this}},t.vegas={},t.vegas.defaults=s,t.vegas.isVideoCompatible=function(){return!/(Android|webOS|Phone|iPad|iPod|BlackBerry|Windows Phone)/i.test(navigator.userAgent)}}(jQuery||window.Zepto);
});
// -- End Vegas Page js Template -- //
return stack;})(stacks.uk_co_doobox_vegas);
stacks.com_joeworkman_stacks_totalcms_image = {};
stacks.com_joeworkman_stacks_totalcms_image = (function(stack) {
var jQuery = stacks.jQuery;var $ = jQuery; $(function(){$('img.auto-lightbox').click(function(e){e.preventDefault();var path=$(this).data('img'),modal=$('#total-image-reveal'),image=$('<img>').attr('src',path);$('img',modal).remove();if(modal.hasClass("reveal")){modal.prepend(image).foundation('open').one("click",function(){modal.foundation('close');});}else{modal.prepend(image).foundation('reveal','open').one("click",function(){modal.foundation('reveal','close');});}});});

return stack;})(stacks.com_joeworkman_stacks_totalcms_image);
stacks.com_bigwhiteduck_stacks_headerpro = {};
stacks.com_bigwhiteduck_stacks_headerpro = (function(stack) {
var jQuery = stacks.jQuery;var $ = jQuery; var elements=document.getElementsByClassName('hp-slice');while(elements.length>0){elements[0].parentNode.removeChild(elements[0]);}

return stack;})(stacks.com_bigwhiteduck_stacks_headerpro);
stacks.stacks_in_1083_3 = {};
stacks.stacks_in_1083_3 = (function(stack) {
var jQuery = stacks.jQuery;var $ = jQuery;
stacks.fInit=function(stack){return stack;}
window.wowjsmobile=true;window.revealAnimation='fadeAndPop';window.revealNoScroll=false;$(document).on('opened.fndtn.reveal','[data-reveal]',function(){$(window).trigger('resize')});$(document).ready(function(){if($.isMobile()){$('.show-for-touch').fadeIn('fast');$("a[data-dropdown],a.menu-icon,a.touchfix").on('touchend',function(){$(this).trigger('click')});}});var useCustomSelector='False',stacksTrue='True',headerFamily='fontpro'==='custom'?'Catamaran':"fontpro",headerFamilyFallback='sans-serif',headerSelector='h1, h3, h4'+',.font-family-h1',headerStyle='normal',headerGoogle=headerFamily==='Open Sans'?stacksTrue:'fontpro'==='custom'?'True':'false',headerWeight=headerStyle==='italic'?'800italic':'800',headerWeight=headerWeight+',800'.replace(/\s/g,''),header2Family='fontpro'==='custom'?'Catamaran':'fontpro',header2FamilyFallback='sans-serif',header2Selector='h2, h5, h6'+',.font-family-h2',header2Style='normal',header2Google=header2Family==='Open Sans'?stacksTrue:'fontpro'==='custom'?'True':'false',header2Weight=header2Style==='italic'?'300italic':'300',header2Weight=header2Weight+',300'.replace(/\s/g,''),fontFamily='fontpro'==='custom'?'Catamaran':'fontpro',fontFamilyFallback='sans-serif',fontSelector='p'+',.font-family-text',fontGoogle=fontFamily==='Open Sans'?stacksTrue:'fontpro'==='custom'?'True':'false',fontWeight='400,400'.replace(/\s/g,''),getGoogleUrls=function(fontStore){var googleFonts=[];for(var family in fontStore){var weights=fontStore[family].join().replace(/,,/g,',').replace(/,$/,'');googleFonts.push('https://fonts.googleapis.com/css?family='+family+':'+weights);}
return googleFonts;},isGFont=function(family,google){if(google===stacksTrue)return family;return false;},getGoogleFonts=function(data){var fonts=data.fonts,weights=data.weights,google=data.google,fontStore=new Object();for(var i=0;i<fonts.length;i++){if(isGFont(fonts[i],google[i])===false)continue;(fontStore[fonts[i]]=fontStore[fonts[i]]||[]).push(weights[i]);}
return getGoogleUrls(fontStore);};headerFamily=$.trim(headerFamily);header2Family=$.trim(header2Family);fontFamily=$.trim(fontFamily);var cssFontFiles=getGoogleFonts({fonts:[headerFamily,header2Family,fontFamily],weights:[headerWeight,header2Weight,fontWeight],google:[headerGoogle,header2Google,fontGoogle]});for(var i=0;i<cssFontFiles.length;i++){loadCSS(decodeURIComponent(cssFontFiles[i]));}
if(useCustomSelector===stacksTrue){fontFamily='"'+fontFamily+'"';headerFamily='"'+headerFamily+'"';header2Family='"'+header2Family+'"';var customFontStyles={'font-family':[fontFamily,fontFamilyFallback].join()+'!important','font-weight':fontWeight.split(',')[0]+'!important'},customHeaderSyles={'font-family':[headerFamily,headerFamilyFallback].join()+'!important','font-weight':headerWeight.split(',')[0]+'!important','font-style':headerStyle+'!important'},customHeader2Syles={'font-family':[header2Family,header2FamilyFallback].join()+'!important','font-weight':header2Weight.split(',')[0]+'!important','font-style':header2Style+'!important'};if(fontFamily!=='fontpro'){$.debug('Custom Font Selectors:'+fontSelector,customFontStyles);vein.inject(fontSelector,customFontStyles);}
if(headerFamily!=='fontpro'){$.debug('Custom Header Selectors:'+headerSelector,customHeaderSyles);vein.inject(headerSelector,customHeaderSyles);}
if(header2Family!=='fontpro'){$.debug('Custom Header2 Selectors:'+header2Selector,customHeader2Syles);vein.inject(header2Selector,customHeader2Syles);}}

return stack;})(stacks.stacks_in_1083_3);
stacks.stacks_in_1083_8 = {};
stacks.stacks_in_1083_8 = (function(stack) {
var jQuery = stacks.jQuery;var $ = jQuery;// -- Start Bellboy Each js Template -- //

(function($) {
    $.bellboy = function(element, options) {

        var defaults = {
            duration: undefined,
            mainAudio: false,
            endAudio: false,
            preloadAudio: true,
            loopAudio: true,
            startCallback: null,
            endCallback: null
        };

        var plugin = this;
        plugin.settings = {}

        var $element = $(element),
             element = element;

        plugin.init = function() {


	        // Bind to element click event, if need be.
	        body = document.body;
	
	        var defaults = {
	            duration: undefined,
	            mainAudio: false,
	            endAudio: false,
	            preloadAudio: true,
	            loopAudio: true,
	            startCallback: null,
	            endCallback: null
	        };
	
	        
	        plugin.settings = $.extend({}, defaults, options);
	
	        if( plugin.settings.element ) {
	            bindElevateToElement( plugin.settings.element );
	        }
	
	        // Take the stairs instead
	        if( !browserMeetsRequirements() ) {
	            return;
	        }
	
	        if( plugin.settings.duration ) {
	            customDuration = true;
	            duration = plugin.settings.duration;
	        }
	
	        if( plugin.settings.targetElement ) {
	            targetElement = plugin.settings.targetElement;
	        }
	
	        if( plugin.settings.verticalPadding ) {
	            verticalPadding = plugin.settings.verticalPadding;
	        }
	
	        window.addEventListener('blur', onWindowBlur, false);
	
	        if( plugin.settings.mainAudio ) {
	            mainAudio = new Audio( plugin.settings.mainAudio );
	            mainAudio.setAttribute( 'preload', plugin.settings.preloadAudio );
	            mainAudio.setAttribute( 'loop', plugin.settings.loopAudio );
	        }
	
	        if( plugin.settings.endAudio ) {
	            endAudio = new Audio( plugin.settings.endAudio );
	            endAudio.setAttribute( 'preload', 'true' );
	        }
	
	        if( plugin.settings.endCallback ) {
	            endCallback = plugin.settings.endCallback;
	        }
	
	        if( plugin.settings.startCallback ) {
	            startCallback = plugin.settings.startCallback;
	        }

        }

	    'use strict';
	
	    // Elements
	    var body = null;
	
	    // Scroll vars
	    var animation = null;
	    var duration = null; // ms
	    var customDuration = false;
	    var startTime = null;
	    var startPosition = null;
	    var endPosition = 0;
	    var targetElement = null;
	    var verticalPadding = null;
	    var elevating = false;
	
	    var startCallback;
	    var mainAudio;
	    var endAudio;
	    var endCallback;
	
	    var that = this;
	
	    function easeInOutQuad( t, b, c, d ) {
	        t /= d / 2;
	        if ( t < 1 ) return c / 2 * t * t + b;
	        t--;
	        return -c / 2 * ( t * ( t -2 ) - 1 ) + b;
	    }
	
	    function extendParameters(options, defaults){
	        for( var option in defaults ){
	            var t = options[option] === undefined && typeof option !== "function";
	            if(t){
	                options[option] = defaults[option];
	            }
	        }
	        return options;
	    }
	
	    function getVerticalOffset(element) {
	        var verticalOffset = 0;
	        while( element ){
	            verticalOffset += element.offsetTop || 0;
	            element = element.offsetParent;
	        }
	
	        if ( verticalPadding ) {
	          verticalOffset = verticalOffset - verticalPadding;
	        }
	        return verticalOffset;
	    }
	
	    /**
	     * Main
	     */
	
	    // Time is passed through requestAnimationFrame, what a world!
	    function animateLoop( time ) {
	        if ( !startTime ) {
	            startTime = time;
	        }
	
	        var timeSoFar = time - startTime;
	        var easedPosition = easeInOutQuad(timeSoFar, startPosition, endPosition - startPosition, duration);
	
	        window.scrollTo(0, easedPosition);
	
	        if( timeSoFar < duration ) {
	            animation = requestAnimationFrame(animateLoop);
	        } else {
	            animationFinished();
	        }
	    }
	
	    this.elevate = function() {
	
	        if( elevating ) {
	            return;
	        }
	
	        elevating = true;
	        startPosition = (document.documentElement.scrollTop || body.scrollTop);
	        updateEndPosition();
	
	        // No custom duration set, so we travel at pixels per millisecond. (0.75px per ms)
	        if( !customDuration ) {
	            duration = ( Math.abs(endPosition - startPosition) * 1.5);
	        }
	
	        requestAnimationFrame( animateLoop );
	
	        // Start music!
	        if( mainAudio ) {
	            mainAudio.play();
	        }
	
	        if( startCallback ) {
	            startCallback();
	        }
	    };
	
	    function browserMeetsRequirements() {
	        return window.requestAnimationFrame && window.Audio && window.addEventListener;
	    }
	
	    function resetPositions() {
	        startTime = null;
	        startPosition = null;
	        elevating = false;
	    }
	
	    function updateEndPosition() {
	        if(targetElement){
	            endPosition = getVerticalOffset(targetElement);
	        }
	    }
	
	    function animationFinished() {
	
	        resetPositions();
	
	        // Stop music!
	        if( mainAudio ) {
	            mainAudio.pause();
	            mainAudio.currentTime = 0;
	        }
	
	        if( endAudio ) {
	            endAudio.play();
	        }
	
	        if( endCallback ) {
	            endCallback();
	        }
	    }
	
	    function onWindowBlur() {
	
	        // If animating, go straight to the top. And play no more music.
	        if( elevating ) {
	
	            cancelAnimationFrame( animation );
	            resetPositions();
	
	            if( mainAudio ) {
	                mainAudio.pause();
	                mainAudio.currentTime = 0;
	            }
	
	            updateEndPosition();
	            window.scrollTo(0, endPosition);
	        }
	    }
	
	    function bindElevateToElement( element ) {
	        if( element.addEventListener ) {
	            element.addEventListener('click', that.elevate, false);
	        } else {
	            // Older browsers
	            element.attachEvent('onclick', function() {
	                updateEndPosition();
	                document.documentElement.scrollTop = endPosition;
	                document.body.scrollTop = endPosition;
	                window.scroll(0, endPosition);
	            });
	        }
	    }

        plugin.init();

    }

    $.fn.bellboy = function(options) {
        return this.each(function() {
            if (undefined == $(this).data('bellboy')) {
                var plugin = new $.bellboy(this, options);
                $(this).data('bellboy', plugin);
            }
        });
    }
})(jQuery);




$(document).ready(function() {

if("botright" == "botright"){
	var h = $("body").height();
	var topquarter = h / 4;

	$(".stacks_in_1083_8bellboywrapper").addClass("bellboybutton").prependTo("body");
	
	$(".stacks_in_1083_8bellboywrapper").css({
	"display":"none",
	"position":"fixed",
	"bottom":"20px",
	"right":"30px",
	"z-index":"1000"
	});
	
	$(window).scroll(function() {
		if($("#stacks_in_1083_8").parent().css("display") ==  "block"){
		    if ($(this).scrollTop() > topquarter) {
		        $(".stacks_in_1083_8bellboywrapper").fadeIn();
		    }
		    else {
		        $(".stacks_in_1083_8bellboywrapper").fadeOut();
		    }
		} // end if larger screen
	});
	
	
	$(window).resize(function() {
		if($("#stacks_in_1083_8").parent().css("display") ==  "block"){
		    if ($(this).scrollTop() > topquarter) {
		        $(".stacks_in_1083_8bellboywrapper").fadeIn();
		    }
		}
		else{
			$(".stacks_in_1083_8bellboywrapper").fadeOut();
		} // end if larger screen
	});
}else{
	$(".stacks_in_1083_8bellboywrapper").css({
	"display":"block"
	});
}


var stacks_in_1083_8traveltime = (1 * 1000);


if("false" == "true"){
	if("true" == "true"){
		if("false" == "true"){
			$(window).load(function() {
				$(".stacks_in_1083_8bellboywrapper").bellboy({
					element: document.querySelector('.stacks_in_1083_8bellboywrapper'),
				    mainAudio: '',
				    endAudio: 'files/bellboyAssets/ding.mp3',
				    duration: stacks_in_1083_8traveltime
				});
			});	
		}else{
			$(window).load(function() {
				$(".stacks_in_1083_8bellboywrapper").bellboy({
					element: document.querySelector('.stacks_in_1083_8bellboywrapper'),
				    mainAudio: 'files/bellboyAssets/elevator.mp3',
				    endAudio: 'files/bellboyAssets/ding.mp3',
				    duration: stacks_in_1083_8traveltime
				});
			});	
		}	
	}else{
		if("false" == "true"){
			$(window).load(function() {
				$(".stacks_in_1083_8bellboywrapper").bellboy({
					element: document.querySelector('.stacks_in_1083_8bellboywrapper'),
				    mainAudio: '',
				    duration: stacks_in_1083_8traveltime
				});
			});
		}else{
			$(window).load(function() {
				$(".stacks_in_1083_8bellboywrapper").bellboy({
					element: document.querySelector('.stacks_in_1083_8bellboywrapper'),
				    mainAudio: 'files/bellboyAssets/elevator.mp3',
				    duration: stacks_in_1083_8traveltime
				});
			});	
		}
	}
}else{
	$(window).load(function() {
		$(".stacks_in_1083_8bellboywrapper").bellboy({
			element: document.querySelector('.stacks_in_1083_8bellboywrapper'),
			duration: stacks_in_1083_8traveltime
		});
	});
}




}); // end doc ready


// -- End Bellboy Each js Template -- //
return stack;})(stacks.stacks_in_1083_8);
stacks.stacks_in_1085 = {};
stacks.stacks_in_1085 = (function(stack) {
var jQuery = stacks.jQuery;var $ = jQuery;

return stack;})(stacks.stacks_in_1085);
stacks.stacks_in_1086 = {};
stacks.stacks_in_1086 = (function(stack) {
var jQuery = stacks.jQuery;var $ = jQuery;
$(document).ready(function(){var position="browser",position_class="target_stack target_stacks_in_1086  width-fill height-auto position-browser top_pt hcenter ",condition="",testHeight=condition==="target-height"?true:false,target=$("#stacks_in_1086").parent();if(testHeight){var targetHeight=function(){var windowHeight=$(window).height(),documentHeight=$(".stacks_top").first().height();if(windowHeight>documentHeight){target.addClass(position_class);}
else{target.removeClass(position_class);}};targetHeight();$(window).afterresize(targetHeight);}
else{target.addClass(position_class);}
if(position=="custom"){var custom_element=$("#custom_id");target.appendTo(custom_element);}
if(position=="body"){target.appendTo("body");}});

return stack;})(stacks.stacks_in_1086);
stacks.stacks_in_1089 = {};
stacks.stacks_in_1089 = (function(stack) {
var jQuery = stacks.jQuery;var $ = jQuery; var subNavIndex=1,divide=0,zoneDivider=0,fullWidthMenu='full-width',scope='all',style='solid',menuAlign='right',styleActive='styleActive'==='styleActive'?true:false,rwmenu='rw'==='rw'?true:false,magellan='rw'==='magellan'?true:false,dropdowns='#stacks_in_1089 ul:not(.title-area) li.has-dropdown';$(document).ready(function(){var stack=$('#stacks_in_1089');stack.parent().css({overflow:'visible'});$('.top-bar-section:not(.menu-magellan):not(.menu-none)',stack).rwflexnav({scope:scope,subNavIndex:subNavIndex,divide:divide});if(magellan){if(divide)$('ul.magellanList',stack).divideNav();$('.magellanList li',stack).each(function(){var id=$(this).data('magellan-arrival');$('a',this).attr('href','#'+id);});}
if($('ul.zone',stack).exists()){if(zoneDivider)$('ul.zone',stack).divideNav();}
if($('.zone-align-left ul.zone',stack).exists()||!$('ul.zone',stack).exists()){$('ul.menu',stack).addClass(menuAlign);}
if(fullWidthMenu==='full-width'&&menuAlign==='centered'){var calcMenuItemWidth=function(){var items=$('.menu-align-centered ul.menu > li:not(.divider)',stack),dividers=$('.menu-align-centered ul.menu > li.divider',stack);if($('.top-bar .toggle-topbar',stack).is(':visible')){items.removeAttr('style');}
else{var count=items.length;if(count>0){var width=dividers.length>0?100/count-0.2:100/count;items.width(width+"%");}}};calcMenuItemWidth();$(window).on('resize',calcMenuItemWidth);}
$(dropdowns).attr('aria-haspopup','true');$(dropdowns).hover(function(){$('> a:not(.button)',this).addClass('hovered');},function(){$('> a:not(.button)',this).removeClass('hovered');});});$(window).load(function(){var stack=$('#stacks_in_1089');if('custom'==='62.563em'){$('.parent-link.hide-for-medium-up',stack).removeClass('hide-for-medium-up').addClass('hide-for-large-up');}
else if('custom'==='9999px'){$('.parent-link.hide-for-medium-up',stack).removeClass('hide-for-medium-up');}});

return stack;})(stacks.stacks_in_1089);
stacks.stacks_in_231 = {};
stacks.stacks_in_231 = (function(stack) {
var jQuery = stacks.jQuery;var $ = jQuery;// -- Start Vegas Each js Template -- //

$(document).ready(function() {
// images loaded
(function(c,q){var m="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw==";c.fn.imagesLoaded=function(f){function n(){var b=c(j),a=c(h);d&&(h.length?d.reject(e,b,a):d.resolve(e));c.isFunction(f)&&f.call(g,e,b,a)}function p(b){k(b.target,"error"===b.type)}function k(b,a){b.src===m||-1!==c.inArray(b,l)||(l.push(b),a?h.push(b):j.push(b),c.data(b,"imagesLoaded",{isBroken:a,src:b.src}),r&&d.notifyWith(c(b),[a,e,c(j),c(h)]),e.length===l.length&&(setTimeout(n),e.unbind(".imagesLoaded",
p)))}var g=this,d=c.isFunction(c.Deferred)?c.Deferred():0,r=c.isFunction(d.notify),e=g.find("img").add(g.filter("img")),l=[],j=[],h=[];c.isPlainObject(f)&&c.each(f,function(b,a){if("callback"===b)f=a;else if(d)d[b](a)});e.length?e.bind("load.imagesLoaded error.imagesLoaded",p).each(function(b,a){var d=a.src,e=c.data(a,"imagesLoaded");if(e&&e.src===d)k(a,e.isBroken);else if(a.complete&&a.naturalWidth!==q)k(a,0===a.naturalWidth||0===a.naturalHeight);else if(a.readyState||a.complete)a.src=m,a.src=d}):
n();return d?d.promise(g):g}})(jQuery);

	
	var stacks_in_231slides = [];
	var stacks_in_231speed = 1 * 0.8 * 1000;
	var stacks_in_231duration;
	var stacks_in_231delay;
	
	$("#stacks_in_231 #stacks_in_231VegasInput img").each(function(){
		var item = {}
        item ["src"] = $(this).attr("src");
		
		if($(this).data("src") != ""){
        	stacks_in_231slides.push(item);
        }
	});
	
	
	if(stacks_in_231slides.length < 2){
		
		$("#stacks_in_231VegasSlideshow").css("min-height","0");
		return;
	}
	
	// set the height
	function stacks_in_231vegasSetHeight(){
		var topoffset = $("#stacks_in_231VegasSlideshow").offset().top;
		var winheight = $(window).height();
		var contentheight = $(".stacks_in_231vegasContentBox").height() + 80;
		var preferedheight = 0;

		switch("custom") {
		    case "fullscreen":
		    	contentheight = contentheight + $(".stacks_in_231vegasScrollButton").height();
		    	preferedheight = winheight - topoffset;
		        break;
		    case "halfscreen":
		    	preferedheight = (winheight / 2) - topoffset
		        break;
		    case "twothirdscreen":
		    	preferedheight = (winheight / 3 * 2) - topoffset
		        break;
		    case "proportional":
		    		var vegaswidth = $("#stacks_in_231VegasSlideshow").width()
			    	switch ("3:2") {
	                    case "3:2":
	                        preferedheight = vegaswidth / (3 / 2);
	                        break;
	                    case "4:3":
	                        preferedheight = vegaswidth / (4 / 3);
	                        break;
	                    case "16:9":
	                        preferedheight = vegaswidth / (16 / 9);
	                        break;
	                    case "21:9":
	                        preferedheight = vegaswidth / (21 / 9);
	                        break;
	                    case "4:4":
	                        preferedheight = vegaswidth;
	                        break;
	                }
		        break;
		    default:
		        preferedheight = 650;
		}
		
		if(contentheight >= preferedheight){
			$("#stacks_in_231VegasSlideshow").css("min-height", contentheight + "px");
		}else{
			$("#stacks_in_231VegasSlideshow").css("height", preferedheight + "px");
			$("#stacks_in_231VegasSlideshow").css("min-height", preferedheight + "px");
			$("#stacks_in_231VegasSlideshow").css("height", "auto");
		}
		if(contentheight < 50){
			$("#stacks_in_231VegasSlideshow").css("min-height", "50px");
		}
	}
	
	stacks_in_231vegasSetHeight();
	
	$(".stacks_in_231vegasIcon img").imagesLoaded( function() {
		stacks_in_231vegasSetHeight();
	});
	
	
	
	
	
	switch("fade") {
	    case "blur":
	    	stacks_in_231delay = stacks_in_231speed * 6;
	    	stacks_in_231duration = stacks_in_231speed * 3;
	        $("#stacks_in_231VegasSlideshow").vegas({
			    slides: stacks_in_231slides,
			    overlay: true,
			    preload: false,
			    timer: false,
			    transition: "blur",
			    delay: stacks_in_231delay,
			    transitionDuration: stacks_in_231duration
			});
	        break;
	    case "swirl":
	    	stacks_in_231delay = stacks_in_231speed * 6;
	    	stacks_in_231duration = stacks_in_231speed * 3;
	        $("#stacks_in_231VegasSlideshow").vegas({
			    slides: stacks_in_231slides,
			    overlay: true,
			    preload: false,
			    timer: false,
			    transition: ["swirlLeft","swirlRight"],
			    delay: stacks_in_231delay,
			    transitionDuration: stacks_in_231duration
			});
	        break;
	    case "fade":
	    	stacks_in_231delay = stacks_in_231speed * 6;
	    	stacks_in_231duration = stacks_in_231speed * 4;
	        $("#stacks_in_231VegasSlideshow").vegas({
			    slides: stacks_in_231slides,
			    overlay: true,
			    preload: false,
			    timer: false,
			    transition: "fade",
			    delay: stacks_in_231delay,
			    transitionDuration: stacks_in_231duration
			});
	        break;
	    case "kenburns":
	    	stacks_in_231delay = stacks_in_231speed * 12;
	    	stacks_in_231duration = stacks_in_231speed * 12;
	        $("#stacks_in_231VegasSlideshow").vegas({
			    slides: stacks_in_231slides,
			    overlay: true,
			    preload: false,
			    timer: false,
			    animation: "kenburns",
			    delay: stacks_in_231delay,
			    animationDuration: stacks_in_231duration
			});
	        break;
	    case "newkenburns":
	    	stacks_in_231delay = stacks_in_231speed * 12;
	    	stacks_in_231duration = stacks_in_231speed * 12;
	        $("#stacks_in_231VegasSlideshow").vegas({
			    slides: stacks_in_231slides,
			    overlay: true,
			    preload: false,
			    timer: false,
			    animation: "random",
			    delay: stacks_in_231delay,
			    animationDuration: stacks_in_231duration
			});
	        break;
	    default:
	        console.log("Vegas transition switch failed");
	}
	
	
	$(".stacks_in_231vegasScrollButton").click(function(){
		var heightofme = $(this).outerHeight();
		var thescrolldistance = $(this).offset().top + heightofme - 0;
		$("body,html").animate({scrollTop : thescrolldistance }, parseInt(800), "swing", function(){
	      // scroll animation complete
	    });
	});
	

	$(window).resize(function(){
	  stacks_in_231vegasSetHeight();
	});
	
	$(window).load(function() {
		stacks_in_231vegasSetHeight();
	});
	
});

// -- End Vegas Each js Template -- //
return stack;})(stacks.stacks_in_231);
stacks.stacks_in_218 = {};
stacks.stacks_in_218 = (function(stack) {
var jQuery = stacks.jQuery;var $ = jQuery;
$(document).ready(function(){var win=$(window),stack=$('#stacks_in_218'),spacer=$('.spacer_stacks_in_218'),positionClass='section-top',sideClass='section-left',sectionWrapperId='#'+stack.closest('.shear-wrapper').attr('id'),sectionContent=stack.closest('.content-wrapper');if(positionClass=='section-bottom'){spacer.appendTo(sectionContent);}else{spacer.prependTo(sectionContent);}stack.addClass('section-absolute').addClass(positionClass).addClass(sideClass).appendTo(sectionWrapperId);var resizeSpacer=function(){var targetHeight=stack.outerHeight();spacer.css('height',targetHeight);}
win.on("resize",resizeSpacer);});

return stack;})(stacks.stacks_in_218);
stacks.stacks_in_1069 = {};
stacks.stacks_in_1069 = (function(stack) {
var jQuery = stacks.jQuery;var $ = jQuery;
$(document).ready(function(){var win=$(window),stack=$('#stacks_in_1069'),spacer=$('.spacer_stacks_in_1069'),positionClass='section-top',sideClass='section-left',sectionWrapperId='#'+stack.closest('.shear-wrapper').attr('id'),sectionContent=stack.closest('.content-wrapper');if(positionClass=='section-bottom'){spacer.appendTo(sectionContent);}else{spacer.prependTo(sectionContent);}stack.addClass('section-absolute').addClass(positionClass).addClass(sideClass).appendTo(sectionWrapperId);var resizeSpacer=function(){var targetHeight=stack.outerHeight();spacer.css('height',targetHeight);}
win.on("resize",resizeSpacer);});

return stack;})(stacks.stacks_in_1069);
stacks.stacks_in_1412 = {};
stacks.stacks_in_1412 = (function(stack) {
var jQuery = stacks.jQuery;var $ = jQuery;

return stack;})(stacks.stacks_in_1412);
stacks.stacks_in_1459 = {};
stacks.stacks_in_1459 = (function(stack) {
var jQuery = stacks.jQuery;var $ = jQuery;

return stack;})(stacks.stacks_in_1459);
stacks.stacks_in_2572 = {};
stacks.stacks_in_2572 = (function(stack) {
var jQuery = stacks.jQuery;var $ = jQuery;
if(location.hash=='#export')window.open('files/stacks_in_2572_export.php');$.fn.serializeAndEncodeForm=function(){return $.map(this.serializeArray(),function(val){return[val.name,encodeURIComponent(val.value)].join('=');}).join('&');};$(document).ready(function(){var form=$("#stacks_in_2572_form"),stack=$("#stacks_in_2572"),redirect_url='',action='ajax',redirect=0,template=0,template2=0,customPost=0,sendinsert=0,sendmail=true,sendmail2=false;var ajax_submit=function(postUrl,data){$.debug("Foundation Post: "+postUrl,data);$.ajax({type:"POST",url:postUrl,data:data,async:false,contentType:false,processData:false,success:function(data){form[0].reset();$('.in-progress',stack).fadeOut();$('.alert-box.success',stack).slideDown();$('small.error',form).hide();$('div.error',form).removeClass('error');setTimeout(function(){$('div.error',form).removeClass('error');$('small.error',form).removeAttr('style');},1000);console.log("Foundation Post Successful: ",data);if(redirect)window.location.href=redirect_url;},error:function(jqxhr,status,msg){$('.in-progress',stack).fadeOut();$('.alert-box.alert',stack).slideDown();console.error("Foundation Post Error: ",jqxhr);}});};form.on('invalid.fndtn.abide',function(){$(this).removeClass('abide-validated');var invalid_fields=$(this).find('[data-invalid]');console.warn("invalid fields",invalid_fields);}).on('valid.fndtn.abide',function(){$(this).addClass('abide-validated');}).on('submit',function(e){if(customPost===1){if(action==='ajax'){e.preventDefault();e.stopPropagation();}}
else{e.preventDefault();e.stopPropagation();}
$('.alert-box',stack).hide();var submitActions=function(){$('.in-progress',stack).fadeIn();var data=new FormData(form[0]);$.debug('Submitting Form Actions',data);if(customPost===1&&action==='ajax')ajax_submit('',data);if(sendinsert===1)ajax_submit('files/stacks_in_2572_phpinsert.php',data);if(sendmail){$.debug('sendmail template',template);if(template===1)data.append("jwtemplate",encodeURIComponent($('#template_stacks_in_2572').html()));ajax_submit('files/stacks_in_2572_phpmailer.php',data);}
if(sendmail2){if(template2===1)data.append("jwtemplate",encodeURIComponent($('#template2_stacks_in_2572').html()));ajax_submit('files/stacks_in_2572_phpmailer2.php',data);}};var submitForm=function(){if(typeof grecaptcha!=='undefined'){$.debug('Checking reCaptcha',form.serializeAndEncodeForm());$('.g-recaptcha iframe',form).removeClass('error');var stackid=$('.g-recaptcha',form).data('stack');$.ajax({type:"POST",url:"files/"+stackid+"_recaptcha.php",data:form.serializeAndEncodeForm(),cache:false,success:function(data){$.debug('reCAPTCHA WORKS!',data);submitActions();},error:function(data){console.error("Error checking reCAPTCHA");console.error(data);$('.g-recaptcha iframe',form).addClass('error');},complete:function(){grecaptcha.reset();}});}
else{submitActions();}}
if(form.attr("data-abide")!==undefined&&!form.hasClass('abide-validated')){if(form.closest('.reveal-modal').exists()){form.one('valid.fndtn.abide',function(){if(window.formsubmithack===undefined){submitForm();window.formsubmithack=true;}});}
console.warn("Invlidated form. Stopping submit.");return false;}
else{submitForm();}
if(customPost===1&&action!=='ajax')return true;return false;});});

return stack;})(stacks.stacks_in_2572);
stacks.stacks_in_2620 = {};
stacks.stacks_in_2620 = (function(stack) {
var jQuery = stacks.jQuery;var $ = jQuery;

return stack;})(stacks.stacks_in_2620);
stacks.stacks_in_685 = {};
stacks.stacks_in_685 = (function(stack) {
var jQuery = stacks.jQuery;var $ = jQuery;// -- Start Eternity2 Each js Template -- //

$(document).ready(function(){
	
// ### IMAGES LOADED ###
(function(c,q){var m="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw==";c.fn.imagesLoaded=function(f){function n(){var b=c(j),a=c(h);d&&(h.length?d.reject(e,b,a):d.resolve(e));c.isFunction(f)&&f.call(g,e,b,a)}function p(b){k(b.target,"error"===b.type)}function k(b,a){b.src===m||-1!==c.inArray(b,l)||(l.push(b),a?h.push(b):j.push(b),c.data(b,"imagesLoaded",{isBroken:a,src:b.src}),r&&d.notifyWith(c(b),[a,e,c(j),c(h)]),e.length===l.length&&(setTimeout(n),e.unbind(".imagesLoaded",
p)))}var g=this,d=c.isFunction(c.Deferred)?c.Deferred():0,r=c.isFunction(d.notify),e=g.find("img").add(g.filter("img")),l=[],j=[],h=[];c.isPlainObject(f)&&c.each(f,function(b,a){if("callback"===b)f=a;else if(d)d[b](a)});e.length?e.bind("load.imagesLoaded error.imagesLoaded",p).each(function(b,a){var d=a.src,e=c.data(a,"imagesLoaded");if(e&&e.src===d)k(a,e.isBroken);else if(a.complete&&a.naturalWidth!==q)k(a,0===a.naturalWidth||0===a.naturalHeight);else if(a.readyState||a.complete)a.src=m,a.src=d}):
n();return d?d.promise(g):g}})(jQuery);

// ### NO FIXED BACKGROUND ON TOUCH DEVICES ###
if (navigator.userAgent.match(/(iPod|iPhone|iPad|Android)/) && "fixed" == "fixed") {
	$(".stacks_in_685eternityContainer").css("background-attachment","scroll");
}

	// ### SET AND RESET THE CONTENT HEIGHT ###
	function stacks_in_685eternitySetHeight(){
		var topoffset = $(".stacks_in_685eternityContainer").offset().top;
		var winheight = $(window).height();
		var contentheight = $(".stacks_in_685contentBox").height();
		var preferedheight = 0;

		switch("custom") {
		    case "fullscreen":
		    	contentheight = contentheight + $(".stacks_in_685eternityScrollButton").height();
		    	preferedheight = winheight - topoffset;
		        break;
		    case "halfscreen":
		    	preferedheight = (winheight / 2)
		        break;
		    case "twothirdscreen":
		    	preferedheight = (winheight / 3 * 2)
		        break;
		    case "onethirdscreen":
		    	preferedheight = (winheight / 3)
		        break;
		    case "proportional":
		    		var eternitywidth = $(".stacks_in_685eternityContainer").width()
			    	switch ("3:2") {
	                    case "3:2":
	                        preferedheight = eternitywidth / (3 / 2);
	                        break;
	                    case "4:3":
	                        preferedheight = eternitywidth / (4 / 3);
	                        break;
	                    case "16:9":
	                        preferedheight = eternitywidth / (16 / 9);
	                        break;
	                    case "21:9":
	                        preferedheight = eternitywidth / (21 / 9);
	                        break;
	                    case "4:4":
	                        preferedheight = eternitywidth;
	                        break;
	                }
		        break;
		    default:
		        preferedheight = 500;
		}
		
		if(contentheight >= preferedheight){
			$(".stacks_in_685eternityScrollButton").hide();
			$(".stacks_in_685eternityContainer").css("min-height", contentheight + "px");
		}else{
			if("custom" == "fullscreen" && "eternityanimation" != ""){
				$(".stacks_in_685eternityScrollButton").show();
			}
			$(".stacks_in_685eternityContainer").css("height", preferedheight + "px");
			$(".stacks_in_685eternityContainer").css("min-height", preferedheight + "px");
			$(".stacks_in_685eternityContainer").css("height", "auto");
		}
		if(contentheight < 50){
			$(".stacks_in_685eternityContainer").css("min-height", "50px");
		}
	}
	
	
	// ### TRIGGER SET HEIGHT EVENTS ###
	stacks_in_685eternitySetHeight(); // ON LOAD
	
	$(".stacks_in_685contentBox").imagesLoaded( function() {
		stacks_in_685eternitySetHeight();
	});
	
	$(window).resize(function(){
	  stacks_in_685eternitySetHeight();
	});
	
	$(window).load(function() {
		stacks_in_685eternitySetHeight();
	});

	// ### SCROLL BUTTON BEHAVIOUR ###
	$(".stacks_in_685eternityScrollButton").click(function(){
		var heightofme = $(this).outerHeight();
		var thescrolldistance = $(this).offset().top + heightofme - 0;
		if("fixed" == "parallax"){
			$("body,html").animate({scrollTop : thescrolldistance }, parseInt(800), "linear", function(){
		      // scroll animation complete
		    });
	    }else{
			$("body,html").animate({scrollTop : thescrolldistance }, parseInt(800), function(){
		      // scroll animation complete
		    }); 
	    }
	});
	
	if("false" == "true"){
		var stacks_in_685throttle = 0;
		$(window).scroll(function () { 
			if(stacks_in_685throttle > 5){
				stacks_in_685throttle = 0;
				var contentheight = $(".stacks_in_685contentBox").height();
		        var st = $(this).scrollTop();
		        $('.stacks_in_685contentBox').each(function(index) {
		            var o = (($(this).offset().top + contentheight - st) / contentheight);
		            if(o < 1.1 || o > 0){
			            $(this).css({ 'opacity' : o });
		            }
		        })
			}else{
				stacks_in_685throttle = stacks_in_685throttle + 1;
			}
		});
	}
	
}); // end doc ready

// -- End Eternity2 Each js Template -- //
return stack;})(stacks.stacks_in_685);
stacks.stacks_in_1504 = {};
stacks.stacks_in_1504 = (function(stack) {
var jQuery = stacks.jQuery;var $ = jQuery;/*
 * jQuery Easing v1.3 - http://gsgd.co.uk/sandbox/jquery/easing/
 *
 * Uses the built in easing capabilities added In jQuery 1.1
 * to offer multiple easing options
 *
 * TERMS OF USE - jQuery Easing
 *
 * Open source under the BSD License.
 *
 * Copyright Â© 2008 George McGinley Smith
 * All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without modification,
 * are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice, this list of
 * conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright notice, this list
 * of conditions and the following disclaimer in the documentation and/or other materials
 * provided with the distribution.
 *
 * Neither the name of the author nor the names of contributors may be used to endorse
 * or promote products derived from this software without specific prior written permission.
 *
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
 *  COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
 *  EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
 *  GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
 * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
 *  NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
 * OF THE POSSIBILITY OF SUCH DAMAGE.
 *
*/

// t: current time, b: begInnIng value, c: change In value, d: duration
jQuery.easing['jswing'] = jQuery.easing['swing'];

jQuery.extend( jQuery.easing,
{
	def: 'easeOutQuad',
	swing: function (x, t, b, c, d) {
		//alert(jQuery.easing.default);
		return jQuery.easing[jQuery.easing.def](x, t, b, c, d);
	},
	easeInQuad: function (x, t, b, c, d) {
		return c*(t/=d)*t + b;
	},
	easeOutQuad: function (x, t, b, c, d) {
		return -c *(t/=d)*(t-2) + b;
	},
	easeInOutQuad: function (x, t, b, c, d) {
		if ((t/=d/2) < 1) return c/2*t*t + b;
		return -c/2 * ((--t)*(t-2) - 1) + b;
	},
	easeInCubic: function (x, t, b, c, d) {
		return c*(t/=d)*t*t + b;
	},
	easeOutCubic: function (x, t, b, c, d) {
		return c*((t=t/d-1)*t*t + 1) + b;
	},
	easeInOutCubic: function (x, t, b, c, d) {
		if ((t/=d/2) < 1) return c/2*t*t*t + b;
		return c/2*((t-=2)*t*t + 2) + b;
	},
	easeInQuart: function (x, t, b, c, d) {
		return c*(t/=d)*t*t*t + b;
	},
	easeOutQuart: function (x, t, b, c, d) {
		return -c * ((t=t/d-1)*t*t*t - 1) + b;
	},
	easeInOutQuart: function (x, t, b, c, d) {
		if ((t/=d/2) < 1) return c/2*t*t*t*t + b;
		return -c/2 * ((t-=2)*t*t*t - 2) + b;
	},
	easeInQuint: function (x, t, b, c, d) {
		return c*(t/=d)*t*t*t*t + b;
	},
	easeOutQuint: function (x, t, b, c, d) {
		return c*((t=t/d-1)*t*t*t*t + 1) + b;
	},
	easeInOutQuint: function (x, t, b, c, d) {
		if ((t/=d/2) < 1) return c/2*t*t*t*t*t + b;
		return c/2*((t-=2)*t*t*t*t + 2) + b;
	},
	easeInSine: function (x, t, b, c, d) {
		return -c * Math.cos(t/d * (Math.PI/2)) + c + b;
	},
	easeOutSine: function (x, t, b, c, d) {
		return c * Math.sin(t/d * (Math.PI/2)) + b;
	},
	easeInOutSine: function (x, t, b, c, d) {
		return -c/2 * (Math.cos(Math.PI*t/d) - 1) + b;
	},
	easeInExpo: function (x, t, b, c, d) {
		return (t==0) ? b : c * Math.pow(2, 10 * (t/d - 1)) + b;
	},
	easeOutExpo: function (x, t, b, c, d) {
		return (t==d) ? b+c : c * (-Math.pow(2, -10 * t/d) + 1) + b;
	},
	easeInOutExpo: function (x, t, b, c, d) {
		if (t==0) return b;
		if (t==d) return b+c;
		if ((t/=d/2) < 1) return c/2 * Math.pow(2, 10 * (t - 1)) + b;
		return c/2 * (-Math.pow(2, -10 * --t) + 2) + b;
	},
	easeInCirc: function (x, t, b, c, d) {
		return -c * (Math.sqrt(1 - (t/=d)*t) - 1) + b;
	},
	easeOutCirc: function (x, t, b, c, d) {
		return c * Math.sqrt(1 - (t=t/d-1)*t) + b;
	},
	easeInOutCirc: function (x, t, b, c, d) {
		if ((t/=d/2) < 1) return -c/2 * (Math.sqrt(1 - t*t) - 1) + b;
		return c/2 * (Math.sqrt(1 - (t-=2)*t) + 1) + b;
	},
	easeInElastic: function (x, t, b, c, d) {
		var s=1.70158;var p=0;var a=c;
		if (t==0) return b;  if ((t/=d)==1) return b+c;  if (!p) p=d*.3;
		if (a < Math.abs(c)) { a=c; var s=p/4; }
		else var s = p/(2*Math.PI) * Math.asin (c/a);
		return -(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b;
	},
	easeOutElastic: function (x, t, b, c, d) {
		var s=1.70158;var p=0;var a=c;
		if (t==0) return b;  if ((t/=d)==1) return b+c;  if (!p) p=d*.3;
		if (a < Math.abs(c)) { a=c; var s=p/4; }
		else var s = p/(2*Math.PI) * Math.asin (c/a);
		return a*Math.pow(2,-10*t) * Math.sin( (t*d-s)*(2*Math.PI)/p ) + c + b;
	},
	easeInOutElastic: function (x, t, b, c, d) {
		var s=1.70158;var p=0;var a=c;
		if (t==0) return b;  if ((t/=d/2)==2) return b+c;  if (!p) p=d*(.3*1.5);
		if (a < Math.abs(c)) { a=c; var s=p/4; }
		else var s = p/(2*Math.PI) * Math.asin (c/a);
		if (t < 1) return -.5*(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b;
		return a*Math.pow(2,-10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )*.5 + c + b;
	},
	easeInBack: function (x, t, b, c, d, s) {
		if (s == undefined) s = 1.70158;
		return c*(t/=d)*t*((s+1)*t - s) + b;
	},
	easeOutBack: function (x, t, b, c, d, s) {
		if (s == undefined) s = 1.70158;
		return c*((t=t/d-1)*t*((s+1)*t + s) + 1) + b;
	},
	easeInOutBack: function (x, t, b, c, d, s) {
		if (s == undefined) s = 1.70158;
		if ((t/=d/2) < 1) return c/2*(t*t*(((s*=(1.525))+1)*t - s)) + b;
		return c/2*((t-=2)*t*(((s*=(1.525))+1)*t + s) + 2) + b;
	},
	easeInBounce: function (x, t, b, c, d) {
		return c - jQuery.easing.easeOutBounce (x, d-t, 0, c, d) + b;
	},
	easeOutBounce: function (x, t, b, c, d) {
		if ((t/=d) < (1/2.75)) {
			return c*(7.5625*t*t) + b;
		} else if (t < (2/2.75)) {
			return c*(7.5625*(t-=(1.5/2.75))*t + .75) + b;
		} else if (t < (2.5/2.75)) {
			return c*(7.5625*(t-=(2.25/2.75))*t + .9375) + b;
		} else {
			return c*(7.5625*(t-=(2.625/2.75))*t + .984375) + b;
		}
	},
	easeInOutBounce: function (x, t, b, c, d) {
		if (t < d/2) return jQuery.easing.easeInBounce (x, t*2, 0, c, d) * .5 + b;
		return jQuery.easing.easeOutBounce (x, t*2-d, 0, c, d) * .5 + c*.5 + b;
	}
});

/*
 *
 * TERMS OF USE - EASING EQUATIONS
 *
 * Open source under the BSD License.
 *
 * Copyright Â© 2001 Robert Penner
 * All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without modification,
 * are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice, this list of
 * conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright notice, this list
 * of conditions and the following disclaimer in the documentation and/or other materials
 * provided with the distribution.
 *
 * Neither the name of the author nor the names of contributors may be used to endorse
 * or promote products derived from this software without specific prior written permission.
 *
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
 *  COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
 *  EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
 *  GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
 * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
 *  NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
 * OF THE POSSIBILITY OF SUCH DAMAGE.
 *
 */

 $(document).ready(function() {

	
		$('.cpsl_myID').hide();
	

	$('#stacks_in_1504 .trigger_myID').click(function() {


		if ($('.trigger_myID').hasClass('current')) {
					$('.cpsl_myID').stop().slideUp({
						duration: 600,
						easing: "easeInOutQuint"
					});

					$('.trigger_myID').removeClass('toggle_open').addClass('toggle_closed').removeClass('current');
					

		} else if ($('.trigger_myID').hasClass('toggle_closed')) {

					

					$('.cpsl_myID').stop().slideDown({
						duration: 600,
						easing: "easeInOutQuint"
					});

 					$('.trigger_myID').removeClass('toggle_closed').addClass('toggle_open').addClass('current');
					

		}


	});

});

return stack;})(stacks.stacks_in_1504);
stacks.stacks_in_1525 = {};
stacks.stacks_in_1525 = (function(stack) {
var jQuery = stacks.jQuery;var $ = jQuery;// Start dooFaq2 stack each Javascript code// iconate framework!function(){"use strict";function a(a,b,c){a.style.setProperty("-webkit-animation",b+" "+c+"s"),a.style.setProperty("animation",b+" "+c+"s"),a.style.setProperty("-moz-animation",b+" "+c+"s"),a.style.setProperty("-o-animation",b+" "+c+"s")}function b(a){a.style.removeProperty("-webkit-animation"),a.style.removeProperty("animation"),a.style.removeProperty("-moz-animation"),a.style.removeProperty("-o-animation")}function c(a,b,c){a.classList.contains(b)&&a.classList.remove(b),a.classList.add(c)}function d(d,l,m){function n(){var a=k(),b=p/2;q=window.setTimeout(function(){var e=k()-a;e>=b&&c(d,l.from,l.to)},b)}function o(){window.clearTimeout(q),b(d),d.removeEventListener(f,o),d.removeEventListener(e,n),"function"==typeof m&&m()}if(!d)throw new Error('Iconate > "element" is required');if(!j)return c(d,l.from,l.to),void("function"==typeof m&&m());l=l||{};var p,q,r;r=l.animation||i,p=l.duration||g,d.addEventListener(e,n,!1),d.addEventListener(f,o,!1),a(d,r,p/h)}var e,f,g=600,h=1e3,i="zoomOut",j=function(){var a=document.documentElement.style;return void 0!==a.animation||void 0!==a.webkitAnimation}();f=void 0===window.onanimationend&&void 0!==window.onwebkitanimationend?"webkitAnimationEnd":"animationend",e=void 0===window.onanimationstart&&void 0!==window.onwebkitanimationstart?"webkitAnimationStart":"animationstart";var k=Date.now||function(){return(new Date).getTime()};"object"==typeof exports?module.exports=d:"function"==typeof define&&define.amd?define(function(){return d}):window.iconate=d}();// faq code$(document).ready(function() {		// animate the icon	function stacks_in_1525animate(element,iconFrom,iconTo,animationType) {		stacks_in_1525IsAnimating = true;	    iconate(element, {	        from: iconFrom,	        to: iconTo,	        animation: animationType	    }, function() {		    	        stacks_in_1525callback();	    });	}		// toggle animation done	var stacks_in_1525callback = function() {		stacks_in_1525IsAnimating = false;	}		// add an icon to each if required	$("#stacks_in_1525 .faq-question").each(function(){		$(this).find("i").addClass('fa-bars');	});					// declare open vars	var stacks_in_1525IsAnimating = false;	switch("fa-bars") {	    case "fa-toggle-off":	        var stacks_in_1525iconOpenClass = "fa-toggle-on";			var stacks_in_1525iconClosedClass = "fa-toggle-off";			var stacks_in_1525iconAnimation = "bounceOutRight";			var stacks_in_1525iconCloseAnimation = "bounceOutLeft";	        break;	    case "fa-question":	        var stacks_in_1525iconOpenClass = "fa-times";			var stacks_in_1525iconClosedClass = "fa-question";			var stacks_in_1525iconAnimation = "tada";			var stacks_in_1525iconCloseAnimation = "rubberBand";	        break;	    case "fa-angle-right":	        var stacks_in_1525iconOpenClass = "fa-angle-down";			var stacks_in_1525iconClosedClass = "fa-angle-right";			var stacks_in_1525iconAnimation = "bounceOutBottom";			var stacks_in_1525iconCloseAnimation = "fadeOutLeft";	        break;	    case "fa-bars":	        var stacks_in_1525iconOpenClass = "fa-times";			var stacks_in_1525iconClosedClass = "fa-bars";			var stacks_in_1525iconAnimation = "tada";			var stacks_in_1525iconCloseAnimation = "rubberBand";	        break;	    default:	        var stacks_in_1525iconOpenClass = "fa-toggle-on";			var stacks_in_1525iconClosedClass = "fa-toggle-off";			var stacks_in_1525iconAnimation = "bounceOutRight";			var stacks_in_1525iconCloseAnimation = "bounceOutLeft";	}				// animation handlers	function stacks_in_1525open_faq_section(sectionQuestion) {		if("yes" == "yes"){			stacks_in_1525close_other_open_faq_section(sectionQuestion)		}		$(sectionQuestion).siblings(".faq-answer").slideDown(300,"swing");		iconElementId = $("i", sectionQuestion).attr("id");		var iconElement = document.getElementById(iconElementId);		stacks_in_1525animate(iconElement,stacks_in_1525iconClosedClass,stacks_in_1525iconOpenClass,stacks_in_1525iconAnimation);        $(sectionQuestion).removeClass("faqQuestionClosed").addClass("faqQuestionOpen");    }    function stacks_in_1525close_faq_section(sectionQuestion) {	    $(sectionQuestion).siblings(".faq-answer").slideUp(300,"swing");	    iconElementId = $("i", sectionQuestion).attr("id");		var iconElement = document.getElementById(iconElementId);		stacks_in_1525animate(iconElement,stacks_in_1525iconOpenClass,stacks_in_1525iconClosedClass,stacks_in_1525iconCloseAnimation);        $(sectionQuestion).removeClass("faqQuestionOpen").addClass("faqQuestionClosed");    }    function stacks_in_1525close_other_open_faq_section(sectionQuestion) {	    if($("#stacks_in_1525 .faqQuestionOpen").length){		    $("#stacks_in_1525 .faqQuestionOpen").siblings(".faq-answer").slideUp(300,"swing");			var iconElementId = $("#stacks_in_1525 .faqQuestionOpen i").attr("id");			var iconElement = document.getElementById(iconElementId);			stacks_in_1525animate(iconElement,stacks_in_1525iconOpenClass,stacks_in_1525iconClosedClass,stacks_in_1525iconCloseAnimation);		    $("#stacks_in_1525 .faqQuestionOpen").removeClass("faqQuestionOpen").addClass("faqQuestionClosed");	    }    }	// on clicking a question	$('#stacks_in_1525 .faq-question').on("click", function(e){		e.preventDefault();		if (stacks_in_1525IsAnimating) return;				if($(this).hasClass("faqQuestionOpen")){			stacks_in_1525close_faq_section($(this));		}else{			stacks_in_1525open_faq_section($(this));		}	});		// strat with first item open or not	if("no" == "yes"){		var stacks_in_1525firstItem = $("#stacks_in_1525 .faq-question").get(0);		stacks_in_1525open_faq_section($(stacks_in_1525firstItem));	}}); // end doc ready// End dooFaq2 stack each Javascript code
return stack;})(stacks.stacks_in_1525);
stacks.stacks_in_1509 = {};
stacks.stacks_in_1509 = (function(stack) {
var jQuery = stacks.jQuery;var $ = jQuery; if(typeof(stacks.totalcms)!=='object')stacks.totalcms={};stacks.totalcms.requestheaders={'Total-Key':$.trim('59b87b0acf60f3b343963d1a2fd43141 ')};stacks.totalcms.baseurl='https://www.khs-hof.de//'.replace(/\/\/$/,'/');stacks.totalcms.baseurl=stacks.totalcms.baseurl.replace('https:','').replace('http:','');stacks.totalcms.totalapi=stacks.totalcms.baseurl+'rw_common/plugins/stacks/total-cms/totalapi.php';stacks.totalcms.locale='de';

return stack;})(stacks.stacks_in_1509);
stacks.stacks_in_768_183 = {};
stacks.stacks_in_768_183 = (function(stack) {
var jQuery = stacks.jQuery;var $ = jQuery;// Iconz Stack by http://www.doobox.co.uk
// Copyright@2014 Mr JG Simpson, trading as Doobox.
// all rights reserved.

$(document).ready(function() {

if("none" == "none"){

var $stacks_in_768_183this = $("#stacks_in_768_183 i.fa");
var stacks_in_768_183getfontsize = $stacks_in_768_183this.css("font-size");
var stacks_in_768_183fontsize = parseFloat(stacks_in_768_183getfontsize, 10);
var stacks_in_768_183orgfontsize = stacks_in_768_183fontsize;
var stacks_in_768_183lastwindowwidth = $(window).width();

var stacks_in_768_183lastelementwidth;

    var stacks_in_768_183resizerBigger = function () {
	    if(stacks_in_768_183fontsize < stacks_in_768_183orgfontsize){
		    if ($stacks_in_768_183this.width() <= $("#stacks_in_768_183").width()){
			    while($stacks_in_768_183this.width() <= $("#stacks_in_768_183").width()){
			  	stacks_in_768_183fontsize = stacks_in_768_183fontsize + 2;
			    $stacks_in_768_183this.css({
			    "font-size": stacks_in_768_183fontsize + "px"
			    });
			    }
			    if ($stacks_in_768_183this.width() >= $("#stacks_in_768_183").width()){
			    stacks_in_768_183fontsize = stacks_in_768_183fontsize - 2
			    $stacks_in_768_183this.css("font-size", stacks_in_768_183fontsize + "px");
			    }
		    }else{
		    	stacks_in_768_183resizerSmaller();
		    }
		    if(stacks_in_768_183fontsize > stacks_in_768_183orgfontsize){
			    stacks_in_768_183fontsize = stacks_in_768_183orgfontsize;
			    $stacks_in_768_183this.css("font-size", stacks_in_768_183fontsize + "px");
		    }
	    }
	    else if($stacks_in_768_183this.width() >= $("#stacks_in_768_183").width()){
		    stacks_in_768_183resizerSmaller();
	    }
    }
  
  
    var stacks_in_768_183resizerSmaller = function () {
    if ($stacks_in_768_183this.width() >= $("#stacks_in_768_183").width()){
    while($stacks_in_768_183this.width() >= $("#stacks_in_768_183").width()){
  	stacks_in_768_183fontsize = stacks_in_768_183fontsize - 2;
    $stacks_in_768_183this.css({"font-size": stacks_in_768_183fontsize + "px"});
    }
    }else if(stacks_in_768_183fontsize > stacks_in_768_183orgfontsize){
    stacks_in_768_183fontsize = stacks_in_768_183orgfontsize;
    $stacks_in_768_183this.css("font-size", stacks_in_768_183fontsize + "px");
    }
    else{
	    stacks_in_768_183resizerBigger();
    }
  }
  
  
  
  if ($stacks_in_768_183this.is(":visible")){
  var stacks_in_768_183lastcontainerwidth = $("#stacks_in_768_183").width();
  }
  
  
  var stacks_in_768_183delay = (function(){
  var stacks_in_768_183timer = 0;
  return function(callback, ms){
    clearTimeout (stacks_in_768_183timer);
    stacks_in_768_183timer = setTimeout(callback, ms);
  };
  })();
  
  
    $(window).resize(function() {
    stacks_in_768_183delay(function(){
	    if ($stacks_in_768_183this.is(":visible")){
	     if (stacks_in_768_183lastcontainerwidth != $("#stacks_in_768_183").width()){
	       stacks_in_768_183lastcontainerwidth = $("#stacks_in_768_183").width();
	       windowwidth = $(window).width();
	       if (windowwidth < stacks_in_768_183lastwindowwidth){
	         stacks_in_768_183resizerSmaller();
	       }else{
	         stacks_in_768_183resizerBigger();
	       }
	       stacks_in_768_183lastwindowwidth = windowwidth
	    }
	    }
    }, 10);
   });
  
 
  
  function stacks_in_768_183resizeMe(){
    stacks_in_768_183delay(function(){
    	if(stacks_in_768_183fontsize < stacks_in_768_183orgfontsize){
		    while($stacks_in_768_183this.width() <= $("#stacks_in_768_183").width()){
		   	 stacks_in_768_183fontsize = stacks_in_768_183fontsize + 2;
		   	 $stacks_in_768_183this.css("font-size", stacks_in_768_183fontsize + "px");
		    }
	    }
	    while($stacks_in_768_183this.width() >= $("#stacks_in_768_183").width()){
	      stacks_in_768_183fontsize = stacks_in_768_183fontsize - 2;
	   	  $stacks_in_768_183this.css("font-size", stacks_in_768_183fontsize + "px");
	    }
	     stacks_in_768_183lastelementwidth = $stacks_in_768_183this.width();
	      //stacks_in_768_183keepCheckingSize();
    }, 10);
  }
  

if ($stacks_in_768_183this.is(":visible")){
stacks_in_768_183resizeMe();
}else{
// do something here
}

}

}); // end doc ready
// End Iconz stack js


return stack;})(stacks.stacks_in_768_183);
stacks.stacks_in_768_181 = {};
stacks.stacks_in_768_181 = (function(stack) {
var jQuery = stacks.jQuery;var $ = jQuery;// Iconz Stack by http://www.doobox.co.uk
// Copyright@2014 Mr JG Simpson, trading as Doobox.
// all rights reserved.

$(document).ready(function() {

if("none" == "none"){

var $stacks_in_768_181this = $("#stacks_in_768_181 i.fa");
var stacks_in_768_181getfontsize = $stacks_in_768_181this.css("font-size");
var stacks_in_768_181fontsize = parseFloat(stacks_in_768_181getfontsize, 10);
var stacks_in_768_181orgfontsize = stacks_in_768_181fontsize;
var stacks_in_768_181lastwindowwidth = $(window).width();

var stacks_in_768_181lastelementwidth;

    var stacks_in_768_181resizerBigger = function () {
	    if(stacks_in_768_181fontsize < stacks_in_768_181orgfontsize){
		    if ($stacks_in_768_181this.width() <= $("#stacks_in_768_181").width()){
			    while($stacks_in_768_181this.width() <= $("#stacks_in_768_181").width()){
			  	stacks_in_768_181fontsize = stacks_in_768_181fontsize + 2;
			    $stacks_in_768_181this.css({
			    "font-size": stacks_in_768_181fontsize + "px"
			    });
			    }
			    if ($stacks_in_768_181this.width() >= $("#stacks_in_768_181").width()){
			    stacks_in_768_181fontsize = stacks_in_768_181fontsize - 2
			    $stacks_in_768_181this.css("font-size", stacks_in_768_181fontsize + "px");
			    }
		    }else{
		    	stacks_in_768_181resizerSmaller();
		    }
		    if(stacks_in_768_181fontsize > stacks_in_768_181orgfontsize){
			    stacks_in_768_181fontsize = stacks_in_768_181orgfontsize;
			    $stacks_in_768_181this.css("font-size", stacks_in_768_181fontsize + "px");
		    }
	    }
	    else if($stacks_in_768_181this.width() >= $("#stacks_in_768_181").width()){
		    stacks_in_768_181resizerSmaller();
	    }
    }
  
  
    var stacks_in_768_181resizerSmaller = function () {
    if ($stacks_in_768_181this.width() >= $("#stacks_in_768_181").width()){
    while($stacks_in_768_181this.width() >= $("#stacks_in_768_181").width()){
  	stacks_in_768_181fontsize = stacks_in_768_181fontsize - 2;
    $stacks_in_768_181this.css({"font-size": stacks_in_768_181fontsize + "px"});
    }
    }else if(stacks_in_768_181fontsize > stacks_in_768_181orgfontsize){
    stacks_in_768_181fontsize = stacks_in_768_181orgfontsize;
    $stacks_in_768_181this.css("font-size", stacks_in_768_181fontsize + "px");
    }
    else{
	    stacks_in_768_181resizerBigger();
    }
  }
  
  
  
  if ($stacks_in_768_181this.is(":visible")){
  var stacks_in_768_181lastcontainerwidth = $("#stacks_in_768_181").width();
  }
  
  
  var stacks_in_768_181delay = (function(){
  var stacks_in_768_181timer = 0;
  return function(callback, ms){
    clearTimeout (stacks_in_768_181timer);
    stacks_in_768_181timer = setTimeout(callback, ms);
  };
  })();
  
  
    $(window).resize(function() {
    stacks_in_768_181delay(function(){
	    if ($stacks_in_768_181this.is(":visible")){
	     if (stacks_in_768_181lastcontainerwidth != $("#stacks_in_768_181").width()){
	       stacks_in_768_181lastcontainerwidth = $("#stacks_in_768_181").width();
	       windowwidth = $(window).width();
	       if (windowwidth < stacks_in_768_181lastwindowwidth){
	         stacks_in_768_181resizerSmaller();
	       }else{
	         stacks_in_768_181resizerBigger();
	       }
	       stacks_in_768_181lastwindowwidth = windowwidth
	    }
	    }
    }, 10);
   });
  
 
  
  function stacks_in_768_181resizeMe(){
    stacks_in_768_181delay(function(){
    	if(stacks_in_768_181fontsize < stacks_in_768_181orgfontsize){
		    while($stacks_in_768_181this.width() <= $("#stacks_in_768_181").width()){
		   	 stacks_in_768_181fontsize = stacks_in_768_181fontsize + 2;
		   	 $stacks_in_768_181this.css("font-size", stacks_in_768_181fontsize + "px");
		    }
	    }
	    while($stacks_in_768_181this.width() >= $("#stacks_in_768_181").width()){
	      stacks_in_768_181fontsize = stacks_in_768_181fontsize - 2;
	   	  $stacks_in_768_181this.css("font-size", stacks_in_768_181fontsize + "px");
	    }
	     stacks_in_768_181lastelementwidth = $stacks_in_768_181this.width();
	      //stacks_in_768_181keepCheckingSize();
    }, 10);
  }
  

if ($stacks_in_768_181this.is(":visible")){
stacks_in_768_181resizeMe();
}else{
// do something here
}

}

}); // end doc ready
// End Iconz stack js


return stack;})(stacks.stacks_in_768_181);
stacks.stacks_in_768_195 = {};
stacks.stacks_in_768_195 = (function(stack) {
var jQuery = stacks.jQuery;var $ = jQuery;// Iconz Stack by http://www.doobox.co.uk
// Copyright@2014 Mr JG Simpson, trading as Doobox.
// all rights reserved.

$(document).ready(function() {

if("none" == "none"){

var $stacks_in_768_195this = $("#stacks_in_768_195 i.fa");
var stacks_in_768_195getfontsize = $stacks_in_768_195this.css("font-size");
var stacks_in_768_195fontsize = parseFloat(stacks_in_768_195getfontsize, 10);
var stacks_in_768_195orgfontsize = stacks_in_768_195fontsize;
var stacks_in_768_195lastwindowwidth = $(window).width();

var stacks_in_768_195lastelementwidth;

    var stacks_in_768_195resizerBigger = function () {
	    if(stacks_in_768_195fontsize < stacks_in_768_195orgfontsize){
		    if ($stacks_in_768_195this.width() <= $("#stacks_in_768_195").width()){
			    while($stacks_in_768_195this.width() <= $("#stacks_in_768_195").width()){
			  	stacks_in_768_195fontsize = stacks_in_768_195fontsize + 2;
			    $stacks_in_768_195this.css({
			    "font-size": stacks_in_768_195fontsize + "px"
			    });
			    }
			    if ($stacks_in_768_195this.width() >= $("#stacks_in_768_195").width()){
			    stacks_in_768_195fontsize = stacks_in_768_195fontsize - 2
			    $stacks_in_768_195this.css("font-size", stacks_in_768_195fontsize + "px");
			    }
		    }else{
		    	stacks_in_768_195resizerSmaller();
		    }
		    if(stacks_in_768_195fontsize > stacks_in_768_195orgfontsize){
			    stacks_in_768_195fontsize = stacks_in_768_195orgfontsize;
			    $stacks_in_768_195this.css("font-size", stacks_in_768_195fontsize + "px");
		    }
	    }
	    else if($stacks_in_768_195this.width() >= $("#stacks_in_768_195").width()){
		    stacks_in_768_195resizerSmaller();
	    }
    }
  
  
    var stacks_in_768_195resizerSmaller = function () {
    if ($stacks_in_768_195this.width() >= $("#stacks_in_768_195").width()){
    while($stacks_in_768_195this.width() >= $("#stacks_in_768_195").width()){
  	stacks_in_768_195fontsize = stacks_in_768_195fontsize - 2;
    $stacks_in_768_195this.css({"font-size": stacks_in_768_195fontsize + "px"});
    }
    }else if(stacks_in_768_195fontsize > stacks_in_768_195orgfontsize){
    stacks_in_768_195fontsize = stacks_in_768_195orgfontsize;
    $stacks_in_768_195this.css("font-size", stacks_in_768_195fontsize + "px");
    }
    else{
	    stacks_in_768_195resizerBigger();
    }
  }
  
  
  
  if ($stacks_in_768_195this.is(":visible")){
  var stacks_in_768_195lastcontainerwidth = $("#stacks_in_768_195").width();
  }
  
  
  var stacks_in_768_195delay = (function(){
  var stacks_in_768_195timer = 0;
  return function(callback, ms){
    clearTimeout (stacks_in_768_195timer);
    stacks_in_768_195timer = setTimeout(callback, ms);
  };
  })();
  
  
    $(window).resize(function() {
    stacks_in_768_195delay(function(){
	    if ($stacks_in_768_195this.is(":visible")){
	     if (stacks_in_768_195lastcontainerwidth != $("#stacks_in_768_195").width()){
	       stacks_in_768_195lastcontainerwidth = $("#stacks_in_768_195").width();
	       windowwidth = $(window).width();
	       if (windowwidth < stacks_in_768_195lastwindowwidth){
	         stacks_in_768_195resizerSmaller();
	       }else{
	         stacks_in_768_195resizerBigger();
	       }
	       stacks_in_768_195lastwindowwidth = windowwidth
	    }
	    }
    }, 10);
   });
  
 
  
  function stacks_in_768_195resizeMe(){
    stacks_in_768_195delay(function(){
    	if(stacks_in_768_195fontsize < stacks_in_768_195orgfontsize){
		    while($stacks_in_768_195this.width() <= $("#stacks_in_768_195").width()){
		   	 stacks_in_768_195fontsize = stacks_in_768_195fontsize + 2;
		   	 $stacks_in_768_195this.css("font-size", stacks_in_768_195fontsize + "px");
		    }
	    }
	    while($stacks_in_768_195this.width() >= $("#stacks_in_768_195").width()){
	      stacks_in_768_195fontsize = stacks_in_768_195fontsize - 2;
	   	  $stacks_in_768_195this.css("font-size", stacks_in_768_195fontsize + "px");
	    }
	     stacks_in_768_195lastelementwidth = $stacks_in_768_195this.width();
	      //stacks_in_768_195keepCheckingSize();
    }, 10);
  }
  

if ($stacks_in_768_195this.is(":visible")){
stacks_in_768_195resizeMe();
}else{
// do something here
}

}

}); // end doc ready
// End Iconz stack js


return stack;})(stacks.stacks_in_768_195);
stacks.stacks_in_768_193 = {};
stacks.stacks_in_768_193 = (function(stack) {
var jQuery = stacks.jQuery;var $ = jQuery;// Iconz Stack by http://www.doobox.co.uk
// Copyright@2014 Mr JG Simpson, trading as Doobox.
// all rights reserved.

$(document).ready(function() {

if("none" == "none"){

var $stacks_in_768_193this = $("#stacks_in_768_193 i.fa");
var stacks_in_768_193getfontsize = $stacks_in_768_193this.css("font-size");
var stacks_in_768_193fontsize = parseFloat(stacks_in_768_193getfontsize, 10);
var stacks_in_768_193orgfontsize = stacks_in_768_193fontsize;
var stacks_in_768_193lastwindowwidth = $(window).width();

var stacks_in_768_193lastelementwidth;

    var stacks_in_768_193resizerBigger = function () {
	    if(stacks_in_768_193fontsize < stacks_in_768_193orgfontsize){
		    if ($stacks_in_768_193this.width() <= $("#stacks_in_768_193").width()){
			    while($stacks_in_768_193this.width() <= $("#stacks_in_768_193").width()){
			  	stacks_in_768_193fontsize = stacks_in_768_193fontsize + 2;
			    $stacks_in_768_193this.css({
			    "font-size": stacks_in_768_193fontsize + "px"
			    });
			    }
			    if ($stacks_in_768_193this.width() >= $("#stacks_in_768_193").width()){
			    stacks_in_768_193fontsize = stacks_in_768_193fontsize - 2
			    $stacks_in_768_193this.css("font-size", stacks_in_768_193fontsize + "px");
			    }
		    }else{
		    	stacks_in_768_193resizerSmaller();
		    }
		    if(stacks_in_768_193fontsize > stacks_in_768_193orgfontsize){
			    stacks_in_768_193fontsize = stacks_in_768_193orgfontsize;
			    $stacks_in_768_193this.css("font-size", stacks_in_768_193fontsize + "px");
		    }
	    }
	    else if($stacks_in_768_193this.width() >= $("#stacks_in_768_193").width()){
		    stacks_in_768_193resizerSmaller();
	    }
    }
  
  
    var stacks_in_768_193resizerSmaller = function () {
    if ($stacks_in_768_193this.width() >= $("#stacks_in_768_193").width()){
    while($stacks_in_768_193this.width() >= $("#stacks_in_768_193").width()){
  	stacks_in_768_193fontsize = stacks_in_768_193fontsize - 2;
    $stacks_in_768_193this.css({"font-size": stacks_in_768_193fontsize + "px"});
    }
    }else if(stacks_in_768_193fontsize > stacks_in_768_193orgfontsize){
    stacks_in_768_193fontsize = stacks_in_768_193orgfontsize;
    $stacks_in_768_193this.css("font-size", stacks_in_768_193fontsize + "px");
    }
    else{
	    stacks_in_768_193resizerBigger();
    }
  }
  
  
  
  if ($stacks_in_768_193this.is(":visible")){
  var stacks_in_768_193lastcontainerwidth = $("#stacks_in_768_193").width();
  }
  
  
  var stacks_in_768_193delay = (function(){
  var stacks_in_768_193timer = 0;
  return function(callback, ms){
    clearTimeout (stacks_in_768_193timer);
    stacks_in_768_193timer = setTimeout(callback, ms);
  };
  })();
  
  
    $(window).resize(function() {
    stacks_in_768_193delay(function(){
	    if ($stacks_in_768_193this.is(":visible")){
	     if (stacks_in_768_193lastcontainerwidth != $("#stacks_in_768_193").width()){
	       stacks_in_768_193lastcontainerwidth = $("#stacks_in_768_193").width();
	       windowwidth = $(window).width();
	       if (windowwidth < stacks_in_768_193lastwindowwidth){
	         stacks_in_768_193resizerSmaller();
	       }else{
	         stacks_in_768_193resizerBigger();
	       }
	       stacks_in_768_193lastwindowwidth = windowwidth
	    }
	    }
    }, 10);
   });
  
 
  
  function stacks_in_768_193resizeMe(){
    stacks_in_768_193delay(function(){
    	if(stacks_in_768_193fontsize < stacks_in_768_193orgfontsize){
		    while($stacks_in_768_193this.width() <= $("#stacks_in_768_193").width()){
		   	 stacks_in_768_193fontsize = stacks_in_768_193fontsize + 2;
		   	 $stacks_in_768_193this.css("font-size", stacks_in_768_193fontsize + "px");
		    }
	    }
	    while($stacks_in_768_193this.width() >= $("#stacks_in_768_193").width()){
	      stacks_in_768_193fontsize = stacks_in_768_193fontsize - 2;
	   	  $stacks_in_768_193this.css("font-size", stacks_in_768_193fontsize + "px");
	    }
	     stacks_in_768_193lastelementwidth = $stacks_in_768_193this.width();
	      //stacks_in_768_193keepCheckingSize();
    }, 10);
  }
  

if ($stacks_in_768_193this.is(":visible")){
stacks_in_768_193resizeMe();
}else{
// do something here
}

}

}); // end doc ready
// End Iconz stack js


return stack;})(stacks.stacks_in_768_193);