/*! jQuery Migrate v1.2.1 | (c) 2005, 2013 jQuery Foundation, Inc. and other contributors | jquery.org/license */
jQuery.migrateMute===void 0&&(jQuery.migrateMute=!0),function(e,t,n){function r(n){var r=t.console;i[n]||(i[n]=!0,e.migrateWarnings.push(n),r&&r.warn&&!e.migrateMute&&(r.warn("JQMIGRATE: "+n),e.migrateTrace&&r.trace&&r.trace()))}function a(t,a,i,o){if(Object.defineProperty)try{return Object.defineProperty(t,a,{configurable:!0,enumerable:!0,get:function(){return r(o),i},set:function(e){r(o),i=e}}),n}catch(s){}e._definePropertyBroken=!0,t[a]=i}var i={};e.migrateWarnings=[],!e.migrateMute&&t.console&&t.console.log&&t.console.log("JQMIGRATE: Logging is active"),e.migrateTrace===n&&(e.migrateTrace=!0),e.migrateReset=function(){i={},e.migrateWarnings.length=0},"BackCompat"===document.compatMode&&r("jQuery is not compatible with Quirks Mode");var o=e("",{size:1}).attr("size")&&e.attrFn,s=e.attr,u=e.attrHooks.value&&e.attrHooks.value.get||function(){return null},c=e.attrHooks.value&&e.attrHooks.value.set||function(){return n},l=/^(?:input|button)$/i,d=/^[238]$/,p=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,f=/^(?:checked|selected)$/i;a(e,"attrFn",o||{},"jQuery.attrFn is deprecated"),e.attr=function(t,a,i,u){var c=a.toLowerCase(),g=t&&t.nodeType;return u&&(4>s.length&&r("jQuery.fn.attr( props, pass ) is deprecated"),t&&!d.test(g)&&(o?a in o:e.isFunction(e.fn[a])))?e(t)[a](i):("type"===a&&i!==n&&l.test(t.nodeName)&&t.parentNode&&r("Can't change the 'type' of an input or button in IE 6/7/8"),!e.attrHooks[c]&&p.test(c)&&(e.attrHooks[c]={get:function(t,r){var a,i=e.prop(t,r);return i===!0||"boolean"!=typeof i&&(a=t.getAttributeNode(r))&&a.nodeValue!==!1?r.toLowerCase():n},set:function(t,n,r){var a;return n===!1?e.removeAttr(t,r):(a=e.propFix[r]||r,a in t&&(t[a]=!0),t.setAttribute(r,r.toLowerCase())),r}},f.test(c)&&r("jQuery.fn.attr('"+c+"') may use property instead of attribute")),s.call(e,t,a,i))},e.attrHooks.value={get:function(e,t){var n=(e.nodeName||"").toLowerCase();return"button"===n?u.apply(this,arguments):("input"!==n&&"option"!==n&&r("jQuery.fn.attr('value') no longer gets properties"),t in e?e.value:null)},set:function(e,t){var a=(e.nodeName||"").toLowerCase();return"button"===a?c.apply(this,arguments):("input"!==a&&"option"!==a&&r("jQuery.fn.attr('value', val) no longer sets properties"),e.value=t,n)}};var g,h,v=e.fn.init,m=e.parseJSON,y=/^([^<]*)(<[\w\W]+>)([^>]*)$/;e.fn.init=function(t,n,a){var i;return t&&"string"==typeof t&&!e.isPlainObject(n)&&(i=y.exec(e.trim(t)))&&i[0]&&("<"!==t.charAt(0)&&r("$(html) HTML strings must start with '<' character"),i[3]&&r("$(html) HTML text after last tag is ignored"),"#"===i[0].charAt(0)&&(r("HTML string cannot start with a '#' character"),e.error("JQMIGRATE: Invalid selector string (XSS)")),n&&n.context&&(n=n.context),e.parseHTML)?v.call(this,e.parseHTML(i[2],n,!0),n,a):v.apply(this,arguments)},e.fn.init.prototype=e.fn,e.parseJSON=function(e){return e||null===e?m.apply(this,arguments):(r("jQuery.parseJSON requires a valid JSON string"),null)},e.uaMatch=function(e){e=e.toLowerCase();var t=/(chrome)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||0>e.indexOf("compatible")&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[];return{browser:t[1]||"",version:t[2]||"0"}},e.browser||(g=e.uaMatch(navigator.userAgent),h={},g.browser&&(h[g.browser]=!0,h.version=g.version),h.chrome?h.webkit=!0:h.webkit&&(h.safari=!0),e.browser=h),a(e,"browser",e.browser,"jQuery.browser is deprecated"),e.sub=function(){function t(e,n){return new t.fn.init(e,n)}e.extend(!0,t,this),t.superclass=this,t.fn=t.prototype=this(),t.fn.constructor=t,t.sub=this.sub,t.fn.init=function(r,a){return a&&a instanceof e&&!(a instanceof t)&&(a=t(a)),e.fn.init.call(this,r,a,n)},t.fn.init.prototype=t.fn;var n=t(document);return r("jQuery.sub() is deprecated"),t},e.ajaxSetup({converters:{"text json":e.parseJSON}});var b=e.fn.data;e.fn.data=function(t){var a,i,o=this[0];return!o||"events"!==t||1!==arguments.length||(a=e.data(o,t),i=e._data(o,t),a!==n&&a!==i||i===n)?b.apply(this,arguments):(r("Use of jQuery.fn.data('events') is deprecated"),i)};var j=/\/(java|ecma)script/i,w=e.fn.andSelf||e.fn.addBack;e.fn.andSelf=function(){return r("jQuery.fn.andSelf() replaced by jQuery.fn.addBack()"),w.apply(this,arguments)},e.clean||(e.clean=function(t,a,i,o){a=a||document,a=!a.nodeType&&a[0]||a,a=a.ownerDocument||a,r("jQuery.clean() is deprecated");var s,u,c,l,d=[];if(e.merge(d,e.buildFragment(t,a).childNodes),i)for(c=function(e){return!e.type||j.test(e.type)?o?o.push(e.parentNode?e.parentNode.removeChild(e):e):i.appendChild(e):n},s=0;null!=(u=d[s]);s++)e.nodeName(u,"script")&&c(u)||(i.appendChild(u),u.getElementsByTagName!==n&&(l=e.grep(e.merge([],u.getElementsByTagName("script")),c),d.splice.apply(d,[s+1,0].concat(l)),s+=l.length));return d});var Q=e.event.add,x=e.event.remove,k=e.event.trigger,N=e.fn.toggle,T=e.fn.live,M=e.fn.die,S="ajaxStart|ajaxStop|ajaxSend|ajaxComplete|ajaxError|ajaxSuccess",C=RegExp("\\b(?:"+S+")\\b"),H=/(?:^|\s)hover(\.\S+|)\b/,A=function(t){return"string"!=typeof t||e.event.special.hover?t:(H.test(t)&&r("'hover' pseudo-event is deprecated, use 'mouseenter mouseleave'"),t&&t.replace(H,"mouseenter$1 mouseleave$1"))};e.event.props&&"attrChange"!==e.event.props[0]&&e.event.props.unshift("attrChange","attrName","relatedNode","srcElement"),e.event.dispatch&&a(e.event,"handle",e.event.dispatch,"jQuery.event.handle is undocumented and deprecated"),e.event.add=function(e,t,n,a,i){e!==document&&C.test(t)&&r("AJAX events should be attached to document: "+t),Q.call(this,e,A(t||""),n,a,i)},e.event.remove=function(e,t,n,r,a){x.call(this,e,A(t)||"",n,r,a)},e.fn.error=function(){var e=Array.prototype.slice.call(arguments,0);return r("jQuery.fn.error() is deprecated"),e.splice(0,0,"error"),arguments.length?this.bind.apply(this,e):(this.triggerHandler.apply(this,e),this)},e.fn.toggle=function(t,n){if(!e.isFunction(t)||!e.isFunction(n))return N.apply(this,arguments);r("jQuery.fn.toggle(handler, handler...) is deprecated");var a=arguments,i=t.guid||e.guid++,o=0,s=function(n){var r=(e._data(this,"lastToggle"+t.guid)||0)%o;return e._data(this,"lastToggle"+t.guid,r+1),n.preventDefault(),a[r].apply(this,arguments)||!1};for(s.guid=i;a.length>o;)a[o++].guid=i;return this.click(s)},e.fn.live=function(t,n,a){return r("jQuery.fn.live() is deprecated"),T?T.apply(this,arguments):(e(this.context).on(t,this.selector,n,a),this)},e.fn.die=function(t,n){return r("jQuery.fn.die() is deprecated"),M?M.apply(this,arguments):(e(this.context).off(t,this.selector||"**",n),this)},e.event.trigger=function(e,t,n,a){return n||C.test(e)||r("Global events are undocumented and deprecated"),k.call(this,e,t,n||document,a)},e.each(S.split("|"),function(t,n){e.event.special[n]={setup:function(){var t=this;return t!==document&&(e.event.add(document,n+"."+e.guid,function(){e.event.trigger(n,null,t,!0)}),e._data(this,n,e.guid++)),!1},teardown:function(){return this!==document&&e.event.remove(document,n+"."+e._data(this,n)),!1}}})}(jQuery,window);
var stacks = {};
stacks.jQuery = jQuery.noConflict(true);
stacks.stacks_in_29064 = {};
stacks.stacks_in_29064 = (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_29064this = $("#stacks_in_29064 i.fa");
var stacks_in_29064getfontsize = $stacks_in_29064this.css("font-size");
var stacks_in_29064fontsize = parseFloat(stacks_in_29064getfontsize, 10);
var stacks_in_29064orgfontsize = stacks_in_29064fontsize;
var stacks_in_29064lastwindowwidth = $(window).width();
var stacks_in_29064lastelementwidth;
var stacks_in_29064resizerBigger = function () {
if(stacks_in_29064fontsize < stacks_in_29064orgfontsize){
if ($stacks_in_29064this.width() <= $("#stacks_in_29064").width()){
while($stacks_in_29064this.width() <= $("#stacks_in_29064").width()){
stacks_in_29064fontsize = stacks_in_29064fontsize + 2;
$stacks_in_29064this.css({
"font-size": stacks_in_29064fontsize + "px"
});
}
if ($stacks_in_29064this.width() >= $("#stacks_in_29064").width()){
stacks_in_29064fontsize = stacks_in_29064fontsize - 2
$stacks_in_29064this.css("font-size", stacks_in_29064fontsize + "px");
}
}else{
stacks_in_29064resizerSmaller();
}
if(stacks_in_29064fontsize > stacks_in_29064orgfontsize){
stacks_in_29064fontsize = stacks_in_29064orgfontsize;
$stacks_in_29064this.css("font-size", stacks_in_29064fontsize + "px");
}
}
else if($stacks_in_29064this.width() >= $("#stacks_in_29064").width()){
stacks_in_29064resizerSmaller();
}
}
var stacks_in_29064resizerSmaller = function () {
if ($stacks_in_29064this.width() >= $("#stacks_in_29064").width()){
while($stacks_in_29064this.width() >= $("#stacks_in_29064").width()){
stacks_in_29064fontsize = stacks_in_29064fontsize - 2;
$stacks_in_29064this.css({"font-size": stacks_in_29064fontsize + "px"});
}
}else if(stacks_in_29064fontsize > stacks_in_29064orgfontsize){
stacks_in_29064fontsize = stacks_in_29064orgfontsize;
$stacks_in_29064this.css("font-size", stacks_in_29064fontsize + "px");
}
else{
stacks_in_29064resizerBigger();
}
}
if ($stacks_in_29064this.is(":visible")){
var stacks_in_29064lastcontainerwidth = $("#stacks_in_29064").width();
}
var stacks_in_29064delay = (function(){
var stacks_in_29064timer = 0;
return function(callback, ms){
clearTimeout (stacks_in_29064timer);
stacks_in_29064timer = setTimeout(callback, ms);
};
})();
$(window).resize(function() {
stacks_in_29064delay(function(){
if ($stacks_in_29064this.is(":visible")){
if (stacks_in_29064lastcontainerwidth != $("#stacks_in_29064").width()){
stacks_in_29064lastcontainerwidth = $("#stacks_in_29064").width();
windowwidth = $(window).width();
if (windowwidth < stacks_in_29064lastwindowwidth){
stacks_in_29064resizerSmaller();
}else{
stacks_in_29064resizerBigger();
}
stacks_in_29064lastwindowwidth = windowwidth
}
}
}, 10);
});
function stacks_in_29064resizeMe(){
stacks_in_29064delay(function(){
if(stacks_in_29064fontsize < stacks_in_29064orgfontsize){
while($stacks_in_29064this.width() <= $("#stacks_in_29064").width()){
stacks_in_29064fontsize = stacks_in_29064fontsize + 2;
$stacks_in_29064this.css("font-size", stacks_in_29064fontsize + "px");
}
}
while($stacks_in_29064this.width() >= $("#stacks_in_29064").width()){
stacks_in_29064fontsize = stacks_in_29064fontsize - 2;
$stacks_in_29064this.css("font-size", stacks_in_29064fontsize + "px");
}
stacks_in_29064lastelementwidth = $stacks_in_29064this.width();
//stacks_in_29064keepCheckingSize();
}, 10);
}
if ($stacks_in_29064this.is(":visible")){
stacks_in_29064resizeMe();
}else{
// do something here
}
}
}); // end doc ready
// End Iconz stack js
return stack;})(stacks.stacks_in_29064);
stacks.stacks_in_29063 = {};
stacks.stacks_in_29063 = (function(stack) {
var jQuery = stacks.jQuery;var $ = jQuery;// Start Obscure Email stack Javascript code
$(document).ready(function() {
function findPlainTextExceptInLinks(element, substring, callback) {
for (var childi= element.childNodes.length; childi-->0;) {
var child= element.childNodes[childi];
if (child.nodeType===1) {
if (child.tagName.toLowerCase()!=='a')
findPlainTextExceptInLinks(child, substring, callback);
} else if (child.nodeType===3) {
var index= child.data.length;
while (true) {
index= child.data.lastIndexOf(substring, index);
if (index===-1)
break;
callback.call(window, child, index)
}
}
}
}
var substring= 'Emailx';
findPlainTextExceptInLinks(document.body, substring, function(node, index) {
node.splitText(index+substring.length);
var span= document.createElement('span');
span.className = "stacks_in_29063InjectHere";
span.appendChild(node.splitText(index));
node.parentNode.insertBefore(span, node.nextSibling);
});
var stacks_in_29063fiddler = "kissdrive.co.uk"
if("show" == "show"){
var stacks_in_29063subject = "Enquiry to Rob"
}else{
var stacks_in_29063subject = ""
}
if("show" == "hide"){
$(".stacks_in_29063InjectHere").replaceWith("" + "info" + "@" + stacks_in_29063fiddler + "" + "");
}
else{
$(".stacks_in_29063InjectHere").replaceWith("" + "Contact Us" + "" + "");
}
});
// End Obscure Email stack Javascript code
return stack;})(stacks.stacks_in_29063);
stacks.stacks_in_28948 = {};
stacks.stacks_in_28948 = (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_28948this = $("#stacks_in_28948 i.fa");
var stacks_in_28948getfontsize = $stacks_in_28948this.css("font-size");
var stacks_in_28948fontsize = parseFloat(stacks_in_28948getfontsize, 10);
var stacks_in_28948orgfontsize = stacks_in_28948fontsize;
var stacks_in_28948lastwindowwidth = $(window).width();
var stacks_in_28948lastelementwidth;
var stacks_in_28948resizerBigger = function () {
if(stacks_in_28948fontsize < stacks_in_28948orgfontsize){
if ($stacks_in_28948this.width() <= $("#stacks_in_28948").width()){
while($stacks_in_28948this.width() <= $("#stacks_in_28948").width()){
stacks_in_28948fontsize = stacks_in_28948fontsize + 2;
$stacks_in_28948this.css({
"font-size": stacks_in_28948fontsize + "px"
});
}
if ($stacks_in_28948this.width() >= $("#stacks_in_28948").width()){
stacks_in_28948fontsize = stacks_in_28948fontsize - 2
$stacks_in_28948this.css("font-size", stacks_in_28948fontsize + "px");
}
}else{
stacks_in_28948resizerSmaller();
}
if(stacks_in_28948fontsize > stacks_in_28948orgfontsize){
stacks_in_28948fontsize = stacks_in_28948orgfontsize;
$stacks_in_28948this.css("font-size", stacks_in_28948fontsize + "px");
}
}
else if($stacks_in_28948this.width() >= $("#stacks_in_28948").width()){
stacks_in_28948resizerSmaller();
}
}
var stacks_in_28948resizerSmaller = function () {
if ($stacks_in_28948this.width() >= $("#stacks_in_28948").width()){
while($stacks_in_28948this.width() >= $("#stacks_in_28948").width()){
stacks_in_28948fontsize = stacks_in_28948fontsize - 2;
$stacks_in_28948this.css({"font-size": stacks_in_28948fontsize + "px"});
}
}else if(stacks_in_28948fontsize > stacks_in_28948orgfontsize){
stacks_in_28948fontsize = stacks_in_28948orgfontsize;
$stacks_in_28948this.css("font-size", stacks_in_28948fontsize + "px");
}
else{
stacks_in_28948resizerBigger();
}
}
if ($stacks_in_28948this.is(":visible")){
var stacks_in_28948lastcontainerwidth = $("#stacks_in_28948").width();
}
var stacks_in_28948delay = (function(){
var stacks_in_28948timer = 0;
return function(callback, ms){
clearTimeout (stacks_in_28948timer);
stacks_in_28948timer = setTimeout(callback, ms);
};
})();
$(window).resize(function() {
stacks_in_28948delay(function(){
if ($stacks_in_28948this.is(":visible")){
if (stacks_in_28948lastcontainerwidth != $("#stacks_in_28948").width()){
stacks_in_28948lastcontainerwidth = $("#stacks_in_28948").width();
windowwidth = $(window).width();
if (windowwidth < stacks_in_28948lastwindowwidth){
stacks_in_28948resizerSmaller();
}else{
stacks_in_28948resizerBigger();
}
stacks_in_28948lastwindowwidth = windowwidth
}
}
}, 10);
});
function stacks_in_28948resizeMe(){
stacks_in_28948delay(function(){
if(stacks_in_28948fontsize < stacks_in_28948orgfontsize){
while($stacks_in_28948this.width() <= $("#stacks_in_28948").width()){
stacks_in_28948fontsize = stacks_in_28948fontsize + 2;
$stacks_in_28948this.css("font-size", stacks_in_28948fontsize + "px");
}
}
while($stacks_in_28948this.width() >= $("#stacks_in_28948").width()){
stacks_in_28948fontsize = stacks_in_28948fontsize - 2;
$stacks_in_28948this.css("font-size", stacks_in_28948fontsize + "px");
}
stacks_in_28948lastelementwidth = $stacks_in_28948this.width();
//stacks_in_28948keepCheckingSize();
}, 10);
}
if ($stacks_in_28948this.is(":visible")){
stacks_in_28948resizeMe();
}else{
// do something here
}
}
}); // end doc ready
// End Iconz stack js
return stack;})(stacks.stacks_in_28948);
stacks.stacks_in_28952 = {};
stacks.stacks_in_28952 = (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;
}
});
// Begin Elixir Javascript
$(document).ready(function() {
// Accordion
var all_panels = $('ul#stacks_in_28952_accordion > li > .accordion_content').hide();
// Add initial closed arrow icon to all accordion items
$('#stacks_in_28952 .accordion_icon i.arrow_icon').addClass('fa-angle-down');
// When an accordion label is clicked...
$("ul#stacks_in_28952_accordion > li > .accordion_label").click(function(){
// If the Open All toggle is enabled we reset the switch to the initial position, indicating that not all items are open.
$('#stacks_in_28952_open_all').removeClass('stacks_in_28952_open_all_true').addClass('stacks_in_28952_open_all_false').addClass('fa-toggle-off').removeClass('fa-toggle-on');
// Handles hiding and showing the Open / Close All labels.
$('#stacks_in_28952_open_all_text').removeClass('hide_toggle');
$('#stacks_in_28952_close_all_text').addClass('hide_toggle');
// Add selected class to active items
$(this).addClass('stacks_in_28952_active').addClass('stacks_in_28952_accordion_selectedarrow_icon');
// Change icon from closed to open on label that was clicked
$(this).find('i.arrow_icon').removeClass('fa-angle-down').addClass('fa-close');
if(false == $(this).next().is(':visible')) {
}
if(true == $(this).next().is(':visible')) {
$(this).find('i.arrow_icon').removeClass('fa-close').addClass('fa-angle-down');
$(this).removeClass('stacks_in_28952_accordion_selectedarrow_icon');
}
// Toggle to content area related to the clicked label open or closed.
$(this).next().stop().slideToggle(325, 'easeOutCubic');
$('.accordion_content').delay(325).css({'height':'auto'});
});
$('#stacks_in_28952_open_all').click(function() {
$(this).toggleClass('fa-toggle-off').toggleClass('fa-toggle-on');
$('#stacks_in_28952_open_all_text, #stacks_in_28952_close_all_text').toggleClass('hide_toggle');
if ($(this).hasClass('stacks_in_28952_open_all_false')) {
$('ul#stacks_in_28952_accordion > li > .accordion_content').slideDown(325, 'easeOutCubic');
$('ul#stacks_in_28952_accordion > li > .accordion_label').addClass('stacks_in_28952_active').addClass('stacks_in_28952_accordion_selectedarrow_icon');
$('ul#stacks_in_28952_accordion > li > .accordion_label').find('i.arrow_icon').removeClass('fa-angle-down').addClass('fa-close');
$(this).removeClass('stacks_in_28952_open_all_false').addClass('stacks_in_28952_open_all_true');
$('.accordion_content').delay(325).css({'height':'auto'});
} else {
$('ul#stacks_in_28952_accordion > li > .accordion_content').slideUp(325, 'easeOutCubic');
$('ul#stacks_in_28952_accordion > li > .accordion_label').removeClass('stacks_in_28952_active').removeClass('stacks_in_28952_accordion_selectedarrow_icon');
$('ul#stacks_in_28952_accordion > li > .accordion_label').find('i.arrow_icon').removeClass('fa-close').addClass('fa-angle-down');
$(this).removeClass('stacks_in_28952_open_all_true').addClass('stacks_in_28952_open_all_false');
$('.accordion_content').delay(325).css({'height':'auto'});
}
});
// Ensures that each content area doesn't end up with excess height if it is opened at iPhone
// width and then scaled up to a larger width when the browser window is adjusted.
$( window ).resize(function() {
$('.accordion_content').css({'height':'auto'});
});
});
return stack;})(stacks.stacks_in_28952);
stacks.stacks_in_29012 = {};
stacks.stacks_in_29012 = (function(stack) {
var jQuery = stacks.jQuery;var $ = jQuery;
// xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
// Chauffeur STACK BY http://www.doobox.co.uk XXXXXXX
// COPYRIGHT@2010 MR JG SIMPSON, TRADING AS DOOBOX
// ALL RIGHTS RESERVED XXXXXXXXXXXXXXXXXXXXXXXXXXX
// xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
// DOCUMENT READY FUNCTIONS
$(document).ready(function() {
var h = $("body").height();
var topquarter = h / 4;
var thebutton = $(".stacks_in_29012wrapper").clone();
$(".stacks_in_29012wrapper").remove();
$(thebutton).addClass("topchaffbutton").prependTo("body");
$(".stacks_in_29012wrapper").css({
"display":"none",
"position":"fixed",
"bottom":"20px",
"right":"30px",
"z-index":"1000001"
});
$(window).scroll(function() {
var windowsize = $(window).width();
if(windowsize > 500){
if ($(this).scrollTop() > topquarter) {
$(".stacks_in_29012wrapper").fadeIn();
}
else {
$(".stacks_in_29012wrapper").fadeOut();
}
} // end if larger screen
});
$(window).resize(function() {
var windowsize = $(window).width();
if(windowsize > 500){
if ($(this).scrollTop() > topquarter) {
$(".stacks_in_29012wrapper").fadeIn();
}
}
else{
$(".stacks_in_29012wrapper").fadeOut();
} // end if larger screen
});
$('.stacks_in_29012wrapper').click(function(){
$('html, body').animate({scrollTop:0}, 'slow');
return false;
});
}); // end doc ready
// xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
// END DOOBOX Chauffeur STACK XXXXXXXXXXXXXXXXXXXX
// xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
return stack;})(stacks.stacks_in_29012);