var copyright = "Copyright (c) 2010 TEC-IT Datenverarbeitung GmbH";
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(x, y) { window.scrollTo(x, y) } function ShowHelp(a, b) { var c = document.getElementById(b); var d = c.offsetWidth + 10; var e = 0; var f = 0; var g = 0; var h = 0; var i = 0; if (typeof document.documentElement != 'undefined' && typeof document.documentElement.clientWidth != 'undefined' && document.documentElement.clientWidth != 0) i = document.documentElement.clientWidth; else i = document.body.clientWidth; if ((a.clientX + d) > i) e = i - d; else e = a.clientX; if (e < 0) e = 0; f = a.clientY; g = GetScrollPosX(); h = GetScrollPosY(); e += g + 10; f += h + 10; c.style.left = e + 'px'; c.style.top = f + 'px'; c.style.visibility = 'visible' } function HideHelp(a) { document.getElementById(a).style.visibility = 'hidden' } function expand(a, b) { var c = document.getElementById(a); var d = a + '_img'; var e = document.getElementById(d); if (c.style.display == 'block' || b == 'none') { c.style.display = 'none'; e.src = 'images/dashplus.gif' } else { c.style.display = 'block'; e.src = 'images/dashminus.gif' } } function cursor(a) { var b = a + '_img'; var c = a + '_h2'; document.getElementById(c).style.cursor = 'hand'; document.getElementById(b).style.cursor = 'hand' } function updateLabel(a, b) { var c = (document.getElementById("TR_" + a)); if (b != '') { if (c) document.getElementById("TR_" + a).style.display = "block"; else document.getElementById(a).style.display = "block"; document.getElementById(a).innerHTML = b } else { if (c) document.getElementById("TR_" + a).style.display = "none"; else document.getElementById(a).style.display = "none" } } function Enable(a) { document.getElementById(a).disabled = false } function Disable(a) { document.getElementById(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 }
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 || _pnHtml.indexOf('<!-- OK -->') == -1) { 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()", 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 (err) { alert(message) } return false }