var copyright="Copyright (c) 2009 TEC-IT Datenverarbeitung GmbH # Use or modify this file ONLY according to TEC-IT’s Standard License Terms for Freeware #  See http://www.tec-it.com";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(a){if(typeof encodeURIComponent=='function'){return encodeURIComponent(a)}else{return escape(a)}}function ShowBookmark(a,b,c){if(_xmlHttp==null)_xmlHttp=GetXmlHttpObject();if(_xmlHttp==null||!document.getElementById)return false;_pn=document.getElementById(a+'_Panel');_bt=document.getElementById(a+'_Link');if(_pnHtml==null){b=b+"?url="+EncUri(location.href);b=b+"&title="+EncUri(document.title);b=b+"&language="+c;_xmlHttp.onreadystatechange=StateChanged;_xmlHttp.open("GET",b,true);_xmlHttp.send(null)}DisplayPanel(_pnHtml);SetHideTimer(false);return true}function StateChanged(){if(_xmlHttp.readyState==4){var a=_xmlHttp.responseText;if(a.indexOf('<!-- OK -->')==-1)a='<h3>Sorry, service not available...</h3>';DisplayPanel(a)}}function GetXmlHttpObject(){var a=null;try{a=new XMLHttpRequest()}catch(e){try{a=new ActiveXObject("Msxml2.XMLHTTP")}catch(e){try{a=new ActiveXObject("Microsoft.XMLHTTP")}catch(e){}}}return a}function DisplayPanel(a){if(_pn&&_pn.style){if(a!=null){_pnHtml=a;_pn.innerHTML=a}PositionPanel();_pn.style.width='250px';_pn.style.visibility='visible'}}function PositionPanel(){var a=PageWidth();_pnPX=FindPosX(_bt);_pnPY=FindPosY(_pn);if(a!=null&&_pnPX>0){if((_pnPX+_pnW)>a)_pnPX=a-_pnW;_pn.style.left=_pnPX+'px'}}function FindPosX(a){var b=0;if(a.offsetParent)while(1){b+=a.offsetLeft;if(!a.offsetParent)break;a=a.offsetParent}else if(a.x)b+=a.x;return b}function FindPosY(a){var b=0;if(a.offsetParent)while(1){b+=a.offsetTop;if(!a.offsetParent)break;a=a.offsetParent}else if(a.y)b+=a.y;return b}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(a){SetHideTimer(true)}function PanelMouseOver(a){SetHideTimer(false)}function SetHideTimer(a){if(a==true){if(_myTimer!=null)clearTimeout(_myTimer);_myTimer=setTimeout("HideBookmark()",1500)}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(err){alert(message)}return false}