/*

 Copyright (c) 2009 Andrey Tarantsov, YourSway LLC (http://crashkitapp.appspot.com/)

 Permission to use, copy, modify, and/or distribute this software for any
 purpose with or without fee is hereby granted, provided that the above
 copyright notice and this permission notice appear in all copies.
 df_lib.js
 Build: 2012-02-01 09:57:36 CET
 domainfactory GmbH <http://www.df.eu/>

 jQuery.Rule - Css Rules manipulation, the jQuery way.
 Copyright (c) 2007-2011 Ariel Flesler - aflesler(at)gmail(dot)com | http://flesler.blogspot.com
 Dual licensed under MIT and GPL.
*/
try{if("undefined"===typeof CrashKit)var CrashKit={};CrashKit.report=function(){var a=[],b=null,c=null,d=function(b){var c=null,d;for(d in a)try{a[d](b)}catch(e){c=e}if(c)throw c;},e=function(a){if(c){if(b==a)return;var e=c;b=c=null;d(e)}var g=CrashKit.computeStackTrace(a,1);c=g;b=a;window.setTimeout(function(){b==a&&(b=c=null,d(g))},g.incomplete?500:1);throw a;};window.onerror=function(a,e,g){var k=null;c?(CrashKit.computeStackTrace.augmentStackTraceWithInitialElement(c,e,g),k=c,b=c=null):(e={url:e,
line:g},e.func=CrashKit.computeStackTrace.guessFunctionName(e.url,e.line),e.context=CrashKit.computeStackTrace.gatherContext(e.url,e.line),k={mode:"onerror",message:a,stack:[e]});d(k);return!1};if("undefined"!=typeof jQuery){var g=jQuery.fn.bind;jQuery.fn.bind=function(a,b,c){!c&&b&&"function"==typeof b&&(c=b,b=null);if(c)var d=c,c=function(){try{return d.apply(this,arguments)}catch(a){CrashKit.report(a)}};return g.call(this,a,b,c)}}e.subscribe=function(b){a.push(b)};return e}();CrashKit.computeStackTrace=
function(){var a={};"undefined"==typeof XMLHttpRequest&&(XMLHttpRequest=function(){try{return new ActiveXObject("Msxml2.XMLHTTP.6.0")}catch(a){}try{return new ActiveXObject("Msxml2.XMLHTTP.3.0")}catch(b){}try{return new ActiveXObject("Msxml2.XMLHTTP")}catch(c){}try{return new ActiveXObject("Microsoft.XMLHTTP")}catch(d){}throw Error("This browser does not support XMLHttpRequest.");});var b=function(b){if(!(b in a)){var c;try{var d=new XMLHttpRequest;d.open("GET",b,!1);d.send("");c=d.responseText}catch(e){c=
""}a[b]=c.split("\n")}return a[b]},c=function(a,c){var d;a:{d=b(a);for(var e=/function ([^(]*)\(([^)]*)\)/,f=/['"]?([0-9A-Za-z$_]+)['"]?\s*[:=]\s*(function|eval|new Function)/,j="",g=0;10>g;++g)if(j=d[c-g]+j,void 0!==j){var k=f.exec(j);if(k){d=k[1];break a}if((k=e.exec(j))&&k[1]){d=k[1];break a}}d="?"}return d},d=function(a,c){for(var d=b(a),e=[],j=!1,c=c-1,f=c-2;f<=c+2;f++){var g=d[f];"undefined"!=typeof g&&(j=!0,128<g.length&&(g=g.substr(0,128)+" [...]"));e.push(g)}return j?e:null},e=function(a){arguments.callee.sRE||
(arguments.callee.sRE=RegExp("(\\/|\\.|\\*|\\+|\\?|\\||\\(|\\)|\\[|\\]|\\{|\\}|\\\\)","g"));return a.replace(arguments.callee.sRE,"\\$1")},g=function(a){return e(a).replace("<","(?:<|&lt;)").replace(">","(?:>|&gt;)").replace("&","(?:&|&amp;)").replace('"','(?:"|&quot;)').replace(/\s+/g,"\\s+")},h=function(a,c,d){for(var e in c){var j=b(c[e]);if(j){var j=j.join("\n"),f=a.exec(j);if(f)return a={url:c[e],line:null},a.startLine=j.substring(0,f.index).split("\n").length,d&&(a.line=a.startLine),a}}return null},
f=function(a){for(var b=[window.location.href],c=document.getElementsByTagName("script"),d=0;d<c.length;d++){var j=c[d];j.src&&b.push(j.src)}a=""+a;d=!1;if(/^function(?:\s+([\w$]+))?\s*\(([\w\s,]+)\)\s*\{\s*(\S[\s\S]*\S)\s*\}\s*$/.test(a))var j=RegExp.$1,f=RegExp.$2,c=RegExp.$3,f=f.split(",").join("\\s*,\\s*"),j=j?"\\s+"+j:"",d=1==c.split("\n").length,c=e(c).replace(/;$/,";?").replace(/\s+/g,"\\s+"),c=RegExp("function"+j+"\\s*\\("+f+"\\)\\s*{\\s*"+c+"\\s*}");else c=RegExp(e(a));if(d=h(c,b,d))return d;
if(/^function on([\w$]+)\s*\(event\)\s*\{\s*(\S[\s\S]*\S)\s*\}\s*$/.test(a)){d=RegExp.$1;c=RegExp.$2;c=g(c);if((d=h(RegExp("on"+d+"=[\\'\"]\\s*"+c+"\\s*[\\'\"]","i"),b,!0))||(d=h(RegExp(c),b,!0)))return d}window.console&&console.info("Function code not found in HTML and all SCRIPTs (please contact CrashKit support):\n"+a);return null},l=function(a,b,e){b={url:b,line:e};if(b.url&&b.line){a.incomplete=!1;b.func||(b.func=c(b.url,b.line));b.context||(b.context=d(b.url,b.line));if(0<a.stack.length&&a.stack[0].url==
b.url){if(a.stack[0].line==b.line)return;if(!a.stack[0].line&&a.stack[0].func==b.func){a.stack[0].line=b.line;a.stack[0].context=b.context;return}}a.stack.splice(0,0,b);return a.partial=!0}a.incomplete=!0},k=function(a,b){for(var d=/function\s*([\w\-$]+)?\s*\(/i,e=[],j={},g=!1,k=arguments.callee.caller;k&&!g;k=k.caller){var h=k.name||"";h||(h=d.test(k.toString())?RegExp.$1||"":"");var g=f(k),t=null,w=null;g&&(t=g.url,w=g.line,h||(h=c(t,g.startLine)));g=!!j[k];j[k]=!0;h={url:t,func:h,line:w};g&&(h.recursion=
!0);e.push(h)}e.splice(0,b);d={mode:"callers",name:a.name,message:a.message,stack:e};l(d,a.sourceURL||a.fileName,a.line||a.lineNumber);return d},j=function(a,e){var j=null,e="undefined"==typeof e?0:e-0;try{if(a.stack){var f=/^\s*(?:(\w*)\(.*\))?@((?:file|http).*):(\d+)\s*$/i,l=a.stack.split("\n"),m=[],r;for(r in l)if(f.test(l[r])){var v={url:RegExp.$2,func:RegExp.$1,line:RegExp.$3};!v.func&&v.line&&(v.func=c(v.url,v.line));v.line&&(v.context=d(v.url,v.line));m.push(v)}j=!m.length?null:{mode:"firefox",
name:a.name,message:a.message,stack:m}}else j=null;if(j)return j}catch(t){}try{var w=a.message.split("\n");if(4>w.length)j=null;else{f=/^\s*Line (\d+) of linked script ((?:file|http)\S+)(?:: in function (\S+))?\s*$/i;l=/^\s*Line (\d+) of inline#(\d+) script in ((?:file|http)\S+)(?:: in function (\S+))?\s*$/i;m=/^\s*Line (\d+) of function script\s*$/i;r=[];var s=document.getElementsByTagName("script"),v=[],x;for(x in s)s[x].src||v.push(s[x]);x=2;for(var z=w.length;x<z;x+=2){s=null;if(f.test(w[x]))s=
{url:RegExp.$2,func:RegExp.$3,line:RegExp.$1};else if(l.test(w[x])){var s={url:RegExp.$3,func:RegExp.$4},E=RegExp.$1-0,B=v[RegExp.$2-1];if(B){var y=b(s.url);if(y){var y=y.join("\n"),C=y.indexOf(B.innerText);0<=C&&(s.line=E+y.substring(0,C).split("\n").length)}}}else if(m.test(w[x])){var D=window.location.href.replace(/#.*$/,""),F=RegExp(g(w[x+1]));(y=h(F,[D],!0))&&(s={url:D,line:y.line,func:""})}if(s){s.func||(s.func=c(s.url,s.line));var A=d(s.url,s.line),G=A?A[Math.floor(A.length/2)]:null;s.context=
A&&G.replace(/^\s*/,"")==w[x+1].replace(/^\s*/,"")?A:[w[x+1]];r.push(s)}}j=!r.length?null:{mode:"opera",name:a.name,message:w[0],stack:r}}if(j)return j}catch(H){}try{if(j=k(a,e+1))return j}catch(I){}return{mode:"failed"}};j.augmentStackTraceWithInitialElement=l;j.guessFunctionName=c;j.gatherContext=d;j.ofCaller=function(a){a=("undefined"==typeof a?0:a-0)+1;try{0()}catch(b){return j(b,a+1)}};return j}()}catch(ex$$7){"object"===typeof CrashKit&&"function"===typeof CrashKit.raise&&CrashKit.raise("df_lib.js:crashkit-javascript.js",
ex$$7)}
try{var reportJsError=function(a){try{"undefined"==typeof this.once&&(this.once=!0,jQuery.post("/errorlog.php",{hErrorData:{hErrorInfo:a,hErrorData:"object"==typeof CrashKit&&"undefined"!=typeof CrashKit.hData?CrashKit.hData:null,sErrorPageURL:document.location.href,sErrorRefererURL:document.referrer,sErrorUserAgent:navigator.userAgent}}))}catch(b){}};"undefined"==typeof CrashKit&&(CrashKit={});"undefined"==typeof CrashKit.hData&&(CrashKit.hData={});CrashKit.raise=function(a,b){CrashKit.hData.sJsModule=a;
"function"==typeof CrashKit.report&&CrashKit.report(b)};"object"===typeof CrashKit&&"function"===typeof CrashKit.report&&CrashKit.report.subscribe(reportJsError)}catch(ex$$8){"object"===typeof CrashKit&&"function"===typeof CrashKit.raise&&CrashKit.raise("df_lib.js:jserrorlog.js",ex$$8)}
try{DF={},DF.apply=function(a,b,c){c&&DF.apply(a,c);if(a&&b&&"object"==typeof b)for(var d in b)d&&(a[d]=b[d]);return a},function(){var a=0,b=Object.prototype.toString,c=navigator.userAgent.toLowerCase(),d=function(a){return a.test(c)},e=document,g=d(/opera/),h=d(/chrome/),f=d(/webkit/);(h=!h&&d(/safari/))&&d(/applewebkit\/4/);h&&d(/version\/3/);h&&d(/version\/4/);var l=!g&&d(/msie/),h=l&&d(/msie 7/),k=l&&d(/msie 8/),j=l&&d(/msie 9/),j=l&&!h&&!k&&!j,q=!f&&d(/gecko/);q&&d(/rv:1\.8/);q&&d(/rv:1\.9/);
d(/windows|win32/);d(/macintosh|mac os x/);d(/adobeair/);d(/linux/);/^https/i.test(window.location.protocol);if(j)try{e.execCommand("BackgroundImageCache",!1,!0)}catch(o){}DF.apply(DF,{isIE:l,isIE6:j,isIE7:h,isIE8:k,isWebKit:f,isOpera:g,App:{},Data:{},Helpers:{},Templates:{},Util:{},BLANK:"/pics/1x1trans.gif",BUSY_IMG:"/pics/loading.gif",SPINNER:"/pics/spinner_white.svg",BRAND:null,ready:function(a,b){"undefined"!==typeof jQuery&&jQuery(a.createDelegate(b||this))},exists:function(a){return"undefined"!==
typeof a},isEmpty:function(a,b){return"undefined"===typeof a||null===a||this.isArray(a)&&0===a.length||(!b?""===a:!1)},emptyFn:function(a){return a},extend:function(){var a=function(a){for(var b in a)null!==DF.type(a[b])&&(this[b]=a[b])},b=Object.prototype.constructor;return function(c,d,e){"object"==typeof d&&(e=d,d=c,c=e.constructor!=b?e.constructor:function(){d.apply(this,arguments)});var j=function(){},f=d.prototype;j.prototype=f;j=c.prototype=new j;j.constructor=c;c.superclass=f;f.constructor==
b&&(f.constructor=d);c.override=function(a){DF.override(c,a)};j.superclass=function(){return f};j.override=a;DF.override(c,e);c.extend=function(a){return DF.extend(c,a)};return c}}(),applyIf:function(a,b){if(a&&b)for(var c in b)DF.isDefined(a[c])||(a[c]=b[c]);return a},applyRecursive:function(a,b,c){if("string"===typeof b)return c&&c.constructor===Object?a[b]&&a[b].constructor===Object?DF.applyRecursive(a[b],c):a[b]=DF.apply({},c):a[b]=c,a;for(var d=1,e=arguments.length,j,f;d<e;d++)for(f in j=arguments[d],
j)j.hasOwnProperty(f)&&DF.applyRecursive(a,f,j[f]);return a},override:function(a,b){b&&(DF.apply(a.prototype,b),DF.isIE&&b.hasOwnProperty("toString")&&(a.prototype.toString=b.toString))},urlEncode:function(a,b){var c,d=[],e=encodeURIComponent;DF.iterate(a,function(a,b){c=DF.isEmpty(b);DF.each(c?a:b,function(b){d.push("&",e(a),"=",!DF.isEmpty(b)&&(b!=a||!c)?DF.isDate(b)?DF.encode(b).replace(/"/g,""):e(b):"")})});b||(d.shift(),b="");return b+d.join("")},urlDecode:function(a,b){if(DF.isEmpty(a))return{};
var c={},d=a.split("&"),e=decodeURIComponent,j,f;DF.each(d,function(a){a=a.split("=");j=e(a[0]);f=e(a[1]);c[j]=b||!c[j]?f:[].concat(c[j]).concat(f)});return c},urlAppend:function(a,b){return!DF.isEmpty(b)?a+(-1===a.indexOf("?")?"?":"&")+b:a},toArray:function(){return l?function(a,b,c,d){for(var d=[],e=0,j=a.length;e<j;e++)d.push(a[e]);return d.slice(b||0,c||d.length)}:function(a,b,c){return Array.prototype.slice.call(a,b||0,c||a.length)}}(),isIterable:function(a){return DF.isArray(a)||a.callee||/NodeList|HTMLCollection/.test(b.call(a))?
!0:(a.nextNode||a.item)&&DF.isNumber(a.length)},each:function(a,b,c){if(!DF.isEmpty(a,!0)){if(!DF.isIterable(a)||DF.isPrimitive(a))a=[a];for(var d=0,e=a.length;d<e;d++)if("undefined"!==typeof a[d]&&!1===b.call(c||a[d],a[d],d,a))return d}},iterate:function(a,b,c){if(!DF.isEmpty(a))if(DF.isIterable(a))DF.each(a,b,c);else if(DF.isObject(a))for(var d in a)if(a.hasOwnProperty(d)&&!1===b.call(c||a,d,a[d],a))break},arrayToHash:function(a,b){if("object"==DF.type(a))return a;if("array"!==DF.type(a))throw"argument is not an array";
var c={};DF.each(a,function(a,d){void 0!==b&&"object"==DF.type(a)&&void 0!==a[b]?c[a[b]]=a:c[d]=a});return c},hashKeyExists:function(a,b){return"object"!=typeof b||void 0==a?!1:b.hasOwnProperty(a)},hashKeys:function(a){var b=[];if(!DF.isEmpty(a))for(var c in a)"function"!==DF.type(a[c])&&b.push(c);return b},clone:function(a,b){if(null==a||"object"!=typeof a)return a;var c=a.constructor(),d;for(d in a)c[d]="object"==typeof a&&b?DF.clone(a[d],b):a[d];return c},id:function(b){var c="df-"+ ++a;return b?
b.id?b.id:b.id=c:c},isTrue:function(a){return!0===a||!1!==a&&void 0!==a&&"NULLFALLERA"!==a&&null!==a&&0!==Number(a)&&""!==a&&"f"!==a&&"F"!==a&&!/^true$/i.test(a)},isArray:function(a){return"[object Array]"===b.apply(a)},isDate:function(a){return"[object Date]"===b.apply(a)},isObject:function(a){return!!a&&"[object Object]"===Object.prototype.toString.call(a)},isPrimitive:function(a){return DF.isString(a)||DF.isNumber(a)||DF.isBoolean(a)},isFunction:function(a){return"[object Function]"===b.apply(a)},
isNumber:function(a){return"number"===typeof a&&isFinite(a)},isString:function(a){return"string"===typeof a},isHash:function(a){if("object"!==DF.type(a))return!1;var b,c=!0;for(b in a)if("function"===typeof a[b]){c=!1;break}return c},isBoolean:function(a){return"boolean"===typeof a},isElement:function(a){return!!a&&a.tagName},isDefined:function(a){return"undefined"!==typeof a},type:function(a){if(void 0===a||null===a)return!1;if(a.htmlElement)return"element";var b=typeof a;if("object"==b&&a.nodeName)switch(a.nodeType){case 1:return"element";
case 3:return/\S/.test(a.nodeValue)?"textnode":"whitespace"}if("object"==b||"function"==b){switch(a.constructor){case Array:return"array";case RegExp:return"regexp";case Date:return"date"}if("number"==typeof a.length&&"function"==typeof a.item)return"nodelist"}return b},escapeRe:function(a){return a.replace(/([\-.*+?\^${}()|\[\]\/\\])/g,"\\$1")},isEqual:function(a,b){if(a===b)return!0;if(DF.type(a)!==DF.type(b))return!1;var c,d=function(a,b,c){a=a[c];b=b[c];switch(DF.type(a)){case "object":return DF.isEqual(a,
b);case "function":return a.toString()===b.toString();default:return a===b}};if(a instanceof jQuery&&b instanceof jQuery)return a.equals(b);for(c in a)if(!DF.isDefined(b[c])||!d(a,b,c))return!1;for(c in b)if(!DF.isDefined(a[c])||!d(a,b,c))return!1;return!0},numberFormat:function(a,b,c,d){var e="",a=Number(a);if(isNaN(a)||void 0==a||null==a)throw"invalid number";if(void 0==b)b=0;else if(!DF.isNumber(b)||isNaN(b))throw"invalid decimals";if(void 0==c)c=".";else if(!DF.isString(c)||1!=c.length)throw"invalid dec_point";
if(void 0==d)d=",";else if(!DF.isString(d)||1!=d.length)throw"invalid thousand_sep";sNumber=""+a.toFixed(b);asParts=sNumber.split(".");for(a=asParts[0];3<a.length;)e=d+a.substring(-3)+e,a=a.substring(0,a.length-3);e=a+e;1<asParts.length&&(e=e+c+asParts[1]);return e}});DF.merge=DF.applyRecursive}(),DF.apply(Function.prototype,{createCallback:function(){var a=arguments,b=this;return function(){return b.apply(window,a)}},createDelegate:function(a,b,c){var d=this;return function(){var e=b||arguments;
if(!0===c)e=Array.prototype.slice.call(arguments,0),e=e.concat(b);else if(DF.isNumber(c)){var e=Array.prototype.slice.call(arguments,0),g=[c,0].concat(b);Array.prototype.splice.apply(e,g)}return d.apply(a||window,e)}},defer:function(a,b,c,d){b=this.createDelegate(b,c,d);if(0<a)return setTimeout(b,a);b();return 0},deferIt:function(){var a=Array.prototype.slice.call(arguments,0),b=this,c=function(c,e){var g=b.createDelegate(e,a);if(0<c)return setTimeout(g,c);g()};return c.by=c},createSequence:function(a,
b){var c=this;return!DF.isFunction(a)?this:function(){var d=c.apply(this||window,arguments);a.apply(b||this||window,arguments);return d}},createInterceptor:function(a,b){var c=this;return!DF.isFunction(a)?this:function(){var d=arguments;a.target=this;a.method=c;return!1!==a.apply(b||this||window,d)?c.apply(this||window,d):null}}}),DF.applyIf(String,{format:function(a){var b=Array.prototype.slice.call(arguments,1);return a.replace(/\{(\d+)\}/g,function(a,d){return b[d]})},escape:function(a){return a?
a.replace(/('|\\)/g,"\\$1"):a},leftPad:function(a,b,c){a=""+a;for(c||(c=" ");a.length<b;)a=c+a;return a}}),String.prototype.trim=function(){var a=/^\s+|\s+$/g;return function(){return this.replace(a,"")}}(),String.prototype.ltrim=function(){var a=/^\s+/g;return function(){return this.replace(a,"")}}(),String.prototype.rtrim=function(){var a=/\s+$/g;return function(){return this.replace(a,"")}}(),String.prototype.htmlEncode=function(){var a={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;"},b=[],c,d;
for(c in a)b.push(c);d=RegExp("("+b.join("|")+")","g");return function(){return!this.length?this:this.replace(d,function(b,c){return a[c]})}}(),String.prototype.htmlDecode=function(){var a={"&amp;":"&","&gt;":">","&lt;":"<","&quot;":'"'},b=[],c,d;for(c in a)b.push(c);d=RegExp("("+b.join("|")+"|&#[0-9]{1,5};)","g");return function(){return!this.length?this:this.replace(d,function(b,c){return c in a?a[c]:String.fromCharCode(parseInt(c.substr(2),10))})}}(),Date.prototype.getElapsed=function(a){return Math.abs((a||
new Date).getTime()-this.getTime())},DF.applyIf(Number.prototype,{constrain:function(a,b){return Math.min(Math.max(this,a),b)},between:function(a,b){a>b&&(a=-(b=(a+=b)-b)+a);return this>a&&this<b},within:function(a,b){a>b&&(a=-(b=(a+=b)-b)+a);return this>=a&&this<=b}}),function(a){a.fn.equals=function(a){if(!a||!a.length||this.length!=a.length)return!1;for(var c=0;c<this.length;c++)if(this[c]!==a[c])return!1;return!0};a.fn.dfSlideToggle=function(){for(var b=null,c=400,d=arguments.length;d--;)"function"==
typeof arguments[d]?b=arguments[d]:c=arguments[d];return this.each(function(){var d=a(this);d.data("iTargetHeight")||d.data("iTargetHeight",d.css("height","auto").show().height()).height(0).hide();a(this).data("closing")?(a(this).data("closing",0),d.stop(!0,!1).animate({height:0},c,function(){a(this).hide();b&&b()})):(a(this).data("closing",1),d.stop(!0,!1).animate({height:d.data("iTargetHeight")},c,function(){a(this).show();b&&b()}))})};a.fn.watchAttrChange=function(b,c,d){var e=!1;"function"==typeof c&&
(d=c,e=!0);return this.each(function(){var g=a(this);if(!(!e&&g.attr(b)!=c&&!1===d.call(this,b,c,g.attr(b)))){var h=g.attr(b);setTimeout(function(){g.watchAttrChange(b,h,d)}.createDelegate(this),10)}})};a.fn.scrollIntoView=function(b){this.inViewPort(!1).each(function(){a("html").animate({scrollTop:a(this).offset().top},b);return!1});return this};a.fn.inViewPort=function(b){var c=a(window).scrollTop(),d=a(window).height();"undefined"==typeof b&&(b=!0);return this.filter(function(){return c+d>a(this).offset().top&&
c<a(this).offset().top?b:!b})};a.fn.selectText=function(){var a=window.document;if(window.getSelection&&a.createRange){var c=window.getSelection();c.removeAllRanges();this.each(function(){window.getSelection&&a.createRange&&(d=a.createRange(),d.selectNodeContents(this),c.addRange(d))})}else if(a.body.createTextRange){var d=a.body.createTextRange();d.moveToElementText(this[this.length-1]);d.select()}return this}}(jQuery),function(a){a.extend({debounce:function(a,c,d,e){3==arguments.length&&"boolean"!=
typeof d&&(e=d,d=!1);var g;return function(){var h=arguments;e=e||this;d&&!g&&a.apply(e,h);clearTimeout(g);g=setTimeout(function(){d||a.apply(e,h);g=null},c)}},throttle:function(a,c,d){var e,g,h;return function(){g=arguments;h=!0;d=d||this;e||function(){h?(a.apply(d,g),h=!1,e=setTimeout(arguments.callee,c)):e=null}()}}})}(jQuery),String.prototype.stripAccents=function(){return this.replace(/[\u00e0\u00e1\u00e2\u00e3\u00e5]/g,"a").replace(/[\u00c0\u00c1\u00c2\u00c3\u00c5]/g,"A").replace(/\u00e7/g,
"c").replace(/\u00c7/g,"C").replace(/[\u00e8\u00e9\u00ea\u00eb]/g,"e").replace(/[\u00c8\u00c9\u00ca\u00cb]/g,"E").replace(/\u00f0/g,"dh").replace(/\u00d0/g,"Dh").replace(/[\u00ec\u00ed\u00ee\u00ef]/g,"i").replace(/[\u00cc\u00cd\u00ce\u00cf]/g,"I").replace(/\u00f1/g,"n").replace(/\u00d1/g,"N").replace(/[\u00f2\u00f3\u00f4\u00f5]/g,"o").replace(/[\u00d2\u00d3\u00d4\u00d5]/g,"O").replace(/\u00fe/g,"th").replace(/\u00de/g,"Th").replace(/[\u00f9\u00fa\u00fb]/g,"u").replace(/[\u00d9\u00da\u00db]/g,"U").replace(/[\u00fd\u00ff]/g,
"y").replace(/\u00dd/g,"Y")},String.prototype.asciifyUmlaute=function(){return this.replace(/\u00df/g,"ss").replace(/[\u00e4\u00e6]/g,"ae").replace(/[\u00c4\u00c6]/g,"Ae").replace(/[\u00f6\u00f8]/g,"oe").replace(/[\u00d6\u00d8]/g,"Oe").replace(/\u00fc/g,"ue").replace(/\u00dc/g,"Ue")},String.prototype.stripUmlaute=function(){return this.replace(/\u00df/g,"ss").replace(/[\u00e4\u00e6]/g,"a").replace(/[\u00c4\u00c6]/g,"A").replace(/[\u00f6\u00f8]/g,"o").replace(/[\u00d6\u00d8]/g,"O").replace(/\u00fc/g,
"u").replace(/\u00dc/g,"U")},String.prototype.localeCmp=function(a){return this.asciifyUmlaute().stripAccents().localeCompare(a.asciifyUmlaute().stripAccents())},String.prototype.firstCharIsUmlaut=function(){return/[\u00df\u00e4\u00e6\u00c4\u00c\u00f6\u00f8\u00d6\u00d8\u00fc\u00dc]/.test(this.substr(0,1))},String.prototype.langSort=function(a,b){"at"!=b&&(b="de");var c=this.substr(0,1),d=a.substr(0,1);if(""===c&&""===d)return 0;if(c===d)return this.substr(1).langSort(a.substr(1),b);var e;e="de"==
b?/[\u00df\u00e4\u00e6\u00c4\u00c\u00f6\u00f8\u00d6\u00d8\u00fc\u00dc]/:/\u00df/;var g=e.test(c);e=e.test(d);if(g&&!e)d+=a.substr(1,1);else if(e&&!g)c+=this.substr(1,1);else return c.localeCompare(d);return"de"==b?c.asciifyUmlaute().localeCmp(d.asciifyUmlaute())||(g?1:-1):c.stripUmlaute().localeCmp(d.stripUmlaute())||(g?1:-1)}}catch(ex$$9){"object"===typeof CrashKit&&"function"===typeof CrashKit.raise&&CrashKit.raise("df_lib.js:core.js",ex$$9)}
try{DF.apply(DF.Util,{isEmptyHash:function(a){for(var b in a)if(a.hasOwnProperty(b))return!1;return!0},parseUri:function(a){for(var a=a||self.location,b="source,protocol,authority,userInfo,user,password,host,port,relative,path,directory,file,query,anchor".split(","),a=/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@]*):?([^:@]*))?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/.exec(a),c={},d=14;d--;)c[b[d]]=a[d]||"";c.queryKey=
{};c[b[12]].replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(a,b,d){b&&(c.queryKey[b]=d)});return c},hasValue:function(a,b){for(var c in b)if(b[c]==a)return c;return!1},hasKey:function(a,b){for(var c in b)if(c==a)return c;return!1}}),DF.Util.isEmpty=DF.Util.isEmptyHash,DF.Util.isTrue=DF.isTrue,DF.Util.isArray=DF.isArray,DF.Util.hashKeys=DF.hashKeys,DF.Util.Sorter={langSort:function(a,b,c,d,e){"at"!=e&&(e="de");return(""+a).langSort(""+b,e)}},$.expr[":"].isVisible=function(a){var b=!0;$(a).parents().each(function(){var a=
$(this);if(0<a.filter(":hidden").length||"hidden"==a.css("visibility"))b=!1});return b},DF.Util.lazyLoadAGB=function(a,b){var c=$(a);0<c.filter(":isVisible").length?0<c.filter(".lazyLoading").length||(c.addClass("lazyLoading"),c.load("get_agb.php",b,function(){c.addClass("agbLoaded")})):setTimeout(function(){DF.Util.lazyLoadAGB(a,b)},250)}}catch(ex$$10){"object"===typeof CrashKit&&"function"===typeof CrashKit.raise&&CrashKit.raise("df_lib.js:util.js",ex$$10)}
try{DF.apply(DF.Util,{utf16decode:function(a){for(var b=[],c=0,d=a.length,e,g;c<d;){e=a.charCodeAt(c++);if(55296===(e&63488)){g=a.charCodeAt(c++);if(55296!==(e&64512)||56320!==(g&64512))throw new RangeError("UTF-16(decode): Illegal UTF-16 sequence");e=((e&1023)<<10)+(g&1023)+65536}b.push(e)}return b},utf16encode:function(a){for(var b=[],c=0,d=a.length,e;c<d;){e=a[c++];if(55296===(e&63488))throw new RangeError("UTF-16(encode): Illegal UTF-16 value");65535<e&&(e-=65536,b.push(String.fromCharCode(e>>>
10&1023|55296)),e=56320|e&1023);b.push(String.fromCharCode(e))}return b.join("")}}),DF.apply(String.prototype,{toUTF16:function(){return DF.Util.utf16encode(this)},fromUTF16:function(){return DF.Util.utf16decode(this)}}),DF.Util.Punycode=function(){function a(a,b,k){a=k?Math.floor(a/d):a>>1;a+=Math.floor(a/b);for(b=0;a>(c-e)*g>>1;b+=c)a=Math.floor(a/(c-e));return Math.floor(b+(c-e+1)*a/(a+h))}function b(a,b){a-=(26>a-97)<<5;return a+((!b&&26>a-65)<<5)}var c=36,d=700,e=1,g=26,h=38;return{decode:function(b,
d){var k=[],j=[],h=b.length,o,n,p,u,m,r,v,t,w;o=128;p=0;u=72;m=b.lastIndexOf("-");0>m&&(m=0);for(r=0;r<m;++r){d&&(j[k.length]=26>b.charCodeAt(r)-65);if(128<=b.charCodeAt(r))throw new RangeError("Illegal input >= 0x80");k.push(b.charCodeAt(r))}for(m=0<m?m+1:0;m<h;){for(r=p,n=1,v=c;;v+=c){if(m>=h)throw RangeError("punycode_bad_input(1)");t=b.charCodeAt(m++);t=10>t-48?t-22:26>t-65?t-65:26>t-97?t-97:c;if(t>=c)throw RangeError("punycode_bad_input(2)");if(t>Math.floor((2147483647-p)/n))throw RangeError("punycode_overflow(1)");
p+=t*n;w=v<=u?e:v>=u+g?g:v-u;if(t<w)break;if(n>Math.floor(2147483647/(c-w)))throw RangeError("punycode_overflow(2)");n*=c-w}n=k.length+1;u=a(p-r,n,0===r);if(Math.floor(p/n)>2147483647-o)throw RangeError("punycode_overflow(3)");o+=Math.floor(p/n);p%=n;d&&j.splice(p,0,26>b.charCodeAt(m-1)-65);k.splice(p,0,o);p++}if(d)for(p=0,h=k.length;p<h;p++)j[p]&&(k[p]=String.fromCharCode(k[p]).toUpperCase().charCodeAt(0));return DF.Util.utf16encode(k)},encode:function(d,h){var k,j,q,o,n,p,u,m,r,v;h&&(v=DF.Util.utf16decode(d));
var d=DF.Util.utf16decode(d.toLowerCase()),t=d.length;if(h)for(p=0;p<t;p++)v[p]=d[p]!=v[p];var w=[];k=128;j=0;n=72;for(p=0;p<t;++p)128>d[p]&&w.push(String.fromCharCode(v?b(d[p],v[p]):d[p]));q=o=w.length;for(0<o&&q<d.length&&w.push("-");q<t;){for(u=2147483647,p=0;p<t;++p)m=d[p],m>=k&&m<u&&(u=m);if(u-k>Math.floor((2147483647-j)/(q+1)))throw RangeError("punycode_overflow (1)");j+=(u-k)*(q+1);k=u;for(p=0;p<t;++p){m=d[p];if(m<k&&2147483647<++j)return Error("punycode_overflow(2)");if(m==k){for(u=j,m=c;;m+=
c){r=m<=n?e:m>=n+g?g:m-n;if(u<r)break;w.push(String.fromCharCode(r+(u-r)%(c-r)+22+75*(26>r+(u-r)%(c-r))-0));u=Math.floor((u-r)/(c-r))}w.push(String.fromCharCode(u+22+75*(26>u)-((0!=(h&&v[p]?1:0))<<5)));n=a(j,q+1,q==o);j=0;++q}}++j;++k}return w.join("")}}}(),DF.apply(String.prototype,{toPunycode:function(){return DF.Util.Punycode.encode(this)},fromPunycode:function(){return DF.Util.Punycode.decode(this)}})}catch(ex$$11){"object"===typeof CrashKit&&"function"===typeof CrashKit.raise&&CrashKit.raise("df_lib.js:punycode.js",
ex$$11)}
try{DF.Json=DF.Json||function(){function a(a){d.lastIndex=0;return d.test(a)?'"'+a.replace(d,function(a){var b=h[a];return"string"===typeof b?b:"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+a+'"'}function b(c,d){var j,h,o,n,p=e,u,m=d[c];m&&"object"===typeof m&&"function"===typeof m.toJson&&(m=m.toJson(c));"function"===typeof f&&(m=f.call(d,c,m));switch(typeof m){case "string":return a(m);case "number":return isFinite(m)?""+m:"null";case "boolean":case "null":return""+m;case "object":if(!m)return"null";e+=
g;u=[];if("[object Array]"===Object.prototype.toString.apply(m)){n=m.length;for(j=0;j<n;j+=1)u[j]=b(j,m)||"null";o=0===u.length?"[]":e?"[\n"+e+u.join(",\n"+e)+"\n"+p+"]":"["+u.join(",")+"]";e=p;return o}if(f&&"object"===typeof f){n=f.length;for(j=0;j<n;j+=1)h=f[j],"string"===typeof h&&(o=b(h,m))&&u.push(a(h)+(e?": ":":")+o)}else for(h in m)Object.hasOwnProperty.call(m,h)&&(o=b(h,m))&&u.push(a(h)+(e?": ":":")+o);o=0===u.length?"{}":e?"{\n"+e+u.join(",\n"+e)+"\n"+p+"}":"{"+u.join(",")+"}";e=p;return o}}
var c=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,d=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,e,g,h={"\u0008":"\\b","\t":"\\t","\n":"\\n","\u000c":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},f;return{encode:function(a,c,d){var h;g=e="";if("number"===typeof d)for(h=0;h<d;h+=1)g+=" ";else"string"===typeof d&&(g=d);if((f=c)&&"function"!==typeof c&&("object"!==typeof c||
"number"!==typeof c.length))throw Error("DF.Json.encode");return b("",{"":a})},decode:function(a,b){function d(a,c){var e,f,g=a[c];if(g&&"object"===typeof g)for(e in g)Object.hasOwnProperty.call(g,e)&&(f=d(g,e),void 0!==f?g[e]=f:delete g[e]);return b.call(a,c,g)}if(!a.length)return null;var e;c.lastIndex=0;c.test(a)&&(a=a.replace(c,function(a){return"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)}));if(/^[\],:{}\s]*$/.test(a.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,
"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return e=eval("("+a+")"),"function"===typeof b?d({"":e},""):e;return;throw new SyntaxError("DF.Json.decode");}}}(),DF.encode=DF.Json.encode,DF.decode=DF.Json.decode}catch(ex$$12){"object"===typeof CrashKit&&"function"===typeof CrashKit.raise&&CrashKit.raise("df_lib.js:json.js",ex$$12)}
try{DF.Cookie=function(){function a(a){document.cookie=b+a+"=null; expires="+(new Date(0)).toUTCString()+(null===c?"":"; path="+c)+(null===d?"":"; domain="+d)+(!0===e?"; secure":"")}var b="df",c=DF.Util.parseUri(location).directory,d=null,e=!1,g=function(){for(var a={},c,d=document.cookie.split(";"),e=RegExp("^\\s?"+b+"(.*)=(.*)");c=d.shift();)if(c=e.exec(c)){a[c[1]]=unescape(c[2]);try{a[c[1]]=DF.decode(a[c[1]])}catch(j){}}return a}();return{set:function(h,f,l){if(!DF.type(f))return this.del(h);g[h]=
f;a(h);switch(typeof f){case "undefined":case "function":case "object":case "array":f=DF.encode(f);f=escape(f);break;default:f=escape(f)}h=b+h+"="+f+(!DF.type(l)?"":"; expires="+l.toGMTString())+(!DF.type(c)?"":"; path="+c)+(!DF.type(d)?"":"; domain="+d)+(!0===e?"; secure":"")+";";document.cookie=h},get:function(a,b){return"undefined"==typeof g[a]?b:g[a]},del:function(b){delete g[b];a(b)}}}()}catch(ex$$13){"object"===typeof CrashKit&&"function"===typeof CrashKit.raise&&CrashKit.raise("df_lib.js:cookie.js",
ex$$13)}
try{(function(){function a(a,b,e,g){return function(){a.un(b,e,g);return e.apply(g||a,arguments)}}function b(a,b,e,g){var h;return function(){window.clearTimeout(h);var f=Array.prototype.slice.call(arguments,0);h=e.defer(b||0,g||a,f)}}DF.Notifier=function(a){DF.isString(a)?this.sSelector=a:DF.isObject(a)&&DF.apply(this,a);a=DF.apply({},this.hEvents);this.hEvents={};if(a)this.on(a);this._toggleDebug(this.bDebug);this._fire=function(a){a.stopPropagation();this.fire(a.type,this)}.createDelegate(this)};DF.Notifier.prototype=
{__className:"DF.Notifier",reOptions:/^(?:oScope|iDelay|bSingle|bPrepend|bAppendArgs)$/,bMonitoring:!1,sMonitorAttribute:"",jEl:null,destroy:function(){this.bDestroyed||(this.un(),this.jEl&&this.jEl.length&&this.jEl.remove(),this.jEl=this.hEvents=null,this.bDestroyed=!0)},on:function(c,d,e,g,h){if(DF.isObject(c)){var f=c,l;for(l in f){var k=f[l],g={};DF.iterate(f,function(a,b){this.reOptions.test(a)&&(g[a]=b)},this);this.reOptions.test(l)||(DF.isFunction(k)||DF.iterate(k,function(a,b){this.reOptions.test(a)&&
(g[a]=b)},this),DF.apply(g,k.hOptions),this.on(l,k.fnCallback||k,k.oScope||f.oScope,g,k.axArgs||f.axArgs))}return this}f=c.split(/\s+/);if(1<f.length)return h=Array.prototype.slice.call(arguments,1),DF.each(f,function(a){0<a.length&&this.on.apply(this,[a].concat(h))},this),this;if(!0===d)this.hEvents[c]=this.hEvents[c]||!0;else if(DF.isFunction(d)&&(g=g||{},f=d,h=h||[],c=c.toLowerCase(),DF.isArray(this.hEvents[c])||(this.hEvents[c]=[]),g.bSingle&&(f=a(this,c,f,e)),g.iDelay&&(f=b(this,g.iDelay||0,
f,e)),this.hEvents[c][g.bPrepend?"unshift":"push"]({fnCallback:d,fireFn:f,oScope:e,hOptions:g,axArgs:h}),(l=this.getEl())&&l.length&&DF.isFunction(l[c])&&this.hEvents[c].length))f=l.data("events"),(!f||!f[c])&&l.bind(c,this._fire);return this},un:function(a,b,e){if(!a)return DF.iterate(this.hEvents,function(a){this.hEvents[a]=!0},this),this;a=a.toLowerCase();if(!b)return this.hEvents[a]=!0,this;for(var g=this.hEvents[a],h=g.length;h--;){var f=g[h];f&&f.fnCallback==b&&f.oScope==e&&g.splice(h,1)}(b=
this.getEl())&&b.length&&DF.isFunction(b[a])&&!g.length&&b.unbind(a,this._fire);return this},fire:function(){if(!0===this.bEventsSuspended)return!1;var a=Array.prototype.slice.call(arguments,0),b=a[0].toLowerCase(),e=b.split(/\s+/);if(1<e.length)return a.shift(),DF.each(e,function(b){0<b.length&&this.fire.apply(this,[b].concat(a))},this),!0;var e=this.hEvents[b]||[],g=e.length,h=0;if(0===g)return!0;a.shift();this._startDebugging(this+": "+b);for(this.bFiring=!0;h<g;h++)if(b=e[h],axCallArgs=b.hOptions.bAppendArgs?
[].concat(a,b.axArgs):b.hOptions.bPrependArgs?[].concat(b.axArgs,a):Array.prototype.slice.call(a,0),this._debugEvent(b.oScope||0,axCallArgs),b&&!1===b.fireFn.apply(b.oScope||window,axCallArgs))return this._endDebugging(),this.bFiring=!1;this.bFiring=!1;this._endDebugging();return!0},pre:function(){var a=Array.prototype.slice.call(arguments,0);a[3]=a[3]||{};a[3].bPrepend=!0;return this.on.apply(this,a)},suspend:function(){this.bEventsSuspended=!0;return this},resume:function(){this.bEventsSuspended=
!1;return this},addEvents:function(a){this.hEvents=this.hEvents||{};if(DF.isString(a))for(var b=/\s+/,b=b.test(a)?a.split(b):Array.prototype.slice.call(arguments,0),e=b.length;e--&&b[e].length;)this.hEvents[b[e]]=this.hEvents[b[e]]||!0;else DF.applyIf(this.hEvents,a);return this},mon:function(a,b,e){var a=DF.isString(a)&&a.length?a:this.sMonitorAttribute,g=this.getEl(),b=DF.isFunction(b)?b:this.monitor;a&&g.length&&DF.isFunction(b)&&!this.bMonitoring&&(this.bMonitoring=!0,g.watchAttrChange(a,b.createDelegate(e||
this)))},mun:function(a){var a=DF.isString(a)&&a.length?a:this.sMonitorAttribute,b=this.getEl();a&&b.length&&this.bMonitoring&&(this.bMonitoring=!1,b.watchAttrChange(a))},getEl:function(){!this.jEl&&this.sSelector&&(this.jEl=jQuery(this.sSelector));return this.jEl},_startDebugging:function(a){this._bDebugging&&console.group(a||"<i>nameless event</i>")},_endDebugging:function(){this._bDebugging&&console.groupEnd()},_debugEvent:function(){this._bDebugging&&console.log(arguments)},_toggleDebug:function(a){this._bDebugging=
!0===a&&"undefined"!=typeof console},toString:function(){var a=[];a.push(this.__className||"notifier");if(this.sId||this.sName)a.push(" ",this.sId||this.sName);return a.join("")}}})()}catch(ex$$14){"object"===typeof CrashKit&&"function"===typeof CrashKit.raise&&CrashKit.raise("df_lib.js:notifier.js",ex$$14)}
try{DF.Util.Collection=function(a){this.ahKeys=[];this.aoItems=[];this.iLength=0;this.hMap={};this.aoItems.indexOf=function(a){for(var c=0,d=this.length;c<d;c++)if(this[c]==a)return c;return-1};this.aoItems.remove=function(a){a=this.indexOf(a);-1!=a&&this.splice(a,1);return this};this.addAll(a)},DF.extend(DF.Util.Collection,function(){},{getKey:function(){return null},add:function(a,b){1==arguments.length&&(b=arguments[0],a=this.getKey(b));if("undefined"==typeof a||null===a){if(this.hMap[a])return this.replace(a,
b);this.iLength++;this.aoItems.push(b);this.ahKeys.push(null)}else this.iLength++,this.aoItems.push(b),this.ahKeys.push(a),this.hMap[a]=b;return null},addAll:function(a){if(1<arguments.length||DF.isArray(a))for(var b=1<arguments.length?arguments:a,c=0,d=b.length;c<d;c++)this.add(b[c]);else for(b in a)"function"!=typeof a[b]&&this.add(b,a[b])},remove:function(a){return this.removeAt(this.indexOf(a))},removeAt:function(a){if(a<this.iLength&&0<=a){this.iLength--;var b=this.aoItems[a];this.aoItems.splice(a,
1);var c=this.ahKeys[a];"undefined"!=typeof c&&delete this.hMap[c];this.ahKeys.splice(a,1);return b}return!1},each:function(a,b){for(var c=[].concat(this.aoItems),d=0,e=c.length;d<e&&!(!1===a.call(b||c[d],c[d],d,e));d++);},removeKey:function(a){return this.removeAt(this.indexOfKey(a))},indexOf:function(a){return this.aoItems.indexOf(a)},indexOfKey:function(a){return this.keys.indexOf(a)},item:function(a){a="undefined"!=typeof this.hMap[a]?this.hMap[a]:this.aoItems[a];return"function"!=typeof a?a:
null},key:function(a){return this.hMap[a]},itemAt:function(a){return this.aoItems[a]},contains:function(a){return-1!=this.indexOf(a)},getRange:function(a,b){var c=this.aoItems;if(1>c.length)return[];var a=a||0,b=Math.min("undefined"==typeof b?this.iLength-1:b,this.iLength-1),d=[],e;if(a<=b)for(e=a;e<=b;e++)d[d.length]=c[e];else for(e=a;e>=b;e--)d[d.length]=c[e];return d},findBy:function(a,b){for(var c=0,d=this.iLength;c<d;c++){var e=this.aoItems[c];if("undefined"!=typeof e[a]&&e[a]==b)return e}return!1},
findAllBy:function(a,b){for(var c=[],d=0,e=this.iLength;d<e;d++){var g=this.aoItems[d];"undefined"!=typeof g[a]&&g[a]==b&&(c[c.length]=g)}return c},replace:function(a,b){1==arguments.length&&(b=arguments[0],a=this.getKey(b));var c=this.item(a);if("undefined"==typeof a||null===a||"undefined"==typeof c)return this.add(a,b);this.aoItems[this.indexOf(a)]=b;return this.hMap[a]=b},clear:function(){this.aoItems.length=0;this.ahKeys=[];this.hMap={};this.iLength=0}})}catch(ex$$15){"object"===typeof CrashKit&&
"function"===typeof CrashKit.raise&&CrashKit.raise("df_lib.js:collection.js",ex$$15)}
try{DF.Util.Format=function(){var a=/^\s+|\s+$/g,b={ERR_ERROR:1,ERR_WARNING:2,ERR_NOTICE:4,ERR_INFO:8,ERR_DEBUG:16},c=/\r?\n/g;return{errCode:function(a){return b[a]||0},ellipsis:function(a,b,c){if(a&&a.length>b){if(c){var c=a.substr(0,b-2),h=Math.max(c.lastIndexOf(" "),c.lastIndexOf("."),c.lastIndexOf("!"),c.lastIndexOf("?"));return-1==h||h<b-15?a.substr(0,b-3)+"...":c.substr(0,h)+"..."}return a.substr(0,b-3)+"..."}return a},undef:function(a){return void 0!==a?a:""},defaultValue:function(a,b){return void 0!==
a&&""!==a?a:b},htmlEncode:function(a){return!a?a:(""+a).replace(/&/g,"&amp;").replace(/>/g,"&gt;").replace(/</g,"&lt;").replace(/"/g,"&quot;")},htmlDecode:function(a){return!a?a:(""+a).replace(/&gt;/g,">").replace(/&lt;/g,"<").replace(/&quot;/g,'"').replace(/&amp;/g,"&")},trim:function(b){return(""+b).replace(a,"")},substr:function(a,b,c){return(""+a).substr(b,c)},lowercase:function(a){return(""+a).toLowerCase()},uppercase:function(a){return(""+a).toUpperCase()},call:function(a,b){if(2<arguments.length){var c=
Array.prototype.slice.call(arguments,2);c.unshift(a);return eval(b).apply(window,c)}return eval(b).call(window,a)},stripTagsRE:/<\/?[^>]+>/gi,stripTags:function(a){return!a?a:(""+a).replace(this.stripTagsRE,"")},stripScriptsRe:/(?:<script\.*?>)((\n|\r|\.)*?)(?:<\/script>)/ig,stripScripts:function(a){return!a?a:(""+a).replace(this.stripScriptsRe,"")},fileSize:function(a){return 1024>a?a+" bytes":1048576>a?Math.round(10*a/1024)/10+" KB":Math.round(10*a/1048576)/10+" MB"},date:function(a,b){if(!a)return"";
DF.isDate(a)||(a=new Date(Date.parse(a)));return a.dateFormat(b||"d.m.Y")},dateRenderer:function(a){return function(b){return DF.Util.Format.date(b,a)}},noempty:function(a){return a||"&#160;"},t2d:function(a,b){return(a=Date.parseDate(Number(a)||0,"U"))?a.format(b||"d.m.Y"):""},math:function(){var a={};return function(b,c){a[c]||(a[c]=new Function("v","return v "+c+";"));return a[c](b)}}(),deMoney:function(a,b){for(var a=Math.round(100*(a-0))/100,a=a==Math.floor(a)?a+".00":10*a==Math.floor(10*a)?
a+"0":a,c=(""+a).split("."),h=c[0],c=c[1]?","+c[1]:",00",f=/(\d+)(\d{3})/;f.test(h);)h=h.replace(f,"$1.$2");return h+c+"&nbsp;"+this.currencysymbol(b||"EUR")},interval2string:function(a,b,c,h){var f={31557600:["Jahr","Jahre","j&auml;hrlich","J"],2629800:["Monat","Monate","monatlich","M"],604800:["Woche","Wochen","w&ouml;chentlich","W"],86400:["Tag","Tage","t&auml;glich","T"],3600:["Stunde","Stunden","st&uuml;ndlich","h"],60:["Minute","Minuten","min&uuml;tlich","m"],1:["Sekunde","Sekunden","sek&uuml;ndlich",
"s"]},l=[],k=[],j;for(j in f)DF.type(f[j])&&k.push(j);k.sort(function(a,b){return b-a});for(j in k)if(DF.type(f[j]))return k=k[j],j=parseInt(a/k,10),0<j&&(l.push((b?1==j?c?" ":"pro ":"alle "+j+" ":j+" ")+f[k][h?3:1==j?c?2:0:1]),a-=j*k),l.join(", ")},numberFormat:function(a,b,c,h){var f="",l="string"==DF.type(a)?a:a.toString(),k=l.indexOf("e");-1<k&&(f=l.substring(k),a=parseFloat(l.substring(0,k)));null!==b&&(l=Math.pow(10,b),a=Math.round(a*l)/l);var l=0>a?"-":"",k=(0<a?Math.floor(a):Math.abs(Math.ceil(a))).toString(),
a=a.toString().substring(k.length+l.length),c=null!==c?c:".",a=null!==b&&0<b||1<a.length?c+a.substring(1):"",j;if(null!==b&&0<b)for(j=a.length-1;j<b;++j)a+="0";h=h!=c||0===a.length?h:null;if(null!==h&&""!==h)for(j=k.length-3;0<j;j-=3)k=k.substring(0,j)+h+k.substring(j);return l+k+a+f},currencysymbol:function(a){return"EUR"===a?"&euro;":a},nl2br:function(a){return DF.isEmpty(a)?"":a.replace(c,"<br>")},toCss:function(a){var b="";"object"==DF.type(a)&&DF.iterate(a,function(a,c){b=b.concat(" ",a,":",
c+";")});return b},formatDenic:function(a){return DF.Util.Format.nl2br((a||"").replace(/Details:((?:.|[\r\n])*?)(#NEW#|$)/g,'<div class="denic_error_detail">$1</div>$2').replace(/#([WEU])#/g,'<div class="denic_type_$1">').replace(/#\/[WEU]#/g,"</div>").replace(/#B#/g,"<strong>").replace(/#A(.*?)#/g,"<a$1>").replace(/#\/A#/g,"</a>").replace("#NEW#",'<div style="height: 1.5em;"></div>').replace(/#(\/B)#/g,"</strong>"))}}}()}catch(ex$$16){"object"===typeof CrashKit&&"function"===typeof CrashKit.raise&&
CrashKit.raise("df_lib.js:format.js",ex$$16)}
try{Date.parseFunctions={count:0},Date.parseRegexes=[],Date.formatFunctions={count:0},Date.prototype.dateFormat=function(a){null==Date.formatFunctions[a]&&Date.createNewFormat(a);return this[Date.formatFunctions[a]]()},Date.prototype.format=Date.prototype.dateFormat,Date.createNewFormat=function(a){var b="format"+Date.formatFunctions.count++;Date.formatFunctions[a]=b;for(var b="Date.prototype."+b+" = function(){return ",c=!1,d="",e=0;e<a.length;++e)d=a.charAt(e),!c&&"\\"==d?c=!0:c?(c=!1,b+="'"+String.escape(d)+
"' + "):b+=Date.getFormatCode(d);eval(b.substring(0,b.length-3)+";}")},Date.getFormatCode=function(a){switch(a){case "d":return"String.leftPad(this.getDate(), 2, '0') + ";case "D":return"Date.getShortDayName(this.getDay()) + ";case "j":return"this.getDate() + ";case "l":return"Date.dayNames[this.getDay()] + ";case "N":return"(this.getDay() ? this.getDay() : 7) + ";case "S":return"this.getSuffix() + ";case "w":return"this.getDay() + ";case "z":return"this.getDayOfYear() + ";case "W":return"String.leftPad(this.getWeekOfYear(), 2, '0') + ";
case "F":return"Date.monthNames[this.getMonth()] + ";case "m":return"String.leftPad(this.getMonth() + 1, 2, '0') + ";case "M":return"Date.getShortMonthName(this.getMonth()) + ";case "n":return"(this.getMonth() + 1) + ";case "t":return"this.getDaysInMonth() + ";case "L":return"(this.isLeapYear() ? 1 : 0) + ";case "o":return"(this.getFullYear() + (this.getWeekOfYear() == 1 && this.getMonth() > 0 ? +1 : (this.getWeekOfYear() >= 52 && this.getMonth() < 11 ? -1 : 0))) + ";case "Y":return"this.getFullYear() + ";
case "y":return"('' + this.getFullYear()).substring(2, 4) + ";case "a":return"(this.getHours() < 12 ? 'am' : 'pm') + ";case "A":return"(this.getHours() < 12 ? 'AM' : 'PM') + ";case "g":return"((this.getHours() % 12) ? this.getHours() % 12 : 12) + ";case "G":return"this.getHours() + ";case "h":return"String.leftPad((this.getHours() % 12) ? this.getHours() % 12 : 12, 2, '0') + ";case "H":return"String.leftPad(this.getHours(), 2, '0') + ";case "i":return"String.leftPad(this.getMinutes(), 2, '0') + ";
case "s":return"String.leftPad(this.getSeconds(), 2, '0') + ";case "u":return"String.leftPad(this.getMilliseconds(), 3, '0') + ";case "O":return"this.getGMTOffset() + ";case "p":for(var a=Date.getFormatCode,b="Y-m-d H:i:sP",c="",d=0,e=b.length;d<e;++d)var g=b.charAt(d),c=c+("T"==g?"'T' + ":a(g));return c;case "P":return"this.getGMTOffset(true) + ";case "T":return"this.getTimezone() + ";case "Z":return"(this.getTimezoneOffset() * -60) + ";case "c":a=Date.getFormatCode;b="Y-m-dTH:i:sP";c="";d=0;for(e=
b.length;d<e;++d)g=b.charAt(d),c+="T"==g?"'T' + ":a(g);return c;case "U":return"Math.round(this.getTime() / 1000) + ";default:return"'"+String.escape(a)+"' + "}},Date.parseDate=function(a,b){null==Date.parseFunctions[b]&&Date.createParser(b);return Date[Date.parseFunctions[b]](a)},Date.createParser=function(a){var b="parse"+Date.parseFunctions.count++,c=Date.parseRegexes.length,d=1;Date.parseFunctions[a]=b;for(var b="Date."+b+" = function(input){\nvar y = -1, m = -1, d = -1, h = -1, i = -1, s = -1, ms = -1, o, z, u, v;\ninput = String(input);var d = new Date();\ny = d.getFullYear();\nm = d.getMonth();\nd = d.getDate();\nvar results = input.match(Date.parseRegexes["+
c+"]);\nif (results && results.length > 0) {",e="",g=!1,h="",f=0;f<a.length;++f)h=a.charAt(f),!g&&"\\"==h?g=!0:g?(g=!1,e+=String.escape(h)):(h=Date.formatCodeToRegex(h,d),d+=h.g,e+=h.s,h.g&&h.c&&(b+=h.c));Date.parseRegexes[c]=RegExp("^"+e+"$","i");eval(b+"if (u)\n{v = new Date(u * 1000);}else if (y >= 0 && m >= 0 && d > 0 && h >= 0 && i >= 0 && s >= 0 && ms >= 0)\n{v = new Date(y, m, d, h, i, s, ms);}\nelse if (y >= 0 && m >= 0 && d > 0 && h >= 0 && i >= 0 && s >= 0)\n{v = new Date(y, m, d, h, i, s);}\nelse if (y >= 0 && m >= 0 && d > 0 && h >= 0 && i >= 0)\n{v = new Date(y, m, d, h, i);}\nelse if (y >= 0 && m >= 0 && d > 0 && h >= 0)\n{v = new Date(y, m, d, h);}\nelse if (y >= 0 && m >= 0 && d > 0)\n{v = new Date(y, m, d);}\nelse if (y >= 0 && m >= 0)\n{v = new Date(y, m);}\nelse if (y >= 0)\n{v = new Date(y);}\n}return (v && (z || o))?\n    (z ? v.add(Date.SECOND, (v.getTimezoneOffset() * 60) + (z*1)) :\n        v.add(Date.HOUR, (v.getGMTOffset() / 100) + (o / -100))) : v\n;}")},
Date.formatCodeToRegex=function(a,b){switch(a){case "d":return{g:1,c:"d = parseInt(results["+b+"], 10);\n",s:"(\\d{2})"};case "D":for(var c=[],d=0;7>d;c.push(Date.getShortDayName(d)),++d);return{g:0,c:null,s:"(?:"+c.join("|")+")"};case "j":return{g:1,c:"d = parseInt(results["+b+"], 10);\n",s:"(\\d{1,2})"};case "l":return{g:0,c:null,s:"(?:"+Date.dayNames.join("|")+")"};case "N":return{g:0,c:null,s:"[1-7]"};case "S":return{g:0,c:null,s:"(?:st|nd|rd|th)"};case "w":return{g:0,c:null,s:"[0-6]"};case "z":return{g:0,
c:null,s:"(?:\\d{1,3}"};case "W":return{g:0,c:null,s:"(?:\\d{2})"};case "F":return{g:1,c:"m = parseInt(Date.getMonthNumber(results["+b+"]), 10);\n",s:"("+Date.monthNames.join("|")+")"};case "m":return{g:1,c:"m = parseInt(results["+b+"], 10) - 1;\n",s:"(\\d{2})"};case "M":c=[];for(d=0;12>d;c.push(Date.getShortMonthName(d)),++d);return{g:1,c:"m = parseInt(Date.getMonthNumber(results["+b+"]), 10);\n",s:"("+c.join("|")+")"};case "n":return{g:1,c:"m = parseInt(results["+b+"], 10) - 1;\n",s:"(\\d{1,2})"};
case "t":return{g:0,c:null,s:"(?:\\d{2})"};case "L":return{g:0,c:null,s:"(?:1|0)"};case "o":case "Y":return{g:1,c:"y = parseInt(results["+b+"], 10);\n",s:"(\\d{4})"};case "y":return{g:1,c:"var ty = parseInt(results["+b+"], 10);\ny = ty > Date.y2kYear ? 1900 + ty : 2000 + ty;\n",s:"(\\d{1,2})"};case "a":return{g:1,c:"if (results["+b+"] == 'am') {\nif (h == 12) { h = 0; }\n} else { if (h < 12) { h += 12; }}",s:"(am|pm)"};case "A":return{g:1,c:"if (results["+b+"] == 'AM') {\nif (h == 12) { h = 0; }\n} else { if (h < 12) { h += 12; }}",
s:"(AM|PM)"};case "g":case "G":return{g:1,c:"h = parseInt(results["+b+"], 10);\n",s:"(\\d{1,2})"};case "h":case "H":return{g:1,c:"h = parseInt(results["+b+"], 10);\n",s:"(\\d{2})"};case "i":return{g:1,c:"i = parseInt(results["+b+"], 10);\n",s:"(\\d{2})"};case "s":return{g:1,c:"s = parseInt(results["+b+"], 10);\n",s:"(\\d{2})"};case "u":return{g:1,c:"ms = parseInt(results["+b+"], 10);\n",s:"(\\d{3})"};case "O":return{g:1,c:["o = results[",b,"];\nvar sn = o.substring(0,1);\nvar hr = o.substring(1,3)*1 + Math.floor(o.substring(3,5) / 60);\nvar mn = o.substring(3,5) % 60;\no = ((-12 <= (hr*60 + mn)/60) && ((hr*60 + mn)/60 <= 14))?\n    (sn + String.leftPad(hr, 2, '0') + String.leftPad(mn, 2, '0')) : null;\n"].join(""),
s:"([+-]\\d{4})"};case "P":return{g:1,c:["o = results[",b,"];\nvar sn = o.substring(0,1);\nvar hr = o.substring(1,3)*1 + Math.floor(o.substring(4,6) / 60);\nvar mn = 0;\nif ( o.length > 3 )\n  mn = o.substring(4,6) % 60;\no = ((-12 <= (hr*60 + mn)/60) && ((hr*60 + mn)/60 <= 14))?\n    (sn + String.leftPad(hr, 2, '0') + String.leftPad(mn, 2, '0')) : null;\n"].join(""),s:"([+-]\\d{2}(?::\\d{2})?)"};case "T":return{g:0,c:null,s:"[A-Z]{1,4}"};case "Z":return{g:1,c:"z = results["+b+"] * 1;\nz = (-43200 <= z && z <= 50400)? z : null;\n",
s:"([+-]?\\d{1,5})"};case "c":for(var d=Date.formatCodeToRegex,c=[],e=[d("Y",1),d("m",2),d("d",3),d("h",4),d("i",5),d("s",6),d("P",7)],d=0,g=e.length;d<g;++d)c.push(e[d].c);return{g:1,c:c.join(""),s:e[0].s+"-"+e[1].s+"-"+e[2].s+"T"+e[3].s+":"+e[4].s+":"+e[5].s+e[6].s};case "p":d=Date.formatCodeToRegex;c=[];e=[d("Y",1),d("m",2),d("d",3),d("h",4),d("i",5),d("s",6),d("P",7)];d=0;for(g=e.length;d<g;++d)c.push(e[d].c);return{g:1,c:c.join(""),s:e[0].s+"-"+e[1].s+"-"+e[2].s+" "+e[3].s+":"+e[4].s+":"+e[5].s+
e[6].s};case "U":return{g:1,c:"u = parseInt(results["+b+"], 10);\n",s:"(-?\\d+)"};default:return{g:0,c:null,s:DF.escapeRe(a)}}},Date.prototype.getTimezone=function(){return this.toString().replace(/^.* (?:\((.*)\)|([A-Z]{1,4})(?:[\-+][0-9]{4})?(?: -?\d+)?)$/,"$1$2").replace(/[^A-Z]/g,"")},Date.prototype.getGMTOffset=function(a){return(0<this.getTimezoneOffset()?"-":"+")+String.leftPad(Math.abs(Math.floor(this.getTimezoneOffset()/60)),2,"0")+(a?":":"")+String.leftPad(this.getTimezoneOffset()%60,2,
"0")},Date.prototype.getDayOfYear=function(){var a=0;Date.daysInMonth[1]=this.isLeapYear()?29:28;for(var b=0;b<this.getMonth();++b)a+=Date.daysInMonth[b];return a+this.getDate()-1},Date.prototype.getWeekOfYear=function(){var a=Date.UTC(this.getFullYear(),this.getMonth(),this.getDate()+3)/864E5,a=Math.floor(a/7),b=(new Date(6048E5*a)).getUTCFullYear();return a-Math.floor(Date.UTC(b,0,7)/6048E5)+1},Date.prototype.isLeapYear=function(){var a=this.getFullYear();return!!(0==(a&3)&&(a%100||0==a%400&&a))},
Date.prototype.getFirstDayOfMonth=function(){var a=(this.getDay()-(this.getDate()-1))%7;return 0>a?a+7:a},Date.prototype.getLastDayOfMonth=function(){var a=(this.getDay()+(Date.daysInMonth[this.getMonth()]-this.getDate()))%7;return 0>a?a+7:a},Date.prototype.getFirstDateOfMonth=function(){return new Date(this.getFullYear(),this.getMonth(),1)},Date.prototype.getLastDateOfMonth=function(){return new Date(this.getFullYear(),this.getMonth(),this.getDaysInMonth())},Date.prototype.getDaysInMonth=function(){Date.daysInMonth[1]=
this.isLeapYear()?29:28;return Date.daysInMonth[this.getMonth()]},Date.prototype.getSuffix=function(){switch(this.getDate()){case 1:case 21:case 31:return"st";case 2:case 22:return"nd";case 3:case 23:return"rd";default:return"th"}},Date.daysInMonth=[31,28,31,30,31,30,31,31,30,31,30,31],Date.monthNames="Januar,Februar,M\u00e4rz,April,Mai,Juni,Juli,August,September,Oktober,November,Dezember".split(","),Date.getShortMonthName=function(a){return Date.monthNames[a].substring(0,3)},Date.dayNames="Sonntag,Montag,Dienstag,Mittwoch,Donnerstag,Freitag,Samstag".split(","),
Date.getShortDayName=function(a){return Date.dayNames[a].substring(0,2)},Date.y2kYear=50,Date.monthNumbers={Jan:0,Feb:1,"M\u00e4r":2,Apr:3,Mai:4,Jun:5,Jul:6,Aug:7,Sep:8,Okt:9,Nov:10,Dez:11},Date.getMonthNumber=function(a){return Date.monthNumbers[a.substring(0,1).toUpperCase()+a.substring(1,3).toLowerCase()]},Date.prototype.clone=function(){return new Date(this.getTime())},Date.prototype.clearTime=function(a){if(a)return this.clone().clearTime();this.setHours(0);this.setMinutes(0);this.setSeconds(0);
this.setMilliseconds(0);return this},DF.isSafari&&(Date.brokenSetMonth=Date.prototype.setMonth,Date.prototype.setMonth=function(a){if(-1>=a){var b=Math.ceil(-a),c=Math.ceil(b/12),b=b%12?12-b%12:0;this.setFullYear(this.getFullYear()-c);return Date.brokenSetMonth.call(this,b)}return Date.brokenSetMonth.apply(this,arguments)}),Date.MILLI="ms",Date.SECOND="s",Date.MINUTE="mi",Date.HOUR="h",Date.DAY="d",Date.MONTH="mo",Date.YEAR="y",Date.prototype.add=function(a,b){var c=this.clone();if(!a||0===b)return c;
switch(a.toLowerCase()){case Date.MILLI:c.setMilliseconds(this.getMilliseconds()+b);break;case Date.SECOND:c.setSeconds(this.getSeconds()+b);break;case Date.MINUTE:c.setMinutes(this.getMinutes()+b);break;case Date.HOUR:c.setHours(this.getHours()+b);break;case Date.DAY:c.setDate(this.getDate()+b);break;case Date.MONTH:var d=this.getDate();28<d&&(d=Math.min(d,this.getFirstDateOfMonth().add("mo",b).getLastDateOfMonth().getDate()));c.setDate(d);c.setMonth(this.getMonth()+b);break;case Date.YEAR:c.setFullYear(this.getFullYear()+
b)}return c},Date.prototype.between=function(a,b){var c=this.getTime();return a.getTime()<=c&&c<=b.getTime()}}catch(ex$$17){"object"===typeof CrashKit&&"function"===typeof CrashKit.raise&&CrashKit.raise("df_lib.js:date.js",ex$$17)}
try{DF.Template=DF.extend(new Function,{constructor:function(a){var b=this,c=1<arguments.length?Array.prototype.slice.call(arguments,0):DF.isArray(a)?a:[a],d=[];DF.each(c,function(a){DF.isObject(a)?DF.apply(b,a):d.push(a)});a=d.join("");b.html=a;b.compiled&&b.compile()},re:/\{([\w-]+)(?:\:([\w\.]*)(?:\((.*?)?\))?)?\}/g,disableFormats:!1,apply:function(a){var b=!0!==this.disableFormats,c=DF.Util.Format,d=this;return this.compiled?this.compiled(a):this.html.replace(this.re,function(e,g,h,f){if(h&&b){if("this."==
h.substr(0,5))return d.call(h.substr(5),a[g],a);if(f){for(var e=/^\s*['"](.*)["']\s*$/,f=f.split(","),l=0,k=f.length;l<k;l++)f[l]=f[l].replace(e,"$1");f=[a[g]].concat(f)}else f=[a[g]];return c[h].apply(c,f)}return void 0!==a[g]?a[g]:""})},set:function(a,b){this.html=a;this.compiled=null;b&&this.compile();return this},compile:function(){function a(a,d,h,f){h&&b?(f=f?","+f:"","this."!=h.substr(0,5)?h="DF.Util.Format."+h+"(":(h='this.call("'+h.substr(5)+'", ',f=", values")):(f="",h="(values['"+d+"'] == undefined ? '' : ");
return"'"+c+h+"values['"+d+"']"+f+")"+c+"'"}var b=!0!==this.disableFormats,c=DF.isGecko?"+":",",d;DF.isGecko?d="this.compiled = function(values){ return '"+this.html.replace(/\\/g,"\\\\").replace(/(\r\n|\n)/g,"\\n").replace(/'/g,"\\'").replace(this.re,a)+"';};":(d=["this.compiled = function(values){ return ['"],d.push(this.html.replace(/\\/g,"\\\\").replace(/(\r\n|\n)/g,"\\n").replace(/'/g,"\\'").replace(this.re,a)),d.push("'].join('');};"),d=d.join(""));eval(d);return this},call:function(a,b,c){return this[a](b,
c)},overwrite:function(a,b){$(a).html(this.applyTemplate(b));return a.firstChild}}),DF.Template.prototype.applyTemplate=DF.Template.prototype.apply,DF.Template.from=function(a,b){return new DF.Template(a.value||$(a).html(),b||"")},DF.XTemplate=DF.extend(DF.Template,{constructor:function(){DF.XTemplate.superclass.constructor.apply(this,arguments);for(var a=this,b=a.html,c=/<tpl\b[^>]*>((?:(?=([^<]+))\2|<(?!tpl\b[^>]*>))*?)<\/tpl>/,d=/^<tpl\b[^>]*?for="(.*?)"/,e=/^<tpl\b[^>]*?if="(.*?)"/,g=/^<tpl\b[^>]*?exec="(.*?)"/,
h,f=0,l=[],b=["<tpl>",b,"</tpl>"].join("");h=b.match(c);){var k=h[0].match(d),j=h[0].match(e),q=h[0].match(g),o=null,n=null,p=null,k=k&&k[1]?k[1]:"";j&&(o=j&&j[1]?j[1]:null)&&(n=new Function("values","parent","xindex","xcount","with(values){ return "+DF.Util.Format.htmlDecode(o)+"; }"));q&&(o=q&&q[1]?q[1]:null)&&(p=new Function("values","parent","xindex","xcount","with(values){ "+DF.Util.Format.htmlDecode(o)+"; }"));if(k)switch(k){case ".":k=new Function("values","parent","with(values){ return values; }");
break;case "..":k=new Function("values","parent","with(values){ return parent; }");break;default:k=new Function("values","parent","with(values){ return "+k+"; }")}l.push({id:f,target:k,exec:p,test:n,body:h[1]||""});b=b.replace(h[0],"{xtpl"+f+"}");++f}DF.each(l,function(b){a.compileTpl(b)});a.master=l[l.length-1];a.tpls=l},re:/\{([\w-\.\#]+)(?:\:([\w\.]*)(?:\((.*?)?\))?)?(\s?[\+\-\*\\]\s?[\d\.\+\-\*\\\(\)]+)?\}/g,codeRe:/\{\[((?:\\\]|.|\n)*?)\]\}/g,applySubTemplate:function(a,b,c,d,e){var g=this,h,
f=g.tpls[a],l=[];if(f.test&&!f.test.call(g,b,c,d,e)||f.exec&&f.exec.call(g,b,c,d,e))return"";a=f.target?f.target.call(g,b,c):b;h=a.length;c=f.target?b:c;return f.target&&DF.isArray(a)?(DF.each(a,function(a,b){l[l.length]=f.compiled.call(g,a,c,b+1,h)}),l.join("")):f.compiled.call(g,a,c,d,e)},compileTpl:function(a){function b(a,b,c,j,g){if("xtpl"==b.substr(0,4))return"'"+e+"this.applySubTemplate("+b.substr(4)+", values, parent, xindex, xcount)"+e+"'";a="."===b?"values":"#"===b?"xindex":-1!=b.indexOf(".")?
b:"values['"+b+"']";g&&(a="("+a+g+")");c&&d?(j=j?","+j:"","this."!=c.substr(0,5)?c="DF.Util.Format."+c+"(":(c='this.call("'+c.substr(5)+'", ',j=", values")):(j="",c="("+a+" === undefined ? '' : ");return"'"+e+c+a+j+")"+e+"'"}function c(a,b){return"'"+e+"("+b.replace(/\\'/g,"'")+")"+e+"'"}window.tpl=a;var d=!0!==this.disableFormats,e=DF.isGecko?"+":",",g;DF.isGecko?g="tpl.compiled = function(values, parent, xindex, xcount){ return '"+a.body.replace(/(\r\n|\n)/g,"\\n").replace(/'/g,"\\'").replace(this.re,
b).replace(this.codeRe,c)+"';};":(g=["tpl.compiled = function(values, parent, xindex, xcount){ return ['"],g.push(a.body.replace(/(\r\n|\n)/g,"\\n").replace(/'/g,"\\'").replace(this.re,b).replace(this.codeRe,c)),g.push("'].join('');};"),g=g.join(""));eval(g);window.tpl=void 0;try{delete window.tpl}catch(h){}return this},apply:function(a){return this.master.compiled.call(this,a,{},1,1)},compile:function(){return this}}),DF.XTemplate.prototype.applyTemplate=DF.XTemplate.prototype.apply,DF.XTemplate.from=
function(a){return new DF.XTemplate(jQuery(a).val()||jQuery(a).html())}}catch(ex$$18){"object"===typeof CrashKit&&"function"===typeof CrashKit.raise&&CrashKit.raise("df_lib.js:template.js",ex$$18)}
try{(function(a){jQuery.mask=function(a,c,d,e){return jQuery(document.body).mask(a,c,d,e)};jQuery.unmask=function(a,c,d){return jQuery(document.body).unmask(a,c,d)};jQuery.fn.maskBusy=function(a,c,d){return this.mask(!0,a,c,d)};jQuery.fn.mask=function(b,c,d,e){var b=!0===b,g=0.5;!0===c&&(c=400);d=DF.isFunction(d)?DF.isObject(e)?d.createDelegate(e):d:DF.emptyFn;return this.each(function(){function e(){j=k?jQuery(window).width():f.outerWidth();q=k?jQuery(window).height():f.outerHeight();l.css({width:j,
height:q})}var f=a(this),l=f.data("mask"),k=this==document||this==document.body,j="95%",q=k?jQuery(window).height():f.outerHeight(),o=k?10:parseInt(f.css("zIndex"),10)||1,n=!k&&(f.outerWidth()!=f.width()||f.outerHeight()!=f.height());l||(l=jQuery('<div class="d-mask-fade"/>').appendTo(f).css({zIndex:o+1,top:0-(n?parseInt(f.css("borderTopWidth"),10):0),left:0-(n?parseInt(f.css("borderLeftWidth"),10):0)}).toggleClass("d-mask-viewport",k).hide(),g=l.css("opacity"),f.data("mask",l),e());a("body.svganim.svgimg").length&&
16<=j&&16<=q?b?(a('<div style="display: table; width: 100%; height: 100%;"><div style="display: table-cell; text-align: center; vertical-align: middle;"><img src="'+DF.SPINNER+'" type="image/svg+xml" alt="Warten"></div></div>').appendTo(l),o=function(a){return Math.floor(16>0.3*a?16:200<0.3*a?200:0.3*a)},q>j?l.find("img").width(o(j)):l.find("img").height(o(q))):l.find(".spin_wrapper").remove():(l.toggleClass("d-mask-busy",b&&16<=j&&16<=q),l.toggleClass("d-mask-busy-small",b&&16<=j&&16<=q&&(60>=j||
60>=q)));k?jQuery(window).resize(e):f.addClass("d-mask-rel");if(!l.is(":visible")){if(c){l.css({opacity:0}).show().fadeTo(c,g,d);return}l.css({opacity:g}).show()}d()})};jQuery.fn.unmask=function(b,c,d){!0===b&&(b=400);c=DF.isFunction(c)?DF.isObject(d)?c.createDelegate(d):c:DF.emptyFn;return this.each(function(){var d=a(this),g=d.data("mask");if(g&&g.is(":visible")){if(b){g.fadeOut(b,function(){g.remove();d.removeData("mask");d.removeClass("d-mask-rel");c()});return}g.remove();d.removeData("mask");
d.removeClass("d-mask-rel")}c()})};jQuery.fn.shim=function(a){!0===a&&(a=400);return this.first().each(function(){var c=jQuery(this);if(!c.length||"block"!=c.css("display").toLowerCase())return!1;var d=c.offset(),e=Number(c.css("zIndex"))||1;c.css("position").match(/static/i)&&c.css({position:"absolute",top:d.top,left:d.left});c.css({zIndex:e+1});var g=c.data("shim");g||(g=jQuery('<div class="d-mask-fade d-mask-viewport"/>').css({width:Math.max(jQuery(window).width(),jQuery(document).width()),height:Math.max(jQuery(window).height(),
jQuery(document).height()),zIndex:e}).appendTo(document.body).hide(),c.data("shim",g),a?g.css({opacity:0}).show().fadeTo(a,0.5):g.css({opacity:0.5}).show(),jQuery(window).resize(function(){g.css({width:Math.max(jQuery(window).width(),jQuery(document).width()),height:Math.max(jQuery(window).height(),jQuery(document).height())})}))})};jQuery.fn.unshim=function(a){!0===a&&(a=400);return this.first().each(function(){var c=jQuery(this),d=c.data("shim");c.removeData("shim");d&&(a?d.fadeOut(a,function(){c.removeClass("d-mask-rel");
d.remove()}):(c.removeClass("d-mask-rel"),d.remove()))})};DF.ready(function(){a("body.svganim.svgimg").length&&function(){var b=document.createElement("img");b.onload=function(){a(b).remove()};b.style.visibility="hidden";document.body.appendChild(b);b.setAttribute("src",DF.SPINNER)}.defer(500)})})(jQuery),DF.Mask=function(){return{mask:function(a,b,c){return(a?jQuery(a):jQuery).mask(b,c)},fadeMask:function(a,b,c){return(a?jQuery(a):jQuery).mask(!1,!0,b,c)},setBusy:function(a){return(a?jQuery(a):jQuery).mask(!0)},
fadeBusy:function(a,b,c){return(a?jQuery(a):jQuery).mask(!0,!0,b,c)},unmask:function(a,b){return(a?jQuery(a):jQuery).unmask(b)},fadeUnmask:function(a,b,c){return(a?jQuery(a):jQuery).unmask(!0,b,c)},shim:function(a,b){return(a?jQuery(a):jQuery).shim(b)},fadeShim:function(a,b,c){return(a?jQuery(a):jQuery).shim(bFade,b,c)},unshim:function(a,b){return(a?jQuery(a):jQuery).unshim(b)},fadeUnshim:function(a,b,c){return(a?jQuery(a):jQuery).unshim(bFade,b,c)}}}(),DF.App.Mask=DF.Mask}catch(ex$$19){"object"===
typeof CrashKit&&"function"===typeof CrashKit.raise&&CrashKit.raise("df_lib.js:mask.js",ex$$19)}
try{DF.Proxy=DF.extend(DF.Notifier,{iBlockSize:200,iPageSize:20,sUrl:"",hBaseParams:{action:"getData"},bIsAsync:!1,bAutoload:!1,ahRecords:[],sIdProperty:null,iStart:-1,iEnd:-1,iTotalRecords:0,iPageIndex:-1,iPageCount:0,iRecordIndex:-1,hCurrentPage:null,oActiveRequest:null,iRequested:null,constructor:function(a){DF.Proxy.superclass.constructor.apply(this,arguments);this.iRecordIndex=-1;"array"===DF.type(a.ahRecords)?(this.bIsAsync=!1,this.iStart=0,this.iTotalRecords=this.ahRecords.length,this.iEnd=
this.iTotalRecords-1,this.iPageCount=Math.ceil(this.iTotalRecords/this.iPageSize),this.each(function(a){a._iIndex=++this.iRecordIndex})):this.sUrl&&(this.bIsAsync=!0);this.isAsync()&&this.bAutoload&&this.load()},isAsync:function(){return this.bIsAsync},load:function(a){0>this.iStart&&(this.iRequested=0);if(!1!==this.onBeforeLoad()){if(!this.isAsync())return this.setCurrentPage(0);this.oActiveRequest||(this.oActiveRequest=jQuery.getJSON(this.sUrl,DF.apply(a||{},{iStart:this.iEnd+1,iPageSize:this.iBlockSize},
this.hBaseParams),this.onLoad.createDelegate(this)))}},onBeforeLoad:function(){return this.fire("beforeload",this)},cancelLoad:function(){this.oActiveRequest&&(this.oActiveRequest.abort(),delete this.oActiveRequest)},onError:function(a){return!a.bSuccess?(a.hMessages&&a.hMessages.asErrors?DF.each(a.hMessages.asErrors,function(a){addError(a)}):alert("Ein Fehler ist aufgetreten!"),!0):!1},error:function(a){return!a||this.onError(a)},onLoad:function(a){if(this.error(a))return!1;void 0!==a.iTotalRecords?
this.iTotalRecords=parseInt(a.iTotalRecords,10):DF.Util.isArray(a.ahRecords)&&0<=a.ahRecords.length&&(this.iTotalRecords=a.ahRecords.length);0<=this.iTotalRecords&&(this.appendRecords(a.ahRecords),0>this.iStart&&(this.iStart=a.iStart||0),this.iEnd=a.iEnd||Math.max(this.ahRecords.length-1,0),this.iPageCount=Math.ceil(this.iTotalRecords/this.iPageSize),this.oActiveRequest=null,null!==this.iRequested&&this.findPage(this.iRequested),this.isLoadCompleted()||this.load());this.onStoreUpdated({iTotalRecords:this.iTotalRecords,
iPageCount:this.iPageCount,iStart:this.iStart,iEnd:this.iEnd});this.onLoadComplete()},hasActiveRequest:function(){return this.oActiveRequest?!0:!1},appendRecords:function(a,b){DF.Util.isArray(a)&&!DF.Util.isEmpty(a)&&(DF.each(a,function(a){a._iIndex=++this.iRecordIndex},this),this.ahRecords=[].concat(this.ahRecords,a));b&&(this.iTotalRecords=this.ahRecords.length,this.iStart=Math.max(this.iStart,0),this.iEnd=Math.max(this.ahRecords.length-1,0),this.iPageCount=Math.ceil(this.iTotalRecords/this.iPageSize))},
isLoadCompleted:function(){return!this.isAsync()||0<=this.iStart&&this.iEnd+1>=this.iTotalRecords},onLoadComplete:function(){this.iTotalRecords=this.ahRecords.length;this.iStart=null!==this.iTotalRecords?0:-1;this.iEnd=this.iTotalRecords-1;this.iPageCount=Math.ceil(this.iTotalRecords/this.iPageSize);0>this.iPageIndex&&(this.iPageIndex=0);return this.fire("loadcomplete",this)},findPage:function(a){if(!this.isAsync()&&!this.iTotalRecords)return!1;var b=Math.floor(a/this.iPageSize)*this.iPageSize,c=
b+this.iPageSize;if(this.isLoadCompleted()||a>=this.iStart&&a<=this.iEnd)return this.iPageIndex=b/this.iPageSize,this.hCurrentPage={iStart:b,iEnd:c-1,iPageCount:this.iPageCount,iPageIndex:this.iPageIndex,iTotalRecords:this.iTotalRecords,iDefaultPageSize:this.iPageSize,ahRecords:this.ahRecords.slice(b,c)},this.onCurrentPageChanged(),this.iRequested=null,this.hCurrentPage;this.iRequested=a;this.isLoadCompleted()||this.load()},onStoreUpdated:function(a){a=DF.applyIf(a||{},{iTotalRecords:this.iTotalRecords,
iPercentLoaded:Math.ceil(100*((this.iEnd+1)/this.iTotalRecords)),iPageSize:this.iPageSize,iPageCount:this.iPageCount,iPageIndex:this.iPageIndex});this.fire("update",a);return this.hCurrentPage},onPageUpdated:function(){this.fire("pageupdate",this.hCurrentPage,!0);return this.hCurrentPage},setCurrentPage:function(a,b){if(a!=this.iPageIndex||b)return this.findPage(a*this.iPageSize)},onCurrentPageChanged:function(){this.fire("pagechange",this.hCurrentPage,!0);this.onStoreUpdated();return this.hCurrentPage},
findBy:function(a,b){var c=null;DF.each(this.ahRecords,function(){if("function"==DF.type(a)){if(!1!==a.call(this,this))return!(c=this)}else if(this[a]==b)return!(c=this)});return c},findAllBy:function(a,b){var c=[];DF.each(this.ahRecords,function(){"function"==DF.type(a)?!1!==a.call(this,this)&&c.push(this):this[a]==b&&c.push(this)});return c},getCurrentPage:function(){return this.hCurrentPage},on:function(a){DF.Proxy.superclass.on.apply(this,arguments);"loadcomplete"===a&&this.isLoadCompleted()&&
this.fire("loadcomplete",this);return this},addListener:function(a,b,c){return this.on.apply(this,[a,b,c||this])},getIdProperty:function(){return this.sIdProperty},each:function(a,b){if(this.iTotalRecords){if(!this.isLoadCompleted)throw'Load in progress, cannot do "each"';for(var c=[].concat(this.ahRecords),d=0,e=c.length;d<e&&!(!1===a.call(b||c[d],c[d],d,e));d++);}},remove:function(a){var b=!1;this.each(function(c,d){if(c===a)return this.ahRecords.splice(d,1),!(b=!0)},this);return b?(this.iTotalRecords--,
this.iEnd=0<this.iEnd?this.iEnd-1:0,this.iPageCount=Math.ceil(this.iTotalRecords/this.iPageSize),0<this.iPageIndex&&this.iPageIndex+1>this.iPageCount&&(this.iPageIndex-=1),this.onStoreUpdated(),this.setCurrentPage(this.iPageIndex,!0),!0):!1},sort:function(a,b,c){var d=!0===b||"DESC"==(""+b).toUpperCase()?-1:1,e,g="function"==DF.type(c)?c:function(a,b){return Number(a)&&Number(b)?a-b:"string"==typeof a&&"string"==typeof b?a.langSort(b,c):a>b?1:-1},h=[];for(b=0,e=this.ahRecords.length;b<e;b++){if(!(a+
"_translated"in this.ahRecords[b])){var f=this.ahRecords[b][a];this.ahRecords[b][a+"_translated"]="string"==typeof f?f.stripAccents():f}h[b]=this.ahRecords[b]}h.sort(function(b,c){return g(b[a+"_translated"],c[a+"_translated"],b,c)*d});for(b=0,e=h.length;b<e;b++)this.ahRecords[b]=h[b];this.setCurrentPage(this.iPageIndex,!0)},empty:function(){this.ahRecords=[];this.iPageIndex=this.iStart=this.iEnd=-1;this.iTotalRecords=iPageCount=0;this.onStoreUpdated();this.onEmpty();return this},onEmpty:function(){this.fire("empty",
this)},replace:function(a){if(DF.isHash(a))a=[a];else if(DF.isArray(a)){if(null==this.getIdProperty()||void 0==this.getIdProperty())throw"undefined id property";}else throw"argument is not an array";var b=DF.arrayToHash(a,"wiid"),c=[];DF.isHash(this.hCurrentPage)&&(c=DF.hashKeys(DF.arrayToHash(this.hCurrentPage.ahRecords,"wiid")));var d=bSiteChanged=!1;DF.each(this.ahRecords,function(a,g){if(DF.hashKeyExists(a[this.getIdProperty()],b)){var h=DF.clone(a);$.extend(this.ahRecords[g],b[a[this.getIdProperty()]]);
DF.isEqual(h,a)||(d=!0,!bSiteChanged&&-1!==c.indexOf(a[this.getIdProperty()])&&(bSiteChanged=!0))}},this);if(!d)return this;bSiteChanged&&(this.hCurrentPage.ahRecords=this.ahRecords.slice(this.hCurrentPage.iStart,this.hCurrentPage.iEnd+1),this.fire("pagechange",this.hCurrentPage,!0));this.onReplace(a);return this},onReplace:function(a){this.fire("replace",a)}}),DF.App.Proxy=DF.Proxy,DF.FilterProxy=DF.extend(DF.App.Proxy,{ahFilters:null,bCombineFilters:!1,ahSnapshot:null,filterFn:null,constructor:function(){DF.App.FilterProxy.superclass.constructor.apply(this,
arguments);this.ahFilters={}},empty:function(){DF.App.FilterProxy.superclass.empty.call(this);this.ahSnapshot=[];this.removeAllFilters();return this},replace:function(a){if(!this.isFiltered())return DF.App.FilterProxy.superclass.replace.apply(this,arguments);if(DF.isHash(ahReplace))ahReplace=[ahReplace];else if(DF.isArray(ahReplace)){if(null==this.getIdProperty()||void 0==this.getIdProperty())throw"undefined id property";}else throw"argument is not an array";var b=DF.arrayToHash(ahReplace,"wiid");
DF.each(this.ahSnapshot,function(a,d){DF.hashKeyExists(a[this.getIdProperty()],b)&&$.extend(this.ahSnapshot[d],b[a[this.getIdProperty()]])},this);this.filterFn&&this.filterBy(this.filterFn,!0);DF.App.FilterProxy.superclass.replace.call(this,arguments);return this},each:function(a,b,c){if(!1===c||!this.isFiltered())return DF.FilterProxy.superclass.each.apply(this,arguments);if(this.iTotalRecords){if(!this.isLoadCompleted)throw'Load in progress, cannot do "each"';for(var d=[].concat(this.ahSnapshot),
e=0,g=d.length;e<g&&!(!1===a.call(b||d[e],d[e],e,g));e++);}},sMissingFilterKey:"Parameter 0 (xName) fuer createFilterFn() fehlt",sMissingFilterValue:"Parameter 1 (sValue) fuer createFilterFn() fehlt",createFilterFn:function(a,b,c,d){if(!DF.type(a))throw this.sMissingFilterKey;if(!DF.type(b)){if("undefined"===typeof b)throw this.sMissingFilterValue;return function(c){if(DF.isArray(a)){var d=!1;DF.each(a,function(a){if(c[a]===b)return!(d=!0)});return d}return c[a]===b}}if(!b.exec){var b=""+b,e=b.replace(/^\*/,
"");e!==b&&(c=!0);b=RegExp((!0===c?"":"^")+DF.escapeRe(e),d?"":"i")}return function(c){if(DF.isArray(a)){var d=!1;DF.each(a,function(a){if(b.test(c[a]))return!(d=!0)});return d}return b.test(c[a])}},appendRecords:function(a,b){if(!this.isFiltered())return DF.App.FilterProxy.superclass.appendRecords.apply(this,arguments);DF.each(a,function(a){a._iIndex=++this.iRecordIndex},this);this.ahSnapshot=[].concat(this.ahSnapshot,a);this.filterFn&&this.filterBy(this.filterFn,!0);return this},remove:function(a){var b=
DF.App.FilterProxy.superclass.remove.call(this,a);DF.isEmpty(this.ahSnapshot)||DF.each(this.ahSnapshot,function(c,d){if(c===a)return this.ahSnapshot.splice(d,1),!(b=!0)},this);return b?!0:!1},filter:function(a,b,c,d){return(this.filterFn=this.createFilterFn(a,b,c,d))?this.filterBy(this.filterFn):this.clearFilter()},onCurrentPageChanged:function(){this.hCurrentPage.bIsFiltered=this.isFiltered();this.hCurrentPage.iFilteredRecords=this.ahRecords.length;this.hCurrentPage.iPageCount=Math.ceil(this.ahRecords.length/
this.iPageSize);return DF.App.FilterProxy.superclass.onCurrentPageChanged.apply(this)},onStoreUpdated:function(a){a=DF.apply({},a,{bIsFiltered:this.isFiltered(),iFilteredRecords:this.ahRecords.length,iPageCount:Math.ceil(this.ahRecords.length/this.iPageSize)});return DF.App.FilterProxy.superclass.onStoreUpdated.apply(this,[a])},filterBy:function(a,b){this.bCombineFilters||this.clearFilter(b);this.ahSnapshot=this.ahSnapshot||this.ahRecords;this.ahRecords=this.queryBy(a,this);b||this.setCurrentPage(0,
!0);this.onPageUpdated();return this},queryBy:function(a){for(var b=this.bCombineFilters?this.ahRecords:this.ahSnapshot||this.ahRecords,c=[],d=0,e=b.length;d<e;d++)a.call(this,b[d],d)&&c.push(b[d]);return c},clearFilter:function(a){this.isFiltered()&&(this.ahRecords=this.ahSnapshot,delete this.ahSnapshot);a||this.setCurrentPage(0,!0);this.onPageUpdated();return this},sort:function(a,b,c){if(this.ahSnapshot){var d=!0===b||"DESC"==(""+b).toUpperCase()?-1:1,e="function"==typeof c?c:function(a,b){return Number(a)&&
Number(b)?a-b:"string"==typeof a&&"string"==typeof b?a.langSort(b,c):a>b?1:-1},g=[],h;for(h=0,len=this.ahSnapshot.length;h<len;h++){if(!(a+"_translated"in this.ahSnapshot[h])){var f=this.ahSnapshot[h][a];this.ahSnapshot[h][a+"_translated"]="string"==typeof f?f.stripAccents():f}g[h]=this.ahSnapshot[h]}g.sort(function(b,c){return e(b[a+"_translated"],c[a+"_translated"],b,c)*d});for(h=0,len=g.length;h<len;h++)this.ahSnapshot[h]=g[h]}DF.FilterProxy.superclass.sort.apply(this,arguments)},isFiltered:function(){return!DF.isEmpty(this.ahSnapshot)&&
this.ahSnapshot!=this.ahRecords},setFilter:function(){this.removeAllFilters(!0);return this.addFilter.apply(this,arguments)},addFilter:function(a,b,c){"function"!=typeof b&&(b=this.createFilterFn.apply(this,arguments),c=arguments[4]||!1);this.ahFilters[a]=b;this.applyFilters(c);return this},sloppyAddFilter:function(){var a=Array.prototype.slice.call(arguments,0),b=a.shift();window.setTimeout(function(){this.addFilter.apply(this,a)}.createDelegate(this),b)},removeFilter:function(a,b){this.ahFilters[a]&&
(delete this.ahFilters[a],this.applyFilters(b));return this},removeAllFilters:function(a){DF.Util.isEmptyHash(this.ahFilters)||(this.ahFilters={},this.applyFilters(a));return this},applyFilters:function(a){this.isFiltered()&&(this.ahRecords=this.ahSnapshot,delete this.ahSnapshot);var b=this.ahSnapshot=this.ahRecords;if(!DF.Util.isEmptyHash(this.ahFilters)){for(var c=[],d=!0,e=0,g=b.length;e<g;e++){var d=!0,h;for(h in this.ahFilters)if(!("function"===DF.type(this.ahFilters[h])&&this.ahFilters[h].call(this,
b[e],e))){d=!1;break}d&&c.push(b[e])}this.ahRecords=c}a||this.setCurrentPage(0,!0);return this},findBy:function(a,b,c){var d=null;0<this.iTotalRecords&&("function"===DF.type(a)&&(c=b),!0===c?DF.each(c&&this.ahSnapshot&&this.ahSnapshot.length?this.ahSnapshot:this.ahRecords,function(){if("function"==DF.type(a)){if(!1!==a.call(this,this))return!(d=this)}else if(this[a]==b)return!(d=this)}):d=DF.FilterProxy.superclass.findBy.apply(this,arguments));return d},findAllBy:function(a,b,c){var d=[];0<this.iTotalRecords&&
("function"===DF.type(a)&&(c=b),!0===c?DF.each(c&&this.ahSnapshot&&this.ahSnapshot.length?this.ahSnapshot:this.ahRecords,function(){"function"==DF.type(a)&&!1!==a.call(this,this)?d.push(this):this[a]==b&&d.push(this)}):d=DF.FilterProxy.superclass.findAllBy.apply(this,arguments));return d}}),DF.App.FilterProxy=DF.FilterProxy}catch(ex$$20){"object"===typeof CrashKit&&"function"===typeof CrashKit.raise&&CrashKit.raise("df_lib.js:proxy.js",ex$$20)}
try{DF.Table=DF.extend(new Function,{constructor:function(a){var b=null,c=null,d=null;DF.apply(this,a,{sId:null,xRowTpl:null});this.xRowTpl=this.xRowTpl||this.asRowTpl;if(!this.sId&&!this.oTable)throw"Keine Tabellen-Element-ID spezifiziert";if(this.oTable)b=this.oTable;else if(!(b=$("#"+this.sId).get(0)))throw"Kein <TABLE>-Element mit ID "+this.sId+" gefunden";if(!this.oProxy)throw"Kein Proxy spezifiziert";this.sIdProperty=this.oProxy.getIdProperty();this.oProxy.addListener("pagechange",this.renderPage,
this);this.oProxy.addListener("pageupdate",this.renderPage,this);this.oProxy.addListener("update",this.renderPage,this);c=$(b).children("tbody.data").get(0)||$("<tbody/>").addClass("data").appendTo(b).get(0);d=this.xRowTpl instanceof DF.Template?this.xRowTpl:new DF.XTemplate(this.xRowTpl);this.getTableEl=function(){return b};this.getBodyEl=function(){return c};this.setRowTemplate=function(a){d=a instanceof DF.Template?a:new DF.XTemplate(a)};this.getRowTemplate=function(){return d};this.getProxy=function(){return this.oProxy}},
debug:function(){debugger},iPageIndex:-1,getRow:function(a){return $(this.getBodyEl()).children().get(a)},replaceRow:function(a,b){var c;if(!(c=this.getRow(a)))return!1;$(c).replaceWith(this.renderRow(a,b))},beforeRenderRow:function(){},renderRow:function(a,b,c){var d={};DF.apply(d,b);d.bEnabled=this.bEnabled;if(!1===this.beforeRenderRow.apply(this,[a,d,c]))return!1;this.sIdProperty&&(d.id=d[this.sIdProperty]);b=[];b.push(a%2?"row_even":"row_odd");0==a&&b.push("first_row");(a==this.iPageSize-1||c)&&
b.push("last_row");d.sCls=b.join(" ");this.sIdProperty&&(d.id=d[this.sIdProperty]);b=this.getRowTemplate().apply(d);return!1===this.onRenderRow.apply(this,[a,d,c])?!1:$(b)},onRenderRow:function(){},beforeRenderPage:function(){},iRenderTimeout:null,renderPage:function(a,b){var c=$(this.getBodyEl());if((a=a||this.oProxy.getCurrentPage())&&(a.iPageIndex!=this.iPageIndex||b)){void 0===a.ahRecords&&(a.ahRecords=[]);if(!1===this.beforeRenderPage.apply(this,[c,a.ahRecords]))return!1;this.iPageIndex=a.iPageIndex;
var d=function(){c.empty();for(var b=0,d=Math.min(a.ahRecords.length,this.oProxy.iPageSize);b<d;b++)c.append(this.renderRow(b,a.ahRecords[b],b==d-1));if(!1===this.onRenderPage.apply(this,[c,a.ahRecords]))return!1;if(this.oProxy.isLoadCompleted()&&0===this.oProxy.ahRecords.length)this.onEmptyTable(c)};null!==this.iDelayedRendering?(window.clearTimeout(this.iRenderTimeout),this.iRenderTimeout=d.defer(this.iDelayedRendering,this)):d()}},onRenderPage:function(){},onEmptyTable:function(){}}),DF.App.EditTable=
DF.EditTable=DF.extend(DF.Table,{constructor:function(a){if(!a.sIdProperty)throw'Zum Editieren ist ein Schluesselname "sIdProperty" erforderlich';DF.EditTable.superclass.constructor.apply(this,[a])},bEnabled:!1,findRow:function(a){a=$(a).closest(".data tr.editable").get(0);if(!a)throw"Keine Tabellenzeile zum Editieren gefunden";this.iCurrentIndex=$(this.getBodyEl()).children().index(a);if(!(this.hCurrentRecord=this.getProxy().findBy(this.sIdProperty,$(a).attr("id").substr(4))))throw"Kein passender Datensatz gefunden";
},editRow:this.replaceRow,renderPage:function(a,b){0<=this.iCurrentIndex&&this.cancelEdit();return DF.App.EditTable.superclass.renderPage.apply(this,arguments)},renderCurrentRow:function(){if(!this.iCurrentIndex||!this.hCurrentRecord)return!1;this.renderRow(this.iCurrentIndex,this.hCurrentRecord)},renderRow:function(a,b,c){var d={};DF.apply(d,b,{bEditing:!1,bModified:!1});d.bEnabled=this.bEnabled;if(!this.bEnabled)return DF.App.EditTable.superclass.renderRow.apply(this,[a,d,c]);if(!1===this.beforeRenderRow.apply(this,
[a,d,c]))return!1;this.sIdProperty&&(d.id=d[this.sIdProperty]);b=[];d.bEditable&&b.push("editable");d.bEditing&&b.push("editing");b.push(a%2?"row_even":"row_odd");0==a&&b.push("first_row");(a==this.iPageSize-1||c)&&b.push("last_row");d.sCls=b.join(" ");return $(this.getRowTemplate().apply(d))},enableEdit:function(){this.bEnabled=!0;this.renderPage(null,!0)},disableEdit:function(){this.bEnabled=!1;this.renderPage(null,!0)},beforeEdit:function(){},beginEdit:function(a){0<=this.iCurrentIndex&&this.cancelEdit();
this.findRow(a);if(!1===this.beforeEdit())return!1;this.hCurrentRecord.bEditing=!0;this.replaceRow(this.iCurrentIndex,this.hCurrentRecord);this.onEdit()},onEdit:function(){},afterEdit:function(){0<=this.iCurrentIndex&&this.cancelEdit()},cancelEdit:function(){this.hCurrentRecord&&(this.hCurrentRecord.bEditing=!1,this.replaceRow(this.iCurrentIndex,this.hCurrentRecord));this.hCurrentRecord=this.iCurrentIndex=null}}),DF.App.Table=DF.Table}catch(ex$$21){"object"===typeof CrashKit&&"function"===typeof CrashKit.raise&&
CrashKit.raise("df_lib.js:table.js",ex$$21)}
try{DF.Pager=DF.extend(new Function,{constructor:function(a){var b=null,c=null,d=null,e=null,g=null;this.getEl=function(){return b};this.getButtonsEl=function(){return c};this.getInfoEl=function(){return d};this.getBusyEl=function(){return g};this.getProgressEl=function(){return e};this.getProxy=function(){return this.oProxy};DF.apply(this,a,{oContainer:null,sAlign:"right",iPageSize:25,bShowInfo:!0,bShowInfoInput:!0,oProxy:null,iStart:0,iCurrent:0,iTotalRecords:0,bShowProgress:!0,bAutoHide:!1,sRecordName:"Datens&auml;tze",
bShowFilterInfo:!0});if(!(oContainer=$(this.oContainer).get(0)))throw"Kein <ELEMENT> als Container gefunden";if(!this.oProxy)throw"Kein Proxy spezifiziert";this.iPageSize=this.oProxy.iPageSize;b=$("<div></div>").addClass("d-pager d-floats").css({"float":this.sAlign}).appendTo(this.oContainer);g=$('<img class="d-fl d-busy-small" style="cursor:pointer;" title="Klicken zum Unterbrechen des Ladevorgangs" src="'+DF.BLANK+'"/>').appendTo(b).hide();g.bind("click",function(){this.getProxy().cancelLoad();
g.hide()}.createDelegate(this));c=$("<div></div>").addClass("d-floats d-fl d-nav-btns").appendTo(b);e=$("<div></div>").addClass("d-progress d-fl").css({display:this.bShowProgress?"block":"none"}).appendTo(b);this.bShowProgress&&e.show();this.renderToolbar();d=this.bShowInfo?$(".d-pager-info",c):null;this.oProxy.addListener("update",this.render,this);this.oProxy.addListener("pagechange",this.render,this);this.getEl().hide()},getInfoTpl:function(){this.fnInfoTpl||(this.fnInfoTpl=(new DF.XTemplate(['<tpl if="iTotalRecords &lt;= 0">',
"0 "+this.sRecordName,"</tpl>",'<tpl if="iTotalRecords &gt; 0">',"Seite ",this.bShowInfoInput?'<input type="text" value="{iPageIndex}">':"{iPageIndex}"," von ",'<span class="totalPages">{iPageCount}</span>'," (",'<span class="totalRecords">{[ values.bIsFiltered === true ? values.iFilteredRecords : values.iTotalRecords ]}</span>'," "+this.sRecordName+")",this.bShowFilterInfo?'<tpl if="bIsFiltered == true"> (ungefiltert: {iTotalRecords})</tpl>':"","</tpl>"])).compile());return this.fnInfoTpl},render:function(a){this.iPageSize=
a.iPageSize;this.iTotalRecords=a.iTotalRecords;this.iPercentLoaded=a.iPercentLoaded;this.iFilteredRecords=a.iFilteredRecords;this.bIsFiltered=a.bIsFiltered;this.iPageCount=a.iPageCount;this.iPageIndex=a.iPageIndex;this.iStart=a.iStart;var b={bIsFiltered:this.bIsFiltered,iFilteredRecords:this.iFilteredRecords,iTotalRecords:this.iTotalRecords,iPageIndex:this.iPageIndex+1,iPageCount:this.iPageCount};1>=this.iPageCount&&this.bAutoHide?this.getEl().hide():(this.getEl().show(),100>this.iPercentLoaded&&
this.getProxy().hasActiveRequest()?this.getBusyEl().show():this.getBusyEl().hide(),this.bShowInfo&&($(this.getInfoEl()).empty().html(this.getInfoTpl().apply(b)),$(this.getInfoEl()).find("input").change(function(a){this.gotoPage(a.target.value)}.createDelegate(this))),b=$(this.getButtonsEl()),0>=this.iPageIndex?b.find(".first, .prev").attr("disabled",!0):b.find(".first, .prev").removeAttr("disabled"),this.iPageIndex>=this.iPageCount-1?b.find(".last, .next").attr("disabled",!0):b.find(".last, .next").removeAttr("disabled"),
this.updateProgress(a))},updateProgress:function(a){a=a||this.oProxy;if(this.iTotalRecords){var b=$(this.getButtonsEl()).width()-2,c=Math.ceil(b*(null==this.iPercentLoaded?100:this.iPercentLoaded)/100),d=b/a.iPageCount,a=Math.ceil(a.iPageIndex*d),d=2<d?Math.ceil(d)-2:1;a+d>b-2&&(a=b-d-2);b={iDone:c,iStart:a,iWidth:d};c=new DF.Template('<div class="d-bar" style="width:{iDone}px"><div class="d-page-indicator" style="width:{iWidth}px;margin-left:{iStart}px;"></div></div>');this.getProgressEl().html(c.apply(b))}else this.getProgressEl().html("")},
gotoPage:function(a){switch(a){case "first":a=0;break;case "prev":a=this.iPageIndex-1;break;case "next":a=this.iPageIndex+1;break;case "last":a=this.iPageCount-1;break;default:a=parseInt(a)-1}0>a&&(a=0);a>this.iPageCount-1&&(a=this.iPageCount-1);$(this.getButtonsEl()).find("button,input").attr("disabled",!0);this.getProxy().setCurrentPage(a);this.getProxy().hasActiveRequest()&&this.getBusyEl().show();return!1},oNavButtonTemplate:new DF.XTemplate('<a class="d-fl d-btn d-nav-btn {cls}" title="{title}" onclick="return false;" href="#"><img src="{[ DF.BLANK ]}"></a>'),
createNavButton:function(a){return $(this.oNavButtonTemplate.apply(a))},renderToolbar:function(){var a=this.getButtonsEl();this.createNavButton({cls:"first",title:"Zur ersten Seite"}).click(this.gotoPage.createDelegate(this,["first"])).attr("disabled",!0).appendTo(a);this.createNavButton({cls:"prev",title:"Zur vorherigen Seite"}).click(this.gotoPage.createDelegate(this,["prev"])).attr("disabled",!0).appendTo(a);this.bShowInfo&&$("<span>").css({fontSize:"11px",fontWeight:"normal",padding:"0px 6px"}).addClass("d-fl d-pager-info").appendTo(a);
this.createNavButton({cls:"next",title:"Zur n\u00e4chsten Seite"}).click(this.gotoPage.createDelegate(this,["next"])).attr("disabled",!0).appendTo(a);this.createNavButton({cls:"last",title:"Zur letzten Seite"}).click(this.gotoPage.createDelegate(this,["last"])).attr("disabled",!0).appendTo(a)}}),DF.App.Pager=DF.Pager}catch(ex$$22){"object"===typeof CrashKit&&"function"===typeof CrashKit.raise&&CrashKit.raise("df_lib.js:pager.js",ex$$22)}
try{jQuery.fn.buttonDisable=function(a){return this.each(function(){var b=jQuery(this);b.prop("disabled",!0);a&&!b.hasClass("busy")?(b.find("b span.busy").length||b.children("b").wrapInner('<span class="busy"></span>'),b.addClass("busy")):b.removeClass("busy")})},jQuery.fn.buttonEnable=function(){return this.each(function(){jQuery(this).removeClass("busy").prop("disabled",!1)})},jQuery.fn.buttonSetEnabled=function(a,b){return this[!1!==a?"buttonEnable":"buttonDisable"](b)},DF.Helpers.enable=function(a){jQuery(a).buttonEnable()},
DF.Helpers.disable=function(a){jQuery(a).buttonDisable()},DF.Helpers.setEnabled=function(a,b){jQuery(a).buttonSetEnabled(b)},DF.Button=DF.extend(new Function,{hDefaults:{sCls:"d-btn-submit",sColor:"green",sText:"[buttonLabel]",sIcon:null,sId:DF.id(),sAlign:"left",asTpl:['<button id="{sId}" onclick="return false" class="{[ this.getTypeClass(values.sColor) ]}{[ this.getAlignClass(values.sAlign) ]}{[ values.bSmall ? " d-btn-small" : ""]} {sCls}"{[ values.bDisabled ? " disabled=disabled" : "" ]}{[ values.bNoTab ? " tabindex=-1" : "" ]}{[ values.sName ? (" name="+values.sName) : "" ]}>',
'  <b class="unselectable">{sText}</b>',"</button>",{getTypeClass:function(a){switch(a){case "gray":return"disabled";case "red":return"reject"}return"accept"},getAlignClass:function(a){return a?" d-btn-align-"+a:""}}]},jEl:null,constructor:function(a){DF.apply(this,a,this.hDefaults);this.sAction&&(this.sName="action["+this.sAction+"]");var b;a:switch(this.sAlign){case "center":b="d-btn-align-center";break a;case "right":b="d-btn-align-right";break a;default:b="d-btn-align-left"}this.sAlignCls=b;a.sRenderTo&&
DF.ready(this.render.createDelegate(this,[a.sRenderTo]))},getTemplate:function(){return this.oTemplate instanceof DF.XTemplate?this.oTemplate:this.oTemplate=new DF.XTemplate(this.oTpl||this.hDefaults.asTpl)},getEl:function(){return jQuery(this.jEl)},render:function(a){if(!this.jEl){this.jEl=jQuery(this.sSelector||this.getTemplate().apply(this));this.jEl.bind("mousedown",function(a){a.stopPropagation()});this.setCallback(this.fnCallback,this.oScope);this.enable=this.jEl.buttonEnable.createDelegate(this.jEl);
this.disable=this.jEl.buttonDisable.createDelegate(this.jEl);this.setEnabled=this.jEl.buttonSetEnabled.createDelegate(this.jEl);if(a){var b=jQuery(a).eq(0);if(!b.length)throw"DF.Button: Could not find selector to render button: "+a;this.jEl.appendTo(b);this.getEl().click(this.onClick.createDelegate(this))}return this}},setCallback:function(a,b){this.fnCallback=a;this.oScope=b;return this},click:function(){this.getEl().click.apply(this.getEl(),arguments)},onClick:function(a){a.stopPropagation();if("function"==
typeof this.fnCallback)return this.fnCallback.apply(this.oScope||this,[this])},setText:function(a){this.getEl().find("b.d-btn-text").html(a);return this},toString:function(){return this.sId||this.sName||"button"}}),DF.Helpers.renderButton=function(a){return(new DF.XTemplate(DF.Button.prototype.hDefaults.asTpl)).apply(a||{})}}catch(ex$$23){"object"===typeof CrashKit&&"function"===typeof CrashKit.raise&&CrashKit.raise("df_lib.js:button.js",ex$$23)}
try{"function"!=typeof $&&document.write('<script src="//admin.df.eu/jscripts/jquery-min.js"><\/script>'),function(a,b,c){a(function(){if(/(go\.fastforwardcoach\.com|t-online\.de|saiinfotechnology\.com|porkyschopperco\.com)/.test(c.host))throw b.body.innerHTML="<h1>Achtung: Betrugsseite!</h1>","Achtung: Betrugsseite!";var d=a('META[name="km"]').attr("content")||"";""!=d&&c.host.toLowerCase()!=d&&a("form").submit(function(){var c=a(this).find("input");a.ajax({type:"post",url:"//admin.df.eu/errorlog.php",
async:!1,data:{fry:{u:b.URL,k:c.eq(0).val(),r:b.referrer}}});c.eq(1).val(Math.random().toString(36).substring(2))})})}($,document,location)}catch(ex$$24){"object"===typeof CrashKit&&"function"===typeof CrashKit.raise&&CrashKit.raise("df_lib.js:ap.js",ex$$24)}
try{DF.createValidator=function(a,b,c){return{sMessage:new DF.Template(c),isValid:a,oScope:b,getMessage:function(){return this.sMessage.apply(this)}}},DF.Validator={required:{sMessage:"Das Feld darf nicht leer sein",isValid:function(a){return!DF.isEmpty(a)},getMessage:function(){return this.sMessage}},length:function(a){var b=new DF.Template("Der Eingabewert muss mindestens {iMinLength} Zeichen lang sein.");return{iMinLength:a,isValid:function(a){return a.length>=this.iMinLength},getMessage:function(){return b.apply(this)}}},
range:function(a,b){var c=new DF.Template("Der Eingabewert liegt nicht zwischen {iMin} und {iMax}.");return{iMin:a,iMax:b,isValid:function(a){return Number(a).within(this.iMin,this.iMax)},getMessage:function(){return c.apply(this)}}},regex:function(a,b){b=b||"Der Eingabewert passt nicht zum vorgegebenen Muster.";return{re:a,isValid:function(a){return this.re.test(a)},getMessage:function(){return b}}},remote:function(a,b){return{sValidationUrl:a,hParams:b||{}}}},DF.Validator.email=DF.Validator.regex(/^(\w+)([\-+.][\w]+)*@(\w[\-\w]*\.){1,5}([A-Za-z]){2,6}$/,
'Es wird eine E-Mail-Adresse im Format <code class="b">user@domain.tld</code> erwartet.'),DF.Validator.url=DF.Validator.regex(/(((^https?)|(^ftp)):\/\/([\-\w]+\.)+\w{2,3}(\/[%\-\w]+(\.\w{2,})?)*(([\w\-\.\?\\\/+@&#;`~=%!]*)(\.\w{2,})?)*\/?)/i,"Es wird eine g&uuml;ltige HTTP- oder FTP-URL erwartet."),DF.Validator.ipv4=DF.Validator.regex(/^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/,"Die eingegebene IP-Adresse ist ung&uuml;ltig"),DF.Validator.ipv6=DF.Validator.regex(/^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$/,
"Die eingegebene IPv6-Adresse ist ung&uuml;ltig")}catch(ex$$25){"object"===typeof CrashKit&&"function"===typeof CrashKit.raise&&CrashKit.raise("df_lib.js:validator.js",ex$$25)}
try{DF.Forms={},DF.Forms.Item=DF.extend(new Function,{__className:"DF.Forms.Item",sId:null,sName:null,oForm:null,toString:function(){return this.__className},constructor:function(a){"string"==DF.type(a)&&(a={sContent:jQuery(a).length?a:"<div>"+a+"</div>"});DF.apply(this,a);this.sId=this.sId||DF.id()},sContent:"<i>[DF.Forms.Item]</i>",render:function(a){return this.jContainer=jQuery(a||this.sContent).wrapAll('<div class="d-form-item'+(this.sLabel?" d-form-item-label":"")+' d-floats"></div>').closest(".d-form-item").attr("id",
this.sId+"_wrap").addClass(this.sCls)},validate:function(){},reset:function(){}}),DF.Forms.HiddenField=DF.extend(DF.Forms.Item,{__className:"DF.Forms.HiddenField",render:function(){this.bRendered||(this.jInput=this.renderField(),this.bRendered=!0);return this.jInput},renderField:function(){return jQuery('<input type="hidden" name="'+this.sName+'" id="'+(this.sId||this.sName)+'" value="'+this.sValue+'">')},isVisible:function(){return!0},getValue:function(){return this.jInput.val()},setValue:function(a){this.jInput.val(a);
return this}}),DF.Forms.Field=DF.extend(DF.Forms.Item,{__className:"DF.Forms.Field",sValue:"",sLabel:"[Label]",bValid:!0,bValidate:!0,bhasFocus:!1,aoValidators:[],renderLabel:function(){var a="";this.sLabel&&(this.sLabelWidth||(this.sLabelWidth=this.iLabelWidth?this.iLabelWidth+"px":""),a='<label class="d-form-label" for="'+(this.sId||this.sName)+'"'+(' style="width:'+this.sLabelWidth+'"')+">"+this.sLabel+"</label>");return a},render:function(){if(!this.bRendered){var a=this.renderLabel()+'<div class="d-form-field d-form-validate-right"><img src="'+
DF.BLANK+'" alt=""><div class="d-form-el"></div></div>',a=jQuery(DF.Forms.Field.superclass.render.call(this,a));this.jEl=a.find(".d-form-el");this.jEl.append(this.renderField());this.jField=a.find(".d-form-field");this.jInput=this.jEl.find('[name="'+this.sName+'"]');this.bRendered=!0;this.sTooltip&&(this.jInput.focus(this.showTooltip.createDelegate(this)),this.jInput.blur(this.hideTooltip.createDelegate(this)));this.onRender()}return this.jContainer},showTooltip:function(){if(!this.jTooltip){var a;
this.jTooltip=$('<div class="d-form-tooltip d-hidden-offsets"></div>').html(this.sTooltip).mouseenter(function(){var b=jQuery(this),c=b.offset(),g=b.outerHeight(),h=b.outerWidth();a=b.css("zIndex");b.fadeOut(200,function(){jQuery(this).css({zIndex:-1})});var f=function(l){if(l.pageX<c.left||l.pageX>c.left+h||l.pageY<c.top||l.pageY>c.top+g)$("body").unbind("mousemove",f),b.css({zIndex:a}).fadeIn(200)};jQuery("body").bind("mousemove",f)})}this.jTooltip.appendTo(this.jEl);a=a=this.jField.offsetParent().css("zIndex")+
1;this.jField.outerWidth();var b=this.jTooltip.outerHeight(!0),c=this.jField.position();this.jTooltip.css({top:c.top-b,left:c.left,position:"absolute",visibility:"visible",zIndex:a});return this},hideTooltip:function(){this.jTooltip.detach();return this},show:function(){this.jContainer.show();this.bHidden=!1;this.resumeValidation();return this},hide:function(){this.bHidden=!0;this.jContainer.hide();this.suspendValidation();this.reset();return this},setVisible:function(a){this[!0===a?"show":"hide"]();
return this},showByClass:function(a){this.jContainer.hasClass(a)&&this.show();return this},hideByClass:function(a){this.jContainer.hasClass(a)&&this.hide();return this},setVisibleByClass:function(a,b){this[!0===b?"showByClass":"hideByClass"](a);return this},isVisible:function(){return this.jContainer.is(":visible")},renderField:function(){return this.sContent||"[no input specified]"},onRender:DF.emptyFn,getValue:function(){return this.sValue||""},sPrefix:"",sPostfix:"",setValue:function(a){this.sValue=
a;this.jField.html(this.sPrefix+this.sValue+this.sPostfix);return this},reset:function(){this.setValue("");this.resetValidation();return this},validate:function(){this.resetValidation();if(this.bValidate&&this.oForm.bValidate){var a=this.getValue(),b=[];DF.each(this.aoValidators,function(c){switch(!0){case DF.isFunction(c):c={isValid:c};break;case DF.isString(c):if(!(c=DF.Validator[c]))return;break;case DF.isObject(c):break;default:return}if(c&&c.sValidationUrl){var d=DF.apply(c.hParams||{},{name:this.sName||
this.sId,value:a});jQuery.post(c.sValidationUrl,d,this.onRemoteValidate.createDelegate(this))}else return!1===(this.bValid=c.isValid.call(c.oScope||c,a))&&c.getMessage()&&b.push("<div>"+c.getMessage()+"</div>"),this.bValid},this);!1===this.bValid?this.markInvalid(b):!0===this.bValid&&this.markValid()}return this.bValid},onRemoteValidate:function(a){if(a.bValid)this.markValid();else{var b=[];a.asMessages.length&&DF.each(a.asMessages,function(a){b.push("<div>"+a+"</div>")});this.markInvalid(b)}},suspendValidation:function(){this.bValidate=
!1;this.validate()},resumeValidation:function(){this.bValidate=!0;this.validate()},resetValidation:function(){this.bValid=null;this.jContainer.removeClass("d-error").removeClass("d-valid");this.jField.removeTooltip()},markInvalid:function(a){this.bValid=!1;"array"==DF.type(a)&&(a=a.join(""));a&&this.jField.addTooltip(a);this.jContainer.removeClass("d-valid").addClass("d-error");return this},markValid:function(){this.bValid=!0;this.jContainer.removeClass("d-error").addClass("d-valid");return this},
disable:function(){this.jInput.attr("disabled","disabled");this.suspendValidation();return this},enable:function(){this.jInput.attr("disabled")&&(this.jInput.removeAttr("disabled"),this.resumeValidation());return this},isEnabled:function(){return!this.jInput.attr("disabled")},setEnabled:function(a){return this[a?"enable":"disable"]()},focus:function(){this.bHasFocus=!0;this.jInput.focus();return this}}),DF.Forms.TextField=DF.extend(DF.Forms.Field,{__className:"DF.Forms.TextField",bValidateOnBlur:!0,
renderField:function(){return this.bMultiline?'<textarea name="'+this.sName+'" id="'+(this.sId||this.sName)+'" rows="6" cols="40">'+this.sValue+"</textarea>":'<input type="text" name="'+this.sName+'" id="'+(this.sId||this.sName)+'" value="'+this.sValue+'">'},getValue:function(){return this.jInput.val()},setValue:function(a){this.jInput.val(a);this.validate();return this},onRender:function(){this.bValidateOnBlur&&this.jInput.bind({focus:this.resetValidation.createDelegate(this),blur:this.validate.createDelegate(this)});
this.bSubmitOnEnter&&this.jInput.bind({keyup:function(a){13==a.which&&this.oForm.validate()}.createDelegate(this)});this.jInput.blur(function(){this.bHasFocus=!1}.createDelegate(this))}}),DF.Forms.SelectField=DF.extend(DF.Forms.TextField,{__className:"DF.Forms.SelectField",oTpl:'<option value="{sKey}"{[ values.bSelected ? " selected=selected" : ""]}>{sValue}</option>',bFirstEmpty:!0,sEmptyText:"-- Bitte w&auml;hlen --",constructor:function(a){DF.Forms.SelectField.superclass.constructor.apply(this,
arguments);this.oTpl instanceof DF.Template||(this.oTpl=new DF.XTemplate(this.oTpl))},hData:{},renderField:function(){var a=['<select name="'+this.sName+'" id="'+(this.sId||this.sName)+'">'];this.bFirstEmpty&&a.push(this.oTpl.apply({sKey:"",sValue:this.sEmptyText}));DF.iterate(this.hData,function(b,c){a.push(this.oTpl.apply({sKey:b,sValue:c}))},this);a.push("</select>");return a.join("")},setValue:function(a){var b=this.jInput.val();DF.Forms.SelectField.superclass.setValue.apply(this,arguments);a!==
b&&this.jInput.change();return this}}),DF.Forms.NumberField=DF.extend(DF.Forms.TextField,{__className:"DF.Forms.NumberField",setValue:function(a){return DF.Forms.NumberField.superclass.setValue.call(this,Number(a))},getValue:function(){return Number(DF.Forms.NumberField.superclass.getValue.call(this))}}),DF.Forms.PasswordField=DF.extend(DF.Forms.TextField,{__className:"DF.Forms.PasswordField",renderField:function(){return'<input type="password" name="'+this.sName+'" id="'+(this.sId||this.sName)+'" value="">'}})}catch(ex$$26){"object"===
typeof CrashKit&&"function"===typeof CrashKit.raise&&CrashKit.raise("df_lib.js:forms.js",ex$$26)}
try{DF.Forms.Form=DF.extend(new Function,{__className:"DF.Forms.Form",oTemplate:new DF.XTemplate('<div class="d-form-wrap" style="{this.hCss:">',' <form name="{sName}" method="post" onsubmit="return false;" action="">','  <div class="d-form-content">{sContent}</div>','  <div class="d-btns d-form-btns d-floats"><div class="d-fl"></div><div style="margin:0px auto;"></div><div class="d-fr"></div></div>'," </form>","</div>"),aoButtons:[],bUseAllButtons:!1,handleKeys:null,bRendered:!1,jContainer:null,
jEl:null,jButtonEl:null,jContentEl:null,constructor:function(a){DF.apply(this,a||{});this.sId=this.sId||DF.id();this.aoButtons.get=function(a){for(var c=0,d=this.length;c<d;c++)if(this[c]==a)return this[c]};this.oItems=new DF.Util.Collection;!0==this.bDefaultKeys&&(this.handleKeys=function(a){try{13==a.keyCode&&this.aoButtons.get("OK").click(),27==a.keyCode&&this.aoButtons.get("CANCEL").click()}catch(c){}})},exists:function(){this.bRendered||this.render()},getEl:function(){this.exists();return this.jEl},
getTitleEl:function(){return jQuery(".d-popup-header h2",this.jEl)},getContentEl:function(){this.exists();return this.jContentEl},getButtons:function(){this.exists();return this.aoButtons},render:function(a){if(!this.bRendered){this.sRenderTo=a||this.sRenderTo||document.body;this.jContainer=jQuery(this.oTemplate.apply(this)).appendTo(this.sRenderTo);this.jEl=this.jContainer.find("form");this.jContentEl=this.jEl.find(".d-form-content");this.jButtonEl=this.jEl.find(".d-form-btns");var b="";DF.each(this.aoButtons,
function(a,c){b=a.sAlign||"right";a.sAlign="";a=this.ensureButton(a);a.render(this.jButtonEl.children("center"==b?":eq(1)":"left"==b?":first":":last"));this.aoButtons[c]=a},this);var c=0;this.jButtonEl.children(":eq(1)").children().each(function(){c+=$(this).outerWidth(!0)}).end().width(c);this.bRendered=!0;this.onRender();DF.each(this.aoItems,function(a){a.bRendered||this.add(a)},this);return this}},addButton:function(a){this.exists();var b=a.sAlign;a.sAlign="";a=this.ensureButton(a);this.aoButtons.push(a);
if(this.bRendered){a.render(this.jButtonEl.children("center"==b?":eq(1)":"left"==b?":first":":last"));var c=0;this.jButtonEl.children(":eq(1)").children().each(function(){c+=$(this).outerWidth(!0)}).end().width(c)}DF.isFunction(this.handleKeys)&&jQuery(this.jEl).attr("tabindex",-1).focus().bind("keypress",this.handleKeys.createDelegate(this));return this},ensureButton:function(a){DF.isString(a)&&(a=new DF.Button({sText:a,fnCallback:this.validate||this.hide,oScope:this.oScope}));var b,c;if(this.bUseAllButtons||
"OK"==a.sId)b=this.fnCallback,c=this.oScope||this;a.bValidate&&(b=(a.fnCallback||b).createInterceptor(this.validate,this));DF.applyIf(a,{fnCallback:b,oScope:c});a instanceof DF.Button||(a=new DF.Button(a));return a},setBusy:function(a){DF.Mask[a?"setBusy":"unmask"](this.jContainer);return this},onRender:DF.emptyFn,aoItems:[],oItems:null,bDefaultKeys:!0,add:function(a){var b;DF.isArray(arguments[0])?b=arguments[0]:1<arguments.length&&(b=arguments);if(b){for(var c=0,d=b.length;c<d;c++)this.add(b[c]);
return this}if(!(a instanceof DF.Forms.Item))return this;this.oItems.add(a);a.oForm=this;this.bRendered&&a.render().appendTo(this.jContentEl);return this},bValid:!0,bValidate:!0,validate:function(){this.bValid=!0;this.oItems.each(function(a){!1===a.validate()&&(this.bValid=!1)},this);if(this.bValidate&&this.bValid)this.onValidate();return this.bValid},suspendValidation:function(){this.bValidate=!1;this.validate()},resumeValidation:function(){this.bValidate=!0;this.validate()},reset:function(){this.oItems.each(function(a){a.reset()});
return this},getValues:function(){this.exists();var a=jQuery("input,select,textarea",this.jContentEl).serializeArray(),b={};DF.each(a,function(a){b[a.name]?(DF.isArray(b[a.name])||(b[a.name]=[b[a.name]]),b[a.name].push(a.value)):b[a.name]=a.value});return b},setValues:function(a){this.exists();DF.iterate(a,function(a,c){this.jContentEl.find('[name="'+a+'"]').each(function(){jQuery(this).val(c)})},this);return this},clearValues:function(){this.exists();jQuery("input,select,textarea",this.jContentEl).val("");
return this},getItem:function(a,b){var c=b||a||0;return DF.isNumber(c)?this.oItems.itemAt(c):this.oItems.findBy(b?a:"sName",c)},focus:function(){if(arguments.length){var a=this.getItem.apply(this,arguments);if(!(a instanceof DF.Forms.Field))throw"Field "+sName+" not found";a.focus()}else this.oItems.each(function(a){if(a instanceof DF.Forms.Field&&a.isEnabled())return a.focus(),!1})},onValidate:DF.emptyFn,onRenderContent:DF.emptyFn})}catch(ex$$27){"object"===typeof CrashKit&&"function"===typeof CrashKit.raise&&
CrashKit.raise("df_lib.js:form.js",ex$$27)}
try{DF.apply(DF.Util,{measureViewport:function(){var a=jQuery(window),b=a.scrollTop(),c=a.scrollLeft(),d=a.width(),a=a.height();return{iLeft:c,iTop:b,iRight:c+d,iBottom:b+a,iHeight:a,iWidth:d}},trackViewport:function(){return DF.hViewport=DF.Util.measureViewport()},monitorViewport:function(a){!1===a?(jQuery(window).unbind("resize scroll",DF.Util.trackViewport),DF.hViewport=null):DF.hViewport||(jQuery.isReady?jQuery(window).bind("resize scroll",DF.Util.trackViewport).resize():DF.ready(function(){jQuery(window).bind("resize scroll",
DF.Util.trackViewport).resize()}))}}),DF.Dialog=DF.extend(new Function,{oTemplate:new DF.XTemplate('<div class="d-popup-wrap d-hidden-offsets{[ values.bFixed ? " d-popup-fixed" : "" ]}" id="{sId}">',' <div class="d-popup-box" style="width:{[ values.sWidth || (values.iWidth+"px") ]}">','  <div class="d-popup-inner">','   <div class="d-popup-header {sTitleCls}">','    <tpl if="values.sIconUrl">','     <img src="{[DF.BLANK]}" alt="icon" style="width:19px; height:18px; float:left; margin:3px 5px 0px 5px; background:url({sIconUrl}) 0 0 no-repeat;">',
"    </tpl>","    <h2>{sTitle}</h2>","   </div>",'   <div class="d-popup-body">','    <div class="d-popup-messages"></div>','    <div class="d-popup-content">{sContent}</div>',"   </div>",'   <div class="d-btns d-popup-btns d-floats"><div class="d-fl"></div><div style="margin:0px auto;"></div><div class="d-fr"></div></div>',"  </div>"," </div>","</div>"),aoButtons:[],sTitle:"[Empty Title]",xFade:"fast",bModal:!0,bFixed:!0,bCentered:!0,bDraggable:!0,bDragHandle:!0,bRestrictToViewport:!0,bAutoHide:!0,
bAutoDestroy:!1,bUseAllButtons:!1,bDefaultKeys:!1,sDragHandle:".d-popup-header",handleKeys:null,bRendered:!1,bDestroyed:!1,bDragging:!1,jEl:null,jDragEl:null,jButtonEl:null,jContentEl:null,constructor:function(a){DF.apply(this,a||{});this.sId=this.sId||DF.id();this.bCentered=!(this.iLeft&&this.iTop);DF.Dialog.prototype.iZIndex=DF.Dialog.prototype.iZIndex||1E3;this.aoButtons.get=function(a){var b=!1;DF.each(this,function(c,h){if(c.sType===a||c.sId===a||h===a)return b=c,!1});return b};!0==this.bDefaultKeys&&
(this.handleKeys=function(a){try{if(!this.bBusy){if(13==a.keyCode)try{this.aoButtons.get("OK").click()}catch(b){}if(27==a.keyCode)try{this.aoButtons.get("CANCEL").click()}catch(c){}}}catch(h){}});if(this.bAutoHide)if(this.fnCallback){var b=this.fnCallback,c=this.oScope||this;this.fnCallback=function(){!1!==b.apply(c,arguments)&&this.hide()}.createDelegate(this)}else this.fnCallback=this.hide,this.oScope=this},exists:function(){if(this.bDestroyed)throw"This DF.Dialog "+this.sId+" was destroyed";this.bRendered||
this.render()},getEl:function(){this.exists();return this.jEl},getTitleEl:function(){return jQuery(".d-popup-header h2",this.jEl)},getContentEl:function(){this.exists();return this.jContentEl},getButtons:function(){this.exists();return this.aoButtons},render:function(){if(!this.bRendered){DF.Util.monitorViewport();this.jEl=jQuery(this.oTemplate.apply(this)).appendTo(document.body);this.bDraggable&&(this.jDragEl=(this.bDragHandle?jQuery(this.sDragHandle,this.jEl):this.jEl).addClass("d-popup-drag unselectable").attr("unselectable",
"on").bind("mousedown",this.startDrag.createDelegate(this)));this.jContentEl=this.jEl.find(".d-popup-content");this.jButtonEl=this.jEl.find(".d-popup-btns");var a="";DF.each(this.aoButtons,function(b,d){a=b.sAlign||"right";b.sAlign="";b=this.ensureButton(b);b.render(this.jButtonEl.children("center"==a?":eq(1)":"left"==a?":first":":last"));this.aoButtons[d]=b},this);var b=0;this.jButtonEl.children(":eq(1)").children().each(function(){b+=$(this).outerWidth(!0)}).end().width(b);this.bRendered=!0;this.onRender();
return this}},renderContent:function(){this.getContentEl()},addButton:function(a){this.exists();var b=a.sAlign;a.sAlign="";a=this.ensureButton(a);this.aoButtons.push(a);if(this.bRendered){a.render(this.jButtonEl.children("center"==b?":eq(1)":"left"==b?":first":":last"));var c=0;this.jButtonEl.children(":eq(1)").children().each(function(){c+=$(this).outerWidth(!0)}).end().width(c)}return this},ensureButton:function(a){DF.isString(a)&&(a=new DF.Button({sText:a,fnCallback:this.validate||this.hide,oScope:this.oScope}));
var b,c;this.bUseAllButtons||"OK"==a.sType||"OK"==a.sId?(b=this.fnCallback,c=this.oScope||this):(b=this.hide,c=this);a.bValidate&&(b=(a.fnCallback||b).createInterceptor(this.validate,this));DF.applyIf(a,{fnCallback:b,oScope:c});a instanceof DF.Button||(a=new DF.Button(a));return a},show:function(){this.exists();this.bRendered||this.render();!1!==this.bHidden&&(this.jEl.removeClass("d-hidden-offsets"),this.bHidden=!1,DF.Dialog.prototype.iZIndex+=2,this.jEl.css("zIndex",DF.Dialog.prototype.iZIndex),
this.iWidth=this.jEl.width(),this.iHeight=this.jEl.height(),this.bCentered&&this.center(),this.bModal&&this.jEl.shim(this.xFade),DF.isFunction(this.handleKeys)&&function(){jQuery(this.jEl).find(".d-popup-box").attr("tabindex",-1).focus().bind("keypress",this.handleKeys.createDelegate(this))}.defer(10,this),this.setBusy(!1),this.onShow());return this},hide:function(){this.exists();if(!this.bRendered||this.bHidden)return this;DF.isFunction(this.handleKeys)&&jQuery(this.jEl).find(".d-popup-box").removeAttr("tabindex").unbind("keypress",
this.handleKeys.createDelegate(this));this.bModal&&this.jEl.unshim(this.xFade);DF.Dialog.prototype.iZIndex-=2;this.bAutoDestroy?(this.jEl.remove(),this.bDestroyed=!0):(this.jEl.css({top:"",left:""}),this.jEl.addClass("d-hidden-offsets"),this.bHidden=!0);this.onHide();return this},center:function(){this.exists();var a=DF.hViewport,b=(a.iWidth-this.jEl.width())/2+a.iLeft,a=(a.iHeight-this.jEl.height())/2+a.iTop;this.setPosition(b,a);return this},startDrag:function(a){if(this.bDraggable){var b=this.jEl.offset();
this.iOffsetX=a.pageX-b.left;this.iOffsetY=a.pageY-b.top;this.iWidth=this.jEl.width();this.iHeight=this.jEl.height();this.bModal||this.jEl.css("zIndex",DF.Dialog.prototype.iZIndex+=2);jQuery(document).bind("mousemove",this.track.createDelegate(this)).bind("mouseup",this.stopDrag.createDelegate(this));this.bDragging=!0}return this},stopDrag:function(){jQuery(document).unbind("mousemove").unbind("mouseup");this.bFixed&&this.jEl.css("position","fixed");this.bDragging=!1;return this},track:function(a){this.bDragging&&
this.setPosition(a.pageX-this.iOffsetX,a.pageY-this.iOffsetY);return this},setPosition:function(a,b){this.exists();var c=DF.hViewport;this.iWidth=this.jEl.width();this.iHeight=this.jEl.height();this.bRestrictToViewport&&(a+this.iWidth>c.iRight&&(a=c.iRight-this.iWidth),b+this.iHeight>c.iBottom&&(b=c.iBottom-this.iHeight),a=Math.max(a,c.iLeft),b=Math.max(b,c.iTop));this.jEl.offset({left:a,top:b});return this},setTitle:function(a){this.exists();this.getTitleEl().html(a);return this},resetTitle:function(){this.exists();
this.sTitle&&this.getTitleEl().html(this.sTitle);return this},bBusy:!1,setBusy:function(a){this.bBusy=!!a;DF.each(this.aoButtons,function(a){a.setEnabled(!this.bBusy,a.getEl().hasClass("accept"))},this);DF.Mask[this.bBusy?"mask":"unmask"](this.jContentEl);return this},onRender:DF.emptyFn,onShow:DF.emptyFn,onHide:DF.emptyFn}),DF.FormDialog=DF.extend(DF.Dialog,{aoItems:[],oItems:null,bDefaultKeys:!0,constructor:function(a){a=a||{};DF.FormDialog.superclass.constructor.apply(this,arguments);this.oItems=
new DF.Util.Collection},sTitle:"[DF.FormDialog]",add:function(a){var b;DF.isArray(arguments[0])?b=arguments[0]:1<arguments.length&&(b=arguments);if(b){for(var c=0,d=b.length;c<d;c++)this.add(b[c]);return this}if(!(a instanceof DF.Forms.Item))return this;this.oItems.add(a);a.oForm=this;this.bRendered&&a.render().appendTo(this.jContentEl);return this},bValid:!0,bValidate:!0,validate:function(a){this.bStop=!!a;this.bValid=!0;this.oItems.each(function(a){if(!0===this.bStop&&a.bHasFocus)return this.bValid=
!1;!1===a.validate()&&(this.bValid=!1)},this);this.bStop=null;if(this.bValidate&&this.bValid)this.onValidate();return this.bValid},suspendValidation:function(){this.bValidate=!1;this.resetValidation();return this},resumeValidation:function(){this.bValidate=!0;this.validate(!0);return this},resetValidation:function(){this.oItems.each(function(a){a.resetValidation()});return this},reset:function(){this.oItems.each(function(a){a.reset()});return this},render:function(){DF.FormDialog.superclass.render.call(this);
DF.each(this.aoItems,function(a){a.bRendered||this.add(a)},this);this.onRenderContent();return this},hide:function(){DF.FormDialog.superclass.hide.call(this);this.reset()},setValues:function(a){this.exists();this.oItems.each(function(b){b.sName&&b.setValue(a[b.sName])});return this},getValues:function(){this.exists();var a={};this.oItems.each(function(b){b.sName&&b.isVisible()&&(b.getValue(),a[b.sName]=b.getValue())},this);return a},clearValues:function(){this.oItems.each(function(a){a.reset()})},
getItem:function(a,b){var c=b||a||0;return DF.isNumber(c)?this.oItems.itemAt(c):this.oItems.findBy(b?a:"sName",c)},focus:function(){if(arguments.length){var a=this.getItem.apply(this,arguments);if(!(a instanceof DF.Forms.Field))throw"Field "+sName+" not found";a.focus.defer(50,a)}else this.oItems.each(function(a){if(a instanceof DF.Forms.Field&&a.isEnabled())return a.focus.defer(50,a),!1})},onValidate:DF.emptyFn,onRenderContent:DF.emptyFn})}catch(ex$$28){"object"===typeof CrashKit&&"function"===typeof CrashKit.raise&&
CrashKit.raise("df_lib.js:dialog.js",ex$$28)}
try{DF.Popup={},DF.Popup.alert=function(a,b){var c={aoButtons:[{sText:"OK",sId:"OK"}],sTitle:"Hinweis",sWidth:"300px",bModal:!0,bFixed:!0,bDragHandle:!0,bAutoHide:!0,bAutoDestroy:!0,handleKeys:function(a){if(!this.bBusy&&(13==a.keyCode||27==a.keyCode))try{this.aoButtons.get("OK").click()}catch(b){}}},d=DF.apply({},c);"object"==typeof a?DF.apply(d,a,c):"string"==typeof a&&(DF.isObject(b)&&DF.apply(d,b),d.sContent=a);c=new DF.Dialog(d);c.show();return c},DF.Popup.info=function(a,b){var c={aoButtons:[{sText:"Schlie&szlig;en",
sId:"CLOSE",sColor:"red"}],sTitle:"Hinweis",sWidth:"300px",bModal:!0,bFixed:!0,bDragHandle:!0,bAutoHide:!0,bAutoDestroy:!0,handleKeys:function(a){if(!this.bBusy&&(13==a.keyCode||27==a.keyCode))try{this.aoButtons.get("CLOSE").click()}catch(b){}}},d=DF.apply({},c);"object"==typeof a?DF.apply(d,a,c):"string"==typeof a&&(DF.isObject(b)&&DF.apply(d,b),d.sContent=a);c=new DF.Dialog(d);c.show();return c},DF.Popup.confirm=function(){var a={aoButtons:[{sText:"OK",sId:"OK"},{sText:"Abbrechen",sId:"CANCEL",
sColor:"red"}],sTitle:"Sicherheitsabfrage",sWidth:"300px",bModal:!0,bFixed:!0,bDragHandle:!0,bAutoHide:!0,bAutoDestroy:!0,bDefaultKeys:!0},b=DF.apply({},a);"object"==DF.type(arguments[0])?DF.apply(b,arguments[0],a):"string"==DF.type(arguments[0])&&("object"==DF.type(arguments[1])&&DF.apply(b,arguments[1]),b.sContent=arguments[0]);2<arguments.length&&(b.fnCallback=arguments[2],b.oScope=arguments[3]||this);a=new DF.Dialog(b);a.show();return a},DF.Popup.prompt=function(){var a=DF.apply({},{aoButtons:[{sText:"OK",
sId:"OK",bValidate:!0},{sText:"Abbrechen",sId:"CANCEL",sColor:"red"}],sTitle:"Eingabe erforderlich",sValue:"",sWidth:"300px",bModal:!0,bFixed:!0,bDragHandle:!0,bAutoHide:!0,bAutoDestroy:!0,bDefaultKeys:!0,aoItems:[]});"object"==typeof arguments[0]?DF.apply(a,arguments[0]):"string"==typeof arguments[0]&&(DF.isObject(arguments[1])?DF.apply(a,arguments[1]):"string"==DF.type(arguments[1])&&(a.sValue=arguments[1]),a.sContent=arguments[0]);var b=a.fnCallback;2<arguments.length&&(b=arguments[2]);"function"!=
DF.type(b)&&(b=DF.emptyFn);a.fnCallback=function(){var a=Array.prototype.slice.call(arguments,0);a.push(this.getValues().value);b.apply(this.oScope||this,a)};a.sContent&&(a.aoItems.unshift(new DF.Forms.Item(a.sContent)),delete a.sContent);a.aoItems.push(new DF.Forms.TextField({sLabel:"",sName:"value",sValue:a.sValue,aoValidators:a.aoValidators||[]}));a=new DF.FormDialog(a);a.show().focus.defer(20,a,[]);return a}}catch(ex$$29){"object"===typeof CrashKit&&"function"===typeof CrashKit.raise&&CrashKit.raise("df_lib.js:popup.js",
ex$$29)}
try{(function(a){a.fn.extend({tabpanel:function(b){function c(a){if(void 0==a)return-1;a instanceof jQuery.Event&&(a=jQuery(a.target).closest(".tab"));if(a instanceof jQuery)return k.index(a);if("number"==typeof a){if(k.eq(a).length)return a;a=a.toString()}if("string"==typeof a){if(-1!==(iIdx=c(jQuery("#"+a))))return iIdx;if(-1==(iIdx=a.indexOf("-tab")))return c(jQuery("#"+a+"-tab"))}return-1}var d=jQuery(this).eq(0).addClass("tabpanel"+(DF.isIE6?" ie6":"")),e=0,g=0,h=-1,f=-1,l=d.children(".tabs"),k=
l.children(".tab"),j=d.children(".cards"),q=j.children(".card"),o=-1,n=-1,p=d.hasClass("persistent"),u='<img src="'+DF.BLANK+'" alt="x" class="d-tool d-tool-close" style="display: none;">',m='<img src="'+DF.BUSY_IMG+'" alt="loading" class="tab-busy" style="display: none;">',b=DF.apply({},b,{activeIndex:-1,onActivate:null,scrolling:!0,forcetab:!1});l.length||(d.append('<ul class="tabs floats">'),l=d.children(".tabs"),d.css("display","none"),k=l.children(".tab"));j.length||(d.append('<div class="cards">'),
j=d.children(".cards"),d.css("display","none"),q=j.children(".card"));k.addClass("tab-bg");k.find("a").addClass("tab-bg").removeAttr("href").attr("style","text-decoration:none; -moz-outline:0px none;");var r=l.wrap('<div class="tabstrip overflow"><div class="tabscroll"></div></div>').parent(),v=r.parent();if(b.scrolling){jQuery('<ul class="tabs floats d-abs" style="top:0px; left:0px;"><li class="tab"><a class="tab-nav tab-nav-left" onclick="return false;"><img src="'+DF.BLANK+'" class="d-tool d-tool-scroll-left"/></a></li></ul>').prependTo(v);
jQuery('<ul class="tabs floats d-abs" style="top:0px; right:0px;"><li class="tab d-fr"><a class="tab-nav tab-nav-right" onclick="return false;"><img src="'+DF.BLANK+'" class="d-tool d-tool-scroll-right"/></a></li></ul>').prependTo(v);var t=jQuery(".tab-nav",d);t.parent().parent().outerWidth(!0);t.bind("click",jQuery.noop).bind("mouseover mouseout",jQuery.proxy(function(a){var b=jQuery(a.target);b.toggleClass(b.hasClass("d-tool-scroll-left")?"d-tool-scroll-left-over":"d-tool-scroll-right-over","mouseover"==
a.type)},this))}return{id:null,init:function(){this.id=d.attr("id");k.bind("click",jQuery.proxy(this.activate,this)).bind("mouseover mouseout",function(b){a(this).toggleClass("over","mouseover"==b.type&&!a(this).hasClass("disabled"))});k.find(".tab-bg").append(m).append(u);var c=k.filter(".closable");for(i=0;i<c.length;i++)this.showClosable(k.index(c[i]));var e;b.activeIndex=p&&(e=DF.Cookie.get("tabpanel"))&&"undefined"!=typeof e[this.id]?e[this.id]:0<=b.activeIndex?b.activeIndex:0;this.activate(b.activeIndex);
t.bind("click dblclick",jQuery.proxy(this.scroll,this));jQuery(window).resize(a.debounce(this.refresh.createDelegate(this),300));return this},getCards:function(a){return void 0==a?q:-1==(a=c(a))?-1:q.eq(a)},getTabs:function(a){return void 0==a?k:-1==(a=c(a))?-1:k.eq(a)},getIndexById:function(a){return c(a)},getIdByIndex:function(a){if(-1==(a=c(a)))return"";a=k.eq(a).attr("id");if(-1!==(iIdx=a.lastIndexOf("-tab")))a=a.substr(0,iIdx);return a},showBusy:function(a){return-1!==(a=c(a))&&void 0!==(oBusy=
k.eq(a).find(".tab-busy"))&&oBusy.length?(oBusy.show(),!0):!1},hideBusy:function(a){if(-1===(a=c(a)))return!1;k.eq(a).find(".tab-busy").hide();return!0},showClosable:function(b){return-1!==(b=c(b))&&void 0!==(oClose=k.eq(b).find(".d-tool-close"))&&oClose.length?(oClose.css("display","").bind("click",jQuery.proxy(a(this).closest(".tab.disabled").length?jQuery.noop:this.remove,this)).bind("mouseover mouseout",jQuery.proxy(function(a){var b=jQuery(a.target);b.toggleClass("d-tool-close-hover","mouseover"==
a.type&&!b.closest(".tab.disabled").length)},this)),!0):!1},hideClosable:function(a){if(-1==(a=c(a)))return!1;k.eq(a).find(".d-tool-close").css("display","none");return!0},add:function(a,b,e){var f=a.sId||DF.id(),g=jQuery('<li class="tab tab-bg" id="'+f+'-tab"><a class="tab-bg" style="text-decoration:none;">'+(void 0!==a.sMaxWidth?'<div class="ellipsis d-fl" style="width: '+a.sMaxWidth+';" title="'+(a.sTitle||a.sText||a.text||"&nbsp;")+'">':"")+(a.sTitle||a.sText||a.text||"&nbsp;")+(void 0!==a.sMaxWidth?
"</div>":"")+m+u+"</a></li>"),f=jQuery('<div class="card" id="'+f+'-card">'+(a.sContent||a.content||"&nbsp;")+"</div>");-1!==(index=c(e))?(k=k.add(g.insertAfter(k.eq(index)).click(this.activate.createDelegate(this,[e+1]))),q=q.add(f.insertAfter(q.eq(index)))):(k=k.add(g.appendTo(l).click(jQuery.proxy(this.activate,this))),q=q.add(f.appendTo(j)));g.bind("mouseover mouseout",function(a){var b=jQuery(this);b.toggleClass("over","mouseover"==a.type&&!b.hasClass("disabled"))});a.bClosable&&this.showClosable(g);
a.bBusy&&this.showBusy(g);b?(o=-1,this.activate(g)):this.refresh();d.css("display","");return this},remove:function(a){if(-1!==(a=c(a)))if("function"==typeof this.beforeRemove&&this.beforeRemove(a),k.eq(a).remove(),k=l.children(".tab"),q.eq(a).remove(),q=j.children(".card"),o==a?(o=-1,this.activate(-1!==n?n:0)):o>a&&(o--,this.activate(o,!0)),"function"==typeof this.onRemove)this.onRemove(a);this.refresh();return this},show:function(a){-1!==(a=c(a))&&k.eq(a).removeClass("d-hidden");return this},hide:function(a){if(-1!==
(a=c(a)))this.deactivate(a),k.eq(a).addClass("d-hidden");return this},disable:function(a){if(-1!==(a=c(a)))this.deactivate(a),k.eq(a).addClass("disabled");return this},enable:function(a){-1!==(a=c(a))&&k.eq(a).removeClass("disabled");return this},setEnabled:function(a,b){this[b?"enable":"disable"](a)},getActiveIndex:function(){return o},activate:function(a,d){n=k.filter(".active").index();a=c(a);-1===a&&(a=0);if(-1!==(a=c(a))&&(o!==a||d)&&!k.eq(a).hasClass("disabled")){var e;k.removeClass("active").eq(a).addClass("active");
q.removeClass("active").eq(a).addClass("active");this.refresh();o=a;this.scrollTo(o);p&&(e=DF.Cookie.get("tabpanel")||{},e[this.id]=o,DF.Cookie.set("tabpanel",e,(new Date).add(Date.HOUR,1)));if("function"==typeof this.onActivate)this.onActivate(o);else if("function"==typeof b.onActivate)b.onActivate(o)}return this},onActivate:null,onRemove:null,beforeRemove:null,deactivate:function(a){if(-1!==(a=c(a)))k.eq(a).removeClass("active"),q.eq(a).removeClass("active"),o=-1;return this},refresh:function(){var a;
d.is(":visible")||(a=d.add(d.parents(":not(:visible)")),a.css("display","block"));l[k.not(".d-hidden").length>(b.forcetab?0:1)?"show":"hide"]();r.stop(!0);e=d.width();var c=r.outerWidth(!0)-r.width();g=0;h=f=-1;k.each(function(){var a=jQuery(this),b=a.outerWidth(!0);a.data("pos",g).data("width",b);g+=b;a.data("pos")>=r.scrollLeft()&&-1==h&&(h=a.index());a.data("pos")+a.data("width")>r.scrollLeft()+(e-c)&&-1==f&&(f=a.index()-1)});this.showScrollNav(0<h,0<f);if(!b.scrolling)return this;c=r.outerWidth(!0)-
r.width();r.width(e-c);(DF.isIE7||DF.isIE8)&&v.height(r.height()-1);a&&a.css("display","");return this},showScrollNav:function(a,b){jQuery(".tab-nav-left",d).parent().parent()[a?"show":"hide"]();jQuery(".tab-nav-right",d).parent().parent()[b?"show":"hide"]();if(a||b)l.width(Math.max(g,e)+(DF.isIE6?5:0));r.parent().toggleClass("overflow",a||b)},scroll:function(a){this.refresh();var b=jQuery(a.target);if(b.hasClass("d-tool-scroll-left"))this["dblclick"==a.type?"scrollFirst":"scrollPrev"]();else if(b.hasClass("d-tool-scroll-right"))this["dblclick"==
a.type?"scrollLast":"scrollNext"]();return this},scrollPrev:function(){return 0>=h||h>k.length-1?this:this.scrollTo(h-1)},scrollNext:function(){return 0>f||f>=k.length-1?this:this.scrollTo(f+1)},scrollFirst:function(){return this.scrollTo(0)},scrollLast:function(){return this.scrollTo(k.length-1)},scrollTo:function(a){if(-1==(a=c(a))||!b.scrolling)return!1;var e=k.eq(a),j=r.width(),f=r.scrollLeft();if(e.data("pos")<f)e=e.data("pos");else if(e.data("pos")+e.data("width")>f+j)e=e.data("pos")+e.data("width")-
j;else return this;d.is(":visible")?r.animate({scrollLeft:e},100*Math.pow(Math.abs(Math.abs(f)-Math.abs(e)),0.2)):r.scrollLeft(e);this.showScrollNav(0<e,a<k.length-1);return this}}.init()}})})(jQuery)}catch(ex$$30){"object"===typeof CrashKit&&"function"===typeof CrashKit.raise&&CrashKit.raise("df_lib.js:tabpanel.js",ex$$30)}
try{DF.Tooltip=function(){var a=null,b=null,c={bTrack:!0,bSticky:!1,iOffsetX:-30,iOffsetY:0,iWidth:400,sPosition:"tr",iMaxWidth:500,iMinWidth:100},d={},e=null,g=0,h=0;jQuery.fn.addTooltip=function(a){DF.isString(a)&&(a={sContent:a});a=a||{};return this.each(function(){var b=jQuery(this);if(a.bUseTitle){if(!b.attr("title"))return;a.sContent=b.attr("title");b.removeAttr("title")}b.data("tooltip")&&b.unbind("mouseover mouseout");b.mouseover(DF.Tooltip.show.createDelegate(DF.Tooltip));DF.Tooltip.bSticky||
b.mouseout(DF.Tooltip.hide.createDelegate(DF.Tooltip));b.data("tooltip",DF.apply({},a))})};jQuery.fn.removeTooltip=function(){return this.each(function(){var a=jQuery(this);if(hOpts=a.data("tooltip"))a.unbind("hover"),hOpts.bUseTitle&&a.attr("title",hOpts.sContent),a.removeData("tooltip")})};DF.ready(function(){DF.apply(DF.Tooltip,c);var d=jQuery("#d-tt");a=d.length?d:jQuery('<div id="d-tt"><div class="d-tt-t d-floats"><div class="d-tt-sh d-tt-l"></div><div class="d-tt-sh d-tt-c"></div><div class="d-tt-sh d-tt-r"></div></div><div class="d-tt-m d-floats"><div class="d-tt-sh d-tt-l"></div><div class="d-tt-c"><div class="d-tt-inner"> <div class="d-tt-header d-floats"><img class="d-fr d-tool d-tool-close" src="'+
DF.BLANK+'" alt="x"></div> <div class="d-tt-content"></div> <div class="d-tt-footer"></div></div></div><div class="d-tt-sh d-tt-r"></div></div><div class="d-tt-b d-floats"><div class="d-tt-sh d-tt-l"></div><div class="d-tt-sh d-tt-c"></div><div class="d-tt-sh d-tt-r"></div></div></div>').appendTo(document.body).hide();b=a.find(".d-tt-content")});return{hTargets:d,stopTracking:function(){this.bTrack=!1},startTracking:function(){this.bTrack=!0},stick:function(b){this.bSticky=!0;this.bTrack=!1;jQuery(e).unbind("mouseout mousemove");
a.find(".d-tt-header").show();a.find(".d-tt-header img").bind("click",this.hide.createDelegate(this));a.is(":visible")&&this.syncSize(b)},unstick:function(b){this.bSticky=!1;this.bTrack=!0;jQuery(e).mouseout(this.hide.createDelegate(this));a.find(".d-tt-header").hide().find("img").unbind("click");a.is(":visible")&&this.syncSize(b)},show:function(c){if(e=c.currentTarget){var l=DF.id(e),k;if(k=d[l]||jQuery(e).data("tooltip")){switch(!0){case void 0!==k.sContent:jQuery(b).html(k.sContent);this.syncSize(k);
break;case void 0!==k.sUrl:jQuery.get(k.sUrl,{sElementId:l},function(a){try{var c=DF.isObject(a)?a:DF.decode(a);if(k.sTpl){var d=k.sTpl;d instanceof DF.Template||(d=new DF.XTemplate(d));a=d.apply(c)}}catch(e){}jQuery(b).html(a);this.syncSize(k)}.createDelegate(this));break;case void 0!==k.sSelector:l=jQuery(k.sSelector).html(),jQuery(b).html(l)}a.show();this.bSticky?this.stick(k):this.unstick(k);h=a.outerHeight();g=a.outerWidth();this.bTrack&&(this.setPosition(c.pageX,c.pageY),jQuery(e).bind("mousemove",
this.track.createDelegate(this)));jQuery(e).bind("mousedown",this.hide.createDelegate(this))}}},syncSize:function(b){var b=b||jQuery(e).data("tooltip"),c=parseInt(b&&b.sWidth?b.sWidth:this.iWidth,10),d=parseInt(b&&b.sMinWidth?b.sMinWidth:this.iMinWidth,10),b=parseInt(b&&b.sMaxWidth?b.sMaxWidth:this.iMaxWidth,10);c<d?c=d:c>b&&(c=b);jQuery(a).width(c);jQuery(".d-tt-c",a).width(c-52);c=jQuery(".d-tt-inner",a).outerHeight();jQuery(".d-tt-m .d-tt-sh",a).height(c)},setPosition:function(b,c){var d=b-(this.sPosition.match(/l/)?
g:0)-this.iOffsetX,e=c-(this.sPosition.match(/t/)?h:0)-this.iOffsetY,q=jQuery(window).width(),o=jQuery(window).scrollTop();a.css({left:0<d?d+g-this.iOffsetX>q?q-g+this.iOffsetX:d:0,top:e>o?e:o})},hide:function(){a.hide();jQuery(e).unbind("mousemove")},forceHide:function(){a.hide();jQuery(e).unbind("mousemove")},track:function(a){this.bTrack&&this.setPosition(a.pageX,a.pageY)},register:function(a,b){jQuery(a).each(function(a,c){var e=DF.id(c),c=jQuery(c);if(b.bUseTitle){if(!c.attr("title"))return;
b.sContent=c.attr("title");c.removeAttr("title")}d[e]&&jQuery("#"+e).unbind("mouseover mouseout");c.mouseover(this.show.createDelegate(this));this.bSticky||c.mouseout(this.hide.createDelegate(this));d[e]=DF.apply({},b)}.createDelegate(this))},unregister:function(a){jQuery(a).each(function(a,b){var c=DF.id(b);jQuery("#"+c).unbind("hover");d[c]&&d[c].bUseTitle&&jQuery(b).attr("title",d[c].sContent);delete d[c]}.createDelegate(this))},unregisterAll:function(){a.is(":visible")&&this.hide();DF.each(d,
function(a){jQuery(a.sId).unbind("hover");a.bUseTitle&&jQuery(oEl).attr("title",a.sContent)});d={}},getEl:function(){return a}}}()}catch(ex$$31){"object"===typeof CrashKit&&"function"===typeof CrashKit.raise&&CrashKit.raise("df_lib.js:tooltip.js",ex$$31)}
try{DF.Status=function(){var a=new DF.Util.Collection,b="",c=null,d=null,e={MSG_DEBUG:0,MSG_SUCCESS:1,MSG_NOTICE:2,MSG_WARNING:4,MSG_ERROR:8},g={MSG_DEBUG:["debug"],MSG_SUCCESS:["success"],MSG_NOTICE:["notice"],MSG_WARNING:["warning"],MSG_ERROR:["error"]},h=0,f=null,l=null;return{MSG_DEBUG:e.MSG_DEBUG,MSG_SUCCESS:e.MSG_SUCCESS,MSG_NOTICE:e.MSG_NOTICE,MSG_WARNING:e.MSG_WARNING,MSG_ERROR:e.MSG_ERROR,sMsgTpl:new DF.XTemplate('<div id="{sId}" class="d-msg">',' <div class="d-msg-body d-msg-level-{iLevel}">',
'  <img src="{[ DF.BLANK ]}" class="d-fr d-tool d-tool-close"/>','  <img src="{[ DF.BLANK ]}" class="d-msg-icon d-fl">','  <div class="d-msg-text">','   <tpl if="sElementId != \'undefined\'"><label for="{sElementId}" title="Klicken um zum zugeh\u00f6rigen Eingabefeld zu springen">{sMessage}</label></tpl>',"   <tpl if=\"sElementId == 'undefined'\">{sMessage}</tpl>","  </div>"," </div>","</div>"),sOldMsgTpl:new DF.Template("<tr>",'<td><img style="border:0px none" alt="{sLevelAlt}" src="/pics/msg_{sLevel}.gif"></td>',
'<td style="width:100%">{sMessage}</td>',"</tr>"),sMoreTpl:new DF.Template('<div class="d-more-msg r">{iOddMessages} weitere Meldung(en) vorhanden.&nbsp;','  <a href="#" onclick="return false;">Alle anzeigen</a>',"</div>"),sHelperTpl:'<div class="d-status-helper"><div class="c">Meldung schlie\u00dfen</div><div class="d-floats ml mr"><a href="#" class="d-fr" onclick="return false;">Alle</a><a href="#" class="d-fl" onclick="return false;">Diese</a></div></div>',init:function(a){c||(b=a||"statusOuterDiv",
c=jQuery("#"+b),c.length||(c=jQuery('<div id="'+b+'"></div>'),c.prependTo(document.body)),c.addClass("d-msgs"),c.children().length||c.hide(),d=c.find("#statusInnerDiv"),d.length?this.captureMessages():d=jQuery('<div id="statusInnerDiv" class="d-msgs-body"></div>').appendTo(c),jQuery(".d-msgs-body .d-tool-close").live("mouseover",function(){jQuery(this).addClass("d-tool-close-hover")}).live("mouseover",this.showHelper.createDelegate(this)).live("mouseout",function(){jQuery(this).removeClass("d-tool-close-hover")}).live("click",
this.removeMessage.createDelegate(this)),window.addDebug=this.addDebug.createDelegate(this),window._oldAddSuccess=window.addSuccess,window.addSuccess=this.addSuccess.createDelegate(this),window._oldAddNotice=window.addNotice,window.addNotice=this.addNotice.createDelegate(this),window._oldAddWarning=window.addWarning,window.addWarning=this.addWarning.createDelegate(this),window._oldAddError=window.addError,window.addError=this.addError.createDelegate(this),window._oldDeleteStatusMeldungen=window.deleteStatusMeldungen,
window.deleteStatusMeldungen=this.clear.createDelegate(this))},setTarget:function(a){if("object"!=typeof a){b=a||"statusOuterDiv";a=jQuery("#"+b);if(c==a)return;c=a;c.length||(c=jQuery('<div id="'+b+'"></div>'),c.prependTo(document.body))}else c=a;c.addClass("d-msgs");c.children().length||c.hide();d=c.find(".d-msgs-body","#statusInnerDiv");d.length||(d=jQuery("<div/>").appendTo(c));d.addClass("d-msgs-body")},captureOldMessages:function(){d.removeClass().addClass("d-msgs-body");var a=jQuery("#statusTable").remove();
jQuery("tr",a).each(function(a,b){var c=jQuery("td:first img",b).attr("alt"),d=jQuery("td:last",b).text();switch(c){case "Fehler":this.addError(d);break;case "Warnung":this.addWarning(d);break;case "OK":this.addSuccess(d);break;case "Anmerkung":this.addNotice(d)}}.createDelegate(this))},setSpeed:function(a){h=a},show:function(a){c.is(":hidden")&&c.slideDown(h,a)},hide:function(a){c.slideUp(h,a)},clear:function(){this.hide(function(){a.clear();jQuery(".d-msg, .d-more-msg").remove();jQuery("[class*=d-msg-level-]").each(function(){$(this).removeClass("d-msg-level-"+
$(this).data("addedLevel"))})})},captureMessages:function(){jQuery(".d-msg",d).each(function(b,c){var c=jQuery(c),g="msg_"+DF.id();c.attr("id",g);var f=c.attr("class").match(/d-msg-level-(.*)/),f=e[f[1]]||e.MSG_SUCCESS,l=c.find(".d-msg-text",c).html();a.add({sId:g,iLevel:Number(f),sMessage:""+l,sElementId:"statusOuterDiv"});3<=b&&(c.hide(),jQuery(".d-more-msg",d).remove(),jQuery(this.sMoreTpl.apply({iOddMessages:b-3+1})).appendTo(d).find("a").click(function(){jQuery(this).closest(".d-msgs").find(".d-msg").slideDown(h);
jQuery(this).closest(".d-more-msg").remove()}))}.createDelegate(this))},stringToLevel:function(a){for(iLevel in g)for(iID in g[iLevel])if(g[iLevel][iID]==a&&void 0!=e[iLevel])return e[iLevel];return a},addMessage:function(b,e,g,f){g&&this.setTarget(g);"string"==typeof b&&(b=this.stringToLevel(b));e={sId:"msg_"+DF.id(),iLevel:Number(b),sMessage:""+e,sElementId:"undefined"};void 0!=f&&void 0!=jQuery("#"+f)&&(jQuery("#"+f).addClass("d-msg-level-"+b).data("addedLevel",b),e.sElementId=""+f);a.add(e);b=
jQuery(this.sMsgTpl.apply(e)).attr("id",e.sId).appendTo(d).hide();0>=jQuery(".d-msg",d).length-3?c.is(":hidden")?(b.show(),this.show()):b.slideDown(h):(jQuery(".d-more-msg",d).remove(),jQuery(this.sMoreTpl.apply({iOddMessages:jQuery(".d-msg:hidden",d).length})).appendTo(d).find("a").click(function(){jQuery(this).closest(".d-msgs").find(".d-msg").slideDown(h);jQuery(this).closest(".d-more-msg").remove()}))},showHelper:function(a){f||(f=jQuery(this.sHelperTpl).appendTo(document.body).hide());var b=
jQuery(a.target),c={left:Math.min(a.pageX-f.outerWidth()/2,jQuery(window).width()-f.outerWidth()),top:a.pageY-f.height()/2};l=function(){b.hasClass("d-tool-close-hover")&&f.css(c).fadeIn(h).bind("click",this.hideHelper.createDelegate(this)).bind("mouseleave",this.hideHelper.createDelegate(this)).find("a:first").bind("click",this.clear.createDelegate(this)).next("a").bind("click",function(){b.trigger("click")})}.defer(750,this)},hideHelper:function(){f&&(l&&(window.clearTimeout(l),l=null),f.fadeOut(h))},
removeMessage:function(b){l&&(window.clearTimeout(l),l=null);f.is(":visible")&&f.hide();var d,e,g;if((d=jQuery(b.target).closest(".d-msg")).length)(e=d.get(0).id)&&(g=a.findBy("sId",e))&&a.remove(g),d.siblings().length?d.slideUp(h,function(){d.remove()}):c.slideUp(h,function(){d.remove()})},addDebug:function(a){this.addMessage(e.MSG_DEBUG,a)},addSuccess:function(a,b){if(b)return window._oldAddSuccess(a,b);this.addMessage(e.MSG_SUCCESS,a)},addNotice:function(a,b){if(b)return window._oldAddNotice(a,
b);this.addMessage(e.MSG_NOTICE,a)},addWarning:function(a,b,c){if(b)return window._oldAddWarning(a,b);this.addMessage(e.MSG_WARNING,a,c)},addError:function(a,b,c){if(b)return window._oldAddError(a,b);this.addMessage(e.MSG_ERROR,a,c)}}}(),DF.ready(function(){DF.Status.init()})}catch(ex$$32){"object"===typeof CrashKit&&"function"===typeof CrashKit.raise&&CrashKit.raise("df_lib.js:status.js",ex$$32)}
try{DF.App.DateSelector=function(a){var b="Sonntag,Montag,Dienstag,Mittwoch,Donnerstag,Freitag,Samstag".split(","),c="Januar,Februar,M\u00e4rz,April,Mai,Juni,Juli,August,September,Oktober,November,Dezember".split(","),d={startDay:1,sticky:!0,allowFutureDates:!0,allowPastDates:!0,dateFormat:"d.m.Y",displayFormat:"d.m.Y",enabledDates:{},disabledDates:{},startDate:void 0};return{oCalEl:null,oTargetEl:null,currentDate:null,init:function(b){DF.apply(this,a,d);var b=jQuery(b),c;if(1!==b.length)throw"Kein Element gefunden oder Selektor zu ungenau";
b.is("input")?(c=b.val(),b.attr("autocomplete","off")):c=b.html();c=Date.parseDate(c,this.displayFormat);if(!c){if(void 0==this.startDate)return;c=Date.parseDate(this.startDate,this.dateFormat);if(!c)return}this.allowFutureDates||(this.maxDate=new Date);this.allowPastDates||(this.minDate=new Date);b.click(this.toggle.createDelegate(this)).css({cursor:"pointer"}).parent().addClass("d-rel");this.oTargetEl=b;this.update(c)},render:function(){for(var a=['<table cellspacing="0" cellpadding="0" class="d-cal-layout"><tbody class="d-cal-nav">',
'<tr><td class="d-cal-mid" align="center">','<table cellspacing="0" class="d-cal-year"><tbody><tr>'],c=0;7>c;c++)a.push('<td><a href="#"><em><span></span></em></a></td>');a.push("</tr></tbody></table></td></tr>",'<tr><td class="d-cal-mid" align="center">','<table cellspacing="0" class="d-cal-month"><tbody><tr>');for(c=0;7>c;c++)a.push('<td><a href="#"><em><span></span></em></a></td>');a.push("</tr></tbody></table></td></tr></tbody>",'<tbody><tr><td><table class="d-cal-inner" cellspacing="0"><thead><tr>');
for(c=0;7>c;c++){var d=this.startDay+c;6<d&&(d-=7);a.push("<th><span>",b[d].substr(0,2),"</span></th>")}a[a.length]="</tr></thead><tbody><tr>";for(c=0;42>c;c++)0==c%7&&0!=c&&(a[a.length]="</tr><tr>"),a[a.length]='<td><a href="#" class="d-cal-date"><em><span></span></em></a></td>';a.push('</tr></tbody></table></td></tr><tr><td align="center" class="d-cal-activemonth"><a href="#" class="d-cal-date d-cal-today"><em><span>Heute</span></em></a></td></tr></tbody></table>');c=this.oTargetEl.position();d=
this.oTargetEl.outerHeight();a=jQuery("<div/>").addClass("d-cal").css({left:c.left,top:c.top+d+2}).html(a.join("")).insertAfter(this.oTargetEl).hide();this.aoDayCells=jQuery(".d-cal-inner tbody td",a);this.aoDayTexts=jQuery(".d-cal-inner tbody span",a);this.aoYearCells=jQuery(".d-cal-year td",a);this.aoYearTexts=jQuery(".d-cal-year span",a);this.aoMonthCells=jQuery(".d-cal-month td",a);this.aoMonthTexts=jQuery(".d-cal-month span",a);this.aoYearCells.eq(3).addClass("d-cal-selected");this.aoMonthCells.eq(3).addClass("d-cal-selected");
a.click(this.handleDateClick.createDelegate(this));if(!this.sticky){var f=null;a.mouseleave(function(){f=this.hide.defer(1E3,this)}.createDelegate(this));a.mouseenter(function(){f&&clearTimeout(f);f=null})}a.addClass("d-unselectable d-abs");jQuery(document).bind("keyup",this.onEscape.createDelegate(this));return a},getEl:function(){return this.oCalEl=this.oCalEl||this.render()},onEscape:function(a){27==a.keyCode&&this.hide()},show:function(){this.getEl().slideDown("fast")},hide:function(){this.getEl().slideUp("fast")},
toggle:function(){this.getEl().is(":hidden")?this.show():this.hide()},setDate:function(a){this.currentDate!=a&&this.update(a)},getDate:function(){return this.currentDate},onDateSelect:function(){},handleDateClick:function(a){a.preventDefault();var a=jQuery(a.target).closest("a"),b=a.closest("td");a.length&&a.data("iTimestamp")&&!b.hasClass("d-cal-disabled")&&(this.update(new Date(a.data("iTimestamp"))),a.hasClass("d-cal-date")&&this.hide(),this.onDateSelect());return!1},update:function(a,b){var d=
a.clearTime().getTime(),f=this.minDate?this.minDate.clearTime().getTime():Number.NEGATIVE_INFINITY,l=this.maxDate?this.maxDate.clearTime().getTime():Number.POSITIVE_INFINITY;d>l&&(d=l);d<f&&(d=f);var k=this.currentDate;this.getEl().is(":visible");this.currentDate=a;var j=this.oTargetEl;j.is("input")?j.val(a.format(this.displayFormat)):j.html(a.format(this.displayFormat));j.data("xTimestamp",a.format(this.dateFormat));if(!b&&k&&this.getEl()){var q=a.getTime();if(k.getMonth()==a.getMonth()&&k.getFullYear()==
a.getFullYear()){this.aoDayCells.removeClass("d-cal-selected");this.aoDayCells.each(function(a,b){var c=jQuery(b);if(c.find("a").data("iTimestamp")==q)return c.addClass("d-cal-selected"),!1});return}}var j=a.getDaysInMonth(),o=a.getFirstDateOfMonth().getDay()-this.startDay;o<=this.startDay&&(o+=7);var n=a.add("mo",-1),p=n.getDaysInMonth()-o,j=j+o,u=864E5,m=(new Date(n.getFullYear(),n.getMonth(),p)).clearTime(),r=(new Date).clearTime().getTime(),v={},t;for(t in this.enabledDates)n=Date.parseDate(t,
"U"),v[n.clearTime().getTime()]=!0;var w={};for(t in this.disabledDates)n=Date.parseDate(t,"U"),w[n.clearTime().getTime()]=!0;t=function(a){var b=m.getTime(),a=jQuery(a),c=a.find("a:first");c.attr("title","").data("iTimestamp",b).removeAttr("disabled");b==r&&(a.addClass("d-cal-today"),c.attr("title","Heute"));b==d&&(a.addClass("d-cal-selected"),c.attr("title"," Gew\u00e4hltes Datum"));b<f?(a.addClass("d-cal-disabled"),c.attr("title","Datum liegt zu weit zur\u00fcck").attr("disabled","disabled")):
b>l?(a.addClass("d-cal-disabled"),c.attr("title","Datum liegt zu weit in der Zukunft").attr("disabled","disabled")):(DF.Util.isEmpty(v)||v[b])&&(DF.Util.isEmpty(w)||!w[b])||a.closest(".d-cal-nav").length||(a.addClass("d-cal-disabled"),c.attr("title","Datum ist nicht ausw\u00e4hlbar").attr("disabled","disabled"))};n=0;t(jQuery(".d-cal-today").closest("td").get(0));jQuery(".d-cal-today",this.getEl()).data("iTimestamp",r);for(var s=this.aoDayCells.get(),x=this.aoDayTexts.get();n<o;n++)jQuery(x[n]).html(++p),
m.setDate(m.getDate()+1),jQuery(s[n]).attr("className","d-cal-prevmonth"),t(s[n]);for(;n<j;n++)u=n-o+1,jQuery(x[n]).html(u),m.setDate(m.getDate()+1),jQuery(s[n]).attr("className","d-cal-activemonth"),t(s[n]);for(j=0;42>n;n++)jQuery(x[n]).html(++j),m.setDate(m.getDate()+1),jQuery(s[n]).attr("className","d-cal-nextmonth"),t(s[n]);s=this.aoMonthCells.get();x=this.aoMonthTexts.get();if(!k||k.getMonth()!=a.getMonth()||k.getFullYear()!=a.getFullYear()){m=a.add(Date.MONTH,-3);for(n=0,iLen=x.length;n<iLen;n++)j=
m.getMonth(),jQuery(x[n]).html(c[j].substr(0,3)),jQuery(s[n]).attr("className","d-cal-activemonth"),t(s[n]),m.setMonth(j+1)}s=this.aoYearCells.get();x=this.aoYearTexts.get();if(!k||k.getFullYear()!=a.getFullYear()){m=a.add(Date.YEAR,-3);for(n=0;n<iLen;n++)k=m.getFullYear(),jQuery(x[n]).html(k),jQuery(s[n]).attr("className","d-cal-activemonth"),t(s[n]),m.setFullYear(k+1)}}}}}catch(ex$$33){"object"===typeof CrashKit&&"function"===typeof CrashKit.raise&&CrashKit.raise("df_lib.js:dateselector.js",ex$$33)}
try{DF.ListNode=DF.extend(new Function,{toString:function(){return[this.__className,"[",this.sId,"]"].join("")},__className:"ListNode",constructor:function(a,b){var c={fnRenderer:DF.ListNodeRenderer,sTextField:"text",sIconCls:"",hActions:{}};this.hData=a||{};DF.apply(this,b);DF.applyIf(this,c);if(!(this.sId=this.hData.id))this.sId=DF.id(),this.hData.id=this.sId;this.oOwner=this.oNext=this.oPrev=null;this.setRenderer(this.fnRenderer)},isFirst:function(){return!this.oPrev},isLast:function(){return!this.oNext},
remove:function(a){this.oPrev&&(this.oPrev.oNext=this.oNext);this.oNext&&(this.oNext.oPrev=this.oPrev);this.oOwner&&this.oOwner.removeChild(this,a);return this},clear:function(){this.setOwner(null);this.oPrev=this.oNext=null},getOwner:function(){return this.oOwner},setOwner:function(a){if(a!=this.oOwner)return a&&(fnRenderer=a.getNodeRenderer())&&this.setRenderer(fnRenderer),this.oOwner=a},setRenderer:function(a){if(DF.isFunction(a)||a instanceof DF.ListNodeRenderer)this.oRenderer=a instanceof DF.ListNodeRenderer?
DF.applyIf({oNode:this},a):new a(this)},setText:function(a){this.hData[this.sTextField]=a;this.oRenderer.refresh()},render:function(){this.oRenderer.render();this.bRendered||(this.bRendered=!0)},select:function(){this.oOwner.oSelected!==this&&(this.oOwner.oSelected&&this.unselect(),this.oOwner.oSelected=this,this.oRenderer.setSelected(!0),this.oRenderer.showActions(),this.onSelect());return this.oOwner.oSelected},unselect:function(){if(oNode=this.oOwner.getSelected())oNode.oRenderer.setSelected(!1),
oNode.oRenderer.hideActions();this.oOwner.oSelected=null},onSelect:function(){if(this.oOwner&&"function"==typeof this.oOwner.onSelect)this.oOwner.onSelect(this)},onAction:function(a){if(this.oOwner&&"function"==typeof this.oOwner.onAction)this.oOwner.onAction(this,a)}})}catch(ex$$34){"object"===typeof CrashKit&&"function"===typeof CrashKit.raise&&CrashKit.raise("df_lib.js:listnode.js",ex$$34)}
try{DF.ListNodeRenderer=DF.extend(new Function,{toString:function(){return this.__className},__className:"ListNodeRenderer",constructor:function(a){this.oNode=a;this.sActionSeparator="";this.bRendered=!1},getEl:function(){return this.jWrap},getIcon:function(){return this.jIcon},getContent:function(){return this.jContent},setBusy:function(a){this.jEl[!1!==a?"maskBusy":"unmask"]()},setSelected:function(a){this.jEl[a?"addClass":"removeClass"]("node-selected")},getActions:function(){if(!this.jActions)if(this.oNode.hActions){var a=
[];DF.iterate(this.oNode.hActions,function(b,c){a.push('<a href="#" class="'+b+'" onclick="return false">'+c+"</a>")});this.jActions=jQuery(a.join(this.sActionSeparator)).click(this.onActionClick.createDelegate(this)).wrapAll('<span class="node-action"/>').parent().insertAfter(this.jContent)}else this.jActions=jQuery();return this.jActions},showActions:function(){this.getActions().show()},hideActions:function(){this.getActions().hide()},addEvents:function(){this.jEl.click(this.onClick.createDelegate(this))},
onClick:function(a){a.preventDefault();if(this.oNode.bDisabled)return!1;this.oNode.select()},onActionClick:function(a){a.preventDefault();a.stopPropagation();this.oNode.onAction.apply(this.oNode,[jQuery(a.target).attr("class")])},render:function(){var a=this.oNode.oParent?this.oNode.oParent.oRenderer.getContainer():this.oNode.oOwner.getContainer();this.bRendered||(this.bRendered=!0,this.renderElements(this.oNode,this.oNode.hData,a));this.addEvents()},remove:function(){this.jWrap.remove();this.bRendered=
this.bChildrenRendered=!1},renderElements:function(a,b,c){a=['<li class="node"><div class="node-el floats">',this.getIconMarkup(a),this.getContentMarkup(a),"</div></li>"].join("");this.jWrap=jQuery(a).appendTo(c);this.jEl=this.jWrap.children().eq(0);c=this.jEl.children();this.jIcon=c.eq(0);this.jContent=c.eq(1)},getIconMarkup:function(){return this.oNode.bHideIcon||!this.oNode.sIconCls?"":['<span class="node-icon"><img src="',DF.BLANK,'" class="icon',this.oNode.sIconCls?" "+this.oNode.sIconCls:"",
'" alt="icon"></span>'].join("")},getContentMarkup:function(){return'<span class="node-content d-unselectable" unselectable="on">'+this.oNode.hData[this.oNode.sTextField]+"</span>"},refresh:function(){this.jIcon=jQuery(this.getIconMarkup()).replaceAll(this.jIcon);this.jContent=jQuery(this.getContentMarkup()).replaceAll(this.jContent)},updateExpandIcon:function(){}})}catch(ex$$35){"object"===typeof CrashKit&&"function"===typeof CrashKit.raise&&CrashKit.raise("df_lib.js:listnoderenderer.js",ex$$35)}
try{DF.List=DF.extend(new Function,{__className:"List",hDefaults:{sRenderTo:null,fnNodeType:DF.ListNode,hNodeDefaults:{},bAutoRender:!0,fnNodeRenderer:DF.ListNodeRenderer,onSelect:DF.emptyFn,onAction:DF.emptyFn,sBusyText:"Daten werden geladen..."},constructor:function(a){a=a||{};this.bChildrenRendered=!1;this.jContainer=jQuery(a.sRenderTo);if(1!=this.jContainer.length)throw'No element found, please check parameter "sRenderTo"';DF.apply(this,a,this.hDefaults);this.aoChildren=[]},getContainer:function(){return this.jContainer},
getSelected:function(){return this.oSelected},getNodeRenderer:function(){return this.fnRenderer},appendChild:function(a){var b;DF.isArray(arguments[0])?b=arguments[0]:1<arguments.length&&(b=arguments);if(b)for(var c=0,d=b.length;c<d;c++)this.appendChild(b[c]);else return a instanceof DF.ListNode||(a=new this.fnNodeType(a)),DF.apply(a,this.hNodeDefaults),b=this.aoChildren.length,0===b&&(this.oFirst=a),this.aoChildren.push(a),(b=this.aoChildren[b-1])?(a.oPrev=b,b.oNext=a):a.oPrev=null,a.oNext=null,
this.oLast=a,a.setOwner(this),(this.bAutoRender||this.bChildrenRendered)&&a.oRenderer.render(),a},removeChild:function(a,b){var c=-1;DF.each(this.aoChildren,function(b,e){if(a===b)return c=e,!1});this.aoChildren.splice(c,1);a.oPrev&&(a.oPrev.oNext=a.oNext);a.oNext&&(a.oNext.oPrev=a.oPrev);this.oFirst==a&&(this.oFirst=a.oNext);this.oLast==a&&(this.oLast=a.oPrev);a[b?"destroy":"clear"]();(this.bAutoRender||this.bChildrenRendered)&&a.oRenderer.remove();return a},removeAll:function(){for(;this.oFirst;)this.removeChild(this.oFirst);
return this},renderChildren:function(){if(!this.bAutoRender||!this.bChildrenRendered)this.each("render"),this.bChildrenRendered=!0;return this},refresh:function(){this.jContainer.html("");this.bChildrenRendered=!1;this.renderChildren()},each:function(a,b,c){for(var d=[].concat(this.aoChildren),e,g=0,h=d.length;g<h;g++){e="string"==typeof a?d[g][a]:a;var f=[d[g],g,h].concat(c);if(!DF.isFunction(e)||!1===e.apply(b||d[g],f))break}return this},findBy:function(a,b){var c=null;this.each(function(){if(this.hData[a]&&
this.hData[a]==b)return c=this,!1});return c},setBusy:function(a){this.jBusy||(this.jBusy=jQuery('<div class="node list-node list-loading" style="display:none;"><span class="node-content d-unselectable" unselectable="on">'+this.sBusyText+"</span></div>").insertBefore(this.jContainer));this.jBusy[a?"show":"hide"]();this.jContainer[a?"hide":"show"]();return this}})}catch(ex$$36){"object"===typeof CrashKit&&"function"===typeof CrashKit.raise&&CrashKit.raise("df_lib.js:list.js",ex$$36)}
try{DF.TreeNode=DF.extend(DF.ListNode,{__className:"TreeNode",constructor:function(a,b){var c={fnRenderer:DF.TreeNodeRenderer},b=b||{};DF.applyIf(b,c);a=a||{};DF.isString(a)&&(a={text:a});DF.TreeNode.superclass.constructor.apply(this,[a,b]);this.aoChildren=[];this.aoChildren.indexOf||(this.aoChildren.indexOf=function(a){for(var b=0,c=this.length;b<c;b++)if(this[b]==a)return b;return-1});this.oLast=this.oFirst=this.oParent=null},hasChildren:function(){return 0<this.aoChildren.length},firstChildren:function(){if(this.hasChildren)return this.aoChildren[0]},
getChildren:function(){return this.aoChildren},isFirst:function(){return this.oParent?this.oParent.oFirst===this:DF.TreeNode.superclass.isFirst.call(this)},isLast:function(){return this.oParent?this.oParent.oLast===this:DF.TreeNode.superclass.isLast.call(this)},appendChild:function(a){var b;DF.isArray(arguments[0])?b=arguments[0]:1<arguments.length&&(b=arguments);if(b)for(var c=0,d=b.length;c<d;c++)this.appendChild(b[c]);else return b=this.aoChildren.length,0===b&&(this.oFirst=a),this.aoChildren.push(a),
a.oParent=this,(b=this.aoChildren[b-1])?(a.oPrev=b,b.oNext=a):a.oPrev=null,a.oNext=null,this.oLast=a,a.setOwner(this.oOwner),a&&this.bChildrenRendered&&a.render(),this.oRenderer.updateExpandIcon(),a},removeChild:function(a,b){this.aoChildren.splice(this.aoChildren.indexOf(a),1);a.oPrev&&(a.oPrev.oNext=a.oNext);a.oNext&&(a.oNext.oPrev=a.oPrev);this.oFirst==a&&(this.oFirst=a.oNext);this.oLast==a&&(this.oLast=a.oPrev);a[b?"destroy":"clear"]();a.oRenderer.remove();return b?!1:a},remove:function(a){return this.oParent?
this.oParent.removeChild(this,a):!1},clear:function(a){DF.TreeNode.superclass.clear.call(this);this.oParent=null;a&&(this.oFirst=this.oLast=null)},destroy:function(){this.clear();DF.each(this.aoChildren,function(a){a.destroy()});this.aoChildren=null},getDepth:function(){for(var a=0,b=this;b.oParent;)++a,b=b.oParent;return a},getOwner:function(){if(!DF.TreeNode.superclass.getOwner.call(this))for(var a=this;a;){if(a.oOwner){this.oOwner=a.oOwner;break}a=a.oParent}return this.oOwner},setOwner:function(a){DF.TreeNode.superclass.setOwner.apply(this,
arguments)&&(this.oOwner.unregisterNode(this),DF.each(this.aoChildren,function(a){a.setOwner(this.oOwner)}),this.oOwner&&this.oOwner.registerNode(this))},isExpanded:function(){return this.bExpanded},bubble:function(a,b,c){for(var d=this;d&&!(!1===a.apply(b||d,c||[d]));)d=d.oParent},cascade:function(a,b,c){if(!1!==a.apply(b||this,c||[this]))for(var d=this.aoChildren,e=0,g=d.length;e<g;e++)d[e].cascade(a,b,c)},getPath:function(a,b){for(var a=a||"id",c=this.oParent,d=[this.hData[a]];c;)d.unshift(c.hData[a]),
c=c.oParent;return d.join(b||"/")},getRenderer:function(){return this.oRenderer},expand:function(){this.bExpanded||(this.bChildrenRendered||this.renderChildren(),this.bExpanded=!0,this.oRenderer.expand())},collapse:function(){this.bExpanded&&(this.bExpanded=!1,this.oRenderer.collapse())},toggle:function(){this[this.bExpanded?"collapse":"expand"]()},expandChildren:function(){},collapseChildren:function(){},disable:function(){this.bDisabled=!0;this.oRenderer.changeEnabled()},enable:function(){this.bDisabled=
!1;this.oRenderer.changeEnabled()},setEnabled:function(a){this[a?"enable":"disable"]()},select:function(){!1!==DF.TreeNode.superclass.select.call(this)&&this.oRenderer.setSelected(!0)},unselect:function(){this.oOwner.oSelected.oRenderer.setSelected(!1);DF.TreeNode.superclass.unselect.call(this)},renderChildren:function(){for(var a=0,b=this.aoChildren.length;a<b;a++)this.aoChildren[a].render();this.bChildrenRendered=!0},render:function(){this.oRenderer.render();this.bRendered||(this.bRendered=!0,this.bExpanded&&
(this.bExpanded=!1,this.expand()))},renderRoot:function(){this.oRoot.render();this.isHiddenRoot()||this.oRoot.renderChildren()},isLoaded:function(){return!0},isHiddenRoot:function(){return this.bIsRoot&&this.getOwner().bRootHidden}})}catch(ex$$37){"object"===typeof CrashKit&&"function"===typeof CrashKit.raise&&CrashKit.raise("df_lib.js:treenode.js",ex$$37)}
try{DF.TreeNodeRenderer=DF.extend(DF.ListNodeRenderer,{__className:"TreeNodeRenderer",getContainer:function(){return this.jContainer},onClick:function(){DF.TreeNodeRenderer.superclass.onClick.apply(this,arguments);this.oNode.toggle()},expand:function(){this.oNode.aoChildren.length&&this.jContainer.show();this.updateExpandIcon()},collapse:function(){this.jContainer.hide();this.updateExpandIcon()},beforeLoad:function(){this.jExpand.addClass("tree-node-loading")},afterLoad:function(){this.jExpand.removeClass("tree-node-loading")},
render:function(){DF.TreeNodeRenderer.superclass.render.call(this);this.oNode.bExpanded||this.updateExpandIcon()},getExpandMarkup:function(){return'<img class="icon tree-node-collapse" src="'+DF.BLANK+'" alt="&gt;">'},updateExpandIcon:function(){this.jExpand&&(this.jEl[this.oNode.bExpanded?"addClass":"removeClass"]("tree-node-expanded"),this.oNode.isLoaded()&&!this.oNode.aoChildren.length?(this.jExpand.removeClass("tree-node-collapse"),this.jEl.removeClass("tree-node-expanded")):this.oNode.aoChildren.length&&
this.jExpand.addClass("tree-node-collapse"))},addEvents:function(){this.jExpand.click(this.onClick.createDelegate(this))},getChildIndent:function(){if(!this.sChildIndent){var a=[],b=this.oNode;do(!b.bIsRoot||b.bIsRoot&&!b.oOwner.bRootHidden)&&a.unshift('<img class="icon" src="'+DF.BLANK+'" alt="&nbsp;">'),b=b.oParent;while(b);this.sChildIndent=a.join("")}return this.sChildIndent},renderElements:function(a,b,c){this.sIndentMarkup=a.oParent?a.oParent.oRenderer.getChildIndent():"";b=['<li class="node tree-node',
a.sClasses?" "+a.sClasses:"",'"',a.sName?' name="'+a.sName+'"':"",'><div class="node-el tree-node-el floats"><span class="tree-node-indent">',this.sIndentMarkup,"</span>",this.getExpandMarkup(),this.getIconMarkup(),this.getContentMarkup(),'</div><ul class="tree-node-ct" style="display:none;"></ul></li>'].join("");a.bIsRoot&&(c=$("<ul>").addClass("tree-root").appendTo(c));this.jWrap=jQuery(b).appendTo(c);this.jEl=this.jWrap.children().eq(0);this.jContainer=this.jWrap.children().eq(1);a=this.jEl.children();
this.jIndent=a.eq(0);this.jExpand=a.eq(1);this.jIcon=a.eq(2);this.jContent=a.eq(3)}}),DF.TreeRootNodeRenderer=DF.extend(DF.TreeNodeRenderer,{render:function(){this.bRendered||(this.jWrap=this.jEl=this.oNode.oOwner.getContainer(),this.jExpand=this.oNode.bShowLoadBusy?jQuery('<div class="node tree-node tree-root-node-hidden">'+this.getContentMarkup()+"</div>").appendTo(this.jWrap):!1,this.jContainer=jQuery('<ul class="tree-root"></ul>').appendTo(this.jWrap),this.oNode.bExpanded=!0)},getContentMarkup:function(){return'<span class="node-content d-unselectable" unselectable="on">'+
(this.oNode.sBusyText||this.oNode.hData[this.oNode.sTextField])+"</span>"},collapse:DF.emptyFn,expand:DF.emptyFn,getChildIndent:function(){return""}}),DF.TreeXMLNodeRenderer=DF.extend(DF.TreeNodeRenderer,{onClick:function(){this.oNode.toggle()},collapse:function(){DF.TreeXMLNodeRenderer.superclass.collapse.apply(this,arguments);$('div[name="tail"]',this.jWrap).last().hide();$('div[name="dummy_close_tag"]',this.jWrap).first().show()},expand:function(){DF.TreeXMLNodeRenderer.superclass.expand.apply(this,
arguments);$('div[name="tail"]',this.jWrap).last().show();$('div[name="dummy_close_tag"]',this.jWrap).first().hide()},addEvents:function(){this.jExpand.click(this.onClick.createDelegate(this))},getTailMarkup:function(){return void 0==this.oNode.aoChildren||!this.oNode.aoChildren.length?"":'<div class="node-el tree-node-el floats" name="tail" style="display: none;"><span class="tree-node-indent">'+this.sIndentMarkup+'</span><div style="visibility: hidden; float: left;">'+this.getExpandMarkup()+'</div><div class="node-content">'+
this.getCloseTag(!0)+"</div></div>"},renderElements:function(a,b,c){this.sIndentMarkup=a.oParent?a.oParent.oRenderer.getChildIndent():"";b=['<li class="xml-node tree-node"><div class="node-el tree-node-el floats"><span class="tree-node-indent">',this.sIndentMarkup,"</span>",this.getExpandMarkup(),this.getIconMarkup(),this.getContentMarkup(),'</div><ul class="tree-node-ct" style="display:none;"></ul>',this.getTailMarkup(),"</li>"].join("");a.bIsRoot&&(c=$("<ul>").addClass("tree-root").appendTo(c));
this.jWrap=jQuery(b).appendTo(c);this.jEl=this.jWrap.children().eq(0);this.jContainer=this.jWrap.children().eq(1);a=this.jEl.children();this.jIndent=a.eq(0);this.jExpand=a.eq(1);this.jIcon=a.eq(2);this.jContent=a.eq(3)},getCloseTag:function(a){if(void 0==this.oNode.hData||void 0==this.oNode.hData.sName||this.oNode.bIsRoot)return"";var b='<span class="norm">&lt;</span><span class="tag">/'+this.oNode.hData.sName+'</span><span class="norm">&gt;</span>';if((void 0==a||!a)&&void 0!==this.oNode.aoChildren&&
this.oNode.aoChildren.length)b='<div name="dummy_close_tag" style="float: left;">'+b+"</div>";return b},getOpenTag:function(){if(void 0==this.oNode.hData||void 0==this.oNode.hData.sName)return"";var a='<span class="norm">&lt;</span><span class="tag">'+this.oNode.hData.sName;void 0!==this.oNode.hData.aoAttributes&&this.oNode.hData.aoAttributes.length&&$.each(this.oNode.hData.aoAttributes,function(b,c){a+='<span class="attr_name">'+c.nodeName+'</span><span class="norm">="</span><span class="attr_val">'+
c.nodeValue+'</span><span class="norm">"</span>'});a+='</span><span class="norm">&gt;</span>';return'<div style="float: left;">'+a+"</div>"},getContentTag:function(){if(void 0==this.oNode.hData||void 0==this.oNode.hData.sContent||void 0!==this.oNode.aoChildren&&this.oNode.aoChildren.length)return"";var a=$("<div>").addClass("norm").text(this.oNode.hData.sContent);if(!this.oNode.bIsRoot&&void 0!==this.oNode.oOwner.getMaxContentWidth()&&0<this.oNode.oOwner.getMaxContentWidth()){var b=a.clone().attr("name",
"treenode_xml_dummy").css("display","none"),c=-1,d=this.oNode.oOwner.getContainer();void 0!==d&&(d.append(b),c=$('[name="treenode_xml_dummy"]',d).width(),$('[name="treenode_xml_dummy"]',d).remove());c>this.oNode.oOwner.getMaxContentWidth()?a=$("<div>").css("display","table").css("max-width",this.oNode.oOwner.getMaxContentWidth()+"px").css("clear","both").append($("<div>").append(this.getExpandMarkup()).css("visibility","hidden").css("display","table-cell")).append(a):a.css("float","left")}else a.css("float",
"left");return jQuery("<div>").append(a.clone()).remove().html()},getContentMarkup:function(){return'<div class="node-content">'+this.getOpenTag()+this.getContentTag()+this.getCloseTag()+"</div>"},getIconMarkup:function(){}})}catch(ex$$38){"object"===typeof CrashKit&&"function"===typeof CrashKit.raise&&CrashKit.raise("df_lib.js:treenoderenderer.js",ex$$38)}
try{DF.AsyncTreeNode=DF.extend(DF.TreeNode,{__className:"AsyncTreeNode",constructor:function(a){this.bLoaded=a&&!0===a.loaded;this.bLoading=!1;DF.AsyncTreeNode.superclass.constructor.apply(this,arguments)},expand:function(a){if(!this.bLoading)if(!this.bLoaded||a){this.oRenderer.beforeLoad(this);var b;(b=this.getLoader())&&b.load(this,this.onLoad.createDelegate(this))}else DF.AsyncTreeNode.superclass.expand.call(this)},getLoader:function(){return this.oLoader||this.getOwner().getLoader()},isLoading:function(){return this.bLoading},
isLoaded:function(){return this.bLoaded},onLoad:function(){this.bLoading=!1;this.bLoaded=!0;this.oRenderer.afterLoad(this);this.expand()}})}catch(ex$$39){"object"===typeof CrashKit&&"function"===typeof CrashKit.raise&&CrashKit.raise("df_lib.js:asynctreenode.js",ex$$39)}
try{DF.TreeLoader=DF.extend(new Function,{__className:"TreeLoader",constructor:function(a){this.hParams={};DF.apply(this,a)},fnNodeType:DF.TreeNode,hNodeDefaults:{},bClearOnLoad:!0,onBeforeLoad:DF.emptyFn,createNode:function(a){return new this.fnNodeType(a,this.hNodeDefaults)},load:function(a,b,c){if(!1===this.onBeforeLoad.call(this,a))return!1;if(this.bClearOnLoad)for(;a.oFirst;)a.oFirst.remove();this.oRequest&&this.oRequest.abort();this.sUrl&&(DF.applyIf(this.hParams,this.hBaseParams),this.oRequest=
jQuery.getJSON(this.sUrl,this.hParams,this.onLoad.createDelegate(this,arguments,!0)))},onLoad:function(a,b,c,d){var b=d[0],c=d[1],d=d[2],e,g;if(a){b.bLoaded=!0;if(g=a.ahRecords.length)for(e=0;e<g;e++){var h=this.createNode(a.ahRecords[e]);h&&b.appendChild(h)}DF.isFunction(c)&&c.apply(d||b,[b]);this.onAfterLoad.call(this)}},onAfterLoad:DF.emptyFn})}catch(ex$$40){"object"===typeof CrashKit&&"function"===typeof CrashKit.raise&&CrashKit.raise("df_lib.js:treeloader.js",ex$$40)}
try{DF.Tree=DF.extend(new Function,{constructor:function(a){var b={fnNodeRenderer:DF.TreeNodeRenderer,hRenderParams:{bHideIcon:!1}},a=a||{};DF.apply(this,a,b);this.jContainer=jQuery(a.sRenderTo);if(1!=this.jContainer.length)throw'No element found, please check parameter "sRenderTo"';if(!a.oRoot instanceof DF.TreeNode)throw'No root node supplied, please check parameter "oRoot"';$(this.jContainer).hasClass("tree")||this.jContainer.addClass("tree");this.oLoader=a.oLoader;this.hNodes={};this.bRootHidden=
a.bRootHidden;this.setRootNode(a.oRoot)},setRootNode:function(a){this.oRoot=a;a.oOwner=this;a.bIsRoot=!0;this.registerNode(a);this.bRootHidden&&(a.oRenderer=new DF.TreeRootNodeRenderer(a));a.render();return a},registerNode:function(a){this.hNodes[a.sId]=a},unregisterNode:function(a){delete this.hNodes[a.sId]},getContainer:function(){return this.jContainer},getRootNode:function(){return this.oRoot},getLoader:function(){return this.oLoader},getSelected:function(){return this.oSelected},getNodeRenderer:function(){return this.fnNodeRenderer},
each:function(a,b,c){DF.iterate(this.hNodes,function(d,e){return a.apply(b||e,c||[e])})},cascade:function(a,b,c){return this.oRoot.cascade(a,b,c)},onSelect:DF.emptyFn,onAction:DF.emptyFn,setBusy:function(a){this.jContainer[a?"mask":"unmask"](!0)}}),DF.XMLTree=DF.extend(DF.Tree,{constructor:function(a){this.oXML=void 0;if(void 0==a.sXML)throw'No XML-Data found, please check parameter "sXML"';if("string"==typeof a.sXML)try{a.sXML=a.sXML.replace(/ *(\n|\t|\r) */g,""),this.oXML=$.parseXML(a.sXML)}catch(b){throw"invalid XML-document";
}else if("object"==typeof a.sXML)this.oXML=a.sXML;else throw'No valid XML-Data found, please check parameter "sXML"';var c={sName:"?xml",aoAttributes:[{nodeName:"version",nodeValue:this.oXML.xmlVersion},{nodeName:"encoding",nodeValue:this.oXML.characterSet}]};if(void 0!==a.iMaxContentWidth&&!DF.isNumber(a.iMaxContentWidth))throw'No valid max-width found, please check parameter "iMaxContentWidth"';a.oRoot=new DF.TreeNode(c,{fnRenderer:new DF.TreeXMLNodeRenderer});DF.XMLTree.superclass.constructor.apply(this,
arguments);c={fnNodeRenderer:DF.TreeXMLNodeRenderer,hRenderParams:{bHideIcon:!1},bExpandAll:!0,iMaxContentWidth:-1};a=a||{};DF.apply(this,a,c);this.appendXMLNodes(this.oXML,this.oRoot);this.bExpandAll&&this.each(function(){this.expand()})},getMaxContentWidth:function(){return this.iMaxContentWidth},appendXMLNodes:function(a,b){if(void 0==a.children){var c=a.childNodes[0],d={aoAttributes:c.attributes,sName:c.tagName,sContent:""};oNode=new DF.TreeNode(d,{fnRenderer:new DF.TreeXMLNodeRenderer});b.appendChild(oNode);
$(c).children().length&&this.appendXMLNodes(c,oNode)}else if($(a).children().length)for(var c=$(a).children(),e=0;e<c.length;e++)d={aoAttributes:c[e].attributes,sName:c[e].tagName,sContent:c[e].textContent},oNode=new DF.TreeNode(d,{fnRenderer:new DF.TreeXMLNodeRenderer}),b.appendChild(oNode),$(c[e]).children().length&&this.appendXMLNodes(c[e],oNode)}})}catch(ex$$41){"object"===typeof CrashKit&&"function"===typeof CrashKit.raise&&CrashKit.raise("df_lib.js:tree.js",ex$$41)}
try{(function(a){a.fn.extend({autoComplete:function(b){a.fn.getProxy=function(){return a(this).data("proxy")};return this.each(function(){function c(){var b=h.val();if(f.xValidChars&&b.length)for(var c=0,d=b.length;c<d;c++)if(!b.charAt(c).match(f.xValidChars))return h.addClass("d-error"),f.sInvalidText&&!q&&(l.length?l.html(f.sInvalidText).show():a('<label class="d-error"></label>').html(f.sInvalidText).insertAfter(h),q=!0),!1;h.removeClass("d-error");q&&(l.length?l.html("").hide():h.next("label.d-error").remove());
q=!1;return!0}function d(a,b){f.bShowInfo&&(s.html('<div class="info">'+a+"</div>"),s.toggleClass("busy",!0==b),s.width(Math.max(h.outerWidth(),s.children().width())).offsetShow())}function e(){c();return k="function"==typeof f.onGetValue?f.onGetValue(h.val()):h.val()}function g(){var b=e();if(!o||!(b==j||0==j.length&&0==b.length)){window.clearTimeout(v);j=b;u=k?f.oProxy.addFilter(f.sQueryField,k,f.bAnyMatch).ahRecords:f.oProxy.removeAllFilters().ahRecords;switch(!0){case 0==u.length:return d("Keine &Uuml;bereinstimmung");
case b.length<f.iMinChars:return d("Zu wenige Zeichen");case u.length>f.iMaxRows:return d("Zu viele Treffer")}s.html('<div class="scroll">'+f.xTpl.apply(u)+"</div>");x=s.children().bind("mouseenter",function(){n=!0}).bind("mouseleave",function(){n=!1});t=a("li",x);var c=0,g=0,q=0;t.each(function(b,d){d=a(d);d.children().length||d.wrapInner("<span></span>");c=d.outerHeight();g=(q=d.children().width()+d.outerWidth(!0)-d.width())>g?q:g;d.mouseenter(function(){if(!0===p)return p=!1;m=b;w.removeClass(f.sSelectedClass);
w=a(this).addClass(f.sSelectedClass)})});t.click(function(){var b=a(this).text();h.val("function"==typeof f.onSetValue?f.onSetValue(b):b);s.offsetHide();h.focus()});x.height(c*Math.min(f.iNumVisible,t.length)).width(g+50);b=x.width()-x.children().width()+2;g+=b;g=Math.max(g,h.outerWidth()-parseInt(x.css("borderLeftWidth"))-parseInt(x.css("borderRightWidth")));r=Math.max(r,g);x.width(r);s.offsetShow()}}var h=a(this);if(!h.data("proxy")){var f=DF.apply({},b,{ahData:[],sUrl:null,hBaseParams:{},oProxy:null,
sQueryField:"name",iMinChars:0,iMaxWidth:0,iMaxRows:100,iNumVisible:8,iDelay:250,sBoxClass:"d-autocomplete-box",sSelectedClass:"d-selected",xValidChars:null,sErrorEl:null,bShowInfo:!0,bAnyMatch:!0,xTpl:'<ul><tpl for="."><li><span>{name}</span></li></tpl></ul>'});f.xTpl=f.xTpl instanceof DF.XTemplate?f.xTpl:new DF.XTemplate(f.xTpl);var l=a(f.sErrorEl),k=e(),j=k,q=!1,o=!1,n=!1,p=!1,u=[],m=-1,r=0,v=null,t=jQuery(),w=jQuery(),s,x;h.attr("autocomplete","off");s=a('<div class="'+f.sBoxClass+'"></div>').insertAfter(h);
s.offsetHide=function(){m=-1;r=0;o=!1;return this.html("").css({left:-1E4,visibility:"hidden",width:"auto",height:"auto"})};s.offsetShow=function(){var a=h.position(),b=h.outerHeight();o=!0;return this.css({left:a.left,top:a.top+b,visibility:"visible"})};if(f.sUrl&&!f.oProxy)f.oProxy=new DF.App.FilterProxy({sUrl:f.sUrl,hBaseParams:f.hBaseParams||{},bIsAsync:!0,bAutoload:!0});else if(f.ahData&&!f.oProxy){var z=[];DF.each(f.ahData,function(a){switch(typeof a){case "object":a[f.sQueryField]&&z.push(a);
break;case "string":var b={};b[f.sQueryField]=a;z.push(b);break;default:return!1}});f.oProxy=new DF.App.FilterProxy({ahRecords:z})}h.data("proxy",f.oProxy);f.oProxy.addListener("beforeload",function(){this.empty();d("Lade Daten...",!0)});f.oProxy.addListener("loadcomplete",function(){s.offsetHide()});h.blur(function(){n||s.offsetHide()});h.attr("autocomplete","off");s.offsetHide();f.oProxy.hasActiveRequest()&&d("Lade Daten...",!0);h.dblclick(function(){g()});h.keydown(function(a){var b=f.oProxy.ahRecords.length;
if(b){switch("undefined"==typeof a.charCode||0===a.charCode?a.keyCode:a.charCode){case 33:m=Math.max(m-f.iNumVisible,0);break;case 34:m=Math.min(m+f.iNumVisible,b-1);break;case 35:m=t.length-1;break;case 36:m=0;break;case 38:m=Math.max(0,m-1);break;case 40:m=Math.min(b-1,m+1);break;default:return}o||g();p=!0;w=t.removeClass(f.sSelectedClass).eq(m).addClass(f.sSelectedClass);if(w.length){var a=w.position().top,b=a+w.outerHeight(),c=x.scrollTop(),d=x.innerHeight();0>a?x.scrollTop(c+a):b>d&&x.scrollTop(c+
b-d)}}});h.keypress(function(a){var b="undefined"==typeof a.charCode||0===a.charCode?a.keyCode:a.charCode;c();"function"==typeof f.onKeypress&&f.onKeypress.apply(this,[b,e()]);if((13===b||9===b)&&-1!=m)return a.preventDefault(),"function"==typeof f.onSelect?f.onSelect.apply(this):!1});h.keyup(function(a){var b=a.which;switch(!0){case 27==b:return s.offsetHide();case 13===b:case 9===b:return w.trigger("click"),a.preventDefault(),!1;case 46==b:case 8==b:case 48<=b:case "function"==typeof f.onKeyup&&
!1!==f.onKeyup.apply(this,[b,charCode,e()]):m=-1,o?g():(window.clearTimeout(v),v=g.defer(f.iDelay,this))}})}})}})})(jQuery)}catch(ex$$42){"object"===typeof CrashKit&&"function"===typeof CrashKit.raise&&CrashKit.raise("df_lib.js:autocomplete.js",ex$$42)}
try{(function(a){function b(){var b=a(this),c=b.parent().find(".reg_failure_notice"),d=b.data("proxy"),f=d.findAllBy(DF.Util.hasRegFailures,!0).length;f&&(c.css({clear:"both",marginBottom:"-10px"}),f="F&uuml;r "+f+" Domain"+(1<f?"s":"")+' ist eine Aktion bei der Registrierungsstelle fehlgeschlagen. <a href="#"><span>Nur Problem-</span>Domains anzeigen</a>',DF.Status.setTarget(c),DF.Status.addWarning(f),DF.Status.setTarget("statusOuterDiv"),c.find(".d-msg-text a").click(function(){var c=b.find('select[name="domainstatus"]'),
f="regfail"==c.val(),j;if(f){if(!(j=b.data("lastNameFilter")))j=b.find(".domain_filters .domain_grouping li:first");j.length&&(b.removeData("lastNameFilter"),j.siblings().removeClass("selected"),j.addClass("selected"),(sValue=j.data("chars"))&&d.addFilter("name",sValue))}else j=b.find(".domain_filters .domain_grouping li.selected").removeClass("selected"),b.data("lastNameFilter",j),d.removeFilter("name",!0);c.val(f?"":"regfail").change();a("span",this).html(f?"Nur Problem-":"Alle ");return!1}),b.find(".filter-eraser").click(function(){c.find(".d-msg-text a span").html("Nur Problem-")}),
a("#domainlist > .dt-wrapper").removeClass("hide_action"),regfailuresOnload.call(this))}function c(){if(!this.oProxy.hGrouping){for(var b={items:[]},c={"0":0,1:0,2:0,3:0,4:0,5:0,6:0,7:0,8:0,9:0,a:0,"\u00e4":0,b:0,c:0,d:0,e:0,f:0,g:0,h:0,i:0,j:0,k:0,l:0,m:0,n:0,o:0,"\u00f6":0,p:0,q:0,r:0,s:0,t:0,u:0,"\u00fc":0,v:0,w:0,x:0,y:0,z:0},d,f=0;f<this.oProxy.ahRecords.length;f++)c[this.oProxy.ahRecords[f].name.substr(0,1)]++;var f=[],l=39,k=0,j=0;"de"==__locale__&&(l=36,delete c["\u00e4"],delete c["\u00f6"],
delete c["\u00fc"]);for(d in c)if(d=d.stripAccents(),"de"==__locale__&&(d=d.stripUmlaute()),j++,f.push(d.toUpperCase()),"de"==__locale__&&("a"==d?f.push("\u00c4"):"o"==d?f.push("\u00d6"):"u"==d&&f.push("\u00dc")),70<(k+=c[d])||j==l)b.items.push({name:f[0]==f[f.length-1]?f[0]:f[0]+" &ndash; "+f[f.length-1],chars:RegExp("^["+f.join("").toLowerCase()+"]")}),k=0,f=[];1<b.items.length&&(b.items.push({name:"Alle",chars:null}),this.oProxy.hGrouping=b,c=new DF.XTemplate('<ul class="domain_grouping d-floats">',
'<tpl for="items">','<li><a href="#" onclick="return false;">{name}</a></li>',"</tpl>","</ul>"),a(c.apply(b)).prependTo(a(this.oTable).siblings(".domain_filters")).find("li").each(function(c){a(this).data(b.items[c])}).click(function(b){a(b.currentTarget).siblings().removeClass("selected");a(b.currentTarget).addClass("selected");a("#domain_filter_treffer").hide();a(b.currentTarget).data("chars")?(this.oProxy.oBusyObj.css("visibility","visible"),this.oProxy.removeFilter("name",!0),this.oProxy.addFilter.deferIt("name",
function(c){return a(b.currentTarget).data("chars").test(c.name)}).by(1,this.oProxy)):(this.oProxy.oBusyObj.css("visibility","visible"),this.oProxy.removeFilter.deferIt("name").by(1,this.oProxy));a(b.currentTarget).closest(".domain_filters").find("input[name=searchbox]").val("")}.createDelegate(this)).eq(0).addClass("selected"),this.oProxy.addFilter("name",function(a){return b.items[0].chars.test(a.name)},!0))}a(".domain_filter_busy_msg",this.oTable.parentNode).css({visibility:"visible"});var c=a(this.oTable).closest(".dt-wrapper"),
q;for(q in c.data("hClasses"))c.removeClass(q);c.data("hClasses",{})}var d=[{label:"Domainstatus",name:"domainstatus",options:[{name:"Alle anzeigen",filter:null,value:""},{name:"Nur konnektierte Domains",value:"frei",filter:function(a){return"frei"==a.status}},{name:"Nur nicht konnektierte Domains",value:"_frei",filter:function(a){return"frei"!=a.status}},{name:"Nur gek&uuml;ndigte Domains",value:"gekuendigt",filter:function(a){return 0<a.gekuendigt_zum}},{name:"Nur ungek&uuml;ndigte Domains",value:"_gekuendigt",
filter:function(a){return null===a.gekuendigt_zum||0===a.gekuendigt_zum}},{name:"Nur Domains mit Authcode",value:"authcode",filter:function(a){return!!a.authcode}},{name:"Nur Domains mit Registry-Fehlern",value:"regfail",filter:function(a){return!!a.reg_failures}}]},{label:"Registrierungstyp",name:"registrierungstyp",options:[{name:"Alle anzeigen",filter:null,value:""},{name:"Nur direkt registrierte Domains",value:"_ext",filter:function(a){return!a.is_external}},{name:"Nur externe Domains",value:"ext",
filter:function(a){return a.is_external}}]},{label:"ResellerProfessional",name:"reseller_professional",options:[{name:"Alle anzeigen",filter:null,value:""},{name:"Nur RP-verwaltete Domains",value:"rp",filter:function(a){return a.rp_managed}},{name:"Nur nicht RP-verwaltete Domains",value:"_rp",filter:function(a){return!a.rp_managed}}]},{label:"Domainziel",name:"domain_ziel",options:[{name:"Alle anzeigen",filter:null,value:""},{name:"Nur Domains mit internem Ziel",value:"_ext_target",filter:function(a){return!a.ext_target}},
{name:"Nur Domains mit externem Ziel",value:"ext_target",filter:function(a){return a.ext_target}}]},{label:"E-Mail-Postf&auml;cher",name:"email_targets",options:[{name:"Alle anzeigen",filter:null,value:""},{name:"Nur Domains mit Postf&auml;chern",value:"email",filter:function(a){return a.has_mail_accounts}},{name:"Nur Domains ohne Postf&auml;cher",value:"_email",filter:function(a){return!a.has_mail_accounts}},{name:"Nur Domains mit Exchange-Postf&auml;chern",value:"exchange",filter:function(a){return a.has_exchange_accounts}},
{name:"Nur Domains ohne Exchange-Postf&auml;chern",value:"_exchange",filter:function(a){return!a.has_exchange_accounts}}]}];a.fn.makeDomaintable=function(e){"undefined"==typeof e&&(e={});var g=e.ahFilters||d,h=DF.Templates.domainlist;DF.type(e.ahExtraCols)||(e.ahExtraCols=[]);h.ahExtraCols=e.ahExtraCols;this.each(function(){a(this).append(h.apply({ahOptions:g,hOptions:e}))});this.find(".domain_filter_filteroptions .filter-opener").click(function(b){a(b.currentTarget).closest(".domain_filters").find(".domain_filter_option_box").dfSlideToggle();
a(this).toggleClass("filter-opened");return!1});this.find(".filter-eraser").click(function(b){var c=a(b.currentTarget).closest(".domain_filters"),d=c.find(".domain_filter_quick option:selected:not(:first-child)").parent();d.val("");d.each(function(b){c.data("proxy").removeFilter(a(this).attr("name"),b!=d.length-1)});a(this).hide();return!1});this.find(".column-config-overlay div.checkbox").click(function(){a(this).closest(".dt-wrapper").toggleClass(a(this).attr("class").split(" ")[0]);a(this).toggleClass("checked")});
this.find(".column-config,.column-config-helper").click(function(b){b.preventDefault();var c=a(this).closest(".dt-wrapper").find(".column-config-overlay");if(c.filter(":hidden").length)return c.show(),a("body").one("click",function(){c.hide()}),!1});this.find(".column-config-overlay").click(function(a){a.stopPropagation()});this.find(".search-eraser").click(function(b){a(b.currentTarget).closest(".domain_filters").find("input[name=searchbox]").val("").trigger("keyup");return!1});this.find("input[name=searchbox]").focus().keyup(function(){var b=
a(this);window.clearTimeout(b.data("iFilterTimeout"));var c=b.data("sLastValue")||"",d=b.val();if(d==c)return!1;b.data("iFilterTimeout",window.setTimeout(function(){b.data("sLastValue",d);var c=b.closest(".domain_filters").data("proxy");a("#domain_filter_treffer").hide();c.oBusyObj.css("visibility","visible");if(d){c.addFilter.deferIt("name",d,!0).by(1,c);var e=b.closest(".domain_filters").find(".domain_grouping li.selected").removeClass("selected");e.length&&b.data("lastNameFilter",e);b.closest(".domain_filters").find(".search-eraser").css("visibility",
"visible")}else{if(!(e=b.data("lastNameFilter")))e=b.closest(".domain_filters").find(".domain_grouping li:first");e.length?(b.removeData("lastNameFilter"),e.addClass("selected"),(d=e.data("chars"))?c.addFilter("name",d):c.removeFilter("name")):c.removeFilter("name");b.closest(".domain_filters").find(".search-eraser").css("visibility","hidden")}},200));return!1});for(var f=0;f<g.length;f++)this.each(function(){a(this).find(".domain_filters select[name="+g[f].name+"] option").each(function(b){a(this).data("filter",
g[f].options[b].filter)});a(this).find(".domain_filters select.domain_filter_quick").change(function(b){var c=a(this).closest(".domain_filters").find("a.filter-eraser");0<a(this).parent().find(".domain_filter_quick option:selected:not(:first-child)").length?c.show():c.hide();var c=a(b.currentTarget).attr("name"),d=a(b.currentTarget).val();"domainstatus"==c&&"authcode"==d&&a(this).closest(".dt-wrapper").removeClass("hide_authcode").find(".column-config-overlay .hide_authcode").addClass("checked");
d=a("option:selected",b.currentTarget).data("filter");b=a(b.currentTarget).closest(".domain_filters").data("proxy");a("#domain_filter_treffer").hide();b.oBusyObj.css("visibility","visible");d?b.addFilter.deferIt(c,d).by(1,b):b.removeFilter.deferIt(c).by(1,b)})});var l=["name","dn","faellig","authcode"];DF.each(e.ahExtraCols,function(a){a.bSortable&&l.push(a.sName);!1!==a.bHideable&&jQuery.rule(".dt-wrapper.hide_"+a.sName+" .col_"+a.sName+" { display:none; }").appendTo("link:eq(0)")});this.each(function(){a(this).find(".fancy_table th.sortable").each(function(b){a(this).data("column",
l[b])})}).find(".fancy_table th.sortable").click(function(b){var b=a(b.currentTarget),c=b.hasClass("sort_ascending")?!0:!1;b.parent().children(".sortable").removeClass("sort_ascending sort_descending");b.addClass(c?"sort_descending":"sort_ascending");b.closest(".domaintable").prevAll(".domain_filters").data("proxy").sort(b.data("column"),c,__locale__)});var k=DF.apply({},e.hProxyParams,{sUrl:"domainlist.php",hBaseParams:{action:"getDomainlist"},bIsAsync:!0,bAutoload:!1,iPageSize:999999});return this.each(function(){var d=
a(this).children(".dt-wrapper").data("hClasses",{}),f=0,g=new DF.FilterProxy(k);g.addListener("loadcomplete",function(){this.sort("name",!1,__locale__);this.each(function(a){a.authcode&&a.gekuendigt_zum&&a.kk_freigabe?f++:a.authcode=""});var b=e.show_authcode&&!!f;b&&a("#ShowAllAuthcodeGui").show().click(function(){a('select[name="domainstatus"]').val("authcode").change()});d.toggleClass("hide_authcode",!b).find(".column-config-overlay .hide_authcode").toggleClass("checked",b)});g.oBusyObj=a(".domain_filter_busy_msg",
this);a(this).data("proxy",g);a(this).find(".domain_filters").data("proxy",g);var h=new DF.Table({oTable:a(".domaintable",this).get(0),oProxy:a(this).data("proxy"),asRowTpl:DF.apply(DF.Templates.domainlist_row,e,{setClass:function(a){this.jWrapper.data("hClasses")[a]=!0},jWrapper:a(this).children(".dt-wrapper")}),iDelayedRendering:10});a(this).data("table",h);h.beforeRenderPage=c;h.onRenderPage=function(){this.oProxy.oBusyObj.css({visibility:"hidden"});var b=a(this.oProxy.oBusyObj).closest(".dt-wrapper"),
c;for(c in b.data("hClasses"))b.addClass(c);b=a("#domain_filter_treffer");0<b.length&&(c=this.oProxy.ahRecords.length+"&nbsp;",c=this.oProxy.isFiltered()?c+"Treffer":c+("Domain"+(1==this.oProxy.ahRecords.length?"":"s")),b.html(c).show())};h.onEmptyTable=function(){var b=1>this.oProxy.iTotalRecords?"Keine Domains in diesem Auftrag enthalten":"Keine Domains erf&uuml;llen Ihr Suchkriterium";a(this.oTable).find("tbody.data").html('<tr class="fancy_row row_odd first_row last_row"><td colspan="'+(6+e.ahExtraCols.length)+
'">'+b+"</td></tr>")};e.show_reg_failures&&g.addListener("loadcomplete",b.createDelegate(this));g.load()})}})(jQuery);DF.Authinfo={iCurrentDN:0,oAuthinfo2Dialog:null,iDN:null,setDomainForAuth:function(a,b){this.iCurrentDN=a;$(".sDomainName").text(b);$("#ca2_confirm").removeAttr("checked")},createAuthinfo2:function(){var a={action:"create_authinfo2",confirmed:0<$("#ca2_confirm:checked").length?1:0,dn:this.iDN};$("#caiErrors").empty();DF.Authinfo.oAuthinfo2Dialog.setBusy(!0);$.post("domain_xml.php",
a,this.onCreateAuthinfo2.createDelegate(this))},onCreateAuthinfo2:function(a){DF.Authinfo.oAuthinfo2Dialog.setBusy(!1);DF.Authinfo.oAuthinfo2Dialog.aoButtons.get("CANCEL").enable();DF.each(a.output,function(a){var c=DF.Status.stringToLevel(a[1]);DF.Status.addMessage(c,a[0],"caiErrors")});0!==a.result?(this.oAuthinfo2Dialog.hide(),$("#authinfo2segment1, #authinfo2segment3").hide(),$("#authinfo2segment2").attr("class","").show()):($("#ca2_confirm").prop("checked",!1),DF.Authinfo.oAuthinfo2Dialog.aoButtons.get("OK").disable())},
showAuthinfo2_dialog:function(a,b){null===this.oAuthinfo2Dialog&&(this.oAuthinfo2Dialog=new DF.Dialog({sWidth:"40em",bAutoHide:!1,aoButtons:[{sText:"AuthInfo beantragen",sId:"OK",sType:"OK",bDisabled:!0},{sText:"Abbrechen",sId:"CANCEL",sType:"CANCEL",sColor:"red"}],sTitle:"Kostenpflichtige Authinfo beantragen",onRender:function(){this.jContentEl.append(jQuery("#authinfo2_popup").children());$("#ca2_confirm").click(function(){var a=0<$(this).filter(":checked").length,b=0<$(this).closest("fieldset").find(".agbLoaded").length;
return!b?($(this).removeAttr("checked"),!1):DF.Authinfo.oAuthinfo2Dialog.aoButtons.get("OK")[b&&a?"enable":"disable"]()})},fnCallback:function(){this.createAuthinfo2()},oScope:this}));this.oAuthinfo2Dialog.show();this.iDN=a;$("#caiErrors").empty();$("#ca2_confirm").prop("checked",!1);this.oAuthinfo2Dialog.aoButtons.get("OK").disable();$("#authinfo2segment2").find(".sDomainName").html(b);this.oAuthinfo2Dialog.jContentEl.find(".sDomainName").html(b)}};var oInfoDialog,oMailDialog,renderRegistryFailures=
function(a){var b=new DF.XTemplate('<div id="reg-redo-errors"></div>','<tpl if="values.data != 0">','<tpl for="data">','<fieldset class="reg_error_fieldset">','<legend style="color: black;">&nbsp;{[this.actionText(values.action)]} fehlgeschlagen&nbsp;</legend>','<div style="margin-bottom: 0.5em;">','F&uuml;r die Domain <strong>{parent.domain.name}</strong> ist <tpl if="this.isKK(values.action)">der Providerwechsel</tpl><tpl if="!this.isKK(values.action)">die Aktualisierung der Domaindaten</tpl> fehlgeschlagen.',
'<tpl if="values.email">','Details hierzu haben wir Ihnen per E-Mail &uuml;bermittelt. Sie k&ouml;nnen die E-Mail <a href="#" class="reg_error_email_popup">hier</a> erneut einsehen.',"</tpl>","</div>",'<form class="redo-form" action="uebersicht.php" method="post">','<input type="hidden" name="rfid" value="{rfid}">','<input type="hidden" name="dn" value="{dn}">','<input type="hidden" name="action" value="redo_failure">','<div class="reg_err_msgs">',"<strong>Fehlgeschlagene Aktion</strong>: {action}<br>",
'<strong>Datum</strong>: {zeit:t2d("d.m.Y")} <span style="color: #808080;">{zeit:t2d("H:i:s")}</span><br>','<div class="reg_err_msg">{error_msg:formatDenic}</div>',"</div>",'<div id="authinfo2segment3">',"<h2>Providerwechsel neu starten</h2>",'<tpl if="this.isKK(values.action) && (parent.domain.name.search(/.de$/) != -1)">','<p><strong><label for="ai_{rfid}">Neue AuthInfo:</label></strong> <input id="ai_{rfid}" type="text" name="authinfo" class="editbox"></p>',"<p>Falls die bisherige AuthInfo ung&uuml;ltig war, oder Sie eine neue bekommen haben, k&ouml;nnen Sie hier eine neue AuthInfo angeben. Lassen Sie das Feld leer, wenn die zuletzt benutzte AuthInfo verwendet werden soll.</p>",
"</tpl>",'<tpl if="!this.isKK(values.action)">','<div style="margin-bottom: 15px;">Bitte korrigieren Sie die Konfiguration Ihrer Nameserver und starten Sie den Vorgang erneut. M&ouml;chten Sie hingegen f&uuml;r die Domain unsere Nameserver eintragen, so k&ouml;nnen Sie diese unter dem Punkt &bdquo;<a href="nameserver.php?dn={dn}">Nameserver editieren</a>&ldquo; hinterlegen.</div>',"</tpl>",'<button class="redo-btn accept d-btn-align-left" type="submit">','<b><tpl if="this.isKK(values.action)">Providerwechsel neu</tpl><tpl if="!this.isKK(values.action)">Aktion erneut</tpl> starten</b>',
"</button>","</div>","</form>",'<div class="btn-trenner"></div>','<tpl if="DF.Util.hasAuthInfo(parent.domain)">','<div id="authinfo2segment1">',"<h2>Kostenpflichtige Authinfo beantragen</h2>",'<p>Ist das Hinterlegen einer AuthInfo f&uuml;r die Domain beim bisherigen Provider nicht m&ouml;glich, da dieser beispielsweise nicht erreichbar ist, so k&ouml;nnen Sie nachfolgend das Erstellen einer AuthInfo bei der DENIC beantragen.</p> <p>Bitte beachten Sie, dass die Beantragung einer AuthInfo f&uuml;r <em class="underline">nicht</em> bei {DF.BRANDNAME} verwaltete Domains kostenpflichtig ist und mit <strong>{DF.AuthInfo2CostFormatted}</strong> inkl. gesetzl. Mwst. berechnet wird.</p>',
"<button onclick=\"DF.Authinfo.showAuthinfo2_dialog('{values.dn}', '{parent.domain.name}'); return false;\" class=\"accept\"><b>AuthInfo beantragen</b></button>","</div>",'<div id="authinfo2segment2" class="d-hidden-offsets">',"<h2>AuthInfo beantragt</h2>","<p>Die Erstellung der AuthInfo f&uuml;r die Domain <strong>{parent.domain.name}</strong> wurde soeben beantragt.</p>","<p>Bitte beachten Sie, dass die Erstellung sowie der Versand des Providerwechsel-Passwortes seitens der DENIC, der Vergabestelle f&uuml;r .de-Domains, vorgenommen wird. Sie erhalten in den kommenden Tagen ein Schreiben der DENIC an die im Whois der Domain angegebene Adresse des Domaininhabers.</p>",
"<p>Lassen Sie uns nach Erhalt des Schreibens die dort genannte AuthInfo bitte einfach per E-Mail oder telefonisch zukommen. Gerne nehmen wir einen Neustart des Providerwechsels vor und ziehen die Domain f&uuml;r Sie um.</p>","</div>","</tpl>","</fieldset>","</tpl>","</tpl>",{isKK:function(a){return"KK"==a||"CHPROV"==a},actionText:function(a){return this.isKK(a)?"Providerwechsel":"Aktualisierung der Domaindaten"}});$("#reg_failure_content").html(b.apply({data:a.result,domain:a.domain}));$("#reg_failure_content .reg_error_fieldset").each(function(b){$(this).data(a.result[b])}).find(".reg_error_email_popup").click(function(a){var a=
$(a.currentTarget).closest(".reg_error_fieldset").data("email"),b=a.substr(0,a.indexOf("\n")),a=a.substr(b.length+1);oMailDialog=DF.Popup.alert('<div id="reg_mail_content">'+DF.Util.Format.nl2br(a).replace(/(https?:.+?)(\.?\s|\.?\n|\.?<br)/g,'<a target="_blank" href="$1">$1</a>$2')+"</div>",{sWidth:"800px",sTitle:b,aoButtons:[{sText:"Schlie&szlig;en",sAlign:"right",sColor:"red"}]});$("#reg_mail_content").closest(".d-popup-body").css({overflow:"auto",maxHeight:"500px"}).animate({scrollTop:0},400);
oMailDialog.center();return!1});$("#reg_failure_content").closest(".d-popup-body").css({overflow:"auto",maxHeight:"500px"}).animate({scrollTop:0},400);oInfoDialog.center();0===a.result?($("#reg_failure_content").closest(".d-popup-inner").find(".d-popup-close").trigger("click"),location.href="#"):$(".redo-form").submit(function(a){$(".redo-btn").buttonDisable(!0);$.post("uebersicht.php",$(a.currentTarget).serialize(),function(b){$.getJSON("uebersicht.php?action=read_failures&dn="+$("[name=dn]",$(a.currentTarget)).val(),
function(a){exposeStatusMessages(renderOrCloseRegistryFailures,"reg-redo-errors")(a);exposeStatusMessages(null,"reg-redo-errors")(b);oInfoDialog.center()})},"json");return!1})},exposeStatusMessages=function(a,b){return function(c){if("status"in c&&DF.isArray(c.status)){b&&DF.Status.setTarget(b);for(var d=0;d<c.status.length;d++)switch(c.status[d][1]){case "error":DF.Status.addError(c.status[d][0]);break;case "success":DF.Status.addSuccess(c.status[d][0]);break;case "warning":DF.Status.addWarning(c.status[d][0]);
break;case "notice":DF.Status.addNotice(c.status[d][0]);break;default:DF.Status.addError(c.status[d][0])}DF.Status.setTarget("statusOuterDiv")}if(a)return a(c)}},renderOrCloseRegistryFailures=function(a){a.result.length?renderRegistryFailures(a):$("#reg_failure_content").closest(".d-popup-inner").find(".reject").trigger("click")},regfailuresOnload=function(){$("#authinfo_popup_window").parent().attr("id","authinfo_popup_window_mask");$(this).find(".reg_error_link").live("click",function(a){oInfoDialog||
(oInfoDialog=new DF.Dialog({sWidth:"62em",sTitle:"Providerwechsel-Aktionen und Aktualisierungen von Domaindaten",aoButtons:[{sText:"Schlie&szlig;en",sAlign:"right",sColor:"red"}],onRender:function(){this.getContentEl().attr("id","reg_failure_content")}}));a="uebersicht.php?action=read_failures&dn="+$("td:nth(1)",$(a.currentTarget.parentNode.parentNode)).text().substr(1);oInfoDialog.getContentEl().html('Lade&hellip;&nbsp;&nbsp;<img src="/pics/busy.gif" alt="">');oInfoDialog.show().center();$.getJSON(a,
function(a){exposeStatusMessages(renderOrCloseRegistryFailures,"reg-redo-errors")(a);exposeStatusMessages(null,"reg-redo-errors")(a);oInfoDialog.center()});return!1});setTimeout(function(){$(".reg_error").addTooltip({bUseTitle:!0})},1E3)};DF.Util.showAuthcode=function(a,b){/^0?$/.test(b)&&($("BODY").mask(!0),$.ajax({url:"uebersicht.php?action=showAuthcode&ajax=j",async:!1,dataType:"json",success:function(c){$("BODY").mask(!1);for(i=0;i<c.length;i++)if(c[i].name==a){b=c[i].authcode;break}}}));b=$("<span />").text(b).html();
DF.Popup.alert({sWidth:"auto",bModal:!1,aoButtons:[{sText:"Schlie&szlig;en",sId:"OK",sColor:"red"}],sTitle:"Authcode f&uuml;r "+a,sContent:"Der Authcode f&uuml;r "+a+" lautet:<br><b>"+b+"</b>",fnCallback:function(){$("BODY").unmask()}})};DF.Util.hasAuthcode=function(a){return!(!a.has_authcode||!a.gekuendigt_zum||!a.kk_freigabe)};DF.Util.hasAuthInfo=function(a){return"denic"==a.domainprovider&&"wait"==a.status&&!a.authcode};DF.Util.hasRegFailures=function(a){return a.reg_failures}}catch(ex$$43){"object"===
typeof CrashKit&&"function"===typeof CrashKit.raise&&CrashKit.raise("df_lib.js:domainlist.js",ex$$43)}
try{DF.ready(function(){jQuery(document.body).hasClass("df")?DF.BRAND="df":jQuery(document.body).hasClass("dg")&&(DF.BRAND="dg");jQuery(".blank").attr("target","_blank");jQuery(".unselectable").attr("unselectable","on");if(jQuery("body").hasClass("datauri")||jQuery("html").hasClass("datauri"))DF.BLANK="data:image/gif;base64,R0lGODlhAQABAID/AMDAwAAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==",DF.BUSY_IMG="data:image/gif;base64,R0lGODlhEAAQALMAAP///8/Pz7+/v6+vr5+fn4+Pj39/f3R0dGpqav///wAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQFCgAJACwAAAAAEAAQAAAESDDJmYyhmFqbZynVlhwH9n3hSJbeSa1sm5EUQXQTgiS2jeu63q0D3PlwCR1lMMgEAhgmk/J8LqUJgSBRhV6z2q0VF94iJ9pOBAAh+QQFCgAJACwAAAAAEAAQAAAESDDJmUqhmFqbJyHVlhgG9n3hSJbeSa1sm5HUMHTTcSS2jeu63q0D3PlwCR1FIMggEBgmk/J8LqWJQCBRhV6z2q0VF94iJ9pOBAAh+QQFCgAJACwAAAAAEAAQAAAESDDJmQihmFqb5xjVlhQF9n3hSJbeSa1sm5GUIHSTYSS2jeu63q0D3PlwCR0lEMgcDhgmk/J8LqUJBCJRhV6z2q0VF94iJ9pOBAAh+QQFCgAJACwAAAAAEAAQAAAESDDJmcagmFqbpxDVlhAE9n3hSJbeSa1sm5FUEHRTUSS2jeu63q0D3PlwCR0FgcgYDBgmk/J8LqWJwyFRhV6z2q0VF94iJ9pOBAAh+QQFCgAJACwAAAAAEAAQAAAESDDJmYSgmFqbZwjVlgwD9n3hSJbeSa1sm5EUgnQTQSS2jeu63q0D3PlwCR3lcMgUChgmk/J8LqUJgyFRhV6z2q0VF94iJ9pOBAAh+QQFCgAJACwAAAAAEAAQAAAESDDJmUKgmFqbJ0LVlggC9n3hSJbeSa1sm5HUcXTTMCS2jeu63q0D3PlwCR3FYMgQCBgmk/J8LqWJQiFRhV6z2q0VF94iJ9pOBAAh+QQFCgAJACwAAAAAEAAQAAAESDDJmRCimFqb5znVlgQB9n3hSJbeSa1sm5GUYXSTICS2jeu63q0D3PlwCR2lUMgMBhgmk/J8LqUJAiFRhV6z2q0VF94iJ9pOBAAh+QQJCgAJACwAAAAAEAAQAAAESDDJmc6hmFqbpzHVliAI9n3hSJbeSa1sm5FUUXRTECS2jeu63q0D3PlwCR2FQMgIBBgmk/J8LqWJwSBRhV6z2q0VF94iJ9pOBAA7";
var a=/scrollbarwidth_(\d+)/g.exec($("body").attr("class")||$("html").attr("class")||"");DF.ScrollbarWidth=a?Number(a[1]):17;DF.isIE&&(jQuery(document.body).addClass("ie"),DF.isIE7&&jQuery(document.body).addClass("ie7"))})}catch(ex$$44){"object"===typeof CrashKit&&"function"===typeof CrashKit.raise&&CrashKit.raise("df_lib.js:init.js",ex$$44)}
try{DF.FileInput=DF.extend(new Function,{ERROR_FILE_EXISTS:"file_exists",constructor:function(a){DF.apply(this,a,{sButtonID:null,sErrorTarget:null,oFileRowTpl:null,sFileList:null,sButtonOverClass:"d-btn-over"});if(!a.sButtonID||!$("#"+a.sButtonID))throw"Es wurde keine gueltige Button-ID angegeben";this.oButton=$("#"+a.sButtonID);null!=this.oFileRowTpl&&(this.oFileRowTpl=this.oFileRowTpl instanceof DF.Template?this.oFileRowTpl:new DF.XTemplate(this.oFileRowTpl));a.sFileList&&$("#"+a.sFileList)&&(this.oFileList=
$("#"+a.sFileList));this.getButton=function(){return this.oButton};this.getFiles=function(){return this.hhFiles};this.init()},init:function(){this.hhFiles={};var a=document.createElement("div");a.className="input_shim";var b={position:"relative",height:this.oButton.outerHeight(),width:this.oButton.outerWidth(),overflow:"hidden"};$(a).css(b);this.oDiv=this.oButton.wrap(a).parent();null===this.oFileList&&(this.oFileList=this.oDiv.parent());this.createFileInput();$(this.oDiv).find("button").focus(function(){$(this).parent().addClass("HOVER").find(".file_input.active").focus()});
$(".file_input").live("blur",function(){$(this).parent().removeClass("HOVER")});$(this.oDiv).hover(function(){$(this).addClass("HOVER")},function(){$(this).removeClass("HOVER")})},createFileInput:function(){var a=DF.id(),a=$('<input type="file" name="'+a+'" id="'+a+'" class="file_input active">').bind("change",jQuery.proxy(this.createFileInput,this)).bind("change",jQuery.proxy(this.addFile,this)).bind("change",function(a){$(a.currentTarget).removeClass("active")});this.oButton.parent().append(a)},
addFile:function(a){var b,a=$(a.currentTarget),c=a.val().replace(/.*(\/|\\)/,"");for(b in this.hhFiles)if(this.hhFiles[b].name==c){if(this.error(this.ERROR_FILE_EXISTS,a))return a.remove(),!1;a.remove()}b=a.attr("id");this.beforeAddFile(b);var d=null;this.hhFiles[b]={id:a.attr("id"),name:c,row:d};this.getFileRowTpl()instanceof DF.Template&&(d=$(this.getFileRowTpl().apply(this.hhFiles[b])).attr("id","file_input_row_"+b),this.oFileList.append(d),d.find(".file_input_del").bind("click",jQuery.proxy(this.removeFile,
this)),this.hhFiles[b].row=d);this.onAddFile(b);return!0},error:function(a,b){null!=this.sErrorTarget&&DF.Status.setTarget(this.sErrorTarget);return!1===this.onError(a,b)?!1:!0},onError:function(a,b){a===this.ERROR_FILE_EXISTS&&DF.Status.addError('Der Anhang "'+b.val()+'" wurde bereits hinzugef&uuml;gt');return!0},getFileRowTpl:function(){this.oFileRowTpl||(this.oFileRowTpl=new DF.XTemplate(['<tr class="fancy_row normalfont"><td style="padding-right: 3px;">&bull;</td><td><div class="ellipsis" title="{[ values.name ]}">{[ values.name ]}</div></td><td style="vertical-align: baseline; text-align: right;"><a href="#" onClick="return false;" style="font-size: smaller;" class="file_input_del">[l&ouml;schen]</a></td></tr>']));
return this.oFileRowTpl},removeFile:function(a){if(a=$(a.currentTarget).parents("[id^=file_input_row_]")){var b=a.attr("id").substr(15);this.beforeRemoveFile(b);a.remove();$("#"+b).remove();delete this.hhFiles[b]}this.onRemoveFile(b)},beforeAddFile:function(){if(DF.Util.isEmptyHash(this.hhFiles)&&(oContainer=this.getFileListContainer())&&oContainer.length){var a=$('<table cellspacing="0" cellpadding="2" border="0" class="fancy_table tab_list sdw_border hottrack" style="border-collapse: separate; table-layout: fixed; margin: 5px 0px 5px 0px;"><col style="width: 10px;"><col style="width: auto;"><col style="width: 50px;"></table>');
this.oFileList.append(a);this.oFileList=a}},getFileListContainer:function(){return $('<table cellspacing="0" cellpadding="2" border="0" class="fancy_table tab_list sdw_border hottrack" style="border-collapse: separate; table-layout: fixed; margin: 5px 0px 5px 0px;"><col style="width: 10px;"><col style="width: auto;"><col style="width: 50px;"></table>')},beforeRemoveFile:function(){},onAddFile:function(){this.refreshFileList()},refreshFileList:function(){var a=this.oFileList.find("tr");a.removeClass("row_even row_odd last_row first_row");
a.each(function(b){0==b&&$(a.get(b)).addClass("first_row");b==a.length-1&&$(a.get(b)).addClass("last_row");$(a.get(b)).addClass("row_"+(0==b%2?"even":"odd"))})},onRemoveFile:function(){if(DF.Util.isEmptyHash(this.hhFiles)){var a=this.oFileList;this.oFileList=this.oFileList.parent();a.remove()}this.refreshFileList()},clear:function(){this.beforeRemoveFile();for(sKey in this.hhFiles)$(this.hhFiles[sKey].row).remove();this.hhFiles={};this.onRemoveFile()}})}catch(ex$$45){"object"===typeof CrashKit&&"function"===
typeof CrashKit.raise&&CrashKit.raise("df_lib.js:fileinput.js",ex$$45)}
try{DF.Interval=DF.extend(new Function,{hInterval:{},constructor:function(){},add:function(a,b,c){if(!DF.isString(a))throw"invalid name for interval";if(!DF.isNumber(b))throw"invalid period for interval";if(!DF.isString(c))throw"invalid function for interval";if(void 0==this.hInterval[a]||void 0==this.hInterval[a].id)this.hInterval[a]={id:void 0,interval:b,func:c};else if(!DF.isEqual(this.hInterval[a].interval,b)||!DF.isEqual(this.hInterval[a].func,c))this.stop(a),this.add(a,b,c),this.start(a);return this},
get:function(a){return void 0!==a?DF.hashKeyExists(a,this.hInterval)?this.hInterval[a]:null:this.hInterval},stop:function(a){DF.hashKeyExists(a,this.hInterval)&&void 0!=this.hInterval[a].id&&(window.clearInterval(this.hInterval[a].id),this.hInterval[a].id=void 0);return this},stopAll:function(){for(var a in this.hInterval)this.stop(a);return this},del:function(a){this.stop(a);DF.hashKeyExists(a,this.hInterval)&&delete this.hInterval[a];return this},delAll:function(){for(var a in this.hInterval)this.del(a);
return this},start:function(a){if(void 0==a||!DF.isString(a)||!DF.hashKeyExists(a,this.hInterval))throw"unknown interval name";if(void 0!=this.hInterval[a].id)return this;this.hInterval[a].id=window.setInterval(this.hInterval[a].func,this.hInterval[a].interval);return this},startAll:function(){for(var a in this.hInterval)this.start(a);return this},restart:function(a){this.stop(a);this.start(a);return this},restartAll:function(){this.stopAll();this.startAll();return this}})}catch(ex$$46){"object"===
typeof CrashKit&&"function"===typeof CrashKit.raise&&CrashKit.raise("df_lib.js:interval.js",ex$$46)}
try{(function(a){var b=a('<style rel="alternate stylesheet" type="text/css" />').appendTo("head")[0],c=b.sheet?"sheet":"styleSheet",d=b[c],e=d.rules?"rules":"cssRules",g=d.deleteRule?"deleteRule":"removeRule",b=d.ownerNode?"ownerNode":"owningElement",h=/^([^{]+)\{([^}]*)\}/m,f=/([^:]+):([^;}]+)/;d.disabled=!0;var l=a.rule=function(a,b){if(!(this instanceof l))return new l(a,b);this.sheets=l.sheets(b);a&&h.test(a)&&(a=l.clean(a));if("object"==typeof a&&!a.exec){var c=a.get?a.get():a.splice?a:[a];this.length=
0;Array.prototype.push.apply(this,c)}else if(c=this.sheets.cssRules().get(),this.length=0,Array.prototype.push.apply(this,c),a)return this.filter(a);return this};a.extend(l,{sheets:function(b){var c=b;"object"!=typeof c&&(c=a.makeArray(document.styleSheets));c=a(c).not(d);"string"==typeof b&&(c=c.ownerNode().filter(b).sheet());return c},rule:function(a){return a.selectorText?["",a.selectorText,a.style.cssText]:h.exec(a)},appendTo:function(a,b,f){switch(typeof b){case "string":b=this.sheets(b);case "object":if(b[0]&&
(b=b[0]),b[c]&&(b=b[c]),b[e])break;default:if("object"==typeof a)return a;b=d}var g;if(!f&&(g=this.parent(a)))a=this.remove(a,g);a=this.rule(a);b.addRule?b.addRule(a[1],a[2]||";"):b.insertRule&&b.insertRule(a[1]+"{"+a[2]+"}",b[e].length);return b[e][b[e].length-1]},remove:function(b,c){c=c||this.parent(b);if(c!=d){var f=c?a.inArray(b,c[e]):-1;-1!=f&&(b=this.appendTo(b,0,!0),c[g](f))}return b},clean:function(b){return a.map(b.split("}"),function(a){if(a)return l.appendTo(a+"}")})},parent:function(b){if("string"==
typeof b||!a.browser.msie)return b.parentStyleSheet;var c;this.sheets().each(function(){if(-1!=a.inArray(b,this[e]))return c=this,!1});return c},outerText:function(a){return!a||!a.selectorText?"":[a.selectorText+"{","\t"+a.style.cssText,"}"].join("\n").toLowerCase()},text:function(a,b){void 0!==b&&(a.style.cssText=b);return!a?"":a.style.cssText.toLowerCase()}});l.fn=l.prototype={pushStack:function(a,b){var c=l(a,b||this.sheets);c.prevObject=this;return c},end:function(){return this.prevObject||l(0,
[])},filter:function(b){var c;b||(b=/./);b.split?(c=a.trim(b).toLowerCase().split(/\s*,\s*/),b=function(){return!!a.grep((this.selectorText||"").toLowerCase().split(/\s*,\s*/),function(b){return-1!=a.inArray(b,c)}).length}):b.exec&&(c=b,b=function(){return c.test(this.selectorText)});return this.pushStack(a.grep(this,function(a,c){return b.call(a,c)}))},add:function(b,c){return this.pushStack(a.merge(this.get(),l(b,c)))},is:function(a){return!(!a||!this.filter(a).length)},not:function(b,c){b=l(b,
c);return this.filter(function(){return-1==a.inArray(this,b)})},append:function(b){var c=this,d;a.each(b.split(/\s*;\s*/),function(a,b){(d=f.exec(b))&&c.css(d[1],d[2])});return this},text:function(a){return!arguments.length?l.text(this[0]):this.each(function(){l.text(this,a)})},outerText:function(){return l.outerText(this[0])}};a.each({ownerNode:b,sheet:c,cssRules:e},function(b,c){var d=c==e;a.fn[b]=function(){return this.map(function(){return d?a.makeArray(this[c]):this[c]})}});a.fn.cssText=function(){return this.filter("link,style").eq(0).sheet().cssRules().map(function(){return l.outerText(this)}).get().join("\n")};
a.each(["remove","appendTo","parent"],function(b,c){l.fn[c]=function(){var b=a.makeArray(arguments),d=this;b.unshift(0);return this.each(function(a){b[0]=this;d[a]=l[c].apply(l,b)||d[a]})}});a.each("each,index,get,size,eq,slice,map,attr,andSelf,css,show,hide,toggle,queue,dequeue,stop,animate,fadeIn,fadeOut,fadeTo".split(","),function(b,c){l.fn[c]=a.fn[c]});var k=a.curCSS;a.curCSS=function(b,c){return"selectorText"in b?b.style[c]||a.prop(b,"opacity"==c?1:0,"curCSS",0,c):k.apply(this,arguments)};l.cache=
{};b=function(b){return function(c){var d=c.selectorText;d&&(arguments[0]=l.cache[d]=l.cache[d]||{});return b.apply(a,arguments)}};a.data=b(a.data);a.removeData=b(a.removeData);a(window).unload(function(){a(d).cssRules().remove()})})(jQuery)}catch(ex$$47){"object"===typeof CrashKit&&"function"===typeof CrashKit.raise&&CrashKit.raise("df_lib.js:jquery.rule.js",ex$$47)};

