var rbuild="production";var ScriptFragment="(?:<script.*?>)((\n|\r|.)*?)(?:<\/script>)";var isString=function(a){return typeof(a)=="string"};var isNumber=function(a){return typeof(a)=="number"};var isBoolean=function(a){return typeof(a)=="boolean"};var isFunction=function(a){return typeof(a)=="function"};var isObject=function(a){return(typeof(a)=="object")||isFunction(a)};var isArray=function(a){return isObject(a)&&a instanceof Array};var isDate=function(a){return isObject(a)&&a instanceof Date};var isError=function(a){return isObject(a)&&a instanceof Error};var isUndefined=function(a){return typeof(a)=="undefined"};var isNull=function(a){return a===null};var isNone=function(a){return isUndefined(a)||isNull(a)};var isSet=function(a){return !isNone(a)};var isTrue=function(a){return isSet(a)&&!!a};var isFalse=function(a){return isSet(a)&&!a};var isEmpty=function(d){switch(typeof(d)){case"undefined":return true;case"string":return d=="";case"number":return d==0;case"boolean":return d==false;case"function":for(var a in d){if(!(isSet(Function.prototype[a]))){return false}}return(d.toString()==(function(){}).toString());case"object":if(d===null){return true}var b=Object.prototype;if(isArray(d)){b=Array.prototype}if(isError(d)){b=Error.prototype}for(var a in d){if(!(isSet(b[a]))){return false}}return true;default:return false}};var runOnLoad=function(a){if(runOnLoad.loaded&&!LazyLoad.isLoading.length){a()}else{runOnLoad.funcs.push(a)}};var runOnLoadFinish=function(a){if(runOnLoad.loaded&&!LazyLoad.isLoading.length){a()}else{runOnLoad.finish.push(a)}};runOnLoad.funcs=[];runOnLoad.loaded=false;runOnLoad.finish=[];runOnLoad.run=function(){if(runOnLoad.loaded){return}runOnLoad.funcs.each(function(a){try{a.call(a)}catch(b){}runOnLoad.funcs=runOnLoad.funcs.without(a)});if(runOnLoad.funcs.length){runOnLoad.run();return}runOnLoad.finish.each(function(a){try{a.call(a)}catch(b){}runOnLoad.finish=runOnLoad.finish.without(a)});if(runOnLoad.finish.length){runOnLoad.run();return}runOnLoad.loaded=true};if(window.addEventListener){window.addEventListener("load",runOnLoad.run,false)}else{if(window.attachEvent){window.attachEvent("onload",runOnLoad.run)}else{window.onload=runOnLoad.run}}Object.extend=function(a,d){for(var b in d){a[b]=d[b]}return a};var $A=Array.from;$A=function(e){if(!e){return[]}if(e.toArray){return e.toArray()}else{var b=[];for(var a=0,d=e.length;a<d;a++){b.push(e[a])}return b}};if(!Array.prototype._reverse){Array.prototype._reverse=Array.prototype.reverse}Object.extend(Array.prototype,{each:function(b){for(var a=0,d=this.length;a<d;a++){b(this[a])}},clear:function(){this.length=0;return this},collect:function(b){var a=[];this.each(function(e,d){a.push(b(e,d))});return a},first:function(){return this[0]},last:function(){return this[this.length-1]},compact:function(){return this.select(function(a){return a!==undefined||a!==null})},flatten:function(){return this.inject([],function(b,a){return b.concat(a&&(a.constructor==Array)?a.flatten():[a])})},without:function(){var a=$A(arguments);return this.select(function(b){return !a.include(b)})},indexOf:function(a){for(var b=0,d=this.length;b<d;b++){if(this[b]==a){return b}}return -1},reverse:function(a){return(a!==false?this:this.toArray())._reverse()},reduce:function(){return this.length>1?this:this[0]},clone:function(){return[].concat(this)},inspect:function(){return"["+this.map(Object.inspect).join(", ")+"]"},findAll:function(b){var a=[];this.each(function(e,d){if(b(e,d)){a.push(e)}});return a},include:function(a){var b=false;this.each(function(d){if(d==a){b=true}});return b},uniq:function(){var a=[];var e=[];for(var b=0;b<this.length;b++){if(typeof(a[this[b]])=="undefined"){a[this[b]]=true;e[e.length]=this[b]}}var d=[];for(b=0;b<e.length;b++){d[d.length]=e[b]}return d},shuffle:function(){for(var b,a,d=this.length;d;b=parseInt(Math.random()*d),a=this[--d],this[d]=this[b],this[b]=a){}}});Object.extend(Array.prototype,{map:Array.prototype.collect,select:Array.prototype.findAll,member:Array.prototype.include});String.interpret=function(a){return a==null?"":String(a)};Object.extend(String.prototype,{gsub:function(f,d){var a="",e=this,b;d=arguments.callee.prepareReplacement(d);while(e.length>0){b=e.match(f);if(b){a+=e.slice(0,b.index);a+=(d(b)||"").toString();e=e.slice(b.index+b[0].length)}else{a+=e;e=""}}return a},sub:function(d,a,b){a=this.gsub.prepareReplacement(a);b=b===undefined?1:b;return this.gsub(d,function(e){if(--b<0){return e[0]}return a(e)})},scan:function(b,a){this.gsub(b,a);return this},truncate:function(b,a){b=b||30;a=a===undefined?"...":a;return this.length>b?this.slice(0,b-a.length)+a:this},strip:function(){return this.replace(/^\s+/,"").replace(/\s+$/,"")},stripTags:function(){return this.replace(/<\/?[^>]+>/gi,"")},stripScripts:function(){return this.replace(new RegExp(ScriptFragment,"img"),"")},extractScripts:function(){var b=new RegExp(ScriptFragment,"img");var a=new RegExp(ScriptFragment,"im");return(this.match(b)||[]).map(function(d){return(d.match(a)||["",""])[1]})},evalScripts:function(){return this.extractScripts().map(function(script){return eval(script)})},escapeHTML:function(){var b=document.createElement("div");var a=document.createTextNode(this);b.appendChild(a);return b.innerHTML},unescapeHTML:function(){var a=document.createElement("div");a.innerHTML=this.stripTags();return a.childNodes[0]?a.childNodes[0].nodeValue:""},toQueryParams:function(){var a=this.strip().match(/[^?]*$/)[0];if(!a){return{}}var b=a.split("&");return b.inject({},function(g,d){var f=d.split("=");var e=f[1]?decodeURIComponent(f[1]):undefined;g[decodeURIComponent(f[0])]=e;return g})},toDirName:function(){var a=this;a=a.toLowerCase();a=a.replace(/ä/gi,"ae");a=a.replace(/ö/gi,"oe");a=a.replace(/ü/gi,"ue");a=a.replace(/ß/gi,"ss");a=a.replace(/[^a-z0-9\-]+/gi,"");return(a)},toArray:function(){return this.split("")},camelize:function(){var d=this.split("-");if(d.length==1){return d[0]}var a=this.indexOf("-")===0?d[0].charAt(0).toUpperCase()+d[0].substring(1):d[0];for(var b=1,f=d.length;b<f;b++){var e=d[b];a+=e.charAt(0).toUpperCase()+e.substring(1)}return a},inspect:function(b){var a=this.replace(/\\/g,"\\\\");if(b){return'"'+a.replace(/"/g,'\\"')+'"'}else{return"'"+a.replace(/'/g,"\\'")+"'"}}});String.prototype.gsub.prepareReplacement=function(b){if(typeof b=="function"){return b}var a=new Template(b);return function(d){return a.evaluate(d)}};String.prototype.parseQuery=String.prototype.toQueryParams;var Template={};Template.Pattern=/(^|.|\r|\n)(#\{(.*?)\})/;Template.prototype={initialize:function(a,b){this.template=a.toString();this.pattern=b||Template.Pattern},evaluate:function(a){return this.template.gsub(this.pattern,function(b){var d=b[1];if(d=="\\"){return b[2]}return d+String.interpret(a[b[3]])})}};Object.extend(Function.prototype,{executeBefore:function(b,a){if(typeof b!="function"){return this}var d=this;return function(){b.target=this;b.method=d;var e=b.apply(a||this||window,arguments);if(e){var f=arguments;e.each(function(g,h){f[h]=g})}return d.apply(this||window,arguments)}}});var LazyLoad=function(){var n=document,m,q={},o={css:[],js:[]},r;function d(b,e){var a=n.createElement(b),f;for(f in e){if(e.hasOwnProperty(f)){a.setAttribute(f,e[f])}}return a}function l(f){var b=q[f];if(!b){return}var a=b.callback,e=b.urls;e.shift();if(!e.length){if(a){a.call(b.scope||window,b.obj)}q[f]=null;if(o[f].length){k(f)}}}function p(){if(r){return}var b=navigator.userAgent,a=parseFloat,e;r={gecko:0,ie:0,opera:0,webkit:0};e=b.match(/AppleWebKit\/(\S*)/);if(e&&e[1]){r.webkit=a(e[1])}else{e=b.match(/MSIE\s([^;]*)/);if(e&&e[1]){r.ie=a(e[1])}else{if((/Gecko\/(\S*)/).test(b)){r.gecko=1;e=b.match(/rv:([^\s\)]*)/);if(e&&e[1]){r.gecko=a(e[1])}}else{if(e=b.match(/Opera\/(\S*)/)){r.opera=a(e[1])}}}}}function k(a,b,v,g,u){var f,e,h,i,j;p();if(b){b=b.constructor===Array?b:[b];if(a==="css"||r.gecko||r.opera){o[a].push({urls:[].concat(b),callback:v,obj:g,scope:u})}else{for(f=0,e=b.length;f<e;++f){o[a].push({urls:[b[f]],callback:f===e-1?v:null,obj:g,scope:u})}}}if(q[a]||!(i=q[a]=o[a].shift())){return}m=m||n.getElementsByTagName("head")[0];b=i.urls;for(f=0,e=b.length;f<e;++f){j=b[f];if(a==="css"){h=d("link",{href:j,rel:"stylesheet",type:"text/css"})}else{h=d("script",{src:j})}if(r.ie){h.onreadystatechange=function(){var s=this.readyState;if(s==="loaded"||s==="complete"){this.onreadystatechange=null;LazyLoad.isLoading=LazyLoad.isLoading.without(this.src);l(a);runOnLoad.run()}}}else{if(a==="css"&&(r.gecko||r.webkit)){setTimeout(function(){l(a)},50*e)}else{h.onload=h.onerror=function(){LazyLoad.isLoading=LazyLoad.isLoading.without(this.src);l(a);runOnLoad.run()}}}runOnLoad.loaded=false;LazyLoad.isLoading.push(j);m.appendChild(h)}}return{isLoading:[],css:function(b,a,e,f){k("css",b,a,e,f)},js:function(b,a,e,h){var f=document.getElementsByTagName("script");var g=isArray(b)?b:[b];foreach(f,function(i){if(!isEmpty(i.src)&&g.member(i.src)){g=g.without(i.src)}});if(!g.length){return}else{b=g}k("js",b,a,e,h)}}}();var getEl=function(a){return(document.getElementById(a))};var embedflash=function(e,a,d,b){var f=getUniqueID();document.write('<span id="flash'+f+'"></span>');runOnLoad(function(){var g=new SWFObject(e,"flash"+f+"obj",a,d,b||"8");g.addParam("wmode","transparent");g.addParam("allowscriptaccess","always");g.addParam("allowfullscreen","true");g.useExpressInstall(basepath+"_/flash/expressinstall.swf");g.write("flash"+f)})};var embedMoviePlayer=function(i,d,g,e,b){var j=getUniqueID();document.write('<span id="flash'+j+'"></span>');var f=new SWFObject(basepath+"_/flash/moviePlayer.swf","flash"+j+"obj",d||526,g||420,e||"8");f.addParam("wmode","transparent");f.addParam("allowFullScreen","true");f.addVariable("skinSource",basepath+"_/flash/SkinUnderAllNoCaption.swf");f.addVariable("streamSource",i);if(typeof b!="undefined"){f.addVariable("startPlay",b)}f.useExpressInstall(basepath+"_/flash/expressinstall.swf");f.write("flash"+j)};var getUniqueID=function(){uniqueID=(new Date()).getTime()+""+Math.floor((Math.random()*8999)+1000);return(uniqueID)};var apply=function(d,e,b){if(b){attributeApply(d,b)}if(d&&e&&(typeof e=="object")){for(var a in e){d[a]=e[a]}}return d};var owin=function(b,a){var e;var d={};var f={name:"popupwin",width:1024,height:768,scrollbars:"yes",resizable:"yes",left:0,top:0,toolbar:"no",menubar:"no"};d=apply(d,a||f);e=window.open(b,d.name,"width="+d.width+",height="+d.height+",scrollbars="+d.scrollbars+",resizable="+d.resizable+",toolbar="+d.toolbar+",menubar="+d.menubar);e.focus();return(e)};var cmsMessages=[];var msgBox=function(g,f,d,a){var e=Ext.MessageBox;if(!d){d="ok"}var b=false;switch(d){case"continuesave":buttons={yes:translate("Speichern"),no:translate("Nicht speichern"),cancel:translate("Abbrechen")};break;case"continue":buttons={yes:translate("Weiter"),cancel:translate("Abbrechen")};break;case"yesno":case"yesnomodal":buttons={yes:"Ja",no:"Nein"};if(d=="yesnomodal"){b=true}break;case"ok":case"okmodal":if(d=="okmodal"){b=true}buttons={ok:"OK"};break;case"okcancel":case"okcancelmodal":if(d=="okcancelmodal"){b=true}buttons={ok:"OK",cancel:translate("Abbrechen")};break;case"login":buttons={yes:"Login"};break}if(e.isVisible()){if(!e.currentMessages){e.currentMessages=[]}e.currentMessages.push(f);f=e.currentMessages.join("<hr>")}e.show({title:g||translate("Hinweis"),msg:f||cmsMessages.join("<hr>"),buttons:buttons,modal:b,progress:false,closable:false,width:400,fn:a||null});e.currentMessages=cmsMessages;cmsMessages=[]};var setCookie=function(g,f,a,e,b,d){document.cookie=escape(g)+"="+escape(f)+(a?"; expires="+a.toGMTString():"")+(e?"; path="+e.replace(basepath,"/"):"")+(b?"; domain="+b:"")+(d?"; secure":"")};var clearCookie=function(d){var a=new Date();var b=new Date(a.getTime()-1000*60*60*24);setCookie(d,"cookieValue",b)};var getCookie=function(f){var e="";var b=document.cookie.indexOf(escape(f)+"=");if(b!=-1){var d=b+(escape(f)+"=").length;var a=document.cookie.indexOf(";",d);if(a!=-1){e=unescape(document.cookie.substring(d,a))}else{e=unescape(document.cookie.substring(d))}}return(e)};var decode=function(json,onlyLast){var ret;var succes=false;try{ret=eval("("+json+")");succes=true;throw"decoded"}catch(e){if(e=="decoded"){return(ret)}else{if((typeof e=="object")&&e.name&&(e.name=="SyntaxError")){try{if(onlyLast){ret=eval(json.extractScripts().last())}else{ret=json.evalScripts()}succes=true;throw"decoded"}catch(e){if(e=="decoded"){return(ret)}}}}}};var tabs={};var panels=[];var addTab=function(f,e,g,d,a,b){var h={tabel:f,tgtel:e,desc:g||"",url:d||"",usecookie:a,beforetabchange:b};buildTab(h)};var buildTab=function(d){var e=d.tgtel;var f=d.url!=""?d.url:false;var b=Ext.get(e);var a=Ext.get(d.tabel);if(b&&a){a.dom.style.visibility="hidden";if(!tabs[e]){tabs[e]=new Ext.TabPanel(b,{resizeTabs:true,usecookie:(typeof(d.usecookie)=="undefined")?true:d.usecookie});tabs[e].on("tabchange",tabChange);if(isFunction(d.beforetabchange)){tabs[e].on("beforetabchange",d.beforetabchange)}panels.push(e)}runOnLoad(function(){var g=tabs[e].addTab(d.tabel,d.desc||"");g._config=d;if(f){g.on("activate",function(i,h){if(h.loaded){return}h.setContent(g.getUpdateManager().indicatorText);Ext.Ajax.request({url:f,method:"post",success:function(j){h.setContent(j.responseText);decode(j.responseText);h._setLoaded();preparePager(h)}})})}})}};var sopts={};var backbtn=false;var updatePanel=function(d,e){var f=0;if(isObject(e)){f=e.id||0;delete e.id;Ext.apply(sopts,e)}else{f=e||0}var a=document.location.pathname+"?_func="+d+(f!=0?"&_"+d+"="+f:"");foreach(sopts,function(h,g){a+="&_f["+g+"]="+h});var b=Ext.get("myservices");if(b){if(SWFUpload.movieCount){foreach(SWFUpload.instances,function(h,g){SWFUpload.instances[g].destroy();delete SWFUpload.instances[g];var i=Ext.get(g);if(i){i.remove()}SWFUpload.movieCount--})}if(tabs.regformpanel){tabs.regformpanel.destroy();delete tabs.regformpanel}b.load({url:a,scripts:true,text:"Loading...",callback:function(h,g,i){backbtn=false;if(d!="svcbtn"){backbtn='<div style="height:30px;"><a style="width:100px; position:absolute; right:5px;" class="button" href="#" onclick="updatePanel(\'svcbtn\');return(false);">Zur &Uuml;bersicht</a></div>';Ext.DomHelper.insertHtml("afterBegin",b.dom,backbtn);preparePager(tabs.mypanel)}formGarbageCollect();h.select("form").each(function(j){if(!cmsForms[j.dom.name]){prepareForms([j.dom],true)}cmsForms[j.dom.name].on("submit",ajaxSubmit)});h.select("a").each(function(j){if(j.dom.href.match(/#/)){return}if(j.dom.href.match(/_ud=view/)){j.dom.href="#";j.dom.onclick=function(){updatePanel("svcbtn");return(false)}}})}})}else{document.location.href=document.location.pathname}};var ajaxSubmit=function(a){if(a&&a.match(/page/)){return(true)}var d=Ext.get("myservices");var e=this.el.dom.getAttribute("action");var b=(e&&e!="")?e:document.location.href;Ext.Ajax.request({url:b,method:"post",form:this.el.dom,success:function(f,g){cmsForms[g.form.name].purgeListeners();cmsForms[g.form.name].remove();delete cmsForms[g.form.name];cmsForms._count--;d.unmask();d.dom.innerHTML=f.responseText;if(backbtn){Ext.DomHelper.insertHtml("afterBegin",d.dom,backbtn)}}});d.mask('<img src="'+basepath+'_/pics/formwait.gif" style="vertical-align:middle;"> Daten werden gespeichert...');return(false)};var formGarbageCollect=function(){for(var e in tabs){var f=tabs[e].el.dom;if(!f||!f.parentNode||(!f.offsetParent&&!document.getElementById(e))){tabs[e].purgeListeners();tabs[e].destroy();delete tabs[e]}}for(var a in cmsForms){if(a=="_count"){continue}var b=cmsForms[a],f=b.el.dom;if(!f||!f.parentNode||(!f.offsetParent&&!document.getElementById(a))){cmsForms[a].purgeListeners();cmsForms[a].remove();delete cmsForms[a];cmsForms._count--}}};var preparePager=function(a){var b=a.bodyEl?a.bodyEl:a;b.select("div[class=pager]").each(function(d,e){e.el.select("a").each(function(g,f){if(g.dom.href==document.location.href||g.dom.href===document.location.href+"#"){g.dom.onclick=function(){return(false)};return}g.dom.onclick=function(){var h;if(tabs.mypanel&&b==tabs.mypanel.bodyEl){h=Ext.get("myservices")}else{h=b}h.load({url:this.href.replace(/&_dc=\d+/,""),scripts:true,text:"Loading...",callback:function(j,i,k){if(j.id=="myservices"){var l='<div style="height:30px;"><a style="width:100px; position:absolute; right:5px;" class="button" href="#" onclick="updatePanel(\'svcbtn\');return(false);">Zur &Uuml;bersicht</a></div>';Ext.DomHelper.insertHtml("afterBegin",j.dom,l)}preparePager(a)}});return(false)}})})};var tabChange=function(b,a){var d=a.bodyEl.select("*[id^=gmap_]");d.each(function(e){if(gMap&&gMap.configs[e.dom.id]){gMap.create(gMap.configs[e.dom.id])}});setCookie(b.el.id,a.id,false,basepath)};var tabActivate=function(a){var b=getCookie(a);if((b=="")&&tabs[a]){var d=tabs[a].getTab(0);if(d){b=d.id}}if((b!="")&&tabs[a]){if(tabs[a].usecookie==true&&tabs[a].getTab(b)){tabs[a].activate(b)}else{var e=tabs[a].getTab(0);if(e){tabs[a].activate(e.id)}}}else{panels.each(function(f){tabActivate(f)})}};var hide=function(a){var b=document.getElementById(a);if(b){b.style.visibility="hidden"}};var toggleVis=function(b,g,f){var h=Ext.get(b);if(!h){return}var a=false;if(f&&(f=="block")){a=true}var d=h.isDisplayed();display=(d&&!a)?"none":"block";h.setDisplayed(display);if(display=="block"){var e=h.select("*[id^=gmap_]");e.each(function(i){if(gMap&&gMap.configs[i.dom.id]){gMap.create(gMap.configs[i.dom.id])}})}if(g){_im=Ext.get(b+"_pic");if(_im){if(d&&!a){_im.dom.src=basepath+"_/pics/bullet_arrow_right.gif";document.cookie=b+"=none;"}else{_im.dom.src=basepath+"_/pics/bullet_arrow_down.gif";document.cookie=b+"=block;"}}}};var setblocks=function(i){var a=false;if(i&&(i=="block")){a=true}if(document.cookie){c=decodeURI(document.cookie);var g=c.split(";");for(var h=0;h<g.length;h++){var b=g[h].split("=");var f=b[0].replace(/ /,"");var e=Ext.get(f);if(e){_im=Ext.get(f+"_pic");isDisplayed=b[1];if((isDisplayed!="block")&&(isDisplayed!="none")){isDisplayed="block"}e.dom.style.display=a?"block":isDisplayed;if(_im){if((isDisplayed=="none")||a){_im.dom.src=basepath+"_/pics/bullet_arrow_right.gif"}else{_im.dom.src=basepath+"_/pics/bullet_arrow_down.gif"}}}}}};var cmsmenus={elements:[],to:null,add:function(b,f,d,g,h){var a=document.getElementById(b);var e=document.getElementById(f);if(a&&e){this.elements[this.elements.length]=b;this.elements[this.elements.length]=f;a.tgtitem=new Object();a.tgtitem.id=f;a.offset=g;a.droppos=d;a.nested=h?true:false;a.onmouseover=function(){cmsmenus.showsrc(this.id)};a.onmouseout=function(){document.getElementById(this.tgtitem.id).vis=false;cmsmenus.to=window.setTimeout("cmsmenus.hidesrc('"+this.id+"')",100)}}},showsrc:function(a){var b=document.getElementById(a);var d=document.getElementById(b.tgtitem.id);d.style.display="block";Ext.get(b.tgtitem.id).alignTo(a,b.droppos,b.offset);d.vis=true;d.onmouseover=function(){this.vis=true};d.onmouseout=function(){this.vis=false;cmsmenus.to=window.setTimeout("cmsmenus.hidetgt('"+this.id+"')",100)}},hidesrc:function(a){var b=document.getElementById(a);var d=document.getElementById(b.tgtitem.id);if(d.vis){return}d.style.display="none";window.clearTimeout(cmsmenus.to)},hidetgt:function(a){var b=document.getElementById(a);if(b.vis){return}b.style.display="none";window.clearTimeout(cmsmenus.to)}};var dynmenu=cmsmenus;window.onunload=function(){for(z=0;z<dynmenu.elements.length;z++){el=document.getElementById(dynmenu.elements[z]);el.vis=null;el.tgtitem=null;el.nested=null;el.offset=null;el.droppos=null;el.onmouseover=null;el.onmouseout=null}dynmenu=null};function bookmark(e,d,f){var b=trfilename+"?_func=addbookmark&_nrdr=1&_mode="+d+"&_id="+f+"&_nc="+getUniqueID();var a=Ext.get(e);Ext.Ajax.request({url:b,method:"get",success:function(h){var i=decode(h.responseText);var g=Ext.get("bookmarked_sites_count");if(g){g.dom.innerHTML=i.count}if(a){a.dom.title=i.title;a.dom.innerHTML=i.text;switch(i.status){case"added":a.dom.className="bookmark_saved bookmark_"+d+"_saved";break;case"removed":a.dom.className="bookmark bookmark_"+d;break}}}})}function funcClean(g,f){if(!f){f="fil"}var e={num:"0123456789",sml:"abcdefghijklmnopqrstuvwxyz",big:"ABCDEFGHIJKLMNOPQRSTUVWXYZ",ltr:"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZs-/",eml:"0123456789abcdefghijklmnopqrstuvwxyz._-",fil:"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ._-",url:"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_-",anm:"@0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ.-_s",email:"@0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ._-",dir:"0123456789abcdefghijklmnopqrstuvwxyz_-"};if(f=="url"){g=g.replace(/\s/g,"_")}g=g.replace(/ü/g,"ue");g=g.replace(/ö/g,"oe");g=g.replace(/ä/g,"ae");g=g.replace(/Ü/g,"Ue");g=g.replace(/Ö/g,"Oe");g=g.replace(/Ä/g,"Ae");g=g.replace(/ß/g,"ss");if(f=="sml"){g=g.toLowerCase()}if(f=="eml"){g=g.toLowerCase()}if(f=="dir"){g=g.toLowerCase()}if(f=="big"){g=g.toUpperCase()}if(f=="fil"){g=g.replace(/\/.*\//g,"");g=g.replace(/\.\./g,".");g=g.replace(/\s/g,"_")}var d=new RegExp("["+e[f]+"]");var b="";for(var a=0;a<g.length;a++){if(g.substr(a,1).match(d)){b+=g.substr(a,1)}}g=b;return(g)}function setPointsOfVoting(b,e){var d=Ext.select("#"+e+" a");var a=1;d.each(function(f){if(a>b){f.dom.className="inactivestar"}else{f.dom.className="activestar"}a++})}function showAds(d){var b=Ext.getDom("h"+d);var a=Ext.getDom("s"+d);if(a&&b){a.innerHTML=b.innerHTML;b.parentNode.removeChild(b)}}function initGMap(a){setblocks();if(typeof gMap=="undefined"){LazyLoad.js(basepath+"_/scripts/libs/gmapfe.js",function(){gMap.create(a)})}else{gMap.create(a)}}function categorySelect(b){var d=b.value;if(d==""){msgBox(translate("Achtung"),translate("Es mu&szlig; eine Kategorie ausgew&auml;hlt sein!"),"ok")}Ext.get(document.body).mask();var a=trfilename+"?_func=gcf&_trid="+d;Ext.Ajax.request({url:a,success:function(h){var f=decode(h.responseText);var g=b.form.elements;for(var j=0;j<g.length;j++){var l=g[j];if(l.type=="application/x-shockwave-flash"){fileReferences.each(function(m){if(m.movieName==l.id){l.name=m.customSettings.name}})}if(l.name===""||l.name==="id"||l.name==="tree"||l.name.match(/deletemedia/)||l.name.match(/livesearch/)||l.id=="repetition"){continue}var i=Ext.get(l).up("tr").dom;var e=Ext.get(l).up("tr.editorext");if(!f[l.name.replace(/(\[\d*\])/,"")]&&!e){l.disabled="disabled";i.style.display="none"}else{l.disabled="";var k=Ext.isIE?"block":"table-row";i.style.display=k}}checkFormRowVisibility();Ext.get(document.body).unmask();prepareForms([b.form],true)}})}function submitMask(){Ext.select("input[name$=captcha]").each(function(a){a.dom.setAttribute("required",true);a.dom.setAttribute("validate",true)});Ext.get(document.body).mask('<img src="'+basepath+'_/pics/formwait.gif" style="vertical-align:middle;"> Daten werden gespeichert...')}var checkFormRowVisibility=function(){var a=Ext.isIE?"block":"table-row";Ext.select(".lblock").each(function(b){var d=0;b.select("tr[id$=tablerow]").each(function(e){if(e.isVisible()){d++}});if(d==0){b.dom.style.display="none"}else{b.dom.style.display=a}})};function translate(a){translation.each(function(b){if(b.o==a){a=b.t}});return(a)}function serialize(d){var i=function(p){var o=typeof p,l;var n;if((o=="object")&&!p){return"null"}if(o=="object"){if(!p.constructor){return"object"}var k=p.constructor.toString();l=k.match(/(\w+)\(/);if(l){k=l[1].toLowerCase()}var m=["boolean","number","string","array"];for(n in m){if(k==m[n]){o=m[n];break}}}return o};var f=i(d);var a,b="";switch(f){case"function":a="";break;case"undefined":a="N";break;case"boolean":a="b:"+(d?"1":"0");break;case"number":a=(Math.round(d)==d?"i":"d")+":"+d;break;case"string":a="s:"+encodeURIComponent(d).replace(/%../g,"x").length+':"'+d+'"';break;case"array":case"object":a="a";var e=0;var g="";var j;var h;for(h in d){b=i(d[h]);if(b=="function"){continue}j=(h.match(/^[0-9]+$/)?parseInt(h,10):h);g+=serialize(j)+serialize(d[h]);e++}a+=":"+e+":{"+g+"}";break}if((f!="object")&&(f!="array")){a+=";"}return a}function unserialize(e){var a=function(i,j,h,g){throw new this.window[i](j,h,g)};var f=function(k,m,l){var g=[];var j=k.slice(m,m+1);var h=2;while(j!=l){if((h+m)>k.length){a("Error","Invalid")}g.push(j);j=k.slice(m+(h-1),m+h);h+=1}return[g.length,g.join("")]};var d=function(l,m,k){var g;g=[];for(var h=0;h<k;h++){var j=l.slice(m+(h-1),m+h);g.push(j)}return[g.length,g.join("")]};var b=function(y,k){var x;var h;var p=0;var l;var g;var u;var o;if(!k){k=0}var w=(y.slice(k,k+1)).toLowerCase();var n=k+2;var v=new Function("x","return x");switch(w){case"i":v=function(i){return parseInt(i,10)};h=f(y,n,";");p=h[0];x=h[1];n+=p+1;break;case"b":v=function(i){return parseInt(i,10)==1};h=f(y,n,";");p=h[0];x=h[1];n+=p+1;break;case"d":v=function(i){return parseFloat(i)};h=f(y,n,";");p=h[0];x=h[1];n+=p+1;break;case"n":x=null;break;case"s":l=f(y,n,":");p=l[0];g=l[1];n+=p+2;h=d(y,n+1,parseInt(g,10));p=h[0];x=h[1];n+=p+2;if((p!=parseInt(g,10))&&(p!=x.length)){a("SyntaxError","String length mismatch")}break;case"a":x={};u=f(y,n,":");p=u[0];o=u[1];n+=p+2;for(var t=0;t<parseInt(o,10);t++){var j=b(y,n);var q=j[1];var A=j[2];n+=q;var s=b(y,n);var m=s[1];var r=s[2];n+=m;x[A]=r}n+=1;break;default:a("SyntaxError","Unknown / Unhandled data type(s): "+w);break}return[w,n-k,v(x)]};return b(e,0)[2]}function trim(f,e){var b,a=0,d=0;f+="";if(!e){b=" \n\r\t\f\x0b\xa0\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u200b\u2028\u2029\u3000"}else{e+="";b=e.replace(/([\[\]\(\)\.\?\/\*\{\}\+\$\^\:])/g,"$1")}a=f.length;for(d=0;d<a;d++){if(b.indexOf(f.charAt(d))===-1){f=f.substring(d);break}}a=f.length;for(d=a-1;d>=0;d--){if(b.indexOf(f.charAt(d))===-1){f=f.substring(0,d+1);break}}return b.indexOf(f.charAt(0))===-1?f:""}var foreach=function(a,d){if(isObject(a)){for(var b in a){d(a[b],b)}}else{if(isArray(a)){a.each(d)}}};var MySqlDateTimeToTimeStamp=function(e){var d=e.match(/(\d{1,2})\.(\d{1,2})\.(\d{2,4}) (\d{1,2}):(\d{1,2})/);if(d){e=new Date(Number(d[3]),Number(d[2])-1,Number(d[1])).format("Y-m-d H:i:s")}var a=e.match(/^(\d{2,4})-(\d{1,2})-(\d{1,2}) (\d{1,2}):(\d{1,2})$/);if(a){e+=":00"}if((e=="0000-00-00 00:00:00")||e===""||(typeof e=="undefined")){e="1970-01-01 00:00:00"}var b=Date.parseDate(e,"Y-m-d H:i:s");var f=Date.parse(b);return f};var vsubmit=function(b){if(!isObject(b)){var b=Ext.getDom(b)}if(b.name&&b.name!=""&&cmsForms[b.name]){var a=(cmsForms[b.name]&&cmsForms[b.name].fireEvent("submit"));if(a){b.submit()}}else{b.submit()}};var extLiveSearch=function(d,g,f,j){var n;var k=d+"livesearch";var l=5;var i=370;var b=Ext.get(d);var m=Ext.get(d+"livesearch");if(m){if((j!="")&&((b.dom.value!="")&&(b.dom.value!="0"))){m.dom.value=j}}var a=m.dom.value;var e=new Ext.data.Store({proxy:new Ext.data.ScriptTagProxy({url:trfilename+"?_func=fndLoc&start=0&limit="+l}),reader:new Ext.data.JsonReader({root:"contents",totalProperty:"totalCount",id:"id"},[{name:"title",mapping:"title"},{name:"id",mapping:"id"},])});var h=new Ext.Template('<div class="search-item"><span class="search-title">{title}</span></div>');var n=new Ext.form.ComboBox({store:e,displayField:"title",typeAhead:false,loadingText:"Suche...",queryParam:"filter",width:i,pageSize:l,hideTrigger:true,minChars:2,tpl:h,onSelect:function(o){if(b){b.dom.value=o.data.id}if(m){m.dom.value=o.data.title;a=m.dom.value}this.collapse()}});n.applyTo(k);m.dom.onselect=function(){m.dom.value=""};m.dom.onblur=function(){if((b.dom.value=="")||(b.dom.value=="0")){a=""}m.dom.value=a}};var socialBookmarks=function(a,f){var d=encodeURIComponent(document.location.protocol+"//"+document.location.host+a);var e=encodeURIComponent(f);var b='<DIV id="socialBookmarks">';b+="<UL>";b+='<LI><A id="bm_facebook" href="http://www.facebook.com/sharer.php?u='+d+"&amp;t="+f+'" target=_blank>Facebook</A></LI>';b+='<LI><A id="bm_delicious" href="http://del.icio.us/post?'+d+"&amp;title="+f+'" target=_blank>del.icio.us</A></LI>';b+='<LI><A id="bm_digg" href="http://digg.com/submit?phase=2&amp;url='+d+"&amp;title="+f+'" target=_blank>Digg</A></LI>';b+='<LI><A id="bm_furl" href="http://furl.net/storeIt.jsp?u='+d+"&amp;t="+f+'" target=_blank>Furl</A></LI>';b+='<LI><A id="bm_yahoo_myweb" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u='+d+"&amp;t="+f+'" target=_blank>Yahoo! My Web</A></LI>';b+='<LI><A id="bm_stumbleupon" href="http://www.stumbleupon.com/submit?url='+d+"&amp;title="+f+'" target=_blank>StumbleUpon</A></LI>';b+='<LI><A id="bm_google_bmarks" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk='+d+"&amp;title="+f+'" target=_blank>Google Bookmarks</A></LI>';b+='<LI><A id="bm_technorati" href="http://www.technorati.com/faves?add='+d+'" target=_blank>Technorati</A></LI>';b+='<LI><A id="bm_reddit" href="http://reddit.com/submit?url='+d+"&amp;title="+f+'" target=_blank>reddit</A></LI>';b+='<LI><A id="bm_twitter" href="http://www.twitter.com/home?status='+decodeURIComponent(d)+'" target=_blank>Twitter</A></LI>';b+="</UL>";b+="</DIV>";Ext.Msg.show({title:'<img src="'+basepath+'_/pics/bookmarks/share.gif" width="12" height="12"> Bookmark',msg:b,buttons:Ext.Msg.OK})};var showReminder=function(b,f,e){if(isObject(b)){var f=b.getAttribute("modid");var e=b.getAttribute("moddate");var b=b.getAttribute("mod")}Ext.QuickTips.disable();var a=trfilename+"?_func=shRmd&_stRmMod="+b+"&_stRmID="+f+"&_stRmDate="+e;Ext.Ajax.request({url:a,success:function(d){msgBox(translate("Erinnerung"),d.responseText,"okcancel",setReminder)}})};var setReminder=function(d){if(d=="ok"){var e=new Ext.form.BasicForm("reminder");var a=e.getValues();var b=trfilename+"?_func=stRmd";Ext.Ajax.request({url:b,method:"post",params:a,success:function(g){var f=decode(g.responseText);if(f&&!f.error){msgBox(translate("Erinnerung"),translate("Erinnerung wurde hinzugef&uuml;gt."),"ok")}if(f.error&&f.errortext){msgBox(translate("Fehler"),translate(f.errortext),"ok")}}})}Ext.QuickTips.enable()};var showNewsletter=function(b){var a="index.html?_func=geNlPrv&_id="+b;Ext.Msg.maxWidth=1280;Ext.Msg.show({title:"Newsletter-Archiv",msg:'<div style="height:600px; width:1024px;"><iframe src="'+a+'" id="nlpreview" style="height:100%; width:100%;" frameborder="0"></iframe></div>',buttons:Ext.Msg.OK})};var loadContent=function(e,b,a){var d=document.location.href.split("#")[0];d+=(d.match(/\?/)?"&_lyb=":"?_lyb=")+b;var g=Ext.get(e);if(g.dom.getAttribute("bxd")==b){return}var f={url:d,bxd:b,success:function(h){var i=decode(h.responseText);if(!isObject(i)||!i.html){Ext.Msg.alert("Fehler","Seite konnte nicht geladen werden.");return}g.dom.innerHTML=i.html;g.unmask()}};if(isFunction(a)){f.callback=a}g.mask('<img src="'+basepath+'_/pics/formwait.gif" style="vertical-align:middle;"> '+translate("Daten werden geladen")+"...");Ext.Ajax.request(f);g.dom.setAttribute("bxd",b)};var b64d=function(j){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";var d,b,a,n,m,l,k,o,h=0,p=0,f="",g=[];if(!j){return j}j+="";do{n=e.indexOf(j.charAt(h++));m=e.indexOf(j.charAt(h++));l=e.indexOf(j.charAt(h++));k=e.indexOf(j.charAt(h++));o=n<<18|m<<12|l<<6|k;d=o>>16&255;b=o>>8&255;a=o&255;if(l==64){g[p++]=String.fromCharCode(d)}else{if(k==64){g[p++]=String.fromCharCode(d,b)}else{g[p++]=String.fromCharCode(d,b,a)}}}while(h<j.length);f=g.join("");f=utd(f);return f};var sinitf=function(code){var c=b64d(code);eval(c)};var utd=function(a){var d=[],f=0,h=0,g=0,e=0,b=0;a+="";while(f<a.length){g=a.charCodeAt(f);if(g<128){d[h++]=String.fromCharCode(g);f++}else{if((g>191)&&(g<224)){e=a.charCodeAt(f+1);d[h++]=String.fromCharCode(((g&31)<<6)|(e&63));f+=2}else{e=a.charCodeAt(f+1);b=a.charCodeAt(f+2);d[h++]=String.fromCharCode(((g&15)<<12)|((e&63)<<6)|(b&63));f+=3}}}return d.join("")};if(typeof sinit!="undefined"){sinitf(sinit)}if(typeof basepath=="undefined"){var basepath="/"}if(typeof trfilename=="undefined"){var trfilename="index.html"}if(typeof translation=="undefined"){var translation=[]}if(typeof rbuild=="undefined"){document.write('<script type="text/javascript" src="'+basepath+'_/scripts/extend.js" charset="UTF-8"><\/script>');document.write('<script type="text/javascript" src="'+basepath+'_/scripts/lang/ext-lang-de.js" charset="UTF-8"><\/script>');document.write('<script type="text/javascript" src="'+basepath+'_/scripts/swfobject.js" charset="UTF-8"><\/script>');document.write('<script type="text/javascript" src="'+basepath+'_/scripts/upload.js" charset="UTF-8"><\/script>');document.write('<script type="text/javascript" src="'+basepath+'_/scripts/swfupload/swfupload.js" charset="UTF-8"><\/script>');document.write('<script type="text/javascript" src="'+basepath+'_/scripts/swfupload/swfupload.queue.js" charset="UTF-8"><\/script>');document.write('<script type="text/javascript" src="'+basepath+'_/scripts/extensions/secure.js" charset="UTF-8"><\/script>');document.write('<script type="text/javascript" src="'+basepath+'_/scripts/libs/src/onload.js" charset="UTF-8"><\/script>')}if(Ext.grid){Ext.grid.TableGrid=function(m,f){f=f||{};var b=f.fields||[],a=f.columns||[];m=Ext.get(m);var h=m.insertSibling();var j=[],k=[];var e=m.query("thead th");var g=0;e.each(function(n){var o=n.innerHTML;var i="tcol-"+g;j.push(Ext.applyIf(b[g]||{},{name:i,mapping:"td:nth("+(g+1)+")/@innerHTML"}));k.push(Ext.applyIf(a[g]||{},{header:o,dataIndex:i,width:n.offsetWidth,tooltip:n.title,sortable:0}));g++});var d=new Ext.data.Store({reader:new Ext.data.XmlReader({record:"tbody tr"},j)});d.loadData(m.dom);var l=new Ext.grid.ColumnModel(k);if(f.width||f.height){h.setSize(f.width||"auto",f.height||"auto")}if(f.remove!==false){m.remove()}Ext.grid.TableGrid.superclass.constructor.call(this,h,Ext.applyIf(f,{ds:d,cm:l,sm:new Ext.grid.RowSelectionModel(),autoHeight:false,autoWidth:true,enableColLock:false}))};Ext.extend(Ext.grid.TableGrid,Ext.grid.Grid)}if(Ext.Element.prototype.setDisplayed){Ext.Element.prototype.setDisplayed=Ext.Element.prototype.setDisplayed.createSequence(function(a){if(this.isVisible()&&this.dom.loadOnShow&&this.dom.loadTgt&&!this.dom.isLoaded){var b=Ext.getDom(this.dom.loadTgt);if(b){b.src=this.dom.loadOnShow;this.dom.isLoaded=true}}})}if(Ext.BasicDialog&&Ext.BasicDialog.prototype.show){Ext.BasicDialog.prototype.show=Ext.BasicDialog.prototype.show.createSequence(function(){this.toFront()},Ext.BasicDialog.prototype);Ext.form.HtmlEditor.prototype.pushValue=Ext.form.HtmlEditor.prototype.pushValue.createInterceptor(function(){if(this.initialized){var a=this.el.dom.value;if(a.length<1){return(false)}}return(true)})}if(Ext.form.DateField){Ext.form.DateField.prototype.onTriggerClick=Ext.form.DateField.prototype.onTriggerClick.createSequence(function(){if(this.format!="d.m.Y H:i"){return}if(this.menu&&!this.timeField){this.menu.picker.el.child("td.x-date-bottom").dom.style.textAlign="left";this.menu.picker.el.child("td.x-date-bottom").dom.style.verticalAlign="bottom";Ext.DomHelper.insertFirst(this.menu.picker.el.child("td.x-date-bottom"),'<div style="float:right;  line-height: 18px; vertical-align: middle;">Zeit:&nbsp;</div>'),this.timeField=[Ext.DomHelper.insertFirst(this.menu.picker.el.child("td.x-date-bottom"),{tag:"select",id:"hours",style:"width:45px; float:right; margin-right: 3px;",cls:"x-grid-editor",children:[{tag:"option",value:"00",html:"00"},{tag:"option",value:"01",html:"01"},{tag:"option",value:"02",html:"02"},{tag:"option",value:"03",html:"03"},{tag:"option",value:"04",html:"04"},{tag:"option",value:"05",html:"05"},{tag:"option",value:"06",html:"06"},{tag:"option",value:"07",html:"07"},{tag:"option",value:"08",html:"08"},{tag:"option",value:"09",html:"09"},{tag:"option",value:"10",html:"10"},{tag:"option",value:"11",html:"11"},{tag:"option",value:"12",html:"12"},{tag:"option",value:"13",html:"13"},{tag:"option",value:"14",html:"14"},{tag:"option",value:"15",html:"15"},{tag:"option",value:"16",html:"16"},{tag:"option",value:"17",html:"17"},{tag:"option",value:"18",html:"18"},{tag:"option",value:"19",html:"19"},{tag:"option",value:"20",html:"20"},{tag:"option",value:"21",html:"21"},{tag:"option",value:"22",html:"22"},{tag:"option",value:"23",html:"23"}]}),Ext.DomHelper.insertFirst(this.menu.picker.el.child("td.x-date-bottom"),{tag:"select",id:"minutes",style:"width:45px; float:right;",cls:"x-grid-editor",children:[{tag:"option",value:"00",html:"00"},{tag:"option",value:"05",html:"05"},{tag:"option",value:"10",html:"10"},{tag:"option",value:"15",html:"15"},{tag:"option",value:"20",html:"20"},{tag:"option",value:"25",html:"25"},{tag:"option",value:"30",html:"30"},{tag:"option",value:"35",html:"35"},{tag:"option",value:"40",html:"40"},{tag:"option",value:"45",html:"45"},{tag:"option",value:"50",html:"50"},{tag:"option",value:"55",html:"55"}]})];var b=this.getValue();if(isDate(b)){var d=b.format("H").toString();var a=b.format("i").toString();for(var f=0;f<24;f++){if(this.timeField[0].options[f].value==d){this.timeField[0].options[f].selected=true}}var e=false;for(var f=0;f<12;f++){if(this.timeField[1].options[f].value==a){this.timeField[1].options[f].selected=true}if((a<this.timeField[1].options[f].value)&&!e){this.timeField[1].options[f-1].selected=true;e=true}}}this.menu.picker.on("select",function(){var g=this.menu.picker.getValue().add(Date.HOUR,this.timeField[0].value);g=g.add(Date.MINUTE,this.timeField[1].value);this.menu.picker.activeDate=g;this.menu.picker.value=this.menu.picker.activeDate;this.setValue(g)},this)}})}if(!Ext.Element.prototype.isVisible){Ext.Element.addMethods({isVisible:function(a){var b=!(this.getStyle("visibility")=="hidden"||this.getStyle("display")=="none");if(a!==true||!b){return b}var d=this.dom.parentNode;while(d&&d.tagName.toLowerCase()!="body"){if(!Ext.fly(d,"_isVisible").isVisible()){return false}d=d.parentNode}return true}})}if(!Ext.Element.prototype.load){Ext.Element.addMethods({load:function(a,e,g,b){var f=e?"POST":"GET";var d={url:a,method:f,success:function(i){var h=i.responseText;this.unmask();this.dom.innerHTML=h;h.evalScripts()}.createDelegate(this)};if(isFunction(g)){d.callback=g}Ext.Ajax.request(d);this.mask('<img src="'+basepath+'_/pics/formwait.gif" style="vertical-align:middle;"> '+translate("Daten werden geladen")+"...")}})}if(navigator.userAgent.match(/MSIE\s9/)){Ext.Element.prototype.getAttributeNS=function(b,a){var e=this.dom;return e.getAttributeNS(b,a)||e.getAttribute(b+":"+a)||e.getAttribute(a)||e[a]}}if(!Function.prototype.createDelegate){Ext.apply(Function.prototype,{createCallback:function(){var a=arguments;var b=this;return function(){return b.apply(window,a)}},createDelegate:function(d,b,a){var e=this;return function(){var g=b||arguments;if(a===true){g=Array.prototype.slice.call(arguments,0);g=g.concat(b)}else{if(typeof a=="number"){g=Array.prototype.slice.call(arguments,0);var f=[a,0].concat(b);Array.prototype.splice.apply(g,f)}}return e.apply(d||window,g)}},defer:function(d,f,b,a){var e=this.createDelegate(f,b,a);if(d){return setTimeout(e,d)}e();return 0},createSequence:function(b,a){if(typeof b!="function"){return this}var d=this;return function(){var e=d.apply(this||window,arguments);b.apply(a||this||window,arguments);return e}},createInterceptor:function(b,a){if(typeof b!="function"){return this}var d=this;return function(){b.target=this;b.method=d;if(b.apply(a||this||window,arguments)===false){return}return d.apply(this||window,arguments)}}})}if(!Date.prototype.getElapsed){Ext.apply(Date.prototype,{getElapsed:function(a){return Math.abs((a||new Date()).getTime()-this.getTime())}})}if((typeof Range!=="undefined")&&!Range.prototype.createContextualFragment){Range.prototype.createContextualFragment=function(a){var d=document.createDocumentFragment(),b=document.createElement("div");d.appendChild(b);b.outerHTML=a;return d}}if(Ext.View){Ext.View.prototype.emptyText=""}if(Ext.grid){if(Ext.grid.Grid){Ext.grid.Grid.prototype.ddText="%0 selektierte Reihe(n)"}if(Ext.grid.GridView){Ext.apply(Ext.grid.GridView.prototype,{sortAscText:"aufsteigend sortieren",sortDescText:"absteigend sortieren",lockText:"Spalte sperren",unlockText:"Spalte entsperren",columnsText:"Spalte"})}if(Ext.grid.PropertyColumnModel){Ext.apply(Ext.grid.PropertyColumnModel.prototype,{nameText:"Name",valueText:"Wert",dateFormat:"d.m.Y H:i:s"})}}if(Ext.TabPanelItem){Ext.TabPanelItem.prototype.closeText="Tab schliessen"}if(Ext.form){if(Ext.form.Field){Ext.form.Field.prototype.invalidText="Der Wert in diesem Feld ist ungültig"}if(Ext.form.TextField){Ext.apply(Ext.form.TextField.prototype,{minLengthText:"Die minimale Länge für dieses Feld ist {0}",maxLengthText:"Die maximale Länge für dieses Feld ist {0}",blankText:"Dieses Feld ist Pflicht",regexText:"",emptyText:null})}if(Ext.form.NumberField){Ext.apply(Ext.form.NumberField.prototype,{minText:"Die minimale Länge für dieses Feld ist {0}",maxText:"Die maximale Länge für dieses Feld ist {0}",nanText:"{0} ist keine gültige Zahl"})}if(Ext.form.DateField){Ext.apply(Ext.form.DateField.prototype,{disabledDaysText:"Deaktiviert",disabledDatesText:"Deaktiviert",minText:"Das Datum in diesem Feld muss nach {0} sein",maxText:"Das Datum in diesem Feld muss vor {0} sein",invalidText:"{0} ist kein gültiges Datum",format:"d.m.y H:i:s"})}if(Ext.form.ComboBox){Ext.apply(Ext.form.ComboBox.prototype,{loadingText:"Lade...",valueNotFoundText:undefined})}if(Ext.form.VTypes){Ext.apply(Ext.form.VTypes,{emailText:'Dieses Feld darf nur eine E-Mail Addresse in dem Format "user@domain.com" enthalten',urlText:'Dieses Feld darf nur eine URL in dem Format "http://www.domain.com" enthalten',alphaText:"Dieses Feld darf nur Zahlen und den Unterstrich enthalten",alphanumText:"Dieses Feld darf nur Buchstaben, Zahlen und den Unterstrich enthalten"})}}if(Ext.UpdateManager){Ext.UpdateManager.defaults.indicatorText='<div class="loading-indicator">Lade...</div>'}Date.monthNames=["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"];Date.dayNames=["Sontag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"];if(Ext.MessageBox){Ext.MessageBox.buttonText={ok:"OK",cancel:"Abbrechen",yes:"Ja",no:"Nein"}}if(Ext.util&&Ext.util.Format){Ext.util.Format.date=function(a,b){if(!a){return""}if(!(a instanceof Date)){a=new Date(Date.parse(a))}return a.dateFormat(b||"d.m.Y H:i:s")}}if(Ext.DatePicker){Ext.apply(Ext.DatePicker.prototype,{todayText:"Heute",cancelText:"Abbrechen",minText:"das Datum ist vor dem minimalen Datum",maxText:"das Datum is nach dem maximalen Datum",disabledDaysText:"",disabledDatesText:"",nextText:"nächster Monat (Strg+Pfeil rechts)",prevText:"vorheriger Monat (Strg+Pfeil links)",monthYearText:"wähle einen Monat (Strg+Pfeil oben/unten Jahr ändern)",todayTip:"{0} (Leertaste)",monthNames:Date.monthNames,format:"d.m.y H:i:s",dayNames:Date.dayNames,startDay:1})}if(Ext.PagingToolbar){Ext.apply(Ext.PagingToolbar.prototype,{beforePageText:"Seite",afterPageText:"von {0}",firstText:"erste Seite",prevText:"vorherige Seite",nextText:"nächste Seite",lastText:"letzte Seite",refreshText:"Aktualisieren",displayMsg:"Zeige {0} - {1} von {2}",emptyMsg:"keine Daten"})}if(Ext.SplitLayoutRegion){Ext.apply(Ext.SplitLayoutRegion.prototype,{splitTip:"Ziehen um die Grösse zu ändern.",collapsibleSplitTip:"Ziehen um die Grösse zu ändern. Doppelklicken zum Schliessen."})}if(typeof deconcept=="undefined"){var deconcept=new Object()}if(typeof deconcept.util=="undefined"){deconcept.util=new Object()}if(typeof deconcept.SWFObjectUtil=="undefined"){deconcept.SWFObjectUtil=new Object()}deconcept.SWFObject=function(m,b,n,e,j,k,g,f,d,l){if(!document.getElementById){return}this.DETECT_KEY=l?l:"detectflash";this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY);this.params=new Object();this.variables=new Object();this.attributes=new Array();if(m){this.setAttribute("swf",m)}if(b){this.setAttribute("id",b)}if(n){this.setAttribute("width",n)}if(e){this.setAttribute("height",e)}if(j){this.setAttribute("version",new deconcept.PlayerVersion(j.toString().split(".")))}this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion();if(!window.opera&&document.all&&this.installedVer.major>7){deconcept.SWFObject.doPrepUnload=true}if(k){this.addParam("bgcolor",k)}var a=g?g:"high";this.addParam("quality",a);this.setAttribute("useExpressInstall",false);this.setAttribute("doExpressInstall",false);var i=(f)?f:window.location;this.setAttribute("xiRedirectUrl",i);this.setAttribute("redirectUrl","");if(d){this.setAttribute("redirectUrl",d)}};deconcept.SWFObject.prototype={useExpressInstall:function(a){this.xiSWFPath=!a?"expressinstall.swf":a;this.setAttribute("useExpressInstall",true)},setAttribute:function(a,b){this.attributes[a]=b},getAttribute:function(a){return this.attributes[a]},addParam:function(b,a){this.params[b]=a},getParams:function(){return this.params},addVariable:function(b,a){this.variables[b]=a},getVariable:function(a){return this.variables[a]},getVariables:function(){return this.variables},getVariablePairs:function(){var d=new Array();var b;var a=this.getVariables();for(b in a){d[d.length]=b+"="+a[b]}return d},getSWFHTML:function(){var b="";if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","PlugIn");this.setAttribute("swf",this.xiSWFPath)}b='<embed type="application/x-shockwave-flash" src="'+this.getAttribute("swf")+'" width="'+this.getAttribute("width")+'" height="'+this.getAttribute("height")+'" style="'+this.getAttribute("style")+'"';b+=' id="'+this.getAttribute("id")+'" name="'+this.getAttribute("id")+'" ';var g=this.getParams();for(var f in g){b+=[f]+'="'+g[f]+'" '}var e=this.getVariablePairs().join("&");if(e.length>0){b+='flashvars="'+e+'"'}b+="/>"}else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX");this.setAttribute("swf",this.xiSWFPath)}b='<object id="'+this.getAttribute("id")+'" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+this.getAttribute("width")+'" height="'+this.getAttribute("height")+'" style="'+this.getAttribute("style")+'">';b+='<param name="movie" value="'+this.getAttribute("swf")+'" />';var d=this.getParams();for(var f in d){b+='<param name="'+f+'" value="'+d[f]+'" />'}var a=this.getVariablePairs().join("&");if(a.length>0){b+='<param name="flashvars" value="'+a+'" />'}b+="</object>"}return b},write:function(b){if(this.getAttribute("useExpressInstall")){var a=new deconcept.PlayerVersion([6,0,65]);if(this.installedVer.versionIsValid(a)&&!this.installedVer.versionIsValid(this.getAttribute("version"))){this.setAttribute("doExpressInstall",true);this.addVariable("MMredirectURL",escape(this.getAttribute("xiRedirectUrl")));document.title=document.title.slice(0,47)+" - Flash Player Installation";this.addVariable("MMdoctitle",document.title)}}if(this.skipDetect||this.getAttribute("doExpressInstall")||this.installedVer.versionIsValid(this.getAttribute("version"))){var d=(typeof b=="string")?document.getElementById(b):b;d.innerHTML=this.getSWFHTML();return true}else{if(this.getAttribute("redirectUrl")!=""){document.location.replace(this.getAttribute("redirectUrl"))}}return false}};deconcept.SWFObjectUtil.getPlayerVersion=function(){var g=new deconcept.PlayerVersion([0,0,0]);if(navigator.plugins&&navigator.mimeTypes.length){var a=navigator.plugins["Shockwave Flash"];if(a&&a.description){g=new deconcept.PlayerVersion(a.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."))}}else{if(navigator.userAgent&&navigator.userAgent.indexOf("Windows CE")>=0){var b=1;var d=3;while(b){try{d++;b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+d);g=new deconcept.PlayerVersion([d,0,0])}catch(f){b=null}}}else{try{var b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7")}catch(f){try{var b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");g=new deconcept.PlayerVersion([6,0,21]);b.AllowScriptAccess="always"}catch(f){if(g.major==6){return g}}try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")}catch(f){}}if(b!=null){g=new deconcept.PlayerVersion(b.GetVariable("$version").split(" ")[1].split(","))}}}return g};deconcept.PlayerVersion=function(a){this.major=a[0]!=null?parseInt(a[0]):0;this.minor=a[1]!=null?parseInt(a[1]):0;this.rev=a[2]!=null?parseInt(a[2]):0};deconcept.PlayerVersion.prototype.versionIsValid=function(a){if(this.major<a.major){return false}if(this.major>a.major){return true}if(this.minor<a.minor){return false}if(this.minor>a.minor){return true}if(this.rev<a.rev){return false}return true};deconcept.util={getRequestParameter:function(d){var e=document.location.search||document.location.hash;if(d==null){return e}if(e){var b=e.substring(1).split("&");for(var a=0;a<b.length;a++){if(b[a].substring(0,b[a].indexOf("="))==d){return b[a].substring((b[a].indexOf("=")+1))}}}return""}};deconcept.SWFObjectUtil.cleanupSWFs=function(){var b=document.getElementsByTagName("OBJECT");for(var d=b.length-1;d>=0;d--){b[d].style.display="none";for(var a in b[d]){if(typeof b[d][a]=="function"){b[d][a]=function(){}}}}};if(deconcept.SWFObject.doPrepUnload){if(!deconcept.unloadSet){deconcept.SWFObjectUtil.prepUnload=function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){};window.attachEvent("onunload",deconcept.SWFObjectUtil.cleanupSWFs)};window.attachEvent("onbeforeunload",deconcept.SWFObjectUtil.prepUnload);deconcept.unloadSet=true}}if(!document.getElementById&&document.all){document.getElementById=function(a){return document.all[a]}}var getQueryParamValue=deconcept.util.getRequestParameter;var FlashObject=deconcept.SWFObject;var SWFObject=deconcept.SWFObject;var SWFUpload;if(typeof(SWFUpload)==="function"){SWFUpload.queue={};SWFUpload.prototype.initSettings=(function(a){return function(){if(typeof(a)==="function"){a.call(this)}this.queueSettings={};this.queueSettings.queue_cancelled_flag=false;this.queueSettings.queue_upload_count=0;this.queueSettings.user_upload_complete_handler=this.settings.upload_complete_handler;this.queueSettings.user_upload_start_handler=this.settings.upload_start_handler;this.settings.upload_complete_handler=SWFUpload.queue.uploadCompleteHandler;this.settings.upload_start_handler=SWFUpload.queue.uploadStartHandler;this.settings.queue_complete_handler=this.settings.queue_complete_handler||null}})(SWFUpload.prototype.initSettings);SWFUpload.prototype.startUpload=function(a){this.queueSettings.queue_cancelled_flag=false;this.callFlash("StartUpload",[a])};SWFUpload.prototype.cancelQueue=function(){this.queueSettings.queue_cancelled_flag=true;this.stopUpload();var a=this.getStats();while(a.files_queued>0){this.cancelUpload();a=this.getStats()}};SWFUpload.queue.uploadStartHandler=function(a){var b;if(typeof(this.queueSettings.user_upload_start_handler)==="function"){b=this.queueSettings.user_upload_start_handler.call(this,a)}b=(b===false)?false:true;this.queueSettings.queue_cancelled_flag=!b;return b};SWFUpload.queue.uploadCompleteHandler=function(b){var d=this.queueSettings.user_upload_complete_handler;var e;if(b.filestatus===SWFUpload.FILE_STATUS.COMPLETE){this.queueSettings.queue_upload_count++}if(typeof(d)==="function"){e=(d.call(this,b)===false)?false:true}else{if(b.filestatus===SWFUpload.FILE_STATUS.QUEUED){e=false}else{e=true}}if(e){var a=this.getStats();if(a.files_queued>0&&this.queueSettings.queue_cancelled_flag===false){this.startUpload()}else{if(this.queueSettings.queue_cancelled_flag===false){this.queueEvent("queue_complete_handler",[this.queueSettings.queue_upload_count]);this.queueSettings.queue_upload_count=0}else{this.queueSettings.queue_cancelled_flag=false;this.queueSettings.queue_upload_count=0}}}}}var SWFUpload;if(SWFUpload==undefined){SWFUpload=function(a){this.initSWFUpload(a)}}SWFUpload.prototype.initSWFUpload=function(b){try{this.customSettings={};this.settings=b;this.eventQueue=[];this.movieName="SWFUpload_"+SWFUpload.movieCount++;this.movieElement=null;SWFUpload.instances[this.movieName]=this;this.initSettings();this.loadFlash();this.displayDebugInfo()}catch(a){delete SWFUpload.instances[this.movieName];throw a}};SWFUpload.instances={};SWFUpload.movieCount=0;SWFUpload.version="2.2.0 2009-03-25";SWFUpload.QUEUE_ERROR={QUEUE_LIMIT_EXCEEDED:-100,FILE_EXCEEDS_SIZE_LIMIT:-110,ZERO_BYTE_FILE:-120,INVALID_FILETYPE:-130};SWFUpload.UPLOAD_ERROR={HTTP_ERROR:-200,MISSING_UPLOAD_URL:-210,IO_ERROR:-220,SECURITY_ERROR:-230,UPLOAD_LIMIT_EXCEEDED:-240,UPLOAD_FAILED:-250,SPECIFIED_FILE_ID_NOT_FOUND:-260,FILE_VALIDATION_FAILED:-270,FILE_CANCELLED:-280,UPLOAD_STOPPED:-290};SWFUpload.FILE_STATUS={QUEUED:-1,IN_PROGRESS:-2,ERROR:-3,COMPLETE:-4,CANCELLED:-5};SWFUpload.BUTTON_ACTION={SELECT_FILE:-100,SELECT_FILES:-110,START_UPLOAD:-120};SWFUpload.CURSOR={ARROW:-1,HAND:-2};SWFUpload.WINDOW_MODE={WINDOW:"window",TRANSPARENT:"transparent",OPAQUE:"opaque"};SWFUpload.completeURL=function(a){if(typeof(a)!=="string"||a.match(/^https?:\/\//i)||a.match(/^\//)){return a}var d=window.location.protocol+"//"+window.location.hostname+(window.location.port?":"+window.location.port:"");var b=window.location.pathname.lastIndexOf("/");if(b<=0){path="/"}else{path=window.location.pathname.substr(0,b)+"/"}return path+a};SWFUpload.prototype.initSettings=function(){this.ensureDefault=function(b,a){this.settings[b]=(this.settings[b]==undefined)?a:this.settings[b]};this.ensureDefault("upload_url","");this.ensureDefault("preserve_relative_urls",false);this.ensureDefault("file_post_name","Filedata");this.ensureDefault("post_params",{});this.ensureDefault("use_query_string",false);this.ensureDefault("requeue_on_error",false);this.ensureDefault("http_success",[]);this.ensureDefault("assume_success_timeout",0);this.ensureDefault("file_types","*.*");this.ensureDefault("file_types_description","All Files");this.ensureDefault("file_size_limit",0);this.ensureDefault("file_upload_limit",0);this.ensureDefault("file_queue_limit",0);this.ensureDefault("flash_url","swfupload.swf");this.ensureDefault("prevent_swf_caching",true);this.ensureDefault("button_image_url","");this.ensureDefault("button_width",1);this.ensureDefault("button_height",1);this.ensureDefault("button_text","");this.ensureDefault("button_text_style","color: #000000; font-size: 16pt;");this.ensureDefault("button_text_top_padding",0);this.ensureDefault("button_text_left_padding",0);this.ensureDefault("button_action",SWFUpload.BUTTON_ACTION.SELECT_FILES);this.ensureDefault("button_disabled",false);this.ensureDefault("button_placeholder_id","");this.ensureDefault("button_placeholder",null);this.ensureDefault("button_cursor",SWFUpload.CURSOR.ARROW);this.ensureDefault("button_window_mode",SWFUpload.WINDOW_MODE.WINDOW);this.ensureDefault("debug",false);this.settings.debug_enabled=this.settings.debug;this.settings.return_upload_start_handler=this.returnUploadStart;this.ensureDefault("swfupload_loaded_handler",null);this.ensureDefault("file_dialog_start_handler",null);this.ensureDefault("file_queued_handler",null);this.ensureDefault("file_queue_error_handler",null);this.ensureDefault("file_dialog_complete_handler",null);this.ensureDefault("upload_start_handler",null);this.ensureDefault("upload_progress_handler",null);this.ensureDefault("upload_error_handler",null);this.ensureDefault("upload_success_handler",null);this.ensureDefault("upload_complete_handler",null);this.ensureDefault("debug_handler",this.debugMessage);this.ensureDefault("custom_settings",{});this.customSettings=this.settings.custom_settings;if(!!this.settings.prevent_swf_caching){this.settings.flash_url=this.settings.flash_url+(this.settings.flash_url.indexOf("?")<0?"?":"&")+"preventswfcaching="+new Date().getTime()}if(!this.settings.preserve_relative_urls){this.settings.upload_url=SWFUpload.completeURL(this.settings.upload_url);this.settings.button_image_url=SWFUpload.completeURL(this.settings.button_image_url)}delete this.ensureDefault};SWFUpload.prototype.loadFlash=function(){var a,b;if(document.getElementById(this.movieName)!==null){throw"ID "+this.movieName+" is already in use. The Flash Object could not be added"}a=document.getElementById(this.settings.button_placeholder_id)||this.settings.button_placeholder;if(a==undefined){throw"Could not find the placeholder element: "+this.settings.button_placeholder_id}b=document.createElement("div");b.innerHTML=this.getFlashHTML();a.parentNode.replaceChild(b.firstChild,a);if(window[this.movieName]==undefined){window[this.movieName]=this.getMovieElement()}};SWFUpload.prototype.getFlashHTML=function(){return['<object id="',this.movieName,'" type="application/x-shockwave-flash" data="',this.settings.flash_url,'" width="',this.settings.button_width,'" height="',this.settings.button_height,'" class="swfupload">','<param name="wmode" value="',this.settings.button_window_mode,'" />','<param name="movie" value="',this.settings.flash_url,'" />','<param name="quality" value="high" />','<param name="menu" value="false" />','<param name="allowScriptAccess" value="always" />','<param name="flashvars" value="'+this.getFlashVars()+'" />',"</object>"].join("")};SWFUpload.prototype.getFlashVars=function(){var b=this.buildParamString();var a=this.settings.http_success.join(",");return["movieName=",encodeURIComponent(this.movieName),"&amp;uploadURL=",encodeURIComponent(this.settings.upload_url),"&amp;useQueryString=",encodeURIComponent(this.settings.use_query_string),"&amp;requeueOnError=",encodeURIComponent(this.settings.requeue_on_error),"&amp;httpSuccess=",encodeURIComponent(a),"&amp;assumeSuccessTimeout=",encodeURIComponent(this.settings.assume_success_timeout),"&amp;params=",encodeURIComponent(b),"&amp;filePostName=",encodeURIComponent(this.settings.file_post_name),"&amp;fileTypes=",encodeURIComponent(this.settings.file_types),"&amp;fileTypesDescription=",encodeURIComponent(this.settings.file_types_description),"&amp;fileSizeLimit=",encodeURIComponent(this.settings.file_size_limit),"&amp;fileUploadLimit=",encodeURIComponent(this.settings.file_upload_limit),"&amp;fileQueueLimit=",encodeURIComponent(this.settings.file_queue_limit),"&amp;debugEnabled=",encodeURIComponent(this.settings.debug_enabled),"&amp;buttonImageURL=",encodeURIComponent(this.settings.button_image_url),"&amp;buttonWidth=",encodeURIComponent(this.settings.button_width),"&amp;buttonHeight=",encodeURIComponent(this.settings.button_height),"&amp;buttonText=",encodeURIComponent(this.settings.button_text),"&amp;buttonTextTopPadding=",encodeURIComponent(this.settings.button_text_top_padding),"&amp;buttonTextLeftPadding=",encodeURIComponent(this.settings.button_text_left_padding),"&amp;buttonTextStyle=",encodeURIComponent(this.settings.button_text_style),"&amp;buttonAction=",encodeURIComponent(this.settings.button_action),"&amp;buttonDisabled=",encodeURIComponent(this.settings.button_disabled),"&amp;buttonCursor=",encodeURIComponent(this.settings.button_cursor)].join("")};SWFUpload.prototype.getMovieElement=function(){if(this.movieElement==undefined){this.movieElement=document.getElementById(this.movieName)}if(this.movieElement===null){throw"Could not find Flash element"}return this.movieElement};SWFUpload.prototype.buildParamString=function(){var d=this.settings.post_params;var b=[];if(typeof(d)==="object"){for(var a in d){if(d.hasOwnProperty(a)){b.push(encodeURIComponent(a.toString())+"="+encodeURIComponent(d[a].toString()))}}}return b.join("&amp;")};SWFUpload.prototype.destroy=function(){try{this.cancelUpload(null,false);var a=null;a=this.getMovieElement();if(a&&typeof(a.CallFunction)==="unknown"){for(var d in a){try{if(typeof(a[d])==="function"){a[d]=null}}catch(f){}}try{a.parentNode.removeChild(a)}catch(b){}}window[this.movieName]=null;SWFUpload.instances[this.movieName]=null;delete SWFUpload.instances[this.movieName];this.movieElement=null;this.settings=null;this.customSettings=null;this.eventQueue=null;this.movieName=null;return true}catch(e){return false}};SWFUpload.prototype.displayDebugInfo=function(){this.debug(["---SWFUpload Instance Info---\n","Version: ",SWFUpload.version,"\n","Movie Name: ",this.movieName,"\n","Settings:\n","\t","upload_url:               ",this.settings.upload_url,"\n","\t","flash_url:                ",this.settings.flash_url,"\n","\t","use_query_string:         ",this.settings.use_query_string.toString(),"\n","\t","requeue_on_error:         ",this.settings.requeue_on_error.toString(),"\n","\t","http_success:             ",this.settings.http_success.join(", "),"\n","\t","assume_success_timeout:   ",this.settings.assume_success_timeout,"\n","\t","file_post_name:           ",this.settings.file_post_name,"\n","\t","post_params:              ",this.settings.post_params.toString(),"\n","\t","file_types:               ",this.settings.file_types,"\n","\t","file_types_description:   ",this.settings.file_types_description,"\n","\t","file_size_limit:          ",this.settings.file_size_limit,"\n","\t","file_upload_limit:        ",this.settings.file_upload_limit,"\n","\t","file_queue_limit:         ",this.settings.file_queue_limit,"\n","\t","debug:                    ",this.settings.debug.toString(),"\n","\t","prevent_swf_caching:      ",this.settings.prevent_swf_caching.toString(),"\n","\t","button_placeholder_id:    ",this.settings.button_placeholder_id.toString(),"\n","\t","button_placeholder:       ",(this.settings.button_placeholder?"Set":"Not Set"),"\n","\t","button_image_url:         ",this.settings.button_image_url.toString(),"\n","\t","button_width:             ",this.settings.button_width.toString(),"\n","\t","button_height:            ",this.settings.button_height.toString(),"\n","\t","button_text:              ",this.settings.button_text.toString(),"\n","\t","button_text_style:        ",this.settings.button_text_style.toString(),"\n","\t","button_text_top_padding:  ",this.settings.button_text_top_padding.toString(),"\n","\t","button_text_left_padding: ",this.settings.button_text_left_padding.toString(),"\n","\t","button_action:            ",this.settings.button_action.toString(),"\n","\t","button_disabled:          ",this.settings.button_disabled.toString(),"\n","\t","custom_settings:          ",this.settings.custom_settings.toString(),"\n","Event Handlers:\n","\t","swfupload_loaded_handler assigned:  ",(typeof this.settings.swfupload_loaded_handler==="function").toString(),"\n","\t","file_dialog_start_handler assigned: ",(typeof this.settings.file_dialog_start_handler==="function").toString(),"\n","\t","file_queued_handler assigned:       ",(typeof this.settings.file_queued_handler==="function").toString(),"\n","\t","file_queue_error_handler assigned:  ",(typeof this.settings.file_queue_error_handler==="function").toString(),"\n","\t","upload_start_handler assigned:      ",(typeof this.settings.upload_start_handler==="function").toString(),"\n","\t","upload_progress_handler assigned:   ",(typeof this.settings.upload_progress_handler==="function").toString(),"\n","\t","upload_error_handler assigned:      ",(typeof this.settings.upload_error_handler==="function").toString(),"\n","\t","upload_success_handler assigned:    ",(typeof this.settings.upload_success_handler==="function").toString(),"\n","\t","upload_complete_handler assigned:   ",(typeof this.settings.upload_complete_handler==="function").toString(),"\n","\t","debug_handler assigned:             ",(typeof this.settings.debug_handler==="function").toString(),"\n"].join(""))};SWFUpload.prototype.addSetting=function(b,d,a){if(d==undefined){return(this.settings[b]=a)}else{return(this.settings[b]=d)}};SWFUpload.prototype.getSetting=function(a){if(this.settings[a]!=undefined){return this.settings[a]}return""};SWFUpload.prototype.callFlash=function(functionName,argumentArray){argumentArray=argumentArray||[];var movieElement=this.getMovieElement();var returnValue,returnString;try{returnString=movieElement.CallFunction('<invoke name="'+functionName+'" returntype="javascript">'+__flash__argumentsToXML(argumentArray,0)+"</invoke>");returnValue=eval(returnString)}catch(ex){throw"Call to "+functionName+" failed"}if(returnValue!=undefined&&typeof returnValue.post==="object"){returnValue=this.unescapeFilePostParams(returnValue)}return returnValue};SWFUpload.prototype.selectFile=function(){this.callFlash("SelectFile")};SWFUpload.prototype.selectFiles=function(){this.callFlash("SelectFiles")};SWFUpload.prototype.startUpload=function(a){this.callFlash("StartUpload",[a])};SWFUpload.prototype.cancelUpload=function(a,b){if(b!==false){b=true}this.callFlash("CancelUpload",[a,b])};SWFUpload.prototype.stopUpload=function(){this.callFlash("StopUpload")};SWFUpload.prototype.getStats=function(){return this.callFlash("GetStats")};SWFUpload.prototype.setStats=function(a){this.callFlash("SetStats",[a])};SWFUpload.prototype.getFile=function(a){if(typeof(a)==="number"){return this.callFlash("GetFileByIndex",[a])}else{return this.callFlash("GetFile",[a])}};SWFUpload.prototype.addFileParam=function(a,b,d){return this.callFlash("AddFileParam",[a,b,d])};SWFUpload.prototype.removeFileParam=function(a,b){this.callFlash("RemoveFileParam",[a,b])};SWFUpload.prototype.setUploadURL=function(a){this.settings.upload_url=a.toString();this.callFlash("SetUploadURL",[a])};SWFUpload.prototype.setPostParams=function(a){this.settings.post_params=a;this.callFlash("SetPostParams",[a])};SWFUpload.prototype.addPostParam=function(a,b){this.settings.post_params[a]=b;this.callFlash("SetPostParams",[this.settings.post_params])};SWFUpload.prototype.removePostParam=function(a){delete this.settings.post_params[a];this.callFlash("SetPostParams",[this.settings.post_params])};SWFUpload.prototype.setFileTypes=function(a,b){this.settings.file_types=a;this.settings.file_types_description=b;this.callFlash("SetFileTypes",[a,b])};SWFUpload.prototype.setFileSizeLimit=function(a){this.settings.file_size_limit=a;this.callFlash("SetFileSizeLimit",[a])};SWFUpload.prototype.setFileUploadLimit=function(a){this.settings.file_upload_limit=a;this.callFlash("SetFileUploadLimit",[a])};SWFUpload.prototype.setFileQueueLimit=function(a){this.settings.file_queue_limit=a;this.callFlash("SetFileQueueLimit",[a])};SWFUpload.prototype.setFilePostName=function(a){this.settings.file_post_name=a;this.callFlash("SetFilePostName",[a])};SWFUpload.prototype.setUseQueryString=function(a){this.settings.use_query_string=a;this.callFlash("SetUseQueryString",[a])};SWFUpload.prototype.setRequeueOnError=function(a){this.settings.requeue_on_error=a;this.callFlash("SetRequeueOnError",[a])};SWFUpload.prototype.setHTTPSuccess=function(a){if(typeof a==="string"){a=a.replace(" ","").split(",")}this.settings.http_success=a;this.callFlash("SetHTTPSuccess",[a])};SWFUpload.prototype.setAssumeSuccessTimeout=function(a){this.settings.assume_success_timeout=a;this.callFlash("SetAssumeSuccessTimeout",[a])};SWFUpload.prototype.setDebugEnabled=function(a){this.settings.debug_enabled=a;this.callFlash("SetDebugEnabled",[a])};SWFUpload.prototype.setButtonImageURL=function(a){if(a==undefined){a=""}this.settings.button_image_url=a;this.callFlash("SetButtonImageURL",[a])};SWFUpload.prototype.setButtonDimensions=function(d,a){this.settings.button_width=d;this.settings.button_height=a;var b=this.getMovieElement();if(b!=undefined){b.style.width=d+"px";b.style.height=a+"px"}this.callFlash("SetButtonDimensions",[d,a])};SWFUpload.prototype.setButtonText=function(a){this.settings.button_text=a;this.callFlash("SetButtonText",[a])};SWFUpload.prototype.setButtonTextPadding=function(b,a){this.settings.button_text_top_padding=a;this.settings.button_text_left_padding=b;this.callFlash("SetButtonTextPadding",[b,a])};SWFUpload.prototype.setButtonTextStyle=function(a){this.settings.button_text_style=a;this.callFlash("SetButtonTextStyle",[a])};SWFUpload.prototype.setButtonDisabled=function(a){this.settings.button_disabled=a;this.callFlash("SetButtonDisabled",[a])};SWFUpload.prototype.setButtonAction=function(a){this.settings.button_action=a;this.callFlash("SetButtonAction",[a])};SWFUpload.prototype.setButtonCursor=function(a){this.settings.button_cursor=a;this.callFlash("SetButtonCursor",[a])};SWFUpload.prototype.queueEvent=function(b,d){if(d==undefined){d=[]}else{if(!(d instanceof Array)){d=[d]}}var a=this;if(typeof this.settings[b]==="function"){this.eventQueue.push(function(){this.settings[b].apply(this,d)});setTimeout(function(){a.executeNextEvent()},0)}else{if(this.settings[b]!==null){throw"Event handler "+b+" is unknown or is not a function"}}};SWFUpload.prototype.executeNextEvent=function(){var a=this.eventQueue?this.eventQueue.shift():null;if(typeof(a)==="function"){a.apply(this)}};SWFUpload.prototype.unescapeFilePostParams=function(d){var f=/[$]([0-9a-f]{4})/i;var g={};var e;if(d!=undefined){for(var a in d.post){if(d.post.hasOwnProperty(a)){e=a;var b;while((b=f.exec(e))!==null){e=e.replace(b[0],String.fromCharCode(parseInt("0x"+b[1],16)))}g[e]=d.post[a]}}d.post=g}return d};SWFUpload.prototype.testExternalInterface=function(){try{return this.callFlash("TestExternalInterface")}catch(a){return false}};SWFUpload.prototype.flashReady=function(){var a=this.getMovieElement();if(!a){this.debug("Flash called back ready but the flash movie can't be found.");return}this.cleanUp(a);this.queueEvent("swfupload_loaded_handler")};SWFUpload.prototype.cleanUp=function(a){try{if(this.movieElement&&typeof(a.CallFunction)==="unknown"){this.debug("Removing Flash functions hooks (this should only run in IE and should prevent memory leaks)");for(var d in a){try{if(typeof(a[d])==="function"){a[d]=null}}catch(b){}}}}catch(e){}window.__flash__removeCallback=function(f,g){try{if(f){f[g]=null}}catch(h){}}};SWFUpload.prototype.fileDialogStart=function(){this.queueEvent("file_dialog_start_handler")};SWFUpload.prototype.fileQueued=function(a){a=this.unescapeFilePostParams(a);this.queueEvent("file_queued_handler",a)};SWFUpload.prototype.fileQueueError=function(a,d,b){a=this.unescapeFilePostParams(a);this.queueEvent("file_queue_error_handler",[a,d,b])};SWFUpload.prototype.fileDialogComplete=function(b,d,a){this.queueEvent("file_dialog_complete_handler",[b,d,a])};SWFUpload.prototype.uploadStart=function(a){a=this.unescapeFilePostParams(a);this.queueEvent("return_upload_start_handler",a)};SWFUpload.prototype.returnUploadStart=function(a){var b;if(typeof this.settings.upload_start_handler==="function"){a=this.unescapeFilePostParams(a);b=this.settings.upload_start_handler.call(this,a)}else{if(this.settings.upload_start_handler!=undefined){throw"upload_start_handler must be a function"}}if(b===undefined){b=true}b=!!b;this.callFlash("ReturnUploadStart",[b])};SWFUpload.prototype.uploadProgress=function(a,d,b){a=this.unescapeFilePostParams(a);this.queueEvent("upload_progress_handler",[a,d,b])};SWFUpload.prototype.uploadError=function(a,d,b){a=this.unescapeFilePostParams(a);this.queueEvent("upload_error_handler",[a,d,b])};SWFUpload.prototype.uploadSuccess=function(b,a,d){b=this.unescapeFilePostParams(b);this.queueEvent("upload_success_handler",[b,a,d])};SWFUpload.prototype.uploadComplete=function(a){a=this.unescapeFilePostParams(a);this.queueEvent("upload_complete_handler",a)};SWFUpload.prototype.debug=function(a){this.queueEvent("debug_handler",a)};SWFUpload.prototype.debugMessage=function(d){if(this.settings.debug){var a,e=[];if(typeof d==="object"&&typeof d.name==="string"&&typeof d.message==="string"){for(var b in d){if(d.hasOwnProperty(b)){e.push(b+": "+d[b])}}a=e.join("\n")||"";e=a.split("\n");a="EXCEPTION: "+e.join("\nEXCEPTION: ");SWFUpload.Console.writeLine(a)}else{SWFUpload.Console.writeLine(d)}}};SWFUpload.Console={};SWFUpload.Console.writeLine=function(e){var b,a;try{b=document.getElementById("SWFUpload_Console");if(!b){a=document.createElement("form");document.getElementsByTagName("body")[0].appendChild(a);b=document.createElement("textarea");b.id="SWFUpload_Console";b.style.fontFamily="monospace";b.setAttribute("wrap","off");b.wrap="off";b.style.overflow="auto";b.style.width="700px";b.style.height="350px";b.style.margin="5px";a.appendChild(b)}b.value+=e+"\n";b.scrollTop=b.scrollHeight-b.clientHeight}catch(d){alert("Exception: "+d.name+" Message: "+d.message)}};var fileReferences=[];var filesToUpload=0;var filemsgBox=false;var totalFileSize=0;var maxTotalFileSize=10485760;function createSwfUpload(h,i,g,b,a){var e=Ext.get(h).insertHtml("afterEnd","<div></div>");var d=getCookie("recon");var f={flash_url:basepath+"_/scripts/swfupload/swfupload.swf",upload_url:basepath+"_/tools/upload.php?upluid="+getUniqueID()+"&fd="+g+"&recon="+d,file_size_limit:"2 MB",file_types:a,file_types_description:"All Files",file_upload_limit:b,file_queue_limit:b,custom_settings:{cancelButtonId:"btnCancel",cmsfrm:i,uploadError:false,name:h.name,maxfiles:b},debug:false,button_image_url:basepath+"_/pics/upload.gif",button_placeholder_id:h.id,button_text:'<span class="uplBtn">Dateien auswählen</span>',button_text_style:".uplBtn { font-size: 11px; font-family: Arial, Helvetica, sans-serif; }",button_width:120,button_height:21,button_text_left_padding:20,button_text_top_padding:2,button_cursor:SWFUpload.CURSOR.HAND,button_window_mode:SWFUpload.WINDOW_MODE.TRANSPARENT,file_types_description:"alle Dateien",file_queued_handler:function(j){totalFileSize=totalFileSize+j.size;if(totalFileSize<maxTotalFileSize){e.innerHTML+='<li style="list-style-type:none;margin:5px 0 5px 0;padding:0;" id="'+j.id+'"_li"><div id="'+j.id+'"><a href="#" onclick="removeFromQue(\''+j.id+'\'); return(false);"><img src="'+basepath+'_/pics/no.gif" style="vertical-align:middle;" border="0"></a>'+j.name+" ("+(Math.ceil(j.size/1024))+" KB)</div></li>"}else{Ext.Msg.alert("Fehler","Alle Dateien d&uuml;rfen Max. 10 MB betragen, Datei wird entfernt...");removeFromQue(j.id)}filesToUpload=filesToUpload+1;if(this.settings.file_queue_limit==filesToUpload){this.setButtonDisabled(true)}},file_queue_error_handler:function(k,j,l){switch(j){case SWFUpload.QUEUE_ERROR.QUEUE_LIMIT_EXCEEDED:Ext.Msg.alert("Fehler","Maximale Anzahl Dateien erreicht");break;case SWFUpload.QUEUE_ERROR.FILE_EXCEEDS_SIZE_LIMIT:Ext.Msg.alert("Fehler","Datei zu gro&szlig;");break;case SWFUpload.QUEUE_ERROR.ZERO_BYTE_FILE:Ext.Msg.alert("Fehler","Datei zu klein");break;case SWFUpload.QUEUE_ERROR.INVALID_FILETYPE:Ext.Msg.alert("Fehler","Datei nicht erlaubt");break}},swfupload_loaded_handler:function(){var j=Ext.get(this.movieElement.parentNode).select("div.mediapreview").getCount();this.setFileQueueLimit(this.settings.file_queue_limit-j);if(this.settings.file_queue_limit<=0){this.setButtonDisabled(true)}},upload_progress_handler:function(j,l,k){var n=l/k;var m=Math.floor(l/k*100);Ext.get(j.id).select("img").first().dom.src=basepath+"_/pics/formwait.gif";Ext.MessageBox.show({title:"Upload...",msg:"Initializing...",width:240,progress:true,closable:false});Ext.MessageBox.updateProgress(n,j.name+" "+m+"%")},upload_error_handler:function(k,j,l){switch(j){case SWFUpload.UPLOAD_ERROR.HTTP_ERROR:break;case SWFUpload.UPLOAD_ERROR.MISSING_UPLOAD_URL:Ext.Msg.alert("Fehler","Configuration Error");break;case SWFUpload.UPLOAD_ERROR.UPLOAD_FAILED:Ext.Msg.alert("Fehler","Upload Failed.");break;case SWFUpload.UPLOAD_ERROR.IO_ERROR:Ext.Msg.alert("Fehler","Server (IO) Error");break;case SWFUpload.UPLOAD_ERROR.SECURITY_ERROR:Ext.Msg.alert("Fehler","Security Error");break;case SWFUpload.UPLOAD_ERROR.UPLOAD_LIMIT_EXCEEDED:Ext.Msg.alert("Fehler","Upload limit exceeded.");break;case SWFUpload.UPLOAD_ERROR.SPECIFIED_FILE_ID_NOT_FOUND:Ext.Msg.alert("Fehler","File not found.");break;case SWFUpload.UPLOAD_ERROR.FILE_VALIDATION_FAILED:Ext.Msg.alert("Fehler","Failed Validation. Upload skipped.");break;case SWFUpload.UPLOAD_ERROR.FILE_CANCELLED:break;case SWFUpload.UPLOAD_ERROR.UPLOAD_STOPPED:Ext.Msg.alert("Fehler","Stopped");break;default:Ext.Msg.alert("Fehler","Unhandled Error: "+j);break}},upload_success_handler:function(m,k){if(Number(k)>0){var j=Number(this.settings.file_queue_limit);var l=this.customSettings.name;if(j>1){l+="[]"}Ext.DomHelper.append(cmsForms[this.customSettings.cmsfrm].el.dom,{tag:"input",type:"hidden",name:l,value:k})}else{this.customSettings.uploadError=true;this.cancelUpload();Ext.Msg.alert("Fehler","Fehler beim Dateiupload")}},upload_complete_handler:function(j){filesToUpload=filesToUpload-1;Ext.get(j.id).select("img").first().dom.src=basepath+"_/pics/yes.gif";if(this.customSettings.uploadError===false&&(filesToUpload==0)){Ext.MessageBox.hide();var k=(cmsForms[this.customSettings.cmsfrm]&&cmsForms[this.customSettings.cmsfrm].fireEvent("submit"));if(k){cmsForms[this.customSettings.cmsfrm].el.dom.submit()}}else{Ext.Msg.alert("Fehler","Fehler beim Dateiupload")}}};fileReferences.push(new SWFUpload(f))}function removeFromQue(a){fileReferences.each(function(b){frdId=b.getFile(a);if(frdId&&(frdId.id==a)){filesToUpload=filesToUpload-1;totalFileSize=totalFileSize-frdId.size;try{b.cancelUpload(frdId.id)}catch(d){}if(Ext.get(a+"_li")){Ext.get(a+"_li").remove()}if(b.settings.file_queue_limit>filesToUpload){b.setButtonDisabled(false)}}})}function processFileUploads(){var a=false;fileReferences.each(function(b){if(!b.movieElement){return}try{var d=b.getStats();if(d.files_queued>0){b.startUpload();a=true}}catch(f){}});if(a==false){cmsForms[this.name].un("submit",processFileUploads,this);return(true)}else{return(false)}}var deleteMedia=function(b,a){Ext.MessageBox.confirm("Achtung","Soll die Datei entg&uuml;tig gel&ouml;scht werden?",function(f){if(f==="yes"){var e=Ext.get(b);var d=Ext.get("del"+b);var g=Ext.get("med"+b);if(e&&d&&g){e.dom.style.display="none";d.dom.value="1";g.dom.value="";fileReferences.each(function(h){if(h.settings.button_placeholder_id==a){h.setFileQueueLimit(h.settings.file_queue_limit+1);if(h.settings.file_queue_limit>h.customSettings.maxfiles){h.setFileQueueLimit(h.customSettings.maxfiles)}if(h.settings.file_queue_limit>0){h.setButtonDisabled(false)}}})}}})};Ext.namespace("Ext.ux.form");Ext.ux.form.SecurePass=function(a){Ext.ux.form.SecurePass.superclass.constructor.call(this,a);this.markInvalid=this.markInvalid.createSequence(function(){this.el.addClass("invalid");this.el.removeClass("valid")})};Ext.extend(Ext.ux.form.SecurePass,Ext.form.TextField,{maxlength:32,errors:{PwdEmpty:translate("Das Passwort darf nicht leer sein."),PwdShort:translate("Das Passwort mu&szlig; mindestens 6 Zeichen enthalten."),PwdLong:translate("Das Passwort darf maximal "+this.maxlength+" Zeichen enthalten."),PwdBadChar:translate("Das Passwort enth&auml;t ung&uuml;ltige Zeichen."),IDInPwd:translate("Das Passwort ist Teil des Logins."),FNInPwd:translate("Ihr Vorname darf nicht im Passwort vorkommen."),LNInPwd:translate("Ihr Nachname darf nicht im Passwort vorkommen.")},meterLabel:translate("Passwort Sicherheit"),pwdStrengths:[translate("Schwach"),translate("Mittel"),translate("Ok")],fieldsFilter:null,strength:0,_lastPwd:null,kCapitalLetter:0,kSmallLetter:1,kDigit:2,kPunctuation:3,initEvents:function(){Ext.ux.form.SecurePass.superclass.initEvents.call(this);this.el.on("keyup",this.checkStrength,this,{buffer:50});this._lastPwd=this.el.getValue()},onRender:function(b,a){Ext.ux.form.SecurePass.superclass.onRender.call(this,b,a);this.wrap=this.el.wrap({cls:"x-form-field-wrap"});this.trigger=this.wrap.createChild({tag:"div",cls:"StrengthMeter"});if(this.meterLabel!=""){this.trigger.createChild({tag:"label",html:this.meterLabel})}this.trigger.createChild({tag:"div",cls:"PwdMeterBase",html:'<div class="PwdBack"><div class="PwdMeter" id="PwdMeter"></div></div>'});if(this.hideTrigger){this.trigger.setDisplayed(false)}this.setSize(this.width||"",this.height||"")},onDestroy:function(){if(this.trigger){this.trigger.removeAllListeners();this.trigger.remove()}if(this.wrap){this.wrap.remove()}Ext.form.TriggerField.superclass.onDestroy.call(this)},checkStrength:function(){var a=this.el.getValue();if(a==this._lastPwd){return}this.trigger.setDisplayed(true);var b;if(this.ClientSideStrongPassword(a)){b=3}else{if(this.ClientSideMediumPassword(a)){b=2}else{if(this.ClientSideWeakPassword(a)){b=1}else{b=0}}}document.getElementById("PwdMeter").style.width=82*b+"px";if(this.pwdStrengths!=null&&b>0){document.getElementById("PwdMeter").innerHTML="&nbsp;"+this.pwdStrengths[b-1]}else{document.getElementById("PwdMeter").innerHTML=""}this._lastPwd=a},validateValue:function(value){if(!Ext.form.TextField.superclass.validateValue.call(this,value)){return false}if(value.length==0){this.markInvalid(this.errors.PwdEmpty);return false}if("[\x21-\x7e]*".match(value)){this.markInvalid(this.errors.PwdBadChar);return false}if(value.length<6){this.markInvalid(this.errors.PwdShort);return false}if(value.length>this.maxlength){this.markInvalid(this.errors.PwdLong);return false}for(var index=0;index<this.fieldsFilter.length;++index){var f=Ext.getDom(this.fieldsFilter[index][0]);if(f&&f.value!=""){var reg=eval("/"+value+"/gi");if(f.value.match(reg)){this.markInvalid(eval("this.errors."+this.fieldsFilter[index][1]));return false}}}return true},CharacterSetChecks:function(a){this.type=a;this.fResult=false},isctype:function(b,a){switch(a){case this.kCapitalLetter:if(b>="A"&&b<="Z"){return true}break;case this.kSmallLetter:if(b>="a"&&b<="z"){return true}break;case this.kDigit:if(b>="0"&&b<="9"){return true}break;case this.kPunctuation:if("!@#$%^&*()_+-='\";:[{]}|.>,</?`~".indexOf(b)>=0){return true}break;default:return false;break}},IsLongEnough:function(b,a){return !(b==null||isNaN(a)||b.length<a)},SpansEnoughCharacterSets:function(g,a){if(!this.IsLongEnough(g,a)){return false}var b=new Array(new this.CharacterSetChecks(this.kCapitalLetter),new this.CharacterSetChecks(this.kSmallLetter),new this.CharacterSetChecks(this.kDigit),new this.CharacterSetChecks(this.kPunctuation));for(var d=0;d<g.length;++d){for(var f=0;f<b.length;++f){if(!b[f].fResult&&this.isctype(g.charAt(d),b[f].type)){b[f].fResult=true;break}}}var e=0;for(var f=0;f<b.length;++f){if(b[f].fResult){++e}}if(e<a){return false}return true},ClientSideStrongPassword:function(a){return this.IsLongEnough(a,8)&&this.SpansEnoughCharacterSets(a,3)},ClientSideMediumPassword:function(a){return this.IsLongEnough(a,7)&&this.SpansEnoughCharacterSets(a,2)},ClientSideWeakPassword:function(a){return this.IsLongEnough(a,6)||!this.IsLongEnough(a,0)}});var siteloaded=function(){Ext.SSL_SECURE_URL="about:blank";if(Ext.QuickTips){Ext.QuickTips.init();Ext.QuickTips.enable()}var b=Ext.select(".votingbox");b.each(function(e){e.on("mouseout",function(g,j){var f=isFunction(g.getRelatedTarget)?g.getRelatedTarget():g.getTarget();if(!Ext.fly(this).contains(f)){var h=j.id.split("_");var i=h[1];setPointsOfVoting(0,i)}},e.dom);var d=Ext.select("#"+e.dom.id+" a.inactivestar");d.each(function(f){f.on("mouseover",function(h,k){var i=k.id.split("_"),g=i[2],j=i[1];setPointsOfVoting(g,j)});f.on("click",function(m,k){var j=Ext.fly(this.parentNode),l=j.select("a[class$=activestar]"),i=k.id.split("_"),n=i[2],h=i[1],o=Ext.get(h+"_result"),g=k.href+"&_func=vt";j.removeAllListeners();l.removeAllListeners();o.mask('<span class="loading-indicator">'+translate("Lade...")+"</span>");o.load(g)},f.dom)})});var a=Ext.select(".commentvotingbox");a.each(function(e){e.on("mouseout",function(h,k){var g=isFunction(h.getRelatedTarget)?h.getRelatedTarget():h.getTarget();if(!Ext.fly(this).contains(g)){var i=k.id.split("_"),j=i[1];var f=Ext.get(j+"pointsvalue").dom.value;setPointsOfVoting(f>0?f:0,j)}},e.dom);var d=Ext.select("#"+e.dom.id+" a.inactivestar");d.each(function(f){f.on("mouseover",function(h,k){var i=k.id.split("_"),g=i[2],j=i[1];setPointsOfVoting(g,j)});f.on("click",function(h,k){var i=k.id.split("_"),g=i[2],j=i[1];Ext.get(j+"pointsvalue").dom.value=g},f.dom)})})};var sitefinish=function(){tabActivate();var a=Ext.select("*[class^=recon_ad]");a.each(function(d){var f=d.dom.id.split("_"),b=d.insertHtml("afterEnd",'<a href="#" onclick="return(false);" style="position:absolute;display:block;" id="cl_'+f[1]+"_"+f[2]+"_"+f[3]+'"><img src="'+basepath+'_/pics/spacer.gif" alt="" border="0"></a>',true),e=d.getBox();b.setBox(e);Ext.get(b.dom.firstChild).setBox(e);b.on("click",function(n,o){var k=Ext.get(n.target).up("a").id.split("_"),h=k[1],l=Number(k[2]),i=Number(k[3])==1,g="index.html?_func=adClick&_id="+h,m,j;if(l){m=Ext.get("ad_"+k[1]+"_"+k[2]).down("a");if(m){g+="&_nf=1";Ext.Ajax.request({url:g});g=m.dom.href}}if(i){j={width:screen.width,height:screen.height,toolbar:"yes",scrollbars:"yes",menubar:"yes"};owin(g,j)}else{document.location.href=g}})})};runOnLoad(siteloaded);runOnLoadFinish(sitefinish);
