/*
 RequireJS 0.22.0 Copyright (c) 2010, The Dojo Foundation All Rights Reserved.
 Available via the MIT or new BSD license.
 see: http://github.com/jrburke/requirejs for details
*/
var require,define;
(function(){function o(e){return q.call(e)==="[object Function]"}function v(e){return q.call(e)==="[object Array]"}function y(e,f,k){for(var j in f)if(!(j in H)&&(!(j in e)||k))e[j]=f[j];return h}function C(e,f,k){var j,x,m;for(j=0;m=f[j];j++){m=typeof m==="string"?{name:m}:m;x=m.location;if(k&&(!x||x.indexOf("/")!==0&&x.indexOf(":")===-1))m.location=k+"/"+(m.location||m.name);m.location=m.location||m.name;m.lib=m.lib||"lib";m.main=(m.main||"lib/main").replace(T,"");e[m.name]=m}}function U(e){function f(a){var b,
c;for(b=0;c=a[b];b++)if(c==="."){a.splice(b,1);b-=1}else if(c==="..")if(b===1&&(a[2]===".."||a[0]===".."))break;else if(b>0){a.splice(b-1,2);b-=2}}function k(a,b){var c;if(a.charAt(0)===".")if(b){if(B.packages[b])b=[b];else{b=b.split("/");b=b.slice(0,b.length-1)}a=b.concat(a.split("/"));f(a);c=B.packages[b=a[0]];a=a.join("/");if(c&&a===b+"/"+c.main)a=b}return a}function j(a,b){var c=a?a.indexOf("!"):-1,d=null,g=b?b.name:null,n=a,l,s;if(c!==-1){d=a.substring(0,c);a=a.substring(c+1,a.length)}if(d){d=
k(d,g);d=za[d]||d}if(a){if(d)l=(c=w[d])?c.normalize?c.normalize(a,function(z){return k(z,g)}):k(a,g):"__$p"+g+"@"+a;else l=k(a,g);s=ha[l];if(!s){s=h.toModuleUrl?h.toModuleUrl(i,a,b):i.nameToUrl(a,null,b);ha[l]=s}}return{prefix:d,name:l,parentMap:b,url:s,originalName:n,fullName:d?d+"!"+l:l}}function x(){var a=true,b=B.priorityWait,c,d;if(b){for(d=0;c=b[d];d++)if(!F[c]){a=false;break}a&&delete B.priorityWait}return a}function m(a){return function(b){a.exports=b}}function aa(a,b,c){return function(){var d=
[].concat(A.call(arguments,0)),g;if(c&&o(g=d[d.length-1]))g.__requireJsBuild=true;d.push(b);return a.apply(null,d)}}function pa(a,b){b=aa(i.require,a,b);y(b,{nameToUrl:aa(i.nameToUrl,a),toUrl:aa(i.toUrl,a),isDefined:aa(i.isDefined,a),ready:h.ready,isBrowser:h.isBrowser});if(h.paths)b.paths=h.paths;return b}function Aa(a){var b,c,d,g,n,l,s,z=ba[a];if(z)for(g=0;c=z[g];g++){b=c.fullName;c=j(c.originalName,c.parentMap);c=c.fullName;d=E[b];if(c!==b){E[c]=d;delete E[b];for(n=0;n<d.length;n++){s=d[n].depArray;
for(l=0;l<s.length;l++)if(s[l]===b)s[l]=c}}}delete ba[a]}function qa(a){var b=a.prefix,c=a.fullName;if(!(V[c]||c in w)){if(b&&!S[b]){S[b]=undefined;(ba[b]||(ba[b]=[])).push(a);(E[b]||(E[b]=[])).push({onDep:function(d){d===b&&Aa(b)}});qa(j(b))}i.paused.push(a)}}function ia(a){var b,c,d;b=a.callback;var g=a.fullName;d=[];var n=a.depArray;if(b&&o(b)){if(n)for(b=0;b<n.length;b++)d.push(a.deps[n[b]]);c=h.execCb(g,a.callback,d);if(g)if(a.usingExports&&c===undefined&&(!a.cjsModule||!("exports"in a.cjsModule)))c=
w[g];else if(a.cjsModule&&"exports"in a.cjsModule)c=w[g]=a.cjsModule.exports;else{if(g in w&&!a.usingExports)return h.onError(new Error(g+" has already been defined"));w[g]=c}}else if(g)c=w[g]=b;if(g)if(d=E[g]){for(b=0;b<d.length;b++)d[b].onDep(g,c);delete E[g]}if(K[a.waitId]){delete K[a.waitId];a.isDone=true;i.waitCount-=1;if(i.waitCount===0)ja=[]}}function ra(a,b,c,d){a=j(a,d);var g=a.name,n=a.fullName,l={waitId:g||L+Ba++,depCount:0,depMax:0,prefix:a.prefix,name:g,fullName:n,deps:{},depArray:b,
callback:c,onDep:function(sa,Ca){if(!(sa in l.deps)){l.deps[sa]=Ca;l.depCount+=1;l.depCount===l.depMax&&ia(l)}}},s,z;if(n){if(n in w||F[n]===true)return;V[n]=true;F[n]=true;i.jQueryDef=n==="jquery"}for(c=0;c<b.length;c++)if(s=b[c]){s=j(s,g?a:d);z=s.fullName;b[c]=z;if(z==="require")l.deps[z]=pa(a);else if(z==="exports"){l.deps[z]=w[n]={};l.usingExports=true}else if(z==="module"){l.cjsModule=s=l.deps[z]={id:g,uri:g?i.nameToUrl(g,null,d):undefined};s.setExports=m(s)}else if(z in w&&!(z in K))l.deps[z]=
w[z];else{l.depMax+=1;qa(s);(E[z]||(E[z]=[])).push(l)}}if(l.depCount===l.depMax)ia(l);else{K[l.waitId]=l;ja.push(l);i.waitCount+=1}}function W(a){ra.apply(null,a);F[a[0]]=true}function ta(a){if(!i.jQuery)if((a=a||(typeof jQuery!=="undefined"?jQuery:null))&&"readyWait"in a){i.jQuery=a;W(["jquery",[],function(){return jQuery}]);if(i.scriptCount){a.readyWait+=1;i.jQueryIncremented=true}}}function ua(a,b){if(!a.isDone){var c=a.fullName,d=a.depArray,g,n;if(c){if(b[c])return w[c];b[c]=true}for(n=0;n<d.length;n++)(g=
d[n])&&!a.deps[g]&&K[g]&&a.onDep(g,ua(K[g],b));return c?w[c]:undefined}}function ka(){var a=B.waitSeconds*1E3,b=a&&i.startTime+a<(new Date).getTime();a="";var c=false,d=false,g;if(B.priorityWait)if(x())X();else return;for(g in F)if(!(g in H)){c=true;if(!F[g])if(b)a+=g+" ";else{d=true;break}}if(c||i.waitCount){if(b&&a){g=new Error("require.js load timeout for modules: "+a);g.requireType="timeout";g.requireModules=a;return h.onError(g)}if(d||i.scriptCount){if(t||r)setTimeout(ka,50)}else if(i.waitCount){for(M=
0;a=ja[M];M++)ua(a,{});ka()}else h.checkReadyState()}}function va(a,b){var c=b.name,d=b.fullName;if(!(d in w)){S[a]||(S[a]=w[a]);F[d]||(F[d]=false);S[a].load(c,pa(b.parentMap,true),function(g){require.onPluginLoad&&require.onPluginLoad(i,a,c,g);ia({prefix:b.prefix,name:b.name,fullName:b.fullName,callback:g});F[d]=true},B)}}function Da(a){if(a.prefix&&a.name.indexOf("__$p")===0&&w[a.prefix])a=j(a.originalName,a.parentMap);var b=a.prefix,c=a.fullName;if(!(V[c]||c in w)){V[c]=true;if(b)if(w[b])va(b,
a);else{if(!Y[b]){Y[b]=[];(E[b]||(E[b]=[])).push({onDep:function(d){if(d===b){var g,n=Y[b];for(d=0;d<n.length;d++){g=n[d];va(b,j(g.originalName,g.parentMap))}delete Y[b]}}})}Y[b].push(a)}else h.load(i,c,a.url)}}var i,X,B={waitSeconds:7,baseUrl:u.baseUrl||"./",paths:{},packages:{}},Z=[],V={require:true,exports:true,module:true},ha={},w={},F={},K={},ja=[],Ba=0,E={},S={},Y={},ba={};X=function(){var a,b,c;if(i.scriptCount<=0)i.scriptCount=0;for(;Z.length;){a=Z.shift();if(a[0]===null)return h.onError(new Error("Mismatched anonymous require.def modules"));
else W(a)}if(!(B.priorityWait&&!x())){for(;i.paused.length;){c=i.paused;i.paused=[];for(b=0;a=c[b];b++)Da(a);i.startTime=(new Date).getTime()}ka()}};i={contextName:e,config:B,defQueue:Z,waiting:K,waitCount:0,specified:V,loaded:F,urlMap:ha,scriptCount:0,urlFetched:{},defined:w,paused:[],plugins:S,managerCallbacks:E,makeModuleMap:j,normalize:k,configure:function(a){var b,c,d;if(a.baseUrl)if(a.baseUrl.charAt(a.baseUrl.length-1)!=="/")a.baseUrl+="/";b=B.paths;c=B.packages;y(B,a,true);if(a.paths){for(d in a.paths)d in
H||(b[d]=a.paths[d]);B.paths=b}if((b=a.packagePaths)||a.packages){if(b)for(d in b)d in H||C(c,b[d],d);a.packages&&C(c,a.packages);B.packages=c}if(a.priority){c=i.requireWait;i.requireWait=false;i.require(a.priority);i.requireWait=c;B.priorityWait=a.priority}if(a.deps||a.callback)i.require(a.deps||[],a.callback);a.ready&&h.ready(a.ready)},isDefined:function(a,b){return j(a,b).fullName in w},require:function(a,b,c){if(typeof a==="string"){if(h.get)return h.get(i,a,b);c=b;b=j(a,c);a=w[b.fullName];if(a===
undefined)return h.onError(new Error("require: module name '"+b.fullName+"' has not been loaded yet for context: "+e));return a}ra(null,a,b,c);if(!i.requireWait)for(;!i.scriptCount&&i.paused.length;)X()},takeGlobalQueue:function(){if(N.length){D.apply(i.defQueue,[i.defQueue.length-1,0].concat(N));N=[]}},completeLoad:function(a){var b;for(i.takeGlobalQueue();Z.length;){b=Z.shift();if(b[0]===null){b[0]=a;break}else if(b[0]===a)break;else{W(b);b=null}}b?W(b):W([a,[],a==="jquery"&&typeof jQuery!=="undefined"?
function(){return jQuery}:null]);F[a]=true;ta();if(h.isAsync)i.scriptCount-=1;X();h.isAsync||(i.scriptCount-=1)},toUrl:function(a,b){var c=a.lastIndexOf("."),d=null;if(c!==-1){d=a.substring(c,a.length);a=a.substring(0,c)}return i.nameToUrl(a,d,b)},nameToUrl:function(a,b,c){var d,g,n,l,s=i.config;if(a.indexOf("./")===0||a.indexOf("../")===0){c=c&&c.url?c.url.split("/"):[];c.length&&c.pop();c=c.concat(a.split("/"));f(c);b=c.join("/")+(b?b:h.jsExtRegExp.test(a)?"":".js")}else{a=k(a,c);if(h.jsExtRegExp.test(a))b=
a+(b?b:"");else{d=s.paths;g=s.packages;c=a.split("/");for(l=c.length;l>0;l--){n=c.slice(0,l).join("/");if(d[n]){c.splice(0,l,d[n]);break}else if(n=g[n]){a=a===n.name?n.location+"/"+n.main:n.location+"/"+n.lib;c.splice(0,l,a);break}}b=c.join("/")+(b||".js");b=(b.charAt(0)==="/"||b.match(/^\w+:/)?"":s.baseUrl)+b}}return s.urlArgs?b+((b.indexOf("?")===-1?"?":"&")+s.urlArgs):b}};i.jQueryCheck=ta;i.resume=X;return i}function ca(){var e,f,k;if(O&&O.readyState==="interactive")return O;e=document.getElementsByTagName("script");
for(f=e.length-1;f>-1&&(k=e[f]);f--)if(k.readyState==="interactive")return O=k;return null}var la=/(\/\*([\s\S]*?)\*\/|\/\/(.*)$)/mg,da=/require\(["']([^'"\s]+)["']\)/g,T=/^\.\//,q=Object.prototype.toString,p=Array.prototype,A=p.slice,D=p.splice,t=!!(typeof window!=="undefined"&&navigator&&document),r=!t&&typeof importScripts!=="undefined",G=t&&navigator.platform==="PLAYSTATION 3"?/^complete$/:/^(complete|loaded)$/,L="_r@@",H={},I={},N=[],O=null,P=false,ea=false,za={text:"require/text",i18n:"require/i18n",
order:"require/order"},h;p={};var ma,u,Q,fa,na,$,wa,J,xa,ga,M,oa,ya,R;if(typeof require!=="undefined")if(o(require))return;else p=require;h=require=function(e,f,k){var j="_",x;if(!v(e)&&typeof e!=="string"){x=e;if(v(f)){e=f;f=k}else e=[]}if(x&&x.context)j=x.context;k=I[j]||(I[j]=U(j));x&&k.configure(x);return k.require(e,f)};h.version="0.22.0";h.isArray=v;h.isFunction=o;h.mixin=y;h.jsExtRegExp=/^\/|:|\?|\.js$/;u=h.s={contexts:I,skipAsync:{},isPageLoaded:!t,readyCalls:[]};if(h.isAsync=h.isBrowser=
t){Q=u.head=document.getElementsByTagName("head")[0];if(fa=document.getElementsByTagName("base")[0])Q=u.head=fa.parentNode}h.onError=function(e){throw e;};h.load=function(e,f,k){var j=e.contextName,x=e.urlFetched,m=e.loaded;P=false;m[f]||(m[f]=false);if(!x[k]){e.scriptCount+=1;h.attach(k,j,f);x[k]=true;if(e.jQuery&&!e.jQueryIncremented){e.jQuery.readyWait+=1;e.jQueryIncremented=true}}};define=h.def=function(e,f,k){var j;if(typeof e!=="string"){k=f;f=e;e=null}if(!h.isArray(f)){k=f;f=[]}if(!e&&!f.length&&
h.isFunction(k))if(k.length){k.toString().replace(la,"").replace(da,function(x,m){f.push(m)});f=["require","exports","module"].concat(f)}if(ea){j=ma||ca();if(!j)return h.onError(new Error("ERROR: No matching script interactive for "+k));e||(e=j.getAttribute("data-requiremodule"));j=I[j.getAttribute("data-requirecontext")]}(j?j.defQueue:N).push([e,f,k])};h.execCb=function(e,f,k){return f.apply(null,k)};h.onScriptLoad=function(e){var f=e.currentTarget||e.srcElement,k;if(e.type==="load"||G.test(f.readyState)){O=
null;e=f.getAttribute("data-requirecontext");k=f.getAttribute("data-requiremodule");I[e].completeLoad(k);f.removeEventListener?f.removeEventListener("load",h.onScriptLoad,false):f.detachEvent("onreadystatechange",h.onScriptLoad)}};h.attach=function(e,f,k,j,x){var m;if(t){j=j||h.onScriptLoad;m=document.createElement("script");m.type=x||"text/javascript";m.charset="utf-8";m.async=!u.skipAsync[e];m.setAttribute("data-requirecontext",f);m.setAttribute("data-requiremodule",k);if(m.addEventListener)m.addEventListener("load",
j,false);else{ea=true;m.attachEvent("onreadystatechange",j)}m.src=e;ma=m;fa?Q.insertBefore(m,fa):Q.appendChild(m);ma=null;return m}else if(r){j=I[f];f=j.loaded;f[k]=false;importScripts(e);j.completeLoad(k)}return null};u.baseUrl=p.baseUrl;if(t&&(!u.baseUrl||!Q)){na=document.getElementsByTagName("script");wa=p.baseUrlMatch?p.baseUrlMatch:/(allplugins-)?require\.js(\W|$)/i;for(M=na.length-1;M>-1&&($=na[M]);M--){if(!Q)Q=$.parentNode;if(!ga&&(ga=$.getAttribute("data-main"))){p.deps=p.deps?p.deps.concat(ga):
[ga];if(!p.baseUrl&&(J=$.src)){J=J.split("/");J.pop();u.baseUrl=p.baseUrl=J.length?J.join("/"):"./"}}if(!u.baseUrl&&(J=$.src))if(xa=J.match(wa)){u.baseUrl=J.substring(0,xa.index);break}}}h.pageLoaded=function(){if(!u.isPageLoaded){u.isPageLoaded=true;oa&&clearInterval(oa);if(ya)document.readyState="complete";h.callReady()}};h.checkReadyState=function(){var e=u.contexts,f;for(f in e)if(!(f in H))if(e[f].waitCount)return;u.isDone=true;h.callReady()};h.callReady=function(){var e=u.readyCalls,f,k,j;if(u.isPageLoaded&&
u.isDone){if(e.length){u.readyCalls=[];for(f=0;k=e[f];f++)k()}e=u.contexts;for(j in e)if(!(j in H)){f=e[j];if(f.jQueryIncremented){f.jQuery.readyWait-=1;f.jQueryIncremented=false}}}};h.ready=function(e){u.isPageLoaded&&u.isDone?e():u.readyCalls.push(e);return h};if(t){if(document.addEventListener){document.addEventListener("DOMContentLoaded",h.pageLoaded,false);window.addEventListener("load",h.pageLoaded,false);if(!document.readyState){ya=true;document.readyState="loading"}}else if(window.attachEvent){window.attachEvent("onload",
h.pageLoaded);if(self===self.top)oa=setInterval(function(){try{if(document.body){document.documentElement.doScroll("left");h.pageLoaded()}}catch(e){}},30)}document.readyState==="complete"&&h.pageLoaded()}h(p);if(typeof setTimeout!=="undefined"){R=u.contexts[p.context||"_"];R.requireWait=true;setTimeout(function(){R.requireWait=false;R.takeGlobalQueue();R.jQueryCheck();R.scriptCount||R.resume();h.checkReadyState()},0)}})();
if("function"!==typeof document.getElementsByClassName)document.getElementsByClassName=function(o,v){var y=-1,C=[];o=new RegExp("(^|\\s)"+o+"(\\s|$)");v=v||document.all||document.getElementsByTagName("*");for(var U=v.length;++y<U;o.test(v[y].className)&&C.push(v[y]));delete v;return C};define("j/getelementsbyclasssname",function(){});var _gaq=_gaq||[];_gaq.push(["_setAccount","UA-16769091-1"]);_gaq.push(["_gat._anonymizeIp"]);_gaq.push(["_setDomainName","none"]);_gaq.push(["_trackPageview"]);_gaq.push(["_trackPageLoadTime"]);
define("j/ga",["require","exports","module"],function(){return{init:function(){var o=document.location.protocol==="https:"?"https://ssl":"http://www";o+=".google-analytics.com/";o+=typeof js_debug==="boolean"?"u/ga_debug.js":"ga.js";require([o])}}});var stapel=stapel||[];
stapel.track={trackPageview:function(){var o=["_trackPageview"];o.push.apply(o,arguments);_gaq.push(o)},trackEvent:function(){var o=["_trackEvent"];o.push.apply(o,arguments);_gaq.push(o)},clickPerson:function(){_gaq.push(["_trackEvent","contact-person","click",window.location.pathname])}};
define("j/mailto",["require","exports","module"],function(){if(document.getElementsByClassName("mailto"))for(var o=document.getElementsByClassName("mailto"),v=0;v<o.length;v++){var y=o[v].getAttribute("contact");y=eval("("+y+")");if(!y.domain)y.domain=stapel.config.domain;y=y.user+"@"+y.domain;onclickattr="";if(o[v].getAttribute("onclick"))onclickattr=o[v].getAttribute("onclick");o[v].setAttribute("href","mailto:"+y+"?subject=Webmail:%20");o[v].setAttribute("onclick",onclickattr+"stapel.track.trackPageview('/mailto/"+
y+"');");o[v].removeAttribute("contact")}});define("j/gallery",["require","exports","module"],function(){if(document.getElementById("gallery")){var o=document.location.protocol==="https:"?"https://":"http://";require([o+"ajax.googleapis.com/ajax/libs/prototype/1.6.1.0/prototype.js"],function(){require([o+"ajax.googleapis.com/ajax/libs/scriptaculous/1.8.3/effects.js",o+"ajax.googleapis.com/ajax/libs/scriptaculous/1.8.3/builder.js"]);require.ready(function(){require([require.s.baseUrl+"j/lightbox.js"])})})}});
(function(o,v){function y(q,p,A){return(q+(p-q)*A).toFixed(3)}function C(q,p,A){return q.substr(p,A||1)}function U(q,p,A){for(var D=2,t,r,G=[],L=[];t=3,r=arguments[D-1],D--;)if(C(r,0)=="r")for(r=r.match(/\d+/g);t--;)G.push(~~r[t]);else{if(r.length==4)r="#"+C(r,1)+C(r,1)+C(r,2)+C(r,2)+C(r,3)+C(r,3);for(;t--;)G.push(parseInt(C(r,1+t*2,2),16))}for(;t--;){D=~~(G[t+3]+(G[t]-G[t+3])*A);L.push(D<0?0:D>255?255:D)}return"rgb("+L.join(",")+")"}function ca(q){var p=parseFloat(q);q=q.replace(/^[\-\d\.]+/,"");
return isNaN(p)?{v:q,f:U,u:""}:{v:p,f:y,u:q}}function la(q){var p={},A=T.length,D;da.innerHTML='<div style="'+q+'"></div>';for(q=da.childNodes[0].style;A--;)if(D=q[T[A]])p[T[A]]=ca(D);return p}var da=document.createElement("div"),T="backgroundColor borderBottomColor borderBottomWidth borderLeftColor borderLeftWidth borderRightColor borderRightWidth borderSpacing borderTopColor borderTopWidth bottom color fontSize fontWeight height left letterSpacing lineHeight marginBottom marginLeft marginRight marginTop maxHeight maxWidth minHeight minWidth opacity outlineColor outlineOffset outlineWidth paddingBottom paddingLeft paddingRight paddingTop right textIndent top width wordSpacing zIndex".split(" ");
v[o]=function(q,p,A,D){q=typeof q=="string"?document.getElementById(q):q;A=A||{};var t=la(p);p=q.currentStyle?q.currentStyle:getComputedStyle(q,null);var r,G={},L=+new Date,H=A.duration||200,I=L+H,N,O=A.easing||function(P){return-Math.cos(P*Math.PI)/2+0.5};for(r in t)G[r]=ca(p[r]);N=setInterval(function(){var P=+new Date,ea=P>I?1:(P-L)/H;for(r in t)q.style[r]=t[r].f(G[r].v,t[r].v,O(ea))+t[r].u;if(P>I){clearInterval(N);A.after&&A.after();D&&setTimeout(D,1)}},10)}})("emile",this);define("j/emile",function(){});
require(["j/getelementsbyclasssname","j/ga","j/mailto","j/gallery","j/emile"]);stapel=stapel||[];stapel.config={domain:"stapel-catering.de"};
require.ready(function(){if((document.getElementById("claim")||0)&&(typeof document.getElementById("claim").style.opacity!=="undefined"||0))emile("claim","opacity:1",{duration:1500,after:function(){if(document.getElementById("claim-since")){var o=document.getElementById("claim-since").style.left;document.getElementById("claim-since").style.left=parseInt(o)-25+"px";emile("claim-since","opacity:1;left:"+o,{duration:1500})}}});require("j/ga").init()});define("stapel",function(){});
