var copyright="Copyright (c) 2010 TEC-IT Datenverarbeitung GmbH";var isIE6=navigator.userAgent.toLowerCase().indexOf("msie 6")!=-1;function GetScrollPosX(){if(self.pageYOffset){return self.pageXOffset}if(document.documentElement&&document.documentElement.scrollTop){return document.documentElement.scrollLeft}if(document.body){return document.body.scrollLeft}return 0}function GetScrollPosY(){if(self.pageYOffset){return self.pageYOffset}if(document.documentElement&&document.documentElement.scrollTop){return document.documentElement.scrollTop}if(document.body){return document.body.scrollTop}return 0}function SetScrollPos(a,b){window.scrollTo(a,b)}function ShowHelp(e,i){var c=document.getElementById(i);var b=c.offsetWidth+10;var a=0;var f=0;var d=0;var h=0;var g=0;if(typeof document.documentElement!="undefined"&&typeof document.documentElement.clientWidth!="undefined"&&document.documentElement.clientWidth!=0){g=document.documentElement.clientWidth}else{g=document.body.clientWidth}if((e.clientX+b)>g){a=g-b}else{a=e.clientX}if(a<0){a=0}f=e.clientY;d=GetScrollPosX();h=GetScrollPosY();a+=d+10;f+=h+10;c.style.left=a+"px";c.style.top=f+"px";c.style.visibility="visible"}function HideHelp(a){document.getElementById(a).style.visibility="hidden"}function GetElement(a){return document.getElementById(a)}function GetRow(a){return GetElement("TR_"+a)}function GetDiv(a){return GetElement("DIV_"+a)}function DispStyle(b,c){var a=GetElement(b);if(!a||a.id==""){a=GetRow(b)}if(!a||a.id==""){a=GetDiv(b)}if(a){a.style.display=c}}function Hide(a){DispStyle(a,"none")}function Show(a){if(isIE6){style=""}else{if(String(a).substring(0,3)=="TR_"||GetRow(a)){style="table-row"}else{style="block"}}DispStyle(a,style)}function Field(a){return document.getElementsByName("FORM_F_"+a)[0]}function FldContains(a,c){var b=Field(a);if(b){if(b.type=="select-one"){b=b[b.selectedIndex].value}else{if(b.type=="text"){b=b.value}}}if(b&&b.indexOf(c)!=-1){return true}return false}function expand(c,d){var a=GetElement(c);var b=GetElement(c+"_img");if(a.style.display=="block"||d=="none"){a.style.display="none";b.src="images/dashplus.gif"}else{a.style.display="block";b.src="images/dashminus.gif"}}function cursor(a){GetElement(a+"_h2").style.cursor="hand";GetElement(a+"_img").style.cursor="hand"}function updateLabel(b,c){var a=GetRow(b);if(c!=""){if(a){a.style.display="table-row"}else{DispStyle(b,"block")}GetElement(b).innerHTML=c}else{if(a){a.style.display="none"}else{Hide(b)}}}function Enable(a){GetElement(a).disabled=false}function Disable(a){GetElement(a).disabled=true}function AddScrollPos(a){if(!a||!a.href){return true}if(a.href.indexOf("?")==-1){a.href=a.href+"?"}a.href=a.href+"&scrollposx="+GetScrollPosX()+"&scrollposy="+GetScrollPosY();return true}function Event(){this.eventHandlers=new Array()}Event.prototype.addHandler=function(a){this.eventHandlers.push(a)};Event.prototype.raise=function(d,c,a){for(var b=0;b<this.eventHandlers.length;b++){this.eventHandlers[b](d,c,a)}};var _xmlHttp=null;var _bt=null;var _pn=null;var _pnPX=0;var _pnPY=0;var _pnW=252;var _pnHtml=null;var count=0;var _myTimer=null;function EncUri(b){if(typeof encodeURIComponent=="function"){return encodeURIComponent(b)}else{return escape(b)}}function ShowBookmark(d,e,f){if(_xmlHttp==null){_xmlHttp=GetXmlHttpObject()}if(_xmlHttp==null||!document.getElementById){return false}_pn=document.getElementById(d+"_Panel");_bt=document.getElementById(d+"_Link");if(_pnHtml==null||_pnHtml.indexOf("<!-- OK -->")==-1){e=e+"?url="+EncUri(location.href);e=e+"&title="+EncUri(document.title);e=e+"&language="+f;_xmlHttp.onreadystatechange=StateChanged;_xmlHttp.open("GET",e,true);_xmlHttp.send(null)}DisplayPanel(_pnHtml);SetHideTimer(false);return true}function StateChanged(){if(_xmlHttp.readyState==4){var b=_xmlHttp.responseText;if(b.indexOf("<!-- OK -->")==-1){b="<h3>Sorry, service not available...</h3>"}DisplayPanel(b)}}function GetXmlHttpObject(){var b=null;try{b=new XMLHttpRequest()}catch(c){try{b=new ActiveXObject("Msxml2.XMLHTTP")}catch(c){try{b=new ActiveXObject("Microsoft.XMLHTTP")}catch(c){}}}return b}function DisplayPanel(b){if(_pn&&_pn.style){if(b!=null){_pnHtml=b;_pn.innerHTML=b}PositionPanel();_pn.style.width="250px";_pn.style.visibility="visible"}}function PositionPanel(){var b=PageWidth();_pnPX=FindPosX(_bt);_pnPY=FindPosY(_pn);if(b!=null&&_pnPX>0){if((_pnPX+_pnW)>b){_pnPX=b-_pnW}_pn.style.left=_pnPX+"px"}}function FindPosX(c){var d=0;if(c.offsetParent){while(1){d+=c.offsetLeft;if(!c.offsetParent){break}c=c.offsetParent}}else{if(c.x){d+=c.x}}return d}function FindPosY(c){var d=0;if(c.offsetParent){while(1){d+=c.offsetTop;if(!c.offsetParent){break}c=c.offsetParent}}else{if(c.y){d+=c.y}}return d}function PageWidth(){if(window.innerWidth!=null){return window.innerWidth}else{if(document.documentElement&&document.documentElement.clientWidth){return document.documentElement.clientWidth}else{if(document.body!=null){return document.body.clientWidth}else{return null}}}}function PanelMouseOut(b){SetHideTimer(true)}function PanelMouseOver(b){SetHideTimer(false)}function SetHideTimer(b){if(b==true){if(_myTimer!=null){clearTimeout(_myTimer)}_myTimer=setTimeout("HideBookmark()",6600)}else{clearTimeout(_myTimer);_myTimer=null}}function HideBookmark(){_mouseOver=false;_pn.style.visibility="hidden";SetHideTimer(false)}function AddFavorite(){url=location.href;title=document.title;message="In order to bookmark this site you need to do so manually through your browser.";try{if(window.sidebar){alert("Press Ctrl-D to bookmark this page in your favorites.")}else{if(window.external&&document.all){window.external.AddFavorite(url,title)}else{if(window.opera&&window.print){alert("Press Ctrl-T to bookmark this page in your favorites.")}else{alert(message)}}}}catch(a){alert(message)}return false};
