function geber_lib_activateLibrary(a){geber_lib_detectBasePath(a);try{geber_subjects_addSubjectsParamToLinks()}catch(b){}}var geber_lib_onloadFuncArray;function geber_lib_addLoadEvent(a){if(document.all){try{attachEvent("onload",a);return}catch(b){}}else{window.addEventListener("load",a,true);return}if(geber_lib_onloadFuncArray==null){geber_lib_onloadFuncArray=new Array();var c=window.onload;window.onload=function(){for(var d=0;d<geber_lib_onloadFuncArray.length;d++){geber_lib_onloadFuncArray[d]()}}}geber_lib_onloadFuncArray[geber_lib_onloadFuncArray.length]=a}function geber_lib_stripTags(a){if(!a||(typeof a!="string")||(a.length<=0)){return""}a=a.replace(/<script.*<\/script[^>]*>/gi,"");a=a.replace(/<style.*<\/style[^>]*>/gi,"");a=a.replace(/<head.*<\/head[^>]*>/gi,"");a=a.replace(/<[^>]*>/gi,"");a=a.replace(/[^-\w+0-9a-z|"'\.]/gi,"");return a}function geber_lib_getQueryParameter(c){var b=window.location.search.toString();if(!b||(b.length<=0)){return""}if((c==null)||(typeof(c)!="string")||(c.length<=0)){c="q"}b=b.match(new RegExp("^.*[?&]"+c+"=(.*)$"));if(!b){return""}b=b[1];b=unescape(b);b=b.replace(/[\r\n\t]+/gi," ");var a=new RegExp("["+String.fromCharCode(0)+"-"+String.fromCharCode(31)+String.fromCharCode(96)+"]","gi");b=b.replace(a,"");a=new RegExp(String.fromCharCode(160)+"+","gi");b=b.replace(a," ");b=b.replace(/&(amp;)?([^;]*=.*)?$/gi,"");if(b.match(/<.?(script|style)/gi)){return""}b=geber_lib_stripTags(b);b=b.replace(/[^-_:;,a-zA-Z0-9\/\.=]/gi,"");return b}function geber_lib_writeDocument(a){document.write(a)}var geber_lib_pageBaseURL="/";function geber_lib_getBaseURLPath(){if(geber_lib_pageBaseURL){return geber_lib_pageBaseURL}else{return"/"}}function geber_lib_redirectToPath(b){if(!b||typeof(b)!="string"||b.length<=0){return false}var a=geber_lib_getBaseURLPath();if(!a||typeof(a)!="string"||a.length<=0){return false}var c="";if(b.substring(0,3)=="../"){a=window.location.pathname;while(b.substring(0,3)=="../"){a=geber_lib_dirname(a);b=b.substr(3)}if(!a||a.length<=0){a=""}c=a+"/"+b}if(b.substring(0,1)=="/"&&a.substring(a.length-1,a.length)=="/"){c=a.substring(0,a.length-1)+b}else{c=a+b}if(c&&c.length>0){window.location.href=c;return true}return false}function geber_lib_detectBasePath(a){if(!a){return}a=String(a).replace(new RegExp("^/(de|en|fr|it|es)/"),"/");var b=String(window.location.pathname);var c=b.indexOf(a);if(c<0){c=b.indexOf("/serviceseiten/suche")}if(c<0){c=b.indexOf("/servicepages/search")}if(c<0){c=b.indexOf("/servicepages")}if(c<0){c=b.indexOf("/serviceseiten")}if(c>=0){geber_lib_pageBaseURL=b.substring(0,c)}else{geber_lib_pageBaseURL="/"}if(geber_lib_pageBaseURL==""){geber_lib_pageBaseURL="/"}}function geber_lib_dirname(c){if(!c){return c}c=String(c);if(c.length<=0){return c}var b="/";if(String(window.location.protocol).match(/file/i)&&navigator.platform.match(/Win/i)&&navigator.userAgent.match(/MSIE/)){b="\\"}var a=c.lastIndexOf(b);if(a&&(a>=0)){return c.substring(0,a)}else{return c}}function setHasValidSubjectMenu(a){}function removeClassName(c,b){if(!c||!b||(typeof(b)!="string")||!c.className){return}var a=c.className.indexOf(b);if(a==0){c.className=c.className.substr(b.length)}else{if(a>0){c.className=c.className.substring(0,a)+c.className.substr(b.length)}}try{c.className=c.className.replace(/\s+/," ").trim()}catch(d){}}function addClassName(b,a){if(!b||!a||(typeof(a)!="string")||!b.className){return}b.className+=" "+a;try{b.className=b.className.replace(/\s+/," ").trim()}catch(c){}}function glossary_Resize(a){}function glossary_addLinkBackButton(){}function print_setImg(){var b=document.getElementById("mainbar");if(b==null){b=document.getElementById("printbar")}if(b==null){return true}for(var c=0;c<b.getElementsByTagName("img").length;c++){if(document.formular.setImg[0].checked){b.getElementsByTagName("img")[c].style.display="inline"}if(document.formular.setImg[1].checked){b.getElementsByTagName("img")[c].style.display="none"}}return false}function print_hideLinks(){try{resizePrintPopUp()}catch(a){}}function geber_changeWelcomeImage(d,c,b){try{geber_welcomePageImageMouseOver(d,c,b)}catch(a){}return false}function openInParent(a){if(a&&window.opener){window.opener.location.href=a;return false}return true}function geber_keywordsChange(b,a){if(!b||!a){return false}a=a.replace(new RegExp(".html?"),"");if(!a.match(/^(https?|file|ftp):\/\//i)&&typeof(geberPopUpBaseURL)=="string"&&geberPopUpBaseURL!=null&&geberPopUpBaseURL.length>0){a=geberPopUpBaseURL+"/"+a}if(b.options[b.selectedIndex].value!=""){document.location.href=a+"/"+b.options[b.selectedIndex].value+".html"}}var xpSizePlus=20;var operabar=(window.opera?"=yes":"");function popUp(c,a,b,d){return PopUpOpenWindow(c,"sitemapPopUp","resizable=yes, status=no, toolbar=no, scrollbars"+operabar,a,b)}function sitemapPopUp(c){var b=550;var a=442;return PopUpOpenWindow(c,"sitemapPopUp","resizable=yes, status=no, toolbar=no, scrollbars"+operabar,a,b)}function fileLibraryPopUp(c){var b=300;var a=600;return PopUpOpenWindow(c,"fileLibrary","resizable=yes, status=no, toolbar=no, scrollbars"+operabar,a,b)}function sendPopUp(c){var a=460;var b=660;return PopUpOpenWindow(c,"popup","resizable=yes, status=no, toolbar=no, scrollbars"+operabar,a,b)}function printPopUp(c){var a=685;var b=500;return PopUpOpenWindow(c,"popup","resizable=yes, status=no, toolbar=no, scrollbars"+operabar,a,b)}function resizePrintPopUp(){var a=685;var b=500;if(navigator.userAgent.match(/MSIE/)&&navigator.userAgent.match(/NT\s*5.1/)){b=b+xpSizePlus}if(opener){window.resizeTo(a,b)}}function glossaryPopUp(c){var b=350;var a=500;return PopUpOpenWindow(c,"glossary","resizable=yes, status=no, toolbar=no, scrollbars"+operabar,a,b)}function tablePopUp(d,b){var a=(b&&!isNaN(b))?b:800;var c=500;return PopUpOpenWindow(d,"tablePopUp","scrollbars,resizable=yes,location=no,status=no,toolbar=no,",a,c)}function imagePopUp(c,a,b){a+=15;b+=32;return PopUpOpenWindow(c,"imagePopUp","resizable=yes,location=no,status=no,toolbar=no,",a,b)}function PopUpOpenWindow(k,c,d,j,f){var b;try{var g=geber_getBrowser();f=f+g.extraStatusBarHeight}catch(i){var a=navigator.userAgent.match(/Windows NT ([5-9]).([0-9])/);if(navigator.userAgent.match(/firefox/i)||a&&a[2]&&a[1]&&((a[2]>=1)||(a[2]>5))){if(navigator.userAgent.match(/ MSIE/)){f=f+20}else{f=f+15}}}if(!d){d=""}if(!k.match(/^(https?|file|ftp):\/\//i)&&typeof(geberPopUpBaseURL)=="string"&&geberPopUpBaseURL!=null&&geberPopUpBaseURL.length>0){k=geberPopUpBaseURL+"/"+k}try{b=window.open(k,c,d+",width="+j+",height="+f)}catch(i){return false}try{b.resizeTo(j,f)}catch(i){}try{b.focus()}catch(i){}return true}function geber_preLoadGWSImage(a){window.setTimeout("geber_doPreLoadGWSImage(true)",500)}function geber_doPreLoadGWSImage(g){if(String(window.location.hostname).match(/iedit.geber.at/)||String(window.location.protocol).match(/file/)){return}var f=escape(String(window.location.href));var c=document.referrer==null?"":document.referrer;if((typeof(c)=="undefined"||c==""||c.length<=0)&&(opener)){try{c=String(opener.location.href)}catch(d){}}if((typeof(c)=="undefined"||c==""||c.length<=0)&&(parent)){try{c=String(parent.location.href)}catch(d){}}c=escape(c);var b="http://gws.geber.at/linde/gws.gif?js=1&ref="+c+"&pg="+f;b+="&screen="+screen.width+"x"+screen.height;var a=new Image();a.src=b}function geber_perfomOnLoad(){try{tt_RegisterEventHandlers()}catch(a){}}geber_lib_addLoadEvent(geber_perfomOnLoad);