function getEl(A){return document.getElementById(A)}function homepage(A){if((navigator.appName==="Microsoft Internet Explorer")&&(navigator.appVersion.substring(0,1)>=4)){document.body.style.behavior="url(#default#homepage)";document.body.sethomepage(A)}}function checkFlowerCookie(){var A="; "+document.cookie+";";var B=A.indexOf("; flower=");return B!==-1}function bookmark(A){if(window.external){window.external.AddFavorite(A,"Suchblume")}else{if(window.sidebar){window.sidebar.addPanel("Suchblume",A,"")}else{if(window.opera&&window.print){}}}}function cancelEvent(A){A.cancelBubble=true;if(A.stopPropagation){A.stopPropagation()}if(A.preventDefault){A.preventDefault()}return false}function clip(C,B,A){return C<=B?B:(C>=A?A:C)}String.prototype.bind=function(){var B=this;for(var A=0;A<arguments.length;A++){B=B.replace("/\\{"+A+"\\}/g",arguments[A])}return B};function bind(A){var C=A[0];for(var B=1;B<arguments.length;B++){C=C+arguments[B]+A[B]}return C}function Coord(A,B){this.x=A;this.y=B}Coord.prototype={sub:function(A){this.x-=A.x;this.y-=A.y;return this},clip:function(B,D,A,C){if(this.x<B){this.x=B}if(this.y<D){this.y=D}if(this.x>A){this.x=A}if(this.y>C){this.y=C}},clone:function(){return new Coord(this.x,this.y)},equals:function(A){return A&&this.x===A.x&&this.y===A.y}};function getEventPos(A){var B;if(A.pageX){B=new Coord(A.pageX,A.pageY)}else{B=new Coord(A.clientX+document.body.scrollLeft+document.documentElement.scrollLeft,A.clientY+document.body.scrollTop+document.documentElement.scrollTop)}return B}function getElementPos(C){var B=new Coord(0,0);var A=document.all?document.all[C]:getEl(C);while(A){B.x+=A.offsetLeft;B.y+=A.offsetTop;A=A.offsetParent}return B}function getScrollPos(B){var A=getEl(B);return new Coord(A.scrollLeft,A.scrollTop)}function Timer(){}Timer.prototype={timer:null,queue:[],start:function(){if(this.queue.length>0){this.timer=window.setInterval("timer.sim()",25)}},stop:function(){if(this.timer){window.clearInterval(this.timer);this.timer=null}},add:function(B){for(var A=0;A<this.queue.length;A++){if(this.queue[A].equals(B)){this.queue[A].update(B);return }}if(B.ready()){this.queue.push(B)}},add1:function(A){this.stop();this.add(A);this.start()},sim:function(){for(var A=0;A<this.queue.length;){try{if(this.queue[A].step()){this.queue.splice(A,1)}else{A++}}catch(B){this.queue.splice(A,1)}}if(this.queue.length===0){this.stop()}}};var timer=null;function getTimer(){if(!timer){timer=new Timer()}return timer}function Job(){}Job.prototype={ready:function(){return true},equals:function(A){return false},update:function(A){}};function setOpacity(B,A){B.opacity=0.01*A;B.MozOpacity=0.01*A;B.KhtmlOpacity=0.01*A;B.filter="alpha(opacity="+A+")"}function Dimmer(){this.cnt=5}Dimmer.prototype=new Job();Dimmer.prototype.step=function(){setOpacity(getEl("curtain").style,(5-this.cnt)*10);return this.cnt--===0};function Lighter(A){this.fn=A;this.cnt=5}Lighter.prototype=new Job();Lighter.prototype.step=function(){var A=getEl("curtain").style;setOpacity(A,this.cnt*10);if(this.cnt--===0){A.display="none";if(this.fn){this.fn()}return true}return false};function blendBG(B,E){var D=parseInt(parseInt(B.substr(1,2),16)*E+232*(1-E),10);var C=parseInt(parseInt(B.substr(3,2),16)*E+232*(1-E),10);var A=parseInt(parseInt(B.substr(5,2),16)*E+220*(1-E),10);return"rgb("+D+","+C+","+A+")"}function blendFG(B,E){var D=parseInt(parseInt(B.substr(1,2),16)*E+102*(1-E),10);var C=parseInt(parseInt(B.substr(3,2),16)*E+102*(1-E),10);var A=parseInt(parseInt(B.substr(5,2),16)*E+102*(1-E),10);return"rgb("+D+","+C+","+A+")"}function showDlg(C){var A=getEl(C);var B=getEl("curtain").style;if(window.pageYOffset){A.getElementsByTagName("div")[0].style.margin=(window.pageYOffset+100)+"px auto 0"}else{A.getElementsByTagName("div")[0].style.margin=(document.body.scrollTop+100)+"px auto 0";B.left=document.body.scrollLeft;B.top=document.body.scrollTop}A.style.display="block";setOpacity(B,0);B.display="block";getTimer().add1(new Dimmer())}function showOutcomeDlg(){showDlg("dlg-actionOutcome")}function hideDlg(B,A){getEl(B).style.display="none";getTimer().add1(new Lighter(A))}function hideDlgURL(B,A){hideDlg(B,function(){location.href=A})}function registerListener(C,B,A){if(C.addEventListener){C.addEventListener(B,A,false)}else{if(C.attachEvent){C["e"+B+A]=A;C[B+A]=function(){C["e"+B+A](window.event)};C.attachEvent("on"+B,C[B+A])}}}function removeListener(C,B,A){if(C.removeEventListener){C.removeEventListener(B,A,false)}else{if(C.detachEvent){C.detachEvent("on"+B,C[B+A]);C[B+A]=null;C["e"+B+A]=null}}}function hpLinkSelect(){var A=getEl("dlg-homepage-link");if(A){A.select()}}function hpLinkInit(){var A=getEl("dlg-homepage-link");if(A){A.onfocus=A.onclick=A.onmouseup=function(){this.select()}}}function createRequest(){var A=null;if(typeof XMLHttpRequest!=="undefined"){A=new XMLHttpRequest()}if(!A){try{A=new ActiveXObject("Msxml2.XMLHTTP")}catch(B){try{A=new ActiveXObject("Microsoft.XMLHTTP")}catch(B){A=null}}}return A}function loadAsync(E,D,F,G,B){var C=createRequest();var A;if(C){A="/ajax/"+E+".jsp?action="+D;if(F){A=A+"&"+F}C.open("GET",A,true);C.onreadystatechange=function(){if(C.readyState===4){getEl(G).innerHTML=C.responseText;if(B){B()}}};C.send(null)}else{getEl(G).innerHTML="Laden fehlgeschlagen"}}