/*! 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_elevator = {};
stacks.com_joeworkman_stacks_elevator = (function(stack) {
var jQuery = stacks.jQuery;var $ = jQuery;(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);

return stack;})(stacks.com_joeworkman_stacks_elevator);
stacks.stacks_in_232 = {};
stacks.stacks_in_232 = (function(stack) {
var jQuery = stacks.jQuery;var $ = jQuery;jQuery.easing.jswing=jQuery.easing.swing;jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(e,f,a,h,g){return jQuery.easing[jQuery.easing.def](e,f,a,h,g)},easeInQuad:function(e,f,a,h,g){return h*(f/=g)*f+a},easeOutQuad:function(e,f,a,h,g){return -h*(f/=g)*(f-2)+a},easeInOutQuad:function(e,f,a,h,g){if((f/=g/2)<1){return h/2*f*f+a}return -h/2*((--f)*(f-2)-1)+a},easeInCubic:function(e,f,a,h,g){return h*(f/=g)*f*f+a},easeOutCubic:function(e,f,a,h,g){return h*((f=f/g-1)*f*f+1)+a},easeInOutCubic:function(e,f,a,h,g){if((f/=g/2)<1){return h/2*f*f*f+a}return h/2*((f-=2)*f*f+2)+a},easeInQuart:function(e,f,a,h,g){return h*(f/=g)*f*f*f+a},easeOutQuart:function(e,f,a,h,g){return -h*((f=f/g-1)*f*f*f-1)+a},easeInOutQuart:function(e,f,a,h,g){if((f/=g/2)<1){return h/2*f*f*f*f+a}return -h/2*((f-=2)*f*f*f-2)+a},easeInQuint:function(e,f,a,h,g){return h*(f/=g)*f*f*f*f+a},easeOutQuint:function(e,f,a,h,g){return h*((f=f/g-1)*f*f*f*f+1)+a},easeInOutQuint:function(e,f,a,h,g){if((f/=g/2)<1){return h/2*f*f*f*f*f+a}return h/2*((f-=2)*f*f*f*f+2)+a},easeInSine:function(e,f,a,h,g){return -h*Math.cos(f/g*(Math.PI/2))+h+a},easeOutSine:function(e,f,a,h,g){return h*Math.sin(f/g*(Math.PI/2))+a},easeInOutSine:function(e,f,a,h,g){return -h/2*(Math.cos(Math.PI*f/g)-1)+a},easeInExpo:function(e,f,a,h,g){return(f==0)?a:h*Math.pow(2,10*(f/g-1))+a},easeOutExpo:function(e,f,a,h,g){return(f==g)?a+h:h*(-Math.pow(2,-10*f/g)+1)+a},easeInOutExpo:function(e,f,a,h,g){if(f==0){return a}if(f==g){return a+h}if((f/=g/2)<1){return h/2*Math.pow(2,10*(f-1))+a}return h/2*(-Math.pow(2,-10*--f)+2)+a},easeInCirc:function(e,f,a,h,g){return -h*(Math.sqrt(1-(f/=g)*f)-1)+a},easeOutCirc:function(e,f,a,h,g){return h*Math.sqrt(1-(f=f/g-1)*f)+a},easeInOutCirc:function(e,f,a,h,g){if((f/=g/2)<1){return -h/2*(Math.sqrt(1-f*f)-1)+a}return h/2*(Math.sqrt(1-(f-=2)*f)+1)+a},easeInElastic:function(f,h,e,l,k){var i=1.70158;var j=0;var g=l;if(h==0){return e}if((h/=k)==1){return e+l}if(!j){j=k*0.3}if(g<Math.abs(l)){g=l;var i=j/4}else{var i=j/(2*Math.PI)*Math.asin(l/g)}return -(g*Math.pow(2,10*(h-=1))*Math.sin((h*k-i)*(2*Math.PI)/j))+e},easeOutElastic:function(f,h,e,l,k){var i=1.70158;var j=0;var g=l;if(h==0){return e}if((h/=k)==1){return e+l}if(!j){j=k*0.3}if(g<Math.abs(l)){g=l;var i=j/4}else{var i=j/(2*Math.PI)*Math.asin(l/g)}return g*Math.pow(2,-10*h)*Math.sin((h*k-i)*(2*Math.PI)/j)+l+e},easeInOutElastic:function(f,h,e,l,k){var i=1.70158;var j=0;var g=l;if(h==0){return e}if((h/=k/2)==2){return e+l}if(!j){j=k*(0.3*1.5)}if(g<Math.abs(l)){g=l;var i=j/4}else{var i=j/(2*Math.PI)*Math.asin(l/g)}if(h<1){return -0.5*(g*Math.pow(2,10*(h-=1))*Math.sin((h*k-i)*(2*Math.PI)/j))+e}return g*Math.pow(2,-10*(h-=1))*Math.sin((h*k-i)*(2*Math.PI)/j)*0.5+l+e},easeInBack:function(e,f,a,i,h,g){if(g==undefined){g=1.70158}return i*(f/=h)*f*((g+1)*f-g)+a},easeOutBack:function(e,f,a,i,h,g){if(g==undefined){g=1.70158}return i*((f=f/h-1)*f*((g+1)*f+g)+1)+a},easeInOutBack:function(e,f,a,i,h,g){if(g==undefined){g=1.70158}if((f/=h/2)<1){return i/2*(f*f*(((g*=(1.525))+1)*f-g))+a}return i/2*((f-=2)*f*(((g*=(1.525))+1)*f+g)+2)+a},easeInBounce:function(e,f,a,h,g){return h-jQuery.easing.easeOutBounce(e,g-f,0,h,g)+a},easeOutBounce:function(e,f,a,h,g){if((f/=g)<(1/2.75)){return h*(7.5625*f*f)+a}else{if(f<(2/2.75)){return h*(7.5625*(f-=(1.5/2.75))*f+0.75)+a}else{if(f<(2.5/2.75)){return h*(7.5625*(f-=(2.25/2.75))*f+0.9375)+a}else{return h*(7.5625*(f-=(2.625/2.75))*f+0.984375)+a}}}},easeInOutBounce:function(e,f,a,h,g){if(f<g/2){return jQuery.easing.easeInBounce(e,f*2,0,h,g)*0.5+a}return jQuery.easing.easeOutBounce(e,f*2-g,0,h,g)*0.5+h*0.5+a}});
!function(r,a,p){var e="easyTicker",u={direction:"up",easing:"swing",speed:"slow",interval:2e3,height:"auto",visible:0,mousePause:!0,controls:{up:"",down:"",toggle:"",playText:"Play",stopText:"Stop"},callbacks:{before:!1,after:!1}};function o(t,e){var l=this;function o(){l.timer=setInterval(function(){1==l.winFocus&&i(l.opts.direction)},l.opts.interval),r(l.opts.controls.toggle).addClass("et-run").html(l.opts.controls.stopText)}function n(){clearInterval(l.timer),l.timer=0,r(l.opts.controls.toggle).removeClass("et-run").html(l.opts.controls.playText)}function i(t){var e,o,n;if(l.elem.is(":visible")){n="up"==t?(e=":first-child",o="-=","appendTo"):(e=":last-child",o="+=","prependTo");var i=l.targ.children(e),s=i.outerHeight();"function"==typeof l.opts.callbacks.before&&l.opts.callbacks.before.call(l,l.targ,i),l.targ.stop(!0,!0).animate({top:o+s+"px"},l.opts.speed,l.opts.easing,function(){i.hide()[n](l.targ).fadeIn(),l.targ.css("top",0),c(!0),"function"==typeof l.opts.callbacks.after&&l.opts.callbacks.after.call(l,l.targ,i)})}}function s(t){n(),i("up"==t?"up":"down")}function c(t){var e,o,n,i,s;"auto"==l.opts.height&&(0<l.opts.visible?(n=t,i=0,s="et-item-visible",l.targ.children().removeClass(s),l.targ.children(":lt("+l.opts.visible+")").each(function(){i+=r(this).outerHeight(),r(this).addClass(s)}),n?l.elem.stop(!0,!0).animate({height:i},l.opts.speed):l.elem.css("height",i)):(e=0,o=l.elem.css("display"),l.elem.css("display","block"),l.targ.children().each(function(){e+=r(this).outerHeight()}),l.elem.css({display:o,height:e}))),t||clearInterval(l.heightTimer)}return l.opts=r.extend({},u,e),l.elem=r(t),l.targ=r(t).children(":first-child"),l.timer=0,l.winFocus=1,l.elem.children().css("margin",0).children().css("margin",0),l.elem.css({position:"relative",height:l.opts.height,overflow:"hidden"}),l.targ.css({position:"absolute",margin:0}),l.heightTimer=setInterval(function(){c(!1)},100),o(),r([a,p]).off("focus").on("focus",function(){l.winFocus=1}).off("blur").on("blur",function(){l.winFocus=0}),l.opts.mousePause&&l.elem.mouseenter(function(){l.timerTemp=l.timer,n()}).mouseleave(function(){0!==l.timerTemp&&o()}),r(l.opts.controls.up).on("click",function(t){t.preventDefault(),s("up")}),r(l.opts.controls.down).on("click",function(t){t.preventDefault(),s("down")}),r(l.opts.controls.toggle).on("click",function(t){t.preventDefault(),(0==l.timer?o:n)()}),{up:function(){s("up")},down:function(){s("down")},start:o,stop:n,options:l.opts}}r.fn[e]=function(t){return this.each(function(){r.data(this,e)||r.data(this,e,new o(this,t))})}}(jQuery,window,document);

/* --- */

$wteTicker=jQuery.noConflict();
$wteTicker(function(){
    $wteTicker('.stacks_in_232').easyTicker({
        interval: 5000,
        direction: 'up',
        easing: 'easeInElastic',
        visible: 1
    });
});
return stack;})(stacks.stacks_in_232);
stacks.stacks_in_225 = {};
stacks.stacks_in_225 = (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= 'ObscureMyEmailzugM';findPlainTextExceptInLinks(document.body, substring, function(node, index) {    node.splitText(index+substring.length);    var span= document.createElement('span');    span.className = "stacks_in_225InjectHere";    span.appendChild(node.splitText(index));    node.parentNode.insertBefore(span, node.nextSibling);});var stacks_in_225fiddler = "fra-apolda.de"if("hide" == "show"){var stacks_in_225subject = "General Enquiry"}else{var stacks_in_225subject = ""}if("show" == "hide"){$(".stacks_in_225InjectHere").replaceWith("<A href='mailto:" + "zugmeister" + "@" + stacks_in_225fiddler + "?subject=" + stacks_in_225subject + "'>" + "zugmeister" + "@" + stacks_in_225fiddler + "</a>" + "<NOSCRIPT><em> Email address protected by JavaScript. </em></NOSCRIPT>");}else{$(".stacks_in_225InjectHere").replaceWith("<A href='mailto:" + "zugmeister" + "@" + stacks_in_225fiddler + "?subject=" + stacks_in_225subject + "'>" + "eMail an den Zugmeister" + "</a>" + "<NOSCRIPT><em> Email address protected by JavaScript. </em></NOSCRIPT>");}});// End Obscure Email stack Javascript code
return stack;})(stacks.stacks_in_225);
stacks.stacks_in_254 = {};
stacks.stacks_in_254 = (function(stack) {
var jQuery = stacks.jQuery;var $ = jQuery;/*!
 * jQuery Countdown plugin v1.0
 * http://www.littlewebthings.com/projects/countdown/
 *
 * Copyright 2010, Vassilis Dourdounis
 * 
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 * 
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 * 
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 * THE SOFTWARE.
 */
/*!
 * jQuery Countdown plugin v1.0
 * http://www.littlewebthings.com/projects/countdown/
 *
 * Copyright 2010, Vassilis Dourdounis
 * 
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 * 
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 * 
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 * THE SOFTWARE.
 */
(function($){

	$.fn.countDown = function (options) {

		config = {};

		$.extend(config, options);

		diffSecs = this.setCountDown(config);
	
		if (config.onComplete)
		{
			$.data($(this)[0], 'callback', config.onComplete);
		}
		if (config.omitWeeks)
		{
			$.data($(this)[0], 'omitWeeks', config.omitWeeks);
		}

		$('#' + $(this).attr('id') + ' .digit').html('<div class="top"></div><div class="bottom"></div>');
		$(this).doCountDown($(this).attr('id'), diffSecs, 500);

		return this;

	};

	$.fn.stopCountDown = function () {
		clearTimeout($.data(this[0], 'timer'));
	};

	$.fn.startCountDown = function () {
		this.doCountDown($(this).attr('id'),$.data(this[0], 'diffSecs'), 500);
	};

	$.fn.setCountDown = function (options) {
		var targetTime = new Date();

		if (options.targetDate)
		{
			targetTime = new Date(options.targetDate.month + '/' + options.targetDate.day + '/' + options.targetDate.year + ' ' + options.targetDate.hour + ':' + options.targetDate.min + ':' + options.targetDate.sec + (options.targetDate.utc ? ' UTC' : ''));
		}
		else if (options.targetOffset)
		{
			targetTime.setFullYear(options.targetOffset.year + targetTime.getFullYear());
			targetTime.setMonth(options.targetOffset.month + targetTime.getMonth());
			targetTime.setDate(options.targetOffset.day + targetTime.getDate());
			targetTime.setHours(options.targetOffset.hour + targetTime.getHours());
			targetTime.setMinutes(options.targetOffset.min + targetTime.getMinutes());
			targetTime.setSeconds(options.targetOffset.sec + targetTime.getSeconds());
		}

		var nowTime = new Date();

		diffSecs = Math.floor((targetTime.valueOf()-nowTime.valueOf())/1000);

		$.data(this[0], 'diffSecs', diffSecs);

		return diffSecs;
	};

	$.fn.doCountDown = function (id, diffSecs, duration) {
		$this = $('#' + id);
		if (diffSecs <= 0)
		{
			diffSecs = 0;
			if ($.data($this[0], 'timer'))
			{
				clearTimeout($.data($this[0], 'timer'));
			}
		}

		secs = diffSecs % 60;
		mins = Math.floor(diffSecs/60)%60;
		hours = Math.floor(diffSecs/60/60)%24;
		if ($.data($this[0], 'omitWeeks') == true)
		{
			days = Math.floor(diffSecs/60/60/24);
			weeks = Math.floor(diffSecs/60/60/24/7);
		}
		else 
		{
			days = Math.floor(diffSecs/60/60/24)%7;
			weeks = Math.floor(diffSecs/60/60/24/7);
		}

		$this.dashChangeTo(id, 'seconds_dash', secs, duration ? duration : 800);
		$this.dashChangeTo(id, 'minutes_dash', mins, duration ? duration : 1200);
		$this.dashChangeTo(id, 'hours_dash', hours, duration ? duration : 1200);
		$this.dashChangeTo(id, 'days_dash', days, duration ? duration : 1200);
		$this.dashChangeTo(id, 'weeks_dash', weeks, duration ? duration : 1200);

		$.data($this[0], 'diffSecs', diffSecs);
		if (diffSecs > 0)
		{
			e = $this;
			t = setTimeout(function() { e.doCountDown(id, diffSecs-1) } , 1000);
			$.data(e[0], 'timer', t);
		} 
		else if (cb = $.data($this[0], 'callback')) 
		{
			$.data($this[0], 'callback')();
		}

	};

	$.fn.dashChangeTo = function(id, dash, n, duration) {
		  $this = $('#' + id);
		 
		  for (var i=($this.find('.' + dash + ' .digit').length-1); i>=0; i--)
		  {
				var d = n%10;
				n = (n - d) / 10;
				$this.digitChangeTo('#' + $this.attr('id') + ' .' + dash + ' .digit:eq('+i+')', d, duration);
		  }
	};

	$.fn.digitChangeTo = function (digit, n, duration) {
		if (!duration)
		{
			duration = 800;
		}
		if ($(digit + ' div.top').html() != n + '')
		{

			$(digit + ' div.top').css({'display': 'none'});
			$(digit + ' div.top').html((n ? n : '0')).slideDown(duration);

			$(digit + ' div.bottom').animate({'height': ''}, duration, function() {
				$(digit + ' div.bottom').html($(digit + ' div.top').html());
				$(digit + ' div.bottom').css({'display': 'block', 'height': ''});
				$(digit + ' div.top').hide().slideUp(10);

			
			});
		}
	};

})(jQuery);


jQuery(document).ready(function() {
	
});

// var checkTimeout;

function dateFromString(dateString) {
	var str=dateString;
	var dateTimeSplit=str.split(" ");
	var dateSplit=dateTimeSplit[0].split("-");
	var timeSplit=dateTimeSplit[1].split(":");


	var theYear=dateSplit[0];
	var theMonth=dateSplit[1];
	var theDay=dateSplit[2];

	var theHour=parseInt(timeSplit[0]);
	var theMinute=parseInt(timeSplit[1]);
	var theSecond=parseInt(timeSplit[2]);
	
	theMonth-=1;
	
	var theDate=new Date(theYear, theMonth, theDay, theHour, theMinute, theSecond);
	return theDate;
}
function dateToUTC(theDate) {
	var UTCOffsetMilli=theDate.getTimezoneOffset()*60*1000;
	theDate=theDate.getTime()+UTCOffsetMilli;
	var theUTCDate=new Date(theDate);
	return theUTCDate;
}

function toUTC(theDate) {
	var UTCOffsetMilli=theDate.getTimezoneOffset()*60*1000;
	theDate=theDate.getTime()+UTCOffsetMilli;
	return theDate;
}
// var checkInterval;
function dateShow() {
	// console.log('dateShow Function');
	var today=new Date();
	var startDate=dateFromString("2024-11-10 11:11:00");
	var endDate=dateFromString("2024-11-11 13:00:00");
	if(0) {
		today=toUTC(today);
	}
	// if (today>endDate) {
	// 	clearInterval(checkInterval);
	// }
	if((today>startDate) && (today<endDate)){
		
		if('showContent'=='showContent') {
			// console.log('we are in between - showing content');
			try {
				var theContent=document.querySelectorAll('.onTimestacks_in_254_content');
				var i;
				for (i=0;i<theContent.length;i++) {
					theContent[i].style.display="block";
				}
			}
			catch(err) {

			}
			
		}
		else if('showContent'=='javascript') {
			eval("");
			}
		else if('showContent'=='redirect') {
			var theURL="http://www.rapid-ideas.com";
			document.location.href=theURL;
		}
		
		else if('showContent'=='loadScript') {
			jQuery.getScript("", function() {
				
			});
		}
		
	}

	else {
		if('showContent'=='showContent') {
			// console.log('we are not between - hiding content');
			try {
				var theContent=document.querySelectorAll('.onTimestacks_in_254_content');
				var i;
				for (i=0;i<theContent.length;i++) {
					theContent[i].style.display="none";
				}
			}
			catch(err) {

			}
			
		}
	}


	var cdUntilDate=endDate;
	if ("starttime" == "starttime") {
		cdUntilDate=startDate;
	}


	if (today>cdUntilDate) {
		document.getElementById('stacks_in_254countdown_dashboard').style.display='none';
	}

	if ("starttime" == "startendtime" && today<startDate) {
		document.getElementById('stacks_in_254countdown_dashboard').style.display='none';
	}

	
	
}

function showCountDown() {
	var str="2024-11-11 13:00:00";
	if ("starttime" == "starttime") {
		str="2024-11-10 11:11:00";
	}
	
	
	var dateTimeSplit=str.split(" ");
	var dateSplit=dateTimeSplit[0].split("-");
	var timeSplit=dateTimeSplit[1].split(":");


	var theYear=dateSplit[0];
	var theMonth=dateSplit[1];
	var theDay=dateSplit[2];

	var theHour=parseInt(timeSplit[0]);
	var theMinute=parseInt(timeSplit[1]);
	var theSecond=parseInt(timeSplit[2]);
	var omitWeeksVal;
	if ('True'==='True') {
		omitWeeksVal=true;
	}
	else {
		omitWeeksVal=false;
	}
	//theMonth-=1;
	
	
	$('#onTimestacks_in_254 #stacks_in_254countdown_dashboard').countDown({
					targetDate: {
						'day': 		theDay,
						'month': 	theMonth,
						'year': 	theYear,
						'hour': 	theHour,
						'min': 		theMinute,
						'sec': 		theSecond
					},
					omitWeeks: true,
					onComplete: function(){
						setTimeout(dateShow, 1000);
						//dateShow();
					}
				});
		
		// jQuery('#onTimestacks_in_254 div.dash').css({
		// 	'margin-left': jQuery('#onTimestacks_in_254 div.digit').width()/4,
		// 	'padding-left': jQuery('#onTimestacks_in_254 div.digit').width()/5,
		// 	'padding-right': jQuery('#onTimestacks_in_254 div.digit').width()/5
		// 	});
		// jQuery('#onTimestacks_in_254 div.dash:first').css({
		// 	'margin-left': 0
		// });
		// jQuery('#onTimestacks_in_254 div.dash:last').css({
		// 	'padding-right': 0
		// });
		
		if ($('#stacks_in_254countdown_dashboard .days_dash .digit').length>2 && $('#stacks_in_254countdown_dashboard .days_dash .digit:first').text()=='0') {
			$('#stacks_in_254countdown_dashboard .days_dash .digit:first').remove();
		}
		
		var theDashMargin=jQuery('#onTimestacks_in_254 div.digit').width()/4;
		var theDashWidth=jQuery('#onTimestacks_in_254 div.dash').outerWidth();
		// jQuery('#onTimestacks_in_254 #stacks_in_254countdown_dashboard').css('width', (theDashWidth*5+theDashMargin*4));//+(jQuery('#onTimestacks_in_254 div.digit').width()+6));
}


function checkDate(){
	
}

 
jQuery(function() {
	dateShow();
	if ('True'=='True') {
		showCountDown();
	}
	// checkInterval=setInterval(function(){dateShow();}, 1000);
});
return stack;})(stacks.stacks_in_254);
stacks.stacks_in_229_1 = {};
stacks.stacks_in_229_1 = (function(stack) {
var jQuery = stacks.jQuery;var $ = jQuery;
jQuery.easing['jswing']=jQuery.easing['swing'];jQuery.extend(jQuery.easing,{def:'easeOutQuad',easeOutQuart:function(x,t,b,c,d){return-c*((t=t/d-1)*t*t*t-1)+b;}});(function($){$.fn.scrollToTop=function(options){var defaults={text:'To Top',min:200,inDelay:600,outDelay:400,containerID:'toTop',scrollSpeed:1200,easingType:'linear'},settings=$.extend(defaults,options),containerIDhash='#'+settings.containerID;$('body').append('<a href="#" id="'+settings.containerID+'">'+settings.text+'</a>');$(containerIDhash).hide().on('click.UItoTop',function(){$('html, body').animate({scrollTop:0},settings.scrollSpeed,settings.easingType);return false;});$(window).scroll(function(){var sd=$(window).scrollTop();if(typeof document.body.style.maxHeight==="undefined"){$(containerIDhash).css({'position':'absolute','top':sd+$(window).height()-50});}
if(sd>settings.min)
$(containerIDhash).fadeIn(settings.inDelay);else
$(containerIDhash).fadeOut(settings.Outdelay);});};})(jQuery);$(function(){$().scrollToTop({easingType:'easeOutQuart',scrollSpeed:1200,min:200});});

return stack;})(stacks.stacks_in_229_1);
stacks.stacks_in_229_32 = {};
stacks.stacks_in_229_32 = (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= 'ObscureMyEmailZuMei';findPlainTextExceptInLinks(document.body, substring, function(node, index) {    node.splitText(index+substring.length);    var span= document.createElement('span');    span.className = "stacks_in_229_32InjectHere";    span.appendChild(node.splitText(index));    node.parentNode.insertBefore(span, node.nextSibling);});var stacks_in_229_32fiddler = "fra-apolda.de"if("hide" == "show"){var stacks_in_229_32subject = "General Enquiry"}else{var stacks_in_229_32subject = ""}if("show" == "hide"){$(".stacks_in_229_32InjectHere").replaceWith("<A href='mailto:" + "zugmeister" + "@" + stacks_in_229_32fiddler + "?subject=" + stacks_in_229_32subject + "'>" + "zugmeister" + "@" + stacks_in_229_32fiddler + "</a>" + "<NOSCRIPT><em> Email address protected by JavaScript. </em></NOSCRIPT>");}else{$(".stacks_in_229_32InjectHere").replaceWith("<A href='mailto:" + "zugmeister" + "@" + stacks_in_229_32fiddler + "?subject=" + stacks_in_229_32subject + "'>" + "eMail an den Zugmeister" + "</a>" + "<NOSCRIPT><em> Email address protected by JavaScript. </em></NOSCRIPT>");}});// End Obscure Email stack Javascript code
return stack;})(stacks.stacks_in_229_32);