var manager; var shadow=!((navigator.userAgent.indexOf("MSIE 5")>0)||(navigator.userAgent.indexOf("MSIE 6")>0)); function $(id){ return document.getElementById(id); } function $E(_2,_3){ var el=document.createElement(_2); if(_3){ if(typeof _3=="string"){ el.appendChild($T(_3)); }else{ el.appendChild(_3); } } return el; } function $T(_5){ return document.createTextNode(_5); } function $C(_6,_7){ return _6.getElementsByTagName(_7); } function getHTTPObject(){ if(typeof XMLHttpRequest!="undefined"){ return new XMLHttpRequest(); } try{ return new ActiveXObject("Msxml2.XMLHTTP"); } catch(e){ try{ return new ActiveXObject("Microsoft.XMLHTTP"); } catch(e){ } } return false; } function fetchData(_8,_9,_a,_b){ var _c=getHTTPObject(); var _d=(_9)?"POST":"GET"; _c.open(_d,_8,true); _c.setRequestHeader("Content-Type","application/x-www-form-urlencoded"); _c.onreadystatechange=function(){ if(_c.readyState==4){ var _e; try{ if(_c.status==200){ var _f=_c.responseText; delete (_c); if(typeof _f!="string"||_f==""){ throw new Error("Leere Antwort"); } try{ _e=eval("("+_f+")"); } catch(e){ throw new Error("Fehlerhaftes JSON: "+_f); } }else{ throw new Error("HTTP-Fehler "+_c.status+": "+_c.responseText); } } catch(e){ if(typeof _b=="function"){ _b(e.message); } return; } _a(_e); } }; _c.send(_9); return _c; } function findPos(obj,_11){ var _12=0; var _13=0; if(obj.offsetParent){ _12=obj.offsetLeft; _13=obj.offsetTop; while((obj=obj.offsetParent)&&(!_11||obj.style.position!="absolute")){ _12+=obj.offsetLeft; _13+=obj.offsetTop; } } return [_12,_13]; } function inputInsertText(_14,_15){ if(typeof _14=="string"){ _14=$(_14); } _14.focus(); if(typeof _14.selectionStart!="undefined"){ var _16=_14.selectionStart; var end=_14.selectionEnd; _14.value=_14.value.substr(0,_16)+_15+_14.value.substr(end); var pos=_16+_15.length; _14.selectionStart=pos; _14.selectionEnd=pos; }else{ if(typeof document.selection!="undefined"){ var _19=document.selection.createRange(); _19.text=_15; _19.select(); }else{ _14.value+=_15; } } } function inputSurroundText(_1a,pre,_1c){ if(typeof _1a=="string"){ _1a=$(_1a); } _1a.focus(); if(typeof _1a.selectionStart!="undefined"){ var _1d=_1a.scrollTop; var _1e=_1a.selectionStart; var end=_1a.selectionEnd; var _20=_1a.value.substring(_1e,end); var pos=end+pre.length; pos+=(_20.length>0)?_1c.length:0; while(_20&&_20.charAt(0)==" "){ _20=_20.substr(1,_20.length-1); pre=" "+pre; } while(_20&&_20.charAt(_20.length-1)==" "){ _20=_20.substr(0,_20.length-1); _1c+=" "; } _1a.value=_1a.value.substr(0,_1e)+pre+_20+_1c+_1a.value.substr(end); _1a.selectionStart=pos; _1a.selectionEnd=pos; _1a.scrollTop=_1d; }else{ if(typeof document.selection!="undefined"){ var _22=document.selection.createRange(); var _20=_22.text; while(_20&&_20.charAt(0)==" "){ _20=_20.substr(1,_20.length-1); pre=" "+pre; } while(_20&&_20.charAt(_20.length-1)==" "){ _20=_20.substr(0,_20.length-1); _1c+=" "; } _22.text=pre+_20+_1c; _22=document.selection.createRange(); if(_20.length==0){ _22.move("character",-_1c.length); }else{ _22.moveStart("character",pre.length+_20.length+_1c.length); } _22.select(); }else{ _1a.value+=pre+_1c; } } } function changeFold(_23,_24){ var _25=$(_23+"Fold"); if(!_25){ return; } if(typeof _24=="undefined"){ _24=(_25.className=="faFoldClosed"); } $(_23).style.display=(_24)?"block":"none"; _25.className="faFold"+((_24)?"Open":"Closed"); if(typeof mapResize=="function"){ mapResize(); } } function setCheckState(_26,_27,_28){ if(!_28){ _28=false; } var _29=_26.getElementsByTagName("input"); for(var i=0;i<_29.length;i++){ if(_29[i].type=="checkbox"){ _29[i].checked=_27; _29[i].disabled=_28; } } } function getSelected(_2b){ var _2c=""; var _2d=_2b.getElementsByTagName("input"); for(var i=0;i<_2d.length;i++){ if(_2d[i].type=="checkbox"&&_2d[i].checked){ _2c+="&"+_2d[i].name+"="+_2d[i].value; } } return encodeURI(_2c); } function createShadow(_2f){ _2f.shadowNode=$E("div"); _2f.shadowNode.className="windowShadow"; with(_2f.shadowNode.style){ display="block"; position="absolute"; var w=_2f.offsetWidth+16; var h=_2f.offsetHeight+16; width=w+"px"; height=h+"px"; var pos=findPos(_2f); top=pos[1]-2+"px"; left=pos[0]-2+"px"; _2f.shadowNode.innerHTML="<div class=\"tr\"></div><div class=\"r\" style=\"height:"+(h-40)+"px\"></div><div class=\"br\"></div><div class=\"bl\"></div><div class=\"b\" style=\"width:"+(w-40)+"px\"></div>"; } } function faNav(nav){ var _34=new Object(); var _35=$C(nav,"ul"); var _36=function(e){ var lvl=this.lvl; if(_34[lvl]){ if(_34[lvl].fade){ window.clearTimeout(_34[lvl].fade); _34[lvl].fade=null; } if(_34[lvl]==this.subNav){ return; } _39(lvl); } var _3a=this.subNav; if(!_3a){ return; } var pos=findPos(this,true); with(_3a.style){ position="absolute"; left=pos[0]-5+this.offsetWidth+"px"; top=pos[1]-6+"px"; display="block"; } if(shadow){ createShadow(_3a); $("windows").appendChild(_3a.shadowNode); } _34[lvl]=_3a; }; var _39=function(lvl){ if(!_34[lvl]){ return; } _34[lvl].style.display="none"; if(shadow){ $("windows").removeChild(_34[lvl].shadowNode); _34[lvl].shadowNode=null; } _34[lvl]=null; }; var _3d=function(e){ var _3f=this; var lvl=_3f.lvl; if(!_34[lvl]){ return; } if(!e){ e=window.event; } var _41=(e.relatedTarget)?e.relatedTarget:e.toElement; while(_41&&_41!=_3f&&_41.nodeName!="BODY"){ _41=_41.parentNode; } if(_41==_3f){ return; } var _42=function(){ _39(lvl); }; _34[lvl].fade=window.setTimeout(_42,200); }; for(var i=0;i<_35.length;i++){ _35[i].style.display="none"; var _44=0; var p=_35[i].parentNode; while(p!=nav){ p=p.parentNode; _44++; } p=_35[i].parentNode; p.lvl=_44; p.subNav=_35[i]; p.onmouseover=_36; p.onmouseout=_3d; } } function dynamicTable(_46,_47){ if(!_47){ _47=1; } var _48; var trs; var _4a=0; var _4b=0; var _4c=function(){ _46=$(_46); _4b=_46.offsetLeft; trs=$C(_46,"tr"); var row=-1; _48=new Array(_47); for(var i=0;i<trs.length;i++){ if(++row>=_47){ row=0; } if(typeof _48[row]=="undefined"){ _48[row]=new Array(); } var tds=$C(trs[i],"td"); for(var j=0;j<tds.length;j++){ _4a=Math.max(_4a,tds[j].offsetWidth); _48[row].push(tds[j]); } } _46=$C(_46,"tbody")[0]; _51(); }; var _51=function(){ var _52=0; if(window.innerWidth){ _52=window.innerWidth; }else{ if(document.documentElement&&document.documentElement.clientWidth){ _52=document.documentElement.clientWidth; }else{ if(document.body){ _52=document.body.clientWidth; } } } var _53=Math.max(1,Math.floor((_52-_4b)/_4a)); var _54=0; var tr=new Array(_47); for(var i=0;i<_48[0].length;i++){ if((i%_53)==0){ for(var j=0;j<_47;j++){ if(_54>=trs.length){ tr[j]=_46.appendChild(document.createElement("tr")); _54++; }else{ tr[j]=trs[_54++]; } } } for(var j=0;j<_47;j++){ tr[j].appendChild(_48[j][i]); } } while(_54<trs.length){ _46.removeChild(trs[_54++]); } }; window.onresize=_51; window.onload=_4c; }  
