﻿String.format = function() { var s = arguments[0]; for (var i = 0; i < arguments.length - 1; i++) { var reg = new RegExp("\\{" + i + "\\}", "gm"); s = s.replace(reg, arguments[i + 1]); } return s; }
String.trim = function() { return trim(this); }
function trim(str, chars) { return ltrim(rtrim(str, chars), chars); }
function ltrim(str, chars) { chars = chars || "\\s"; return new String(str).replace(new RegExp("^[" + chars + "]+", "g"), ""); }
function rtrim(str, chars) { chars = chars || "\\s"; return new String(str).replace(new RegExp("[" + chars + "]+$", "g"), ""); }
function redirect(url) { window.location = url; }
function queryString(key) { hu = window.location.search.substring(1); gy = hu.split("&"); for (i = 0; i < gy.length; i++) { ft = gy[i].split("="); if (ft[0] == key) { return ft[1]; } } }
function isNullEmptyOrUndefined(value) { return (value == null || value == "null" || value == "" || value == undefined); }
function isNullOrUndefined(value) { return (value == null || value == "null" || value == undefined); }
function padDigits(n, t) { if (isNullEmptyOrUndefined(n)) n=''; var s = '' + n; while (s.length < t) s = '0'+s; return s; }
//query encoder
var keyStr = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789$-="; function encodeQuery(input) { if (input == null || input == "") return ""; var output = ""; var chr1, chr2, chr3; var enc1, enc2, enc3, enc4; var i = 0; do { chr1 = input.charCodeAt(i++); chr2 = input.charCodeAt(i++); chr3 = input.charCodeAt(i++); enc1 = chr1 >> 2; enc2 = ((chr1 & 3) << 4) | (chr2 >> 4); enc3 = ((chr2 & 15) << 2) | (chr3 >> 6); enc4 = chr3 & 63; if (isNaN(chr2)) { enc3 = enc4 = 64; } else if (isNaN(chr3)) { enc4 = 64; } output = output + keyStr.charAt(enc1) + keyStr.charAt(enc2) + keyStr.charAt(enc3) + keyStr.charAt(enc4); } while (i < input.length); return output; } function decode64(input) { var output = ""; var chr1, chr2, chr3; var enc1, enc2, enc3, enc4; var i = 0; input = input.replace(/[^A-Za-z0-9\+\-\=]/g, ""); do { enc1 = keyStr.indexOf(input.charAt(i++)); enc2 = keyStr.indexOf(input.charAt(i++)); enc3 = keyStr.indexOf(input.charAt(i++)); enc4 = keyStr.indexOf(input.charAt(i++)); chr1 = (enc1 << 2) | (enc2 >> 4); chr2 = ((enc2 & 15) << 4) | (enc3 >> 2); chr3 = ((enc3 & 3) << 6) | enc4; output = output + String.fromCharCode(chr1); if (enc3 != 64) { output = output + String.fromCharCode(chr2); } if (enc4 != 64) { output = output + String.fromCharCode(chr3); } } while (i < input.length); return output; }
Number.prototype.formatMoney = function(c, d, t) { var n = this, c = isNaN(c = Math.abs(c)) ? 2 : c, d = d == undefined ? "," : d, t = t == undefined ? "." : t, s = n < 0 ? "-" : "", i = parseInt(n = Math.abs(+n || 0).toFixed(c)) + "", j = (j = i.length) > 3 ? j % 3 : 0; return s + (j ? i.substr(0, j) + t : "") + i.substr(j).replace(/(\d{3})(?=\d)/g, "$1" + t) + (c ? d + Math.abs(n - i).toFixed(c).slice(2) : ""); };
String.prototype.toBoolean = function() { switch (this.toLowerCase()) { case "true": case "yes": case "1": return true; case "false": case "no": case "0": case null: return false; default: return Boolean(string); } }
Date.prototype.addHours = function(h) { this.setHours(this.getHours() + h); return this; }
Date.prototype.addDays = function(d) { this.setDate(this.getDate() + d); return this; }
Date.prototype.date = function() { return new Date(this.getFullYear(), this.getMonth(), this.getDate()); }
/**
* Copyright (c)2005-2008 Matt Kruse (javascripttoolbox.com)
* 
* Dual licensed under the MIT and GPL licenses. 
* This basically means you can use this code however you want for
* free, but don't claim to have written it yourself!
* Donations always accepted: http://www.JavascriptToolbox.com/donate/
* 
* Please do not link to the .js files on javascripttoolbox.com from
* your site. Copy the files locally to your server instead.
* 
*/
eval(function(p, a, c, k, e, d) { e = function(c) { return (c < a ? '' : e(parseInt(c / a))) + ((c = c % a) > 35 ? String.fromCharCode(c + 29) : c.toString(36)) }; if (!''.replace(/^/, String)) { while (c--) { d[e(c)] = k[c] || e(c) } k = [function(e) { return d[e] } ]; e = function() { return '\\w+' }; c = 1 }; while (c--) { if (k[c]) { p = p.replace(new RegExp('\\b' + e(c) + '\\b', 'g'), k[c]) } } return p } ('k 2K={\'$2M\':1.2F};9 1p(o){5(o!=f&&A(o)=="X"&&A(o.w)=="2u"&&(o.w==0||m(o[0])))};9 1O(o){5(o!=f&&A(o)=="X"&&m(o.1Y)&&o.1Y==31&&!m(o.1c))};9 m(o){5(A(o)!="2N")};9 20(R){k i,j,o;k y=[];7(A(R)=="W"){R=1t 2P(\'$22\',R)}I(i=1;i<S.w;i++){o=S[i];7(1p(o)){I(j=0;j<o.w;j++){y[y.w]=R(o[j])}}x 7(1O(o)){I(j 1x o){y[y.w]=R(o[j])}}x{y[y.w]=R(o)}}5 y};9 2O(o,13){7(!m(o)||o==f){o={}}7(!m(13)||13==f){5 o}I(k p 1x 13){7(!m(o[p])){o[p]=13[p]}}5 o};21.2X.1W=9(o){k i,l;7(!(l=1Z.w)){5 G}I(i=0;i<l;i++){7(o==1Z[i]){5 H}}};k 2S=(9(){k L={};L.2T=9(o,O){7(o==f){5 f}7(1p(O)){O=20("5 $22.1M()",O);1g(o=o.17){7(o.1c&&O.1W(o.1c)){5 o}}}x{O=O.1M();1g(o=o.17){7(o.1c&&O==o.1c){5 o}}}5 f};L.2U=9(o){7(o!=f&&o.17&&o.17.1V){I(k i 1x o){7(A(o[i])=="9"){o[i]=f}}o.17.1V(o);5 H}5 G};L.2V=9(o){7(m(o.1L)){5 o.1L}5 f};L.30=9(o){7(m(o.1I)){5 o.1I}5 f};L.V=9(){k y=1t 21();k i,j,o;I(k i=0;i<S.w;i++){k o=S[i];7(o==f){7(S.w==1){5 f}y[y.w]=f}x 7(A(o)==\'W\'){7(h.1A){o=h.1A(o)}x 7(h.2f){o=h.2f[o]}7(S.w==1){5 o}y[y.w]=o}x 7(1p(o)){I(j=0;j<o.w;j++){y[y.w]=o[j]}}x 7(1O(o)){I(j 1x o){y[y.w]=o[j]}}x 7(S.w==1){5 o}x{y[y.w]=o}}5 y};L.$=L.V;5 L})();k 18=(9(){k r={};r.27=9(1d){7(A(1d)!="W"||!m(1d.1n)){5 f}k 1e=1d.1n(/^\\s*12\\s*\\(\\s*(\\d+)\\s*,\\s*(\\d+)\\s*,\\s*(\\d+)\\s*/);7(1e==f){5 1d}k 12=+1e[1]<<16|+1e[2]<<8|+1e[3];k Q="";k 24="2C";1g(12!=0){Q=24.1F(12&2J)+Q;12>>>=4}1g(Q.w<6){Q=\'0\'+Q}5"#"+Q};r.1E=9(z){7(!m(z)||z==f){5 f}7(z.2I("-")<0){5 z}k 11="";k c=f;k l=z.w;I(k i=0;i<l;i++){c=z.1F(i);11+=(c!="-")?c:z.1F(++i).1M()}5 11};r.1K=9(q,u){7(!m(q)||q==f||!1J){5 G}k 14=1t 1J("(^|\\\\s)"+u+"(\\\\s|$)");7(A(q)=="W"){5 14.1l(q)}x 7(A(q)=="X"&&q.u){5 14.1l(q.u)}5 G};r.25=9(q,u){7(A(q)!="X"||q==f||!m(q.u)){5 G}7(q.u==f||q.u==\'\'){q.u=u;5 H}7(r.1K(q,u)){5 H}q.u=q.u+" "+u;5 H};r.2a=9(q,u){7(A(q)!="X"||q==f||!m(q.u)||q.u==f){5 G}7(!r.1K(q,u)){5 G}k 14=1t 1J("(^|\\\\s+)"+u+"(\\\\s+|$)");q.u=q.u.1N(14,\' \');5 H};r.3k=9(q,u,26){7(A(q)!="X"||q==f||!m(q.u)||q.u==f){5 G}r.2a(q,u);r.25(q,26);5 H};r.1k=9(o,z){7(o==f){5 f}k p=f;k 1f=r.1E(z);7(z=="29"){p=r.1k(o,"2e");7(p==f){p=r.1k(o,"2d")}}x 7(o.1P&&m(o.1P[1f])){p=o.1P[1f]}x 7(Z.28){p=Z.28(o,f).38(z)}x 7(o.F&&m(o.F[1f])){p=o.F[1f]}7(/^\\s*12\\s*\\(/.1l(p)){p=r.27(p)}7(/^#/.1l(p)){p=p.2t()}5 p};r.19=r.1k;r.23=9(o,z,M){7(o==f||!m(o.F)||!m(z)||z==f||!m(M)){5 G}7(z=="29"){o.F["2e"]=M;o.F["2d"]=M}x 7(z=="1b"){o.F[\'-33-1b\']=M;o.F[\'-34-1b\']=M;o.F.1b=M;7(m(o.F.2c)){o.F.2c="35(1b="+M*1q+")"}}x{o.F[r.1E(z)]=M}5 H};r.3b=r.23;r.1X=3h;r.3f=9(o){7(m(o)&&o!=f&&m(o.E)&&o.E!=f&&o.E!=""){5 o.E}k E=f;1g(E==f||h.1A(E)!=f){E="3c"+(r.1X++)}7(m(o)&&o!=f&&(!m(o.E)||o.E=="")){o.E=E}5 E};5 r})();k 3m=(9(){k D={};D.V=9(e){7(!m(e)&&m(Z.2b)){e=Z.2b}5 e};D.3d=9(q,1y,1z,2x){7(q.2B){q.2B(1y,1z,2x);5 H}x 7(q.2z){q.2z("3e"+1y,1z);5 H}5 G};D.3g=9(e){e=D.V(e);7(m(e.2y)){5 e.2y}7(m(e.2A)){5 e.2A+1D.2i()}5 f};D.3a=9(e){e=D.V(e);7(m(e.2v)){5 e.2v}7(m(e.2g)){5 e.2g+1D.2w()}5 f};D.1j=9(e){e=D.V(e);7(A(e.1B)=="9"){e.1B()}7(m(e.1j)){e.1j=H}};D.1B=D.1j;D.1C=9(e){e=D.V(e);7(A(e.1C)=="9"){e.1C()}7(m(e.2m)){e.2m=G}};5 D})();k 1D=(9(){k B={};B.1U=9(){7(h.v){5 h.v}7(h.2k){k 1i=h.2k("36");7(1i!=f&&1i.w>0){5 1i[0]}}5 f};B.2w=9(){7(h.C&&m(h.C.1a)&&h.C.1a>0){5 h.C.1a}7(h.v&&m(h.v.1a)){5 h.v.1a}5 f};B.2i=9(){7(h.C&&m(h.C.15)&&h.C.15>0){5 h.C.15}7(h.v&&m(h.v.15)){5 h.v.15}5 f};B.Y=9(n){5(!m(n)||1m(n))?0:n};B.3j=9(){k T=0;k v=B.1U();7(h.C&&(!h.J||h.J=="1s")){k 2o=1h(18.19(v,\'37\'),10)||0;k 2n=1h(18.19(v,\'39\'),10)||0;T=1w.1u(v.1L+2n+2o,h.C.1r)}x{T=1w.1u(v.1r,v.3i)}7(1m(T)||T==0){T=B.Y(N.2q)}5 T};B.3n=9(){k v=B.1U();k U=(m(N.U)&&!1m(N.U))?N.U:0;7(h.C&&(!h.J||h.J=="1s")){k 2s=1h(18.19(v,\'3p\'),10)||0;k 2r=1h(18.19(v,\'3o\'),10)||0;5 1w.1u(v.1I+2s+2r,h.C.1o,h.C.2p,B.Y(N.U))}5 1w.1u(v.2p,v.1o,B.Y(N.U))};B.3l=9(){7(h.C&&(!h.J||h.J=="1s")){5 h.C.1r}x 7(h.J&&h.v){5 h.v.1r}5 B.Y(N.2q)};B.32=9(){7(!Z.2h&&h.C&&(!h.J||h.J=="1s")){5 h.C.1o}x 7(h.J&&!Z.2h&&h.v){5 h.v.1o}5 B.Y(N.U)};5 B})();k 2H=(9(){k t={};t.1G=9(a,b){7(a==b){5 0}7(a<b){5-1}5 1};t.2G=t.1G;t.1v=9(p){7(A(p)!="2u"){7(A(p)=="W"){p=2D(p.1N(/,/g,\'\'));7(1m(p)||p==f){p=0}}x{p=0}}5 p};t.1T=9(a,b){5 t.1v(a)-t.1v(b)};t.1H=9(p){7(p==f){p=""}5(""+p).2t()};t.2E=9(a,b){5 t.1G(t.1H(a),t.1H(b))};t.1S=9(p){7(A(p)=="W"){p=p.1N(/^[^\\d\\.]/,\'\')}5 t.1v(p)};t.2L=9(a,b){5 t.1T(t.1S(a),t.1S(b))};t.1Q=9(p){9 2l(11){9 1R(P){P=+P;7(P<2W){P+=2Y}x 7(P<1q){P+=2Z}5 P};k K;7(K=11.1n(/(\\d{2,4})-(\\d{1,2})-(\\d{1,2})/)){5(1R(K[1])*2j)+(K[2]*1q)+(+K[3])}7(K=11.1n(/(\\d{1,2})[\\/-](\\d{1,2})[\\/-](\\d{2,4})/)){5(1R(K[3])*2j)+(K[1]*1q)+(+K[2])}5 2R};5 2l(p)};t.2Q=9(a,b){5 t.1T(t.1Q(a),t.1Q(b))};5 t})();', 62, 212, '|||||return||if||function||||||null||document|||var||defined|||val|obj|css||sort|className|body|length|else|results|property|typeof|screen|documentElement|ev|id|style|false|true|for|compatMode|ret|dom|value|self|tagNames|yr|hex|func|arguments|width|innerHeight|resolve|string|object|zero|window||str|rgb|values|re|scrollLeft||parentNode|CSS|get|scrollTop|opacity|nodeName|rgbString|result|camelProperty|while|parseInt|bodies|cancelBubble|getStyle|test|isNaN|match|clientHeight|isArray|100|clientWidth|CSS1Compat|new|max|NumericConversion|Math|in|type|fn|getElementById|stopPropagation|preventDefault|Screen|hyphen2camel|charAt|AlphaNumeric|IgnoreCaseConversion|offsetHeight|RegExp|hasClass|offsetWidth|toUpperCase|replace|isObject|currentStyle|DateConversion|fixYear|CurrencyConversion|Numeric|getBody|removeChild|contains|uniqueIdNumber|constructor|this|map|Array|_|setStyle|digits|addClass|newClassName|rgb2hex|getComputedStyle|float|removeClass|event|filter|styleFloat|cssFloat|all|clientY|opera|getScrollLeft|10000|getElementsByTagName|getdate|returnValue|leftMargin|rightMargin|scrollHeight|innerWidth|bottomMargin|topMargin|toLowerCase|number|pageY|getScrollTop|capture|pageX|attachEvent|clientX|addEventListener|0123456789abcdef|parseFloat|IgnoreCase|06|Default|Sort|indexOf|0xf|Util|Currency|VERSION|undefined|setDefaultValues|Function|Date|99999999|DOM|getParentByTagName|removeNode|getOuterWidth|50|prototype|2000|1900|getOuterHeight|Object|getViewportHeight|moz|khtml|alpha|BODY|marginRight|getPropertyValue|marginLeft|getMouseY|set|ID_|add|on|createId|getMouseX|1000|scrollWidth|getDocumentWidth|replaceClass|getViewportWidth|Event|getDocumentHeight|marginBottom|marginTop'.split('|'), 0, {}))
/*
*
* Copyright (c) 2006-2008 Sam Collett (http://www.texotela.co.uk)
* Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php)
* and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses.
*
* Version 2.2.4
* Demo: http://www.texotela.co.uk/code/jquery/select/
*
* $LastChangedDate: 2008-06-17 17:27:25 +0100 (Tue, 17 Jun 2008) $
* $Rev: 5727 $
*
*/
; (function(h) { h.fn.addOption = function() { var j = function(a, f, c, g) { var d = document.createElement("option"); d.value = f, d.text = c; var b = a.options; var e = b.length; if (!a.cache) { a.cache = {}; for (var i = 0; i < e; i++) { a.cache[b[i].value] = i } } if (typeof a.cache[f] == "undefined") a.cache[f] = e; a.options[a.cache[f]] = d; if (g) { d.selected = true } }; var k = arguments; if (k.length == 0) return this; var l = true; var m = false; var n, o, p; if (typeof (k[0]) == "object") { m = true; n = k[0] } if (k.length >= 2) { if (typeof (k[1]) == "boolean") l = k[1]; else if (typeof (k[2]) == "boolean") l = k[2]; if (!m) { o = k[0]; p = k[1] } } this.each(function() { if (this.nodeName.toLowerCase() != "select") return; if (m) { for (var a in n) { j(this, a, n[a], l) } } else { j(this, o, p, l) } }); return this }; h.fn.ajaxAddOption = function(c, g, d, b, e) { if (typeof (c) != "string") return this; if (typeof (g) != "object") g = {}; if (typeof (d) != "boolean") d = true; this.each(function() { var f = this; h.getJSON(c, g, function(a) { h(f).addOption(a, d); if (typeof b == "function") { if (typeof e == "object") { b.apply(f, e) } else { b.call(f) } } }) }); return this }; h.fn.removeOption = function() { var d = arguments; if (d.length == 0) return this; var b = typeof (d[0]); var e, i; if (b == "string" || b == "object" || b == "function") { e = d[0]; if (e.constructor == Array) { var j = e.length; for (var k = 0; k < j; k++) { this.removeOption(e[k], d[1]) } return this } } else if (b == "number") i = d[0]; else return this; this.each(function() { if (this.nodeName.toLowerCase() != "select") return; if (this.cache) this.cache = null; var a = false; var f = this.options; if (!!e) { var c = f.length; for (var g = c - 1; g >= 0; g--) { if (e.constructor == RegExp) { if (f[g].value.match(e)) { a = true } } else if (f[g].value == e) { a = true } if (a && d[1] === true) a = f[g].selected; if (a) { f[g] = null } a = false } } else { if (d[1] === true) { a = f[i].selected } else { a = true } if (a) { this.remove(i) } } }); return this }; h.fn.sortOptions = function(e) { var i = h(this).selectedValues(); var j = typeof (e) == "undefined" ? true : !!e; this.each(function() { if (this.nodeName.toLowerCase() != "select") return; var c = this.options; var g = c.length; var d = []; for (var b = 0; b < g; b++) { d[b] = { v: c[b].value, t: c[b].text} } d.sort(function(a, f) { o1t = a.t.toLowerCase(), o2t = f.t.toLowerCase(); if (o1t == o2t) return 0; if (j) { return o1t < o2t ? -1 : 1 } else { return o1t > o2t ? -1 : 1 } }); for (var b = 0; b < g; b++) { c[b].text = d[b].t; c[b].value = d[b].v } }).selectOptions(i, true); return this }; h.fn.selectOptions = function(g, d) { var b = g; var e = typeof (g); if (e == "object" && b.constructor == Array) { var i = this; h.each(b, function() { i.selectOptions(this, d) }) }; var j = d || false; if (e != "string" && e != "function" && e != "object") return this; this.each(function() { if (this.nodeName.toLowerCase() != "select") return this; var a = this.options; var f = a.length; for (var c = 0; c < f; c++) { if (b.constructor == RegExp) { if (a[c].value.match(b)) { a[c].selected = true } else if (j) { a[c].selected = false } } else { if (a[c].value == b) { a[c].selected = true } else if (j) { a[c].selected = false } } } }); return this }; h.fn.copyOptions = function(g, d) { var b = d || "selected"; if (h(g).size() == 0) return this; this.each(function() { if (this.nodeName.toLowerCase() != "select") return this; var a = this.options; var f = a.length; for (var c = 0; c < f; c++) { if (b == "all" || (b == "selected" && a[c].selected)) { h(g).addOption(a[c].value, a[c].text) } } }); return this }; h.fn.containsOption = function(g, d) { var b = false; var e = g; var i = typeof (e); var j = typeof (d); if (i != "string" && i != "function" && i != "object") return j == "function" ? this : b; this.each(function() { if (this.nodeName.toLowerCase() != "select") return this; if (b && j != "function") return false; var a = this.options; var f = a.length; for (var c = 0; c < f; c++) { if (e.constructor == RegExp) { if (a[c].value.match(e)) { b = true; if (j == "function") d.call(a[c], c) } } else { if (a[c].value == e) { b = true; if (j == "function") d.call(a[c], c) } } } }); return j == "function" ? this : b }; h.fn.selectedValues = function() { var a = []; this.selectedOptions().each(function() { a[a.length] = this.value }); return a }; h.fn.selectedTexts = function() { var a = []; this.selectedOptions().each(function() { a[a.length] = this.text }); return a }; h.fn.selectedOptions = function() { return this.find("option:selected") } })(jQuery);
/**
* Cookie plugin
*
* Copyright (c) 2006 Klaus Hartl (stilbuero.de)
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
* http://www.stilbuero.de/2006/09/17/cookie-plugin-for-jquery/
*/
jQuery.cookie = function(name, value, options) { if (typeof value != "undefined") { options = options || {}; if (value === null) { value = ""; options.expires = -1 } var expires = ""; if (options.expires && (typeof options.expires == "number" || options.expires.toUTCString)) { var date; if (typeof options.expires == "number") { date = new Date; date.setTime(date.getTime() + options.expires * 24 * 60 * 60 * 1e3) } else date = options.expires; expires = "; expires=" + date.toUTCString() } var path = options.path ? "; path=" + options.path : "", domain = options.domain ? "; domain=" + options.domain : "", secure = options.secure ? "; secure" : ""; document.cookie = [name, "=", encodeURIComponent(value), expires, path, domain, secure].join("") } else { var cookieValue = null; if (document.cookie && document.cookie != "") for (var cookies = document.cookie.split(";"), i = 0; i < cookies.length; i++) { var cookie = jQuery.trim(cookies[i]); if (cookie.substring(0, name.length + 1) == name + "=") { cookieValue = decodeURIComponent(cookie.substring(name.length + 1)); break } } return cookieValue } }

/* German initialisation for the jQuery UI date picker plugin. */
/* Written by Milian Wolff (mail@milianw.de). */
jQuery(function($) {
    $.datepicker.regional['de'] = {
        closeText: 'schließen',
        prevText: 'zurück',
        nextText: 'Vor',
        currentText: 'heute',
        monthNames: ['Januar', 'Februar', 'März', 'April', 'Mai', 'Juni',
		'Juli', 'August', 'September', 'Oktober', 'November', 'Dezember'],
        monthNamesShort: ['Jan', 'Feb', 'Mär', 'Apr', 'Mai', 'Jun',
		'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dez'],
        dayNames: ['Sonntag', 'Montag', 'Dienstag', 'Mittwoch', 'Donnerstag', 'Freitag', 'Samstag'],
        dayNamesShort: ['So', 'Mo', 'Di', 'Mi', 'Do', 'Fr', 'Sa'],
        dayNamesMin: ['So', 'Mo', 'Di', 'Mi', 'Do', 'Fr', 'Sa'],
        weekHeader: 'Wo',
        dateFormat: 'dd.mm.yy',
        firstDay: 1,
        isRTL: false,
        showMonthAfterYear: false,
        yearSuffix: ''
    };
});
/* Danish initialisation for the jQuery UI date picker plugin. */
/* Written by Jan Christensen ( deletestuff@gmail.com). */
jQuery(function($) {
    $.datepicker.regional['da'] = {
        closeText: 'Luk',
        prevText: 'Forrige',
        nextText: 'Næste',
        currentText: 'Idag',
        monthNames: ['Januar', 'Februar', 'Marts', 'April', 'Maj', 'Juni',
        'Juli', 'August', 'September', 'Oktober', 'November', 'December'],
        monthNamesShort: ['Jan', 'Feb', 'Mar', 'Apr', 'Maj', 'Jun',
        'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dec'],
        dayNames: ['Søndag', 'Mandag', 'Tirsdag', 'Onsdag', 'Torsdag', 'Fredag', 'Lørdag'],
        dayNamesShort: ['Søn', 'Man', 'Tir', 'Ons', 'Tor', 'Fre', 'Lør'],
        dayNamesMin: ['Sø', 'Ma', 'Ti', 'On', 'To', 'Fr', 'Lø'],
        weekHeader: 'Uge',
        dateFormat: 'dd-mm-yy',
        firstDay: 1,
        isRTL: false,
        showMonthAfterYear: false,
        yearSuffix: ''
    };
});
/* Polish initialisation for the jQuery UI date picker plugin. */
/* Written by Jacek Wysocki (jacek.wysocki@gmail.com). */
jQuery(function($) {
    $.datepicker.regional['pl'] = {
        closeText: 'Zamknij',
        prevText: 'Poprzedni',
        nextText: 'Następny',
        currentText: 'Dziś',
        monthNames: ['Styczeń', 'Luty', 'Marzec', 'Kwiecień', 'Maj', 'Czerwiec',
		'Lipiec', 'Sierpień', 'Wrzesień', 'Październik', 'Listopad', 'Grudzień'],
        monthNamesShort: ['Sty', 'Lu', 'Mar', 'Kw', 'Maj', 'Cze',
		'Lip', 'Sie', 'Wrz', 'Pa', 'Lis', 'Gru'],
        dayNames: ['Niedziela', 'Poniedzialek', 'Wtorek', 'Środa', 'Czwartek', 'Piątek', 'Sobota'],
        dayNamesShort: ['Nie', 'Pn', 'Wt', 'Śr', 'Czw', 'Pt', 'So'],
        dayNamesMin: ['N', 'Pn', 'Wt', 'Śr', 'Cz', 'Pt', 'So'],
        weekHeader: 'Tydz',
        dateFormat: 'yy-mm-dd',
        firstDay: 1,
        isRTL: false,
        showMonthAfterYear: false,
        yearSuffix: ''
    };
});
/* Dutch (UTF-8) initialisation for the jQuery UI date picker plugin. */
/* Written by Mathias Bynens <http://mathiasbynens.be/> */
jQuery(function($) {
    $.datepicker.regional['nl'] = {
        closeText: 'Sluiten',
        prevText: '←',
        nextText: '→',
        currentText: 'Vandaag',
        monthNames: ['januari', 'februari', 'maart', 'april', 'mei', 'juni',
		'juli', 'augustus', 'september', 'oktober', 'november', 'december'],
        monthNamesShort: ['jan', 'feb', 'maa', 'apr', 'mei', 'jun',
		'jul', 'aug', 'sep', 'okt', 'nov', 'dec'],
        dayNames: ['zondag', 'maandag', 'dinsdag', 'woensdag', 'donderdag', 'vrijdag', 'zaterdag'],
        dayNamesShort: ['zon', 'maa', 'din', 'woe', 'don', 'vri', 'zat'],
        dayNamesMin: ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'],
        weekHeader: 'Wk',
        dateFormat: 'dd/mm/yy',
        firstDay: 1,
        isRTL: false,
        showMonthAfterYear: false,
        yearSuffix: ''
    };
});
