function TbxCctI(){}TbxCctI.IntegrationWeb=function(){this.tbxsw=null;this.functionsToCallOnClose=new Array();this.mappingLayer=null;this.openCCT=function(g,c){var e=tbxF.u.gEl("tbxswo");e.style.width=tbxF.u.getDocumentWidth()+"px";e.style.height=tbxF.u.getDocumentHeight()+"px";if(this.tbxsw==null){this.tbxsw=document.getElementById("tbxsw")}this.tbxsw.className="tbxlayer";var d=document.getElementById("tbxsww");var b="http://tbx.t-online.de/cct/cct.do?c=oc2&cv=d5c&cap=web&domn=4901&sec=0&v=810&vr=67";if(c){b+="&m="+encodeURIComponent(c)}if(g){b+="&chn="+g}else{b+="&chn=web"}var j=window.location.protocol+"//"+window.location.host+"/scd/a/static/4901/parts/810/remote.html?";b=b+"&caller="+encodeURIComponent(j);d.innerHTML='<iframe id="tbxcctif" width="660" height="532" frameborder="0" scrolling="no" allowtransparency="true"></iframe>';var a=document.getElementById("tbxcctif");a.src=b;var i=tbxF.u.getWindowSize();var h=document.getElementById("tbxswi");h.style.left=(i.width/2)+tbxF.u.getScrollState().x-(+"660"/2)+"px";h.style.top=(i.height/2)+tbxF.u.getScrollState().y-(+"660"/2)+"px";var f=document.getElementById("tbxswif");f.style.height=e.style.height;f.style.width=e.style.width};this.closeCCT=function(){this.tbxsw.className="tbx_invis";for(var a=0;a<this.functionsToCallOnClose.length;a++){this.functionsToCallOnClose[a]()}}};var TbxF=function(){this.$A=Array.from=function(c){if(!c){return[]}if(c.toArray){return c.toArray()}else{var b=[];for(var a=0;a<c.length;a++){b.push(c[a])}return b}}};var tbxF=new TbxF();TbxF.U=function(){this.gEl=function(a){return document.getElementById?document.getElementById(a):null};this.findAbsElPos=function(a){var c=0;var b=0;if(a.offsetParent){c=a.offsetLeft;b=a.offsetTop;while(a=a.offsetParent){c+=a.offsetLeft;b+=a.offsetTop}}return{x:c,y:b}};this.findAbsElPosParentScroll=function(b){var g=b;var f=0;var c=0;if(b.offsetParent){f=b.offsetLeft;c=b.offsetTop;while(b=b.offsetParent){f+=b.offsetLeft;c+=b.offsetTop}}g=g.parentNode;while((g!=document)&&(g.tagName!="HTML")){var a=new CFRAMEWORK.BrowserDetectFull();if(!a.is_safari3up){if(g.style.borderLeftWidth){var d=g.style.borderLeftWidth.replace(/px/g,"");d=d.replace(/ /g,"");f+=parseInt(d)}if(g.style.borderTopWidth){var e=g.style.borderTopWidth.replace(/px/g,"");e=e.replace(/ /g,"");c+=parseInt(e)}}if((g.offsetHeight<g.scrollHeight)&&(g.scrollLeft!=0||g.scrollTop!=0)){f-=g.scrollLeft;c-=g.scrollTop;break}g=g.parentNode}return{x:f,y:c}};this.getScrollState=function(){var b,a;if(self.pageYOffset){b=self.pageXOffset;a=self.pageYOffset}else{if(document.documentElement&&document.documentElement.scrollTop){b=document.documentElement.scrollLeft;a=document.documentElement.scrollTop}else{if(document.body){b=document.body.scrollLeft;a=document.body.scrollTop}}}return{x:b,y:a}};this.getDocumentWidth=function(){return(document.documentElement&&document.documentElement.scrollWidth)||document.body.scrollWidth};this.getDocumentHeight=function(){var a=document;return Math.max(Math.max(a.body.scrollHeight,a.documentElement.scrollHeight),Math.max(a.body.offsetHeight,a.documentElement.offsetHeight),Math.max(a.body.clientHeight,a.documentElement.clientHeight))};this.getWindowSize=function(){var a=0;var b=0;if(!window.innerWidth){if(!(document.documentElement.clientWidth==0)){a=document.documentElement.clientWidth;b=document.documentElement.clientHeight}else{a=document.body.clientWidth;b=document.body.clientHeight}}else{a=window.innerWidth;b=window.innerHeight}return{width:a,height:b}};this._currentTimeouts=new Object()};TbxF.prototype.u=new TbxF.U();Function.prototype.bind=function(){var a=this,c=tbxF.$A(arguments),b=c.shift();return function(d){if(d&&d=="06982901167MaGiCBiNd"){return b}if((typeof(a)!="undefined")&&(typeof(c)!="undefined")&&(typeof(tbxF)!="undefined")){return a.apply(b,c.concat(tbxF.$A(arguments)))}return null}};
