var domain="kaduro";var client_id=1;function allLoad(){frameBuster();controllHrefTarget()}function allUnload(){}function frameBuster(){if(window.top!=window){window.top.location=window.location}}function isOnline(){if(getLocationHref().indexOf("http://")!=-1){return true}else{return false}}function getLocationHref(){return window.location.href}function searchAndReplace(C,D,A){if((C==null)||(D==null)){return null}if((C.length==0)||(D.length==0)){return C}if((A==null)||(A.length==0)){A=""}var E=D.length;var B=A.length;var F=C.indexOf(D,0);while(F>=0){C=C.substring(0,F)+A+C.substring(F+E);F=C.indexOf(D,F+B)}return C}function outputMailToLink(D,F,E,G){var B="mailto:";var C=domain+".de";var A="&#0064;";if(!D){D="info"}document.write('<a href="'+B+D+A+C+'"');if(E){document.write(' class="'+E+'"')}if(G){document.write(' id="'+G+'"')}document.write(' title="Email an: '+D+A+C+'">');if(!F){document.write(D+A+C)}else{document.write(F)}document.write("</a>")}function controllHrefTarget(D){if(!D){var D=false}var C=document.getElementsByTagName("a");var E;var A=window.location.href;for(var B=0;B<C.length;B++){E=C[B].getAttribute("href");if(isOnline()&&startsWithHTTP(E)&&!haveSameDomain(A,E)){C[B].setAttribute("onclick","openNewWindow('"+E+"','_blank');return false");C[B].setAttribute("title","Dieser Link verweist auf eine externe Seite und wird in einem neuen Fenster geöffnet");if(C[B].firstChild.nodeName!="IMG"){C[B].className="externalLink "+C[B].className}}else{if(!isOnline()&&startsWithHTTP(E)){C[B].setAttribute("onclick","openNewWindow('"+E+"','_blank');return false");C[B].setAttribute("title","Dieser Link verweist auf eine externe Seite und wird in einem neuen Fenster geöffnet");if(C[B].firstChild.nodeName!="IMG"){C[B].className="externalLink "+C[B].className}}else{if(D&&(E.indexOf("mailto:")<0&&E.indexOf("javascript:")<0&&getActualCSS()!="default")){C[B].setAttribute("onclick",E+"?"+getActualCSS()+";return false")}}}}}function startsWithHTTP(A){return(A.indexOf("http://")>-1)}function openNewWindow(A,B,C){if(!B){B="neu"}if(!C){C=""}zFenster=window.open(A,B,C);zFenster.opener=self;zFenster.focus()}function haveSameDomain(B,A){return(getDomain(B)==getDomain(A))}function getDomain(B){var A=B.split("/");return A[2]}function base64_encode(C){var F="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";var B;var E;var A=0;var D="";while(C.length>=A+3){B=(C.charCodeAt(A++)&255)<<16|(C.charCodeAt(A++)&255)<<8|C.charCodeAt(A++)&255;D+=F.charAt((B&16515072)>>18)+F.charAt((B&258048)>>12)+F.charAt((B&4032)>>6)+F.charAt((B&63))}if(C.length-A>0&&C.length-A<3){E=Boolean(C.length-A-1);B=((C.charCodeAt(A++)&255)<<16)|(E?(C.charCodeAt(A)&255)<<8:0);D+=F.charAt((B&16515072)>>18)+F.charAt((B&258048)>>12)+(E?F.charAt((B&4032)>>6):"=")+"="}return(D)}function webbug(B){var A=window.screen.width+"x"+window.screen.height+"x"+window.screen.colorDepth+"bit";if(!B){B=client_id}if(isOnline()){document.write('<img src="http://www.kaduro.de/image.php?client_id='+B+"&document_url="+base64_encode(document.URL)+"&referer="+base64_encode(document.referrer)+"&add_data[]=resolution::"+A+'" alt="" width="1" height="1" />')}};
