if(!document.getElementById&&document.all){document.getElementById=function(A){return document.all[A]}}function geber_lib_activateLibrary(A){geber_lib_detectBasePath(A)}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}var geber_lib_pageBaseURL="/";function geber_lib_getBaseURLPath(){if(geber_lib_pageBaseURL){return geber_lib_pageBaseURL}else{return"/"}}function geber_lib_detectBasePath(A){if(!A){return }A=String(A).replace(new RegExp("^/(de|en|fr|it|es)/20[0-9][0-9]/(qb/[1-3]|zb/[1-3]|z/[1-3]|gb|ar|ir/[1-3]|q[1-3])/"),"/");A=String(A).replace(new RegExp("^/(de|en|fr|it|es)/"),"/");var B=String(window.location.pathname).replace(/\\/g,"/");var C=B.indexOf(A);if(window.location.protocol.match(/file/i)&&(navigator.userAgent.match(/Windows|Win(NT|95|98|XP|16|32)/i)||navigator.platform.match(/Windows|Win(NT|95|98|XP|16|32)/i))&&B.substr(0,1)=="/"&&B.length>1){B=B.substr(1)}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.substr(geber_lib_pageBaseURL.length-1,1)=="/"&&geber_lib_pageBaseURL.length>1){geber_lib_pageBaseURL=geber_lib_pageBaseURL.substring(0,geber_lib_pageBaseURL.length-1)}if(geber_lib_pageBaseURL==""){geber_lib_pageBaseURL="/"}if(window.location.protocol.match(/file/i)&&(navigator.userAgent.match(/Windows|Win(NT|95|98|XP|16|32)/i)||navigator.platform.match(/Windows|Win(NT|95|98|XP|16|32)/i))&&geber_lib_pageBaseURL.length>1){geber_lib_pageBaseURL=window.location.protocol+"///"+geber_lib_pageBaseURL}else{if(window.location.protocol.match(/file/i)&&geber_lib_pageBaseURL.length>1){geber_lib_pageBaseURL=window.location.protocol+"//"+geber_lib_pageBaseURL}}}function onSubmitSearch(C){if(window.location.href.match(/iedit.geber.at/)){return false}var A=700;var E=430;var G=navigator.userAgent.match(/Windows NT ([5-9]).([0-9])/);if(navigator.userAgent.match(/ MSIE/)&&G&&G[2]&&G[1]&&((G[2]>=1)||(G[2]>5))){E=E+20}if(C){try{var F="searchresultpopup"+String(Math.round(Math.random()*99999));try{C.target=F}catch(B){}if(C.target.charAt(0)!="_"){var D=window.open("",C.target,"resizable=yes, status=no, toolbar=no, scrollbars, width="+A+", height="+E);D.resizeTo(A,E);D.focus()}}catch(H){}}return false}var operabar=(window.opera?"=yes":"");function sendPopUp(C){var A=640;var B=405;return PopUpOpenWindow(C,"popup","resizable=yes, status=no, toolbar=no, scrollbars"+operabar,A,B)}function printPopUp(D){var A=626;var C=560;var B="";if(window.opera){B="=yes"}return PopUpOpenWindow(D,"popup","resizable=yes, status=no, toolbar=no, scrollbars"+B,A,C)}function resizePrintPopUp(){var A=626;var C=560;try{var B=geber_getBrowser();C=C+B.extraStatusBarHeight}catch(E){var D=navigator.userAgent.match(/Windows NT ([5-9]).([0-9])/);if(navigator.userAgent.match(/firefox/i)||D&&D[2]&&D[1]&&((D[2]>=1)||(D[2]>5))){if(navigator.userAgent.match(/ MSIE/)){C=C+20}else{C=C+15}}}if(opener){window.resizeTo(A,C)}}function glossaryPopUp(C){var B=350;var A=450;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 popUp(I,C,K,F,H,D,B){var J="";var E=(H=="ja")?"yes":"no";var A=(D=="ja")?"yes":"no";var G=(F=="ja")?"yes":"no";J+=",resizable="+G;J+=",scrollbars="+A;J+=",toolbar="+E;J+=",menubar="+E;J+=",status="+E;J+=",directories=no";J+=",copyhistory=no";J+=",location=no";return PopUpOpenWindow(I,B,J,K,C)}function PopUpOpenWindow(I,C,D,H,E){var B;try{var F=geber_getBrowser();E=E+F.extraStatusBarHeight}catch(G){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/)){E=E+20}else{E=E+15}}}if(!I.match(/^(https?|file|ftp):\/\//i)&&typeof (geberPopUpBaseURL)=="string"&&geberPopUpBaseURL!=null&&geberPopUpBaseURL.length>0){I=geberPopUpBaseURL+"/"+I}if(!D){D=""}try{B=window.open(I,C,D+",width="+H+",height="+E)}catch(G){return false}try{B.resizeTo(H,E)}catch(G){}try{B.focus()}catch(G){}return true}function geber_preLoadGWSImage(A){window.setTimeout("geber_doPreLoadGWSImage(true)",200)}function geber_doPreLoadGWSImage(D){if(String(window.location.hostname).match(/iedit.geber.at/)||String(window.location.protocol).match(/file/)){return }var C=window.location;var A=document["referrer"]==null?"":document.referrer;if((A==""||A.length<=0)&&(opener)){try{A=opener.location}catch(B){}}geber_doGWSImage(C,A)}function geber_gwsPrepareDownload(A,E){try{if(E){var D=E.protocol+"//"+E.host;var B=E.pathname.replace(/downloads?\.php[3-9]?\?file=/,"");if(B.substr(0,1)!="/"){D+="/"}D+=B+E.search+E.hash;E.href=String(D)}}catch(C){}window.setTimeout("geber_doGWSDownloadFile('"+A+"')",200)}function geber_doGWSDownloadFile(B){var C=geber_lib_getBaseURLPath();if(C=="/"){C=""}C+=B;if(!C.match(/^file:/)){C=window.location.protocol+"//"+window.location.host+C}var A=window.location;geber_doGWSImage(C,A)}function geber_doGWSImage(B,D){var E=escape(B);var D=D?escape(D):"";var C="http://gws.geber.at/wincor/gws.gif?js=1&ref="+D+"&pg="+E;C+="&screen="+screen.width+"x"+screen.height+"&rep=wincor-GB2006-07";var A=new Image();A.src=C}function geber_table_handlemouseover(A){geber_table_addclassname(A,"highlightmouseover")}function geber_table_handlemouseout(A){geber_table_removeclassname(A,"highlightmouseover")}function geber_table_handlemouseclick(A){if(A==null){return }if(A.className==null||A.className==""||A.className.indexOf("highlightclick")<0){geber_table_addclassname(A,"highlightclick")}else{geber_table_removeclassname(A,"highlightclick")}}function geber_table_addclassname(B,A){if(B==null||A==null||typeof (A)!="string"||A==""){return }try{if(B.className==null||B.className==""){B.className=A}else{if(B.className.length<A.length||(B.className!=A&&B.className.indexOf(" "+A+" ")<0&&B.className.substr(B.className.length-A.length-1)!=" "+A&&B.className.substring(0,A.length+1)!=A+" ")){B.className+=" "+A}}}catch(C){alert(C)}}function geber_table_removeclassname(B,A){if(B==null||A==null||typeof (A)!="string"||A==""){return }try{if(B.className==A){B.className=""}else{if(B.className!=null&&B.className!=""&&B.className.length>A.length){var D=B.className.indexOf(" "+A+" ");if(D>=0){B.className=B.className.substring(0,D+1)+B.className.substr(D+1+A.length+1)}else{if(B.className.substr(B.className.length-A.length-1)==" "+A){B.className=B.className.substr(0,B.className.length-A.length-1)}else{if(B.className.substring(0,A.length+1)==A+" "){B.className=B.className.substr(A.length+1)}}}}}}catch(C){alert(C)}}function geber_perfomOnLoad(){try{tt_RegisterEventHandlers()}catch(A){}}geber_lib_addLoadEvent(geber_perfomOnLoad)
