function TbxF(){this.$A=Array.from=function(D){if(!D){return[]}if(D.toArray){return D.toArray()}else{var C=[];for(var B=0;B<D.length;B++){C.push(D[B])}return C}};var A=false;this.chkBrowsers=function(){if(!A){A=new Object();A.op=(window.opera)?true:false}return A}}tbxF=new TbxF();TbxF.Json=function(){this.serialize=function(obj){switch(getType(obj)){case"boolean":return this._serBoolean(obj);case"string":return this._serString(obj);case"number":return this._serNumber(obj);case"object":return this._serObject(obj);case"array":return this._serArray(obj);case"date":return this._serDate(obj);case"nullobject":return"null";case"undefined":case"function":case"unknown":default:break}};this._serBoolean=function(obj){return String(obj)};this._serArray=function(obj){var a=["["],b,s;for(var i=0;i<obj.length;i+=1){s=this.serialize(obj[i]);if(s){if(b){a.push(",")}a.push(s);b=true}}a.push("]");return a.join("")};this._serDate=function(obj){function d(n){return n<10?"0"+n:n}return'"'+obj.getFullYear()+"-"+d(obj.getMonth()+1)+"-"+d(obj.getDate())+"T"+d(obj.getHours())+":"+d(obj.getMinutes())+":"+d(obj.getSeconds())+'"'};this._serNumber=function(obj){return isFinite(obj)?String(obj):"null"};this._serObject=function(obj){var a=["{"],b,s;for(var i in obj){if(obj.hasOwnProperty(i)){s=this.serialize(obj[i]);if(s){if(b){a.push(",")}a.push();a.push(this.serialize(i),":",s);b=true}}}a.push("}");return a.join("")};this._serString=function(obj){var m={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};if(/["\\\x00-\x1f]/.test(obj)){return'"'+obj.replace(/([\x00-\x1f\\"])/g,function(a,b){var c=m[b];if(c){return c}c=b.charCodeAt();return"\\u00"+Math.floor(c/16).toString(16)+(c%16).toString(16)})+'"'}return'"'+obj+'"'};this.parse=function(str,filter){try{if(/^("(\\.|[^"\\\n\r])*?"|[,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t])+?$/.test(str)){var j=eval("("+str+")");if(typeof filter==="function"){function walk(k,v){if(v&&typeof v==="object"){for(var i in v){if(v.hasOwnProperty(i)){v[i]=walk(i,v[i])}}}return filter(k,v)}return walk("",j)}return j}}catch(e){}throw new SyntaxError("parseJSON")};function getType(obj){var t=typeof (obj);if(t==="object"){if(!obj){t="nullobject"}else{if(!(typeof (obj.push)==="undefined")){t="array"}else{if(!(typeof (obj.getDate)==="undefined")){t="date"}else{t="object"}}}}return t}};TbxF.prototype.json=new TbxF.Json();TbxF.BrowserDetectFull=function(){var o=navigator.userAgent.toLowerCase();var O=navigator.appVersion.toLowerCase();var e=parseFloat(O);var n=parseInt(e);var M=(o.indexOf("opera")!=-1);var j=(o.indexOf("opera 2")!=-1||o.indexOf("opera/2")!=-1);var h=(o.indexOf("opera 3")!=-1||o.indexOf("opera/3")!=-1);var f=(o.indexOf("opera 4")!=-1||o.indexOf("opera/4")!=-1);var d=(o.indexOf("opera 5")!=-1||o.indexOf("opera/5")!=-1);var c=(o.indexOf("opera 6")!=-1||o.indexOf("opera/6")!=-1);var b=(o.indexOf("opera 7")!=-1||o.indexOf("opera/7")!=-1);var a=(o.indexOf("opera 8")!=-1||o.indexOf("opera/8")!=-1);var L=(M&&!j&&!h&&!f&&!d&&!c);this.is_opera9up=(M&&!j&&!h&&!f&&!d&&!c&&!b&&!a);var P=(o.indexOf("mac")!=-1);var B=O.indexOf("msie");if(B!=-1){if(P){var B=o.indexOf("msie");e=parseFloat(o.substring(B+5,o.indexOf(";",B)))}else{e=parseFloat(O.substring(B+5,O.indexOf(";",B)))}n=parseInt(e)}var X=false;var Q=o.indexOf("konqueror");if(Q!=-1){X=true;e=parseFloat(o.substring(Q+10,o.indexOf(";",Q)));n=parseInt(e)}var H=((o.indexOf("safari")!=-1)&&(o.indexOf("mac")!=-1))?true:false;if(H){var I=o.indexOf("safari");e=parseFloat(o.substring(I-6,I-5))}var m=(H||X);var N=((!m)&&(navigator.product)&&(navigator.product.toLowerCase()=="gecko"))?true:false;var F=0;if(N){F=navigator.productSub}var K=((o.indexOf("mozilla/5")!=-1)&&(o.indexOf("spoofer")==-1)&&(o.indexOf("compatible")==-1)&&(o.indexOf("opera")==-1)&&(o.indexOf("webtv")==-1)&&(o.indexOf("hotjava")==-1)&&(N)&&(navigator.vendor=="Firebird"));this.is_fx=((o.indexOf("mozilla/5")!=-1)&&(o.indexOf("spoofer")==-1)&&(o.indexOf("compatible")==-1)&&(o.indexOf("opera")==-1)&&(o.indexOf("webtv")==-1)&&(o.indexOf("hotjava")==-1)&&(N)&&((navigator.vendor=="Firefox")||(o.indexOf("firefox")!=-1)));var Y=((o.indexOf("mozilla/5")!=-1)&&(o.indexOf("spoofer")==-1)&&(o.indexOf("compatible")==-1)&&(o.indexOf("opera")==-1)&&(o.indexOf("webtv")==-1)&&(o.indexOf("hotjava")==-1)&&(N)&&(!K)&&(!this.is_fx)&&((navigator.vendor=="")||(navigator.vendor=="Mozilla")||(navigator.vendor=="Debian")));if((Y)||(K)||(this.is_fx)){var W=(navigator.vendorSub)?navigator.vendorSub:0;if(this.is_fx&&!W){W=o.indexOf("firefox/");W=o.substring(W+8);W=parseFloat(W)}if(!(W)){W=o.indexOf("rv:");W=o.substring(W+3);is_paren=W.indexOf(")");W=W.substring(0,is_paren)}e=W;n=parseInt(W)}var G=((o.indexOf("mozilla")!=-1)&&(o.indexOf("spoofer")==-1)&&(o.indexOf("compatible")==-1)&&(o.indexOf("opera")==-1)&&(o.indexOf("webtv")==-1)&&(o.indexOf("hotjava")==-1)&&(!m)&&(!(Y))&&(!K)&&(!this.is_fx));if((navigator.vendor)&&((navigator.vendor=="Netscape6")||(navigator.vendor=="Netscape"))&&(G)){n=parseInt(navigator.vendorSub);e=parseFloat(navigator.vendorSub)}var V=(G&&(n==2));var U=(G&&(n==3));var T=(G&&(n==4));var R=(G&&n==6);var A=(G&&e>=6);var S=(G&&n==5&&!R);this.is_safari3up=(H&&e>=3);this.is_safari2=(H&&e==2);var J=((B!=-1)&&(!M)&&(!m));var E=(J&&(n<4));var D=(J&&n==4);var C=(J&&n==5);var k=(J&&e>=5);this.is_ie5_5up=(J&&e>=5.5);this.is_ie6up=(J&&e>=6);var l=(o.indexOf("hotjava")!=-1);var Z=(l&&(n>=3));var g;if(V||E){g=1}else{if(U){g=1.1}else{if((d)||(c)){g=1.3}else{if(L){g=1.5}else{if(m){g=1.5}else{if(M){g=1.1}else{if((T&&(e<=4.05))||D){g=1.2}else{if((T&&(e>4.05))||C){g=1.3}else{if(S&&!(R)){g=1.4}else{if(Z){g=1.4}else{if(A){g=1.5}else{if(G&&(n>5)){g=1.4}else{if(J&&(n>5)){g=1.3}else{if(Y){g=1.5}else{if(K||this.is_fx){g=1.5}else{g=0}}}}}}}}}}}}}}}if((o.indexOf("mac")!=-1)&&k){g=1.4}if(A){e=navigator.vendorSub}document.cookie="cookies=true"};TbxF.Doml=function(){this._onload=new Array();this._loaded=function(){if(arguments.callee.done){return }arguments.callee.done=true;for(i=0;i<tbxF.doml._onload.length;i++){tbxF.doml._onload[i]()}};this.addListener=function(D){this._onload.push(D);if(document.addEventListener){document.addEventListener("DOMContentLoaded",tbxF.doml._loaded,null)}else{if(/KHTML|WebKit/i.test(navigator.userAgent)){var B=setInterval(function(){if(/loaded|complete/.test(document.readyState)){clearInterval(B);delete B;tbxF.doml._loaded()}},10)}else{var C="src='javascript:void(0)'";if(location.protocol=="https:"){C="src=//:"}document.write("<script id=__ie_onload defer "+C+"><\/script>");var A=document.getElementById("__ie_onload");A.onreadystatechange=function(){if(this.readyState=="complete"){tbxF.doml._loaded()}}}}window.onload=tbxF.doml._loaded}};TbxF.prototype.doml=new TbxF.Doml();TbxF.U=function(){this.gEl=function(A){return document.getElementById?document.getElementById(A):null};this.gElT=function(B,A){try{var C=new Array();if(this.sEmpty(A)){return[]}C=B.getElementsByTagName(A);if(C.length>0){return C}else{return[]}}catch(D){return[]}};this.gFCEl=function(B){try{for(var A=0;A<B.childNodes.length;++A){if(B.childNodes.item(A).nodeType==1){return B.childNodes.item(A)}}return null}catch(C){return null}};this.gCEls=function(C){try{var A=new Array();for(var B=0;B<C.childNodes.length;++B){if(C.childNodes.item(B).nodeType==1){A.push(C.childNodes.item(B))}}return A}catch(D){return null}};this.gElCN=function(H,I,C){try{var G=(I=="*"&&H.all)?H.all:H.getElementsByTagName(I);var F=new Array();C=C.replace(/\-/g,"\\-");var B=new RegExp("(^|\\s)"+C+"(\\s|$)");var A;for(var D=0;D<G.length;D++){A=G[D];if(B.test(A.className)){F.push(A)}}return(F)}catch(E){return[]}};this.sEmpty=function(A){try{if(A==null||(A=="")||(A.replace(/^\s*(.*)\s*$/,"$1")=="")){return true}else{if(!A instanceof String){return true}else{return false}}}catch(B){return true}};this.$=function(){try{var C=new Array();for(var B=0;B<arguments.length;B++){var A=arguments[B];if(typeof A=="string"){A=document.getElementById(A)}if(arguments.length==1){if(A){return A}else{return null}}if(A){C.push(A)}else{}}return C}catch(D){return[]}};this.cel=function(C){var B=document.createElement(C.n);if(C.i){B.id=C.i}if(C.c){B.className=C.c}if(C.a){for(var A in C.a){B[A]=C.a[A]}}if(C.t){B.appendChild(document.createTextNode(C.t))}return B};this.ctn=function(A){return document.createTextNode(A)};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 TbxF.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=0;if(window.innerHeight&&window.scrollMaxY){A=window.innerHeight+window.scrollMaxY}else{if(document.body.scrollHeight){A=document.body.scrollHeight}else{if(document.documentElement.scrollHeight){A=document.documentElement.scrollHeight}}}return A};this._currentTimeouts=new Object();this.addTimeout=function(D,F,B,C,E){if(!E){var A=new Date();E=A.getTime()}if(!this._currentTimeouts[E]){this._currentTimeouts[E]={o:D,m:F,a:B,i:E};this._currentTimeouts[E].t=window.setTimeout("tbxF.u._timeoutHandler('"+E+"')",C);return E}else{}};this.removeTimeout=function(A){if(this._currentTimeouts[A]){if(this._currentTimeouts[A].t){window.clearTimeout(this._currentTimeouts[A].t)}this._currentTimeouts[A]=null}else{}};this._timeoutHandler=function(D){if(this._currentTimeouts[D]){var B=this._currentTimeouts[D].a;var C=this._currentTimeouts[D].o;var A=this._currentTimeouts[D].m;this.removeTimeout(D);if(B){A.apply(C,B)}else{A.apply(C)}}else{}}};TbxF.prototype.u=new TbxF.U();TbxF.LoggerBase=function(){this.exclude={"TbxF.U":true};this.l=false;this.levels={error:{l:1,t:"error"},info:{l:3,t:"info"},debug:{l:5,t:"debug"}};var A=5;this.setLogLevel=function(B){A=B.l};this.e=function(B){this._cl(this.levels.error,B,this.e.caller)};this.i=function(B){this._cl(this.levels.info,B,this.i.caller)};this.d=function(B){this._cl(this.levels.debug,B,this.d.caller)};this._cl=function(C,D,B){if(this.l&&A>=C.l){if(!B||!B.traceclassname||!this.exclude[B.traceclassname]){this._l(C,D,B)}}};this._l=function(C,D,B){}};TbxF.LoggerBase.prototype.tracefunc=function(C,G){try{if(G){this.tracefunc.caller.traceclassname=G}if(C){this.tracefunc.caller.tracefuncname=C}}catch(F){}if(false&&false){if(!G||G.toString()!="TbxF.LoggerBase.prototype.tracefunc"){var E=window.open("","LogConsole","height=300,width=600,scrollbars=yes,resizable=yes");var A=E.document;var D=A.getElementsByTagName("body")[0];var B=A.createElement("div");var H=(new Date).toLocaleTimeString();var I="TRACE: "+G+", "+C;B.appendChild(A.createTextNode(I));A.getElementById("logTo").appendChild(B);B.style.color="#000000";D.scrollTop=D.scrollHeight}}};TbxF.ConsoleLogger=function(){this.l=true;this.levels.error.c="red";this.levels.info.c="blue";this.levels.debug.c="#999999";var F=window.open("","LogConsole","height=300,width=600,scrollbars=yes,resizable=yes");var E;var D;var C;if(F){E=F.document;D=E.getElementsByTagName("body")[0];C=E.createElement("div");C.id="logTo";D.appendChild(C);var A=E.createElement("button");A.setAttribute("onclick","(document.getElementById('logTo')).innerHTML = '';");A.setAttribute("style","position: static; left: 500px; top: 0px;");A.appendChild(E.createTextNode("clear"));D.appendChild(A);var B=E.createElement("h3");B.appendChild(E.createTextNode("Logging initialized. ("+(new Date).toLocaleTimeString()+")"));C.appendChild(B)}this._l=function(I,M,H){if(C){var K=E.createElement("div");var G=(new Date).toLocaleTimeString();var L="";if(H&&H.tracefuncname){L="[";if(H.traceclassname&&H.traceclassname!="undefined"){L=L+H.traceclassname+"."}L=L+H.tracefuncname+"] "}var J="["+G+": "+I.t+"] "+L+M;K.appendChild(E.createTextNode(J));C.appendChild(K);K.style.color=I.c;D.scrollTop=D.scrollHeight}}};TbxF.ConsoleLogger.prototype=new TbxF.LoggerBase();TbxF.ConsoleLogger.prototype.constructor=TbxF.ConsoleLogger;TbxF.DummyLogger=function(){};TbxF.DummyLogger.prototype=new TbxF.LoggerBase();TbxF.DummyLogger.prototype.constructor=TbxF.DummyLogger;if(false){TbxF.prototype.log=new TbxF.ConsoleLogger()}else{TbxF.prototype.log=new TbxF.DummyLogger()}TbxF.EncUtils=function(){var B=/[0-9A-Za-z\-_.!~*\'(),\/?:@&=+$]/;var A=/[0-9A-Za-z\-_.!~*\'()]/;function C(F){var E=function(G){return G>9?String.fromCharCode(55+G):""+G};return"%"+E(Math.floor(F/16))+E(F%16)}function D(I,H){var E="";for(var F=0;F<I.length;++F){var G=I.charAt(F);if(G.search(H)!=-1){E=E+G}else{var J=I.charCodeAt(F);if(J<256){E=E+C(J)}}}return E}this.encURIAsc=function(E){return D(E,B)};this.encURICompAsc=function(E){return D(E,A)};this.decodeHTML=function(E){E=E.replace(/&amp;/g,"&");E=E.replace(/&lt;/g,"<");return E.replace(/&gt;/g,">")}};TbxF.prototype.encUtils=new TbxF.EncUtils();TbxF.RETURNOBJECT="06982901167MaGiCBiNd";Function.prototype.bind=function(){var A=this,C=tbxF.$A(arguments),B=C.shift();return function(D){if(D&&D=="06982901167MaGiCBiNd"){return B}return A.apply(B,C.concat(tbxF.$A(arguments)))}};TbxF.EvHan=function(C,A,B){this.obj=C;this.methodName=A;this.targetElement=B;this.handle=function(D){D=D?D:window.event;if(D&&typeof (D.target)=="undefined"){D.target=D.srcElement}if(this.obj&&this.obj[this.methodName]){return this.obj[this.methodName](D,this.targetElement)}else{return function(){}}}};TbxF.EvUtils=function(){this.movedOut=function(C,A){if(tbxF.chkBrowsers().op){if(A.contains(C.toElement)){return false}else{if(!C.toElement.tagName){return true}if(C.toElement.tagName.toLowerCase()=="body"){return false}else{return true}}}else{var D=C.relatedTarget||C.toElement;if(D){try{while(D&&D!=A&&D.nodeName!="BODY"&&D.nodeName!="HTML"){D=D.parentNode}if(D==A){return false}}catch(B){return false}return true}return false}};this.movedIn=function(C,A){var D=C.relatedTarget||C.fromElement;if(D){try{while(D&&D!=A&&D.nodeName!="BODY"&&D.nodeName!="HTML"){D=D.parentNode}if(D==A){return false}}catch(B){return false}return true}return false}};TbxF.prototype.evUtils=new TbxF.EvUtils();TbxF.C=function(){this.sc=function(C,E,A,G,D,F){if(A){var H=new Date();H.setTime(H.getTime()+(parseInt(A)*1000*60));A=H.toGMTString()}var B=encodeURIComponent(C)+"="+encodeURIComponent(E)+((A)?";expires="+A:"")+((G)?";path="+G:"")+((D)?";domain="+D:"")+((F)?";secure":"");document.cookie=B};this.gc=function(A){var B=new RegExp(encodeURIComponent(A)+"=([^;]+)");if(B.test(document.cookie+";")){B.exec(document.cookie+";");return decodeURIComponent(RegExp.$1)}else{return false}};this.dc=function(A,D,B,C){if(this.gc(A)){this.sc(A,"Pending delete",-1000,D,B,C)}};this.tsc=function(){document.cookie="testSessionCookie=Enabled";if(this.gc("testSessionCookie")=="Enabled"){return true}else{return false}};this.tpc=function(){this.sc("testPersistentCookie","Enabled",1);if(this.gc("testPersistentCookie")=="Enabled"){return true}else{return false}}};TbxF.prototype.c=new TbxF.C();TbxF.Frm=function(){this.serialize=function(D){try{var E=this.getElements(tbxF.u.$(D));var C=new Array();for(var B=0;B<E.length;B++){var A=tbxF.frmEl.serialize(E[B]);if(A&&A!=""){C.push(A)}}return C}catch(F){return[]}};this.encodeURLSubmit=function(A){return this._serializeURLForSubmit(A,tbxF.encUtils.encURICompAsc)};this.notEncodeURLSubmit=function(A){return this._serializeURLForSubmit(A,function(B){return B})};this._serializeURLForSubmit=function(F,B){try{var E=this.serialize(F);var G=new Array();for(var D=0;D<E.length;D++){var C=E[D][0][0]+"="+B(E[D][0][1]);G.push(C)}if(F.action){var A=F.action}else{return""}if(G.length>0){if(A.indexOf("?")==-1){A=A+"?"}A=A+G.join("&")}return A}catch(H){return""}};this.getElements=function(D){try{D=tbxF.u.$(D);var E=new Array();for(var C=0;C<tbxF.frmEl.tagNames.length;C++){var B=tbxF.frmEl.tagNames[C];var G=tbxF.u.gElT(D,B);for(var A=0;A<G.length;A++){E.push(G[A])}}if(E.length>0){return E}else{return[]}}catch(F){return[]}}};TbxF.prototype.frm=new TbxF.Frm();TbxF.FrmEl=function(){this.serialize=function(D){try{D=tbxF.u.$(D);var F=this.serializers(D);if(F==""){return[]}if(F){var C=F[0];if(C.length==0){return }if(F[1].constructor!=Array){F[1]=[F[1]]}var A=new Array();for(var B=0;B<F[1].length;B++){A.push([C,F[1][B]])}return A}}catch(E){return[]}};this.getValue=function(A){try{A=tbxF.u.$(A);var C=this.serializers(A);if(C&&C!=""){return C[1]}else{return""}}catch(B){return""}};this.tagNames=["input","select","textarea"];this.serializers=function(C){try{var A=C.tagName.toLowerCase();if(A=="input"){var B=C.type.toLowerCase();switch(B){case"text":A="textarea";break;case"password":A="textarea";break;case"hidden":A="textarea";break;case"radio":A="inputSelector";break}}if(A=="select"){var B=C.type.toLowerCase();switch(B){case"select-one":A="selectOne";break;default:A="selectMany";break}}switch(A){case"inputSelector":return this.inputSelectorSerializer(C);case"textarea":return this.textareaSerializer(C);case"selectOne":return this.selectOneSerializer(C);case"selectMany":return this.selectManySerializer(C);default:return""}return A}catch(D){return""}};this.inputSelectorSerializer=function(A){try{if(A.type.toLowerCase()=="radio"){if(A.checked){return[A.name,A.value]}else{return[]}}else{return[]}}catch(B){return[]}};this.textareaSerializer=function(A){try{if((A.tagName.toLowerCase()=="input"&&A.type.toLowerCase()=="text")||(A.tagName.toLowerCase()=="input"&&A.type.toLowerCase()=="hidden")||(A.tagName.toLowerCase()=="input"&&A.type.toLowerCase()=="password")||A.tagName.toLowerCase()=="textarea"){return[A.name,A.value]}else{return[]}}catch(B){return[]}};this.selectOneSerializer=function(C){try{var D="";var A=C.selectedIndex;if(A>=0){var B=C.options[A];D=B.value;if(!D&&!("value" in B)){D=B.text}return[C.name,D]}else{return[]}}catch(E){return[]}};this.selectManySerializer=function(C){try{var D=new Array();for(var B=0;B<C.length;B++){var A=C.options[B];if(A.selected){var F=A.value;if(!F&&!("value" in A)){F=A.text}D.push(F)}}if(D.length!=0){return[C.name,D]}else{return[]}}catch(E){return[]}}};TbxF.prototype.frmEl=new TbxF.FrmEl();TbxF.FrmHan=function(){this._submitFormEncoded=function(B){var A=tbxF.frm.encodeURLSubmit(B);window.open(A,"_blank")};this._submitFormDecoded=function(C,A){if(A){var B=tbxF.frm.notEncodeURLSubmit(C);window.open(B,"_blank")}else{C.submit()}};this.submitFormWithoutDefaultParams=function(B,D,A){try{var E=this.getDefaultParams(B);if(D){this._submitFormEncoded(B)}else{this._submitFormDecoded(B,A)}this.setDefaultParams(B,E);return false}catch(C){return false}};this.getDefaultParams=function(B){var C=new Array();for(var A=0;A<B.elements.length;A++){if((B.elements[A].type=="text")&&(B.elements[A].value==B.elements[A].defaultValue)){C[A]=true;B.elements[A].value=""}else{C[A]=false}}return C};this.setDefaultParams=function(B,C){for(var A=0;A<B.elements.length;A++){if(C[A]==true){B.elements[A].value=B.elements[A].defaultValue}}};this.clearOnClick=function(B,A){if(!A){A=B.defaultValue}if(B.style.color=="#ff0000"||B.style.color=="#FF0000"||B.style.color=="rgb(255, 0, 0)"||B.style.color=="red"){B.value="";B.style.color="black"}if(B.value==A){B.value=""}};this.checkFieldEntry=function(C,A,B){try{if(!B){B=C.defaultValue}if((C.value==B)||(C.value==A)||(tbxF.u.sEmpty(C.value))||(C.style.color=="#ff0000")){C.style.color="#ff0000";C.value=A;C.blur();return true}return false}catch(D){return true}}};TbxF.prototype.frmhan=new TbxF.FrmHan();TbxF.R=function(B,D){this._remoteHandler=B;this._xreq=null;this._timedOut=true;this.timeOut=D;var C=false;var A;this._getXMLHttpRequest=function(){try{return new ActiveXObject("Msxml2.XMLHTTP")}catch(E){}try{return new XMLHttpRequest()}catch(E){}try{return new ActiveXObject("Microsoft.XMLHTTP")}catch(E){}return null};this._requestHandler=function(){try{if(this._xreq.readyState==4){this._timedOut=false;var F=this._xreq.responseText;if(this._xreq.status==200){this._remoteHandler.onSuccess(F,this._xreq.status)}else{this._remoteHandler.onError(F,this._xreq.status)}this._xreq.onreadystatechange=function(){}}}catch(E){if(C){this._remoteHandler.onError(tbxF.rCodes.ERROR,tbxF.rCodes.ERROR)}else{C=true;try{this._xreq.onreadystatechange=function(){};this._xreq.abort();window.setTimeout(this.fetchContent.bind(this,A[0],A[1],A[2]),100)}catch(E){this._remoteHandler.onError(tbxF.rCodes.ERROR,tbxF.rCodes.ERROR)}}}};this.fetchContent=function(E,G,F){A=[E,G,F];this._xreq=this._getXMLHttpRequest();this._xreq.onreadystatechange=this._requestHandler.bind(this);window.setTimeout((function(){this._timeOutHandler()}).bind(this),this.timeOut);if(F=="GET"){if(!tbxF.u.sEmpty(G)){E=E+"?"+G}E=encodeURI(E);this._xreq.open("GET",E,true);this._xreq.send(null)}else{this._xreq.open("POST",E,true);G=encodeURI(G);this._xreq.setRequestHeader("Content-type","application/x-www-form-urlencoded");this._xreq.setRequestHeader("Content-length",G.length);this._xreq.setRequestHeader("Connection","close");this._xreq.send(G)}};this._timeOutHandler=function(){if(this._timedOut){this._xreq.onreadystatechange=function(){};this._xreq.abort();this._remoteHandler.onError(tbxF.rCodes.TIMEOUT,tbxF.rCodes.TIMEOUT)}};this.getAllResponseHeaders=function(){return this._xreq.getAllResponseHeaders()};this.getResponseHeader=function(E){return this._xreq.getResponseHeader(E)};this.abort=function(){this._xreq.onreadystatechange=function(){};this._xreq.abort()}};TbxF.RCodes=function(){this.TIMEOUT="TIMEOUT";this.ERROR="ERROR"};TbxF.prototype.rCodes=new TbxF.RCodes();TbxF.RHan=function(F,E,C,A,B,D){this._params=E;this._timeout=C;this._baseurl=F;this._tfm=A;this.load=function(){var G=new TbxF.R(this,this._timeout);G.fetchContent(this._baseurl,this._params,this._tfm)};this.onError=D;this.onSuccess=B};TbxF.V=function(){};TbxF.prototype.v=new TbxF.V();TbxF.V.Mouse=function(){this.mouseX=0;this.mouseY=0;this._ie=false;this.onMouseMoveEvent;this.startMouseListener=function(){this._ie=document.all?true:false;if(!this._ie){document.captureEvents(Event.MOUSEMOVE)}};this.stopMouseListener=function(){if(!this._ie){document.releaseEvents(Event.MOUSEMOVE)}document.onmousemove=null;this.mouseX=0;this.mouseY=0};this.getMouseCoordinates=function(A){if(this._ie){this.mouseX=event.clientX;this.mouseY=event.clientY}else{this.mouseX=A.pageX-tbxF.u.getScrollState().x;this.mouseY=A.pageY-tbxF.u.getScrollState().y}if(this.mouseX<0){this.mouseX=0}if(this.mouseY<0){this.mouseY=0}return{x:this.mouseX,y:this.mouseY}};this.registerOnMouseMove=function(A){this.onMouseMoveEvent=document.onmousemove;document.onmousemove=A};this.unregisterOnMouseMove=function(){document.onmousemove=this.onMouseMoveEvent};this.startMouseWheelListener=function(A,B){if(A.addEventListener){A.addEventListener("DOMMouseScroll",this.mouseWheelTurned.bind(this,B),false)}A.onmousewheel=this.mouseWheelTurned.bind(this,B)};this.stopMouseWheelListener=function(A){if(A.removeEventListener){A.removeEventListener("DOMMouseScroll",this.mouseWheelTurned.bind(this),false)}A.onmousewheel=null};this.mouseWheelTurned=function(C,A){var B=0;if(!A){A=window.event}if(A.wheelDelta){B=A.wheelDelta/120}else{if(A.detail){B=-A.detail/3}}if(B){C(B)}if(A.preventDefault){A.preventDefault()}A.returnValue=false}};TbxF.V.prototype.mouse=new TbxF.V.Mouse();function TbxS(){this.us;this.uc;this.pn;this.au="";this.wdycf="/";this.dyn="/scd";this.dr=false;this.lr=false;this.cr=false;this.cc=false}tbxS=new TbxS();TbxV.Utils=function(){var A=true;this.setTranspPNG=function(B,C){if(A){try{B.runtimeStyle.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+C+"',sizingMethod='scale')";B.src="http://www.t-online.de/scs/d5s/16/i/blank.gif"}catch(D){A=false;B.src=C}}else{B.src=C}};this.setSpanTranspPNG=function(B,C){if(A){try{B.runtimeStyle.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+C+"',sizingMethod='scale')";B.style.background="none"}catch(D){A=false;B.style.backgroundImage="url("+C+")"}}else{B.style.backgroundImage="url("+C+")"}};this.setTranspPNGForDiv=function(B,C){if(A){try{B.runtimeStyle.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+C+"')"}catch(D){A=false;B.style.backgroundImage="url("+C+")"}}else{B.style.backgroundImage="url("+C+")"}}};TbxV.prototype.utils=new TbxV.Utils();TbxV.Counter=function(){var A;_getContainer=function(){if(!A){try{A=tbxF.u.gEl("tbxcount")}catch(B){}}return A};this.addPixel=function(B){var C=_getContainer();if(C){C.innerHTML=C.innerHTML+'<img src="'+B+'" alt=""/>'}}};TbxV.Mod=function(H,A,F,G,E){this.modController=F;this.mouseIn=G;this.mouseOut=E;this.key=H;this.btn=A;this.modEl;this.modElIfr;this.modElInner;this.header;this.modh_Part;this.modh_Part2;var I;var C=null;var D;var B=null;this._constructor=function(){this.modEl=tbxF.u.cel({n:"div",c:"tbxinvis"});this.modElIfr=tbxF.u.cel({n:"iframe",c:"tbxbmmi",a:{src:"http://www.t-online.de/scs/d5s/16/style/bgiframe.html",frameborder:"0"}});this.modEl.appendChild(this.modElIfr);this.shadowDiv=tbxF.u.cel({n:"div",c:"shadowDiv"});this.shadowDiv.innerHTML='<div class="shadowDivChildA"></div><div class="shadowDivChildB"></div><div class="shadowDivChildC"></div>';this.borderDiv=tbxF.u.cel({n:"div",c:"borderDiv"});this.borderDivPadding=tbxF.u.cel({n:"div",c:"borderDivPadding"});this.modElInnerBorder=tbxF.u.cel({n:"div",c:"tbxbmmmtdBorder"});this.modElInner=tbxF.u.cel({n:"div",c:"tbxbmmmtd"});this.modElInnerBorder.appendChild(this.modElInner);this.borderDivPadding.appendChild(this.modElInnerBorder);this.borderDiv.appendChild(this.borderDivPadding);this.modEl.appendChild(this.shadowDiv);this.modEl.appendChild(this.borderDiv);I=tbxF.u.cel({n:"img",a:{alt:"Icon"}});if(this.key=="configteaser"){tbxV.utils.setTranspPNG(I,"http://www.t-online.de/scs/d5s/16/i/btn/setwin_icon.png");I.style.width="26px";I.style.height="26px"}else{tbxV.utils.setTranspPNG(I,tbxD.m[this.key].d5s.ti);if(this.btn&&this.btn.siEl){this.btn.miEl=I}}var J=new TbxF.EvHan(this,"_mouseIn",this.modEl);this.modEl.onmouseover=J.handle.bind(J);J=new TbxF.EvHan(this,"_mouseOut",this.modEl);this.modEl.onmouseout=J.handle.bind(J)};if(this.key){this._constructor();this._generateModuleCarcass()}this._generateModuleCarcass=function(){this.modh_Part=tbxF.u.cel({n:"div",c:"tbx_vis"});this.modh_Part2=tbxF.u.cel({n:"div",c:"tbx_vis"})};this._fillModuleCarcass=function(){if(this.modh_Part.firstChild==null){var N=tbxF.u.cel({n:"div",c:"tbx_modh"});this.modh_Part.appendChild(N);var K=tbxF.u.cel({n:"div",c:"tbx_modh_dl"});this.modh_Part.appendChild(K);var M=tbxF.u.cel({n:"div",c:"tbx_modh_i"});var O;M.appendChild(I);if(this.key=="configteaser"){O=tbxF.u.cel({n:"a",c:"tbx_modh_p",t:' Was bietet "Meine Dienste"?'});modh_t=tbxF.u.cel({n:"div",c:"tbx_modh_t",t:"Dienste wählen"})}else{O=tbxF.u.cel({n:"a",c:"tbx_modh_p",t:" Was kann dieser Dienst?"});modh_t=tbxF.u.cel({n:"div",c:"tbx_modh_t",t:tbxD.m[this.key].c.t})}var J=tbxF.u.cel({n:"a",c:"tbx_mod_sc",a:{href:"javascript:void(0)"}});J.appendChild(tbxF.u.cel({n:"img",a:{src:"http://www.t-online.de/scs/d5s/16/i/blank.gif",width:"9",height:"9",alt:""}}));this.modh_Part2.appendChild(J);this.modh_Part2.appendChild(M);this.modh_Part2.appendChild(modh_t);this.modh_Part2.appendChild(O);var L=new TbxF.EvHan(this.modController,"closeModuleNow",J);J.onclick=L.handle.bind(L);L=new TbxF.EvHan(this.modController,"openInfoBubble",O);O.onclick=L.handle.bind(L)}};this.getModEl=function(){return this.modEl};this.animTimer;this.openModule=function(){var W=212;var N;var R;var J=100;var V=document.getElementById("tbxm");if(tbxC.tbxPosition==null){tbxC.tbxPosition=tbxF.u.findAbsElPos(V)}if(this.key=="configteaser"){N=tbxF.u.gElT(tbxF.u.gEl("tbxbs"),"img")[0];var L=tbxF.u.gEl("tbxbs");R={absx:L.offsetLeft+tbxC.tbxPosition.x,absy:L.offsetTop+tbxC.tbxPosition.y,x:N.offsetLeft,y:N.offsetTop,w:N.offsetWidth,h:N.offsetHeight}}else{this._requestPromotion();W=tbxD.m[this.key].d5s.h;N=this.btn;R={absx:N.getEl().offsetLeft+tbxC.tbxPosition.x,absy:N.getEl().offsetTop+tbxC.tbxPosition.y,x:N.getEl().offsetLeft,y:N.getEl().offsetTop,w:N.getEl().offsetWidth,h:N.getEl().offsetHeight}}this._fillModuleCarcass();if(this.key=="configteaser"){this.modEl.style.left=(R.absx-404-8)+"px"}else{this.modEl.style.left=(R.absx-404)+"px"}var O=W;if(O){O=(R.absy+(R.h/2)-(O/2))}else{O=R.absy+(R.h/2)-45}var U=window.pageYOffset;var Q=false;if(!U||U==0){U=document.documentElement.scrollTop}if(O<U){O=U;Q=true}if(O<tbxC.tbxPosition.y){O=tbxC.tbxPosition.y;Q=true}if(Q==false){var S=parseInt(O)+parseInt(W)+J;var K=parseInt(document.documentElement.scrollTop)+parseInt(document.documentElement.clientHeight);if(S>K){var P=S-K;var M;if(U>tbxC.tbxPosition.y){M=U}else{M=tbxC.tbxPosition.y}var T=O-M;if(T<P){O=O-T}else{O=O-P}}}this.modEl.style.top=O+"px";if(this.key!="configteaser"){N.setOpen()}this.modEl.className="tbxbmm";this.modElIfr.className="tbxbmmi";this._buildInfoBubble()};this._buildInfoBubble=function(){var M=tbxF.u.gEl("tbxinfobubbleanchor");if(C==null){C=tbxF.u.cel({n:"div",i:this.key+"_info_bubble",c:"tbx_bubble"});D=tbxF.u.cel({n:"div",i:this.key+"_bubble_content",c:"tbx_bubble_content",a:{border:"1px solid #333333"}});var L=tbxF.u.cel({n:"iframe",i:this.key+"_bubble_iframe",c:"tbx_bubble_ifr",a:{frameBorder:"0",scrolling:"no",allowTransparency:"true"}});D.appendChild(L);var N=tbxF.u.cel({n:"div",c:"tbx_bubble_content_inner",i:this.key+"_bubble_content_inner",a:{position:"absolute",top:"19px",left:"10px"}});if(this.key=="configteaser"){N.innerHTML='<a class="tbx_bubble_icon" href="javascript:;"><img src="http://www.t-online.de/scs/d5s/16/i/icon_close_balloon.gif"  width="9px" height="9px" alt="Schliessen" /></a><div class="tbx_bubble_title"></div><div class="tbx_bubble_text"><p>Viele Vorteile für Sie:</p><p><b>Übergreifendes Login:</b></p><p>Nur ein Login für E-Mail, Homepage, Kundencenter, Banking und andere Telekom Dienste sowie für alle hier abrufbaren Partnerdienste, z.B. ebay.</p><p><b>Mehr Funktionsumfang:</b></p><p>Direkt auf der t-online.de Startseite und auf allen weiteren Portalseitern können Sie E-Mails lesen, SMS senden und vieles mehr.</p><p><b>Personalisierung:</b></p><p>Sie können Dienste und Inhalte nach Ihren persönlichen Bedürfnissen zusammenstellen und anpassen.</p><p><b>Zentral gespeicherte Einstellungen:</b></p><p>Ob zu Hause oder im Büro, die gewählte Darstellung der Module wird anhand Ihres persönlichen Logins jedes Mal automatisch wiederhergestellt.</p></div>'}else{N.innerHTML='<a class="tbx_bubble_icon" href="javascript:;"><img src="http://www.t-online.de/scs/d5s/16/i/icon_close_balloon.gif"  width="9px" height="9px" alt="Schliessen" /></a><div class="tbx_bubble_title">'+tbxD.m[this.key].d5s.bti+'</div><div class="tbx_bubble_text">'+tbxD.m[this.key].d5s.bte+"</div>"}D.appendChild(N);var O=tbxF.u.cel({n:"img",c:"tbx_bubble_nose",a:{src:"http://www.t-online.de/scs/d5s/16/i/info_balloon_nose.gif",width:"9",height:"9",alt:""}});C.appendChild(O);C.appendChild(D);var J=tbxF.u.gEl(this.key+"_info_bubble");if(J){M.removeChild(J)}M.appendChild(C);var K=new TbxF.EvHan(this.modController,"closeInfoBubbleNow",D);D.onclick=K.handle.bind(K);K=new TbxF.EvHan(this,"_mouseOut",C);C.onmouseout=K.handle.bind(K)}};this.closeModuleNow=function(){this.modEl.className="tbxinvis";if(this.btn){this.btn.setClose()}this.modElIfr.className="tbxinvis";this.modController.closingCompleted();this.closeInfoBubbleNow();if(this.key=="configteaser"){var J=tbxF.u.gEl("configteaser_promo");if(J){this.borderDivPadding.removeChild(J)}}};this.showInfoBubble=function(){var J=parseInt(this.modEl.style.top.split("px")[0])+32;var K=parseInt(this.modEl.style.left.split("px")[0])+146;if(C){C.style.display="block";C.style.left=K+"px";C.style.top=J+"px"}var L=tbxF.u.gEl(this.key+"_bubble_iframe");if(L){L.height=C.offsetHeight-9}};this.closeInfoBubbleNow=function(){if(C){C.style.display="none"}};this._mouseIn=function(J){if(tbxF.evUtils.movedIn(J,this.borderDiv)){this.modController[this.mouseIn]()}else{}};this._mouseOut=function(J){if(tbxF.evUtils.movedOut(J,this.borderDiv)){if(C.style.display!="block"||(C.style.display=="block"&&tbxF.evUtils.movedOut(J,C))){try{J.target.focus()}catch(J){}this.modController[this.mouseOut]();document.getElementsByTagName("body")[0].focus()}}else{}};this.setStatus=function(J){};this._requestPromotion=function(){TbxComm.Server.loadPromotion(this.key,this.setPromotion.bind(this),this.errorPromotion.bind(this))};this._requestConfigPromotion=function(){TbxComm.Server.loadConfigPromotion(this.key,this.setPromotion.bind(this),this.errorPromotion.bind(this))};this.errorPromotion=function(J){};this.setPromotion=function(J){if((J!=null)&&(J!="")&&(B==null)&&(J.indexOf("teaser_error")==-1)){B=tbxF.u.cel({n:"div",c:"tbx_promo_content"});B.innerHTML=J;this.borderDivPadding.appendChild(B);var K=tbxF.u.gElT(B,"a");if(K){var M=K[0].id.split("promoLink_")[1];if(M!="null"){var L=K[0].name;K[0].onclick=tbxC.openSettingsWindow.bind(tbxC,false,M,L)}else{K[0].onclick=tbxC.openSettingsWindow.bind(tbxC,false,null,"")}}B.style.border="1px solid #757E87";B.style.backgroundColor="#CCCCCC"}}};TbxV.InlineMod=function(J,C,G,I,F,H,E,K){this.parent=TbxV.Mod.prototype;this.parent.constructor.call(this,J,C,G,I,F);this.hasEditButton=false;var A=null;this.modCont;var B;this.modPrefs;this.modFooter;this.modFooterClass;var D;this._generateModule=function(){B=tbxF.u.cel({n:"div",c:"tbx_mod"});this.modElInner.appendChild(B);B.appendChild(this.modh_Part);B.appendChild(this.modh_Part2);this.modCont=tbxF.u.cel({n:"div",i:this.key+"_modc",c:"tbx_modc"});B.appendChild(this.modCont);A=tbxF.u.cel({n:"div",i:this.key+"_tempCont",c:"tbx_invis"});B.appendChild(A);var L=tbxF.u.cel({n:"div",i:this.key+"_modc",c:"tbx_modc"});if(this.key=="configteaser"){L.appendChild(tbxE.createThrobber())}else{L.appendChild(tbxE.createThrobber(tbxD.m[this.key].d5s.h))}};if(this.key){this._generateModule()}this.showContent=function(O,N){this.closeOverlayAnchor();var P=tbxF.u.gEl(this.key+"_modc_om");if(P){B.removeChild(P)}var M=tbxF.u.gEl(this.key+"_modc");if(M){B.removeChild(M);this.modCont=null}A.innerHTML=O;var L=tbxF.u.gEl(this.key+"_modc_om");if(L!=null){B.appendChild(L)}else{if(N){N("","Ein Fehler ist aufgetreten. Bitte versuchen Sie es später noch einmal.","",false,"Modul neuladen","javascript:;")}else{this.showError("","Ein Fehler ist aufgetreten. Bitte versuchen Sie es später noch einmal.","",false,"Modul neuladen","javascript:;")}}this.modPrefs=tbxF.u.gEl(this.key+"_modp");this.modCont=tbxF.u.gEl(this.key+"_modc");return[this.modCont,this.modPrefs,null]};this.showError=function(Q,O,L,P,N,M){if(this.modFooter){this.modFooter.className="tbxinvis"}if(this.modPrefs){this.modPrefs.innerHTML=""}if(!this.modCont){this.modCont=tbxF.u.cel({n:"div",i:this.key+"_modc",c:"tbx_modc"});B.appendChild(this.modCont)}this.modCont.innerHTML=tbxE.createModuleError(Q,O,L,P,N,M);this.modCont.style.height="auto"};this.showAllThrobber=function(){if(this.modPrefs){this.modPrefs.innerHTML=""}if(this.key=="configteaser"){tbxE.showThrobber(this.modCont,true,206-6,false)}else{tbxE.showThrobber(this.modCont,true,tbxD.m[this.key].d5s.h-6,false)}};this.closeOverlayAnchor=function(){var L=tbxF.u.gEl(this.key+"_tbxoverlayanchor");if(L){L.innerHTML=""}}};TbxV.InlineMod.prototype=new TbxV.Mod();TbxV.InlineMod.prototype.constructor=TbxV.InlineMod;TbxV.ConfigTeaser=function(H,A,E,G,D,F,C,I){this.parent=TbxV.InlineMod.prototype;this.parent.constructor.call(this,H,A,E,G,D,F,C,I);var B=false;this.showContent=function(R){this.closeOverlayAnchor();var N=this.modElInner.firstChild;var Q=tbxF.u.gEl(this.key+"_modc_om");if(Q){N.removeChild(Q)}var K=tbxF.u.gEl(this.key+"_modc");if(K){N.removeChild(K)}var L=tbxF.u.gEl(this.key+"_tempCont");L.innerHTML=R;var U;var M=0;while((U=tbxF.u.gEl("promo_icon_"+M))!=null){tbxV.utils.setTranspPNG(U,U.src);M++}var W=tbxF.u.gEl(this.key+"_modc_om");if(W!=null){N.appendChild(W)}else{this.callSetWin(null,null,null,null)}this.modCont=tbxF.u.gEl(this.key+"_modc");var P=tbxF.u.gEl("setwincall");var S=new TbxF.EvHan(this,"callSetWin",P,null,null);P.onclick=S.handle.bind(S);var V=tbxF.u.gEl("configteaser_promo");if(V){if(this.borderDivPadding){this.borderDivPadding.appendChild(V)}}var J=tbxF.u.gElT(V,"a");if(J){for(i=0;i<J.length;i++){var O=J[i].id.split("promoLink_")[1];var T=J[i].name;J[i].onclick=this.callSetWin.bind(this,null,null,T,O)}}return[this.modCont,null,null]};this.callSetWin=function(J,K,M,L){this.closeModuleNow();if(L==null){tbxC.openSettingsWindow(false,null)}else{tbxC.openSettingsWindow(false,L,M)}};this.createEditLink=function(){}};TbxV.ConfigTeaser.prototype=new TbxV.InlineMod();TbxV.ConfigTeaser.prototype.constructor=TbxV.ConfigTeaser;TbxV.IframeMod=function(G,F,C,B,E,H,D,A){this.parent=TbxV.Mod.prototype;this.parent.constructor.call(this,G,F,C,B,E);this.ifr;this.ifrCont;this._generateModule=function(){var K=tbxF.u.cel({n:"div",c:"tbxbmfb"});var J=tbxF.u.cel({n:"div",c:"tbxbmfback"});J.appendChild(this.modh_Part);var I=tbxF.u.cel({n:"div",c:"tbx_modc",a:{height:"auto"}});I.appendChild(tbxE.createThrobber(tbxD.m[this.key].d5s.h-38));J.appendChild(I);K.appendChild(J);this.ifrCont=tbxF.u.cel({n:"div",c:"tbxbmmfc",a:{width:"100%",height:tbxD.m[this.key].d5s.h}});K.appendChild(this.ifrCont);var L=tbxF.u.cel({n:"div",c:"tbx_modh"});L.style.position="absolute";L.style.top="0px";L.style.left="0px";this.modh_Part2.appendChild(L);K.appendChild(this.modh_Part2);this.modElInner.appendChild(K)};this._generateModule();this.showContent=function(I){this.showAllThrobber();this.ifr=tbxF.u.cel({n:"iframe",c:"tbxbmmf",a:{src:"http://www.t-online.de/scs/d5s/16/style/blank.html",height:tbxD.m[this.key].d5s.h,frameBorder:"0",scrolling:"no",allowTransparency:"true"}});this.ifrCont.appendChild(this.ifr);this.ifr.src=I};this.showAllThrobber=function(){if(this.ifr){try{this.ifrCont.removeChild(this.ifr)}catch(I){}}};this.closeOverlayAnchor=function(){}};TbxV.IframeMod.prototype=new TbxV.Mod();TbxV.IframeMod.prototype.constructor=TbxV.IframeMod;TbxV.ModInner=function(D){this.key=D;this.modPrefs;this.modPrefsForm;this.modCont;this.modFooter;this.modFooterClass;this.ACTIVEVIEWS={Content:"Content",Preferences:"Preferences"};this.activeView=this.ACTIVEVIEWS.Content;var B,E,A,F,C;this.connectEvents=function(K,H,J,G,I){B=K;A=H;E=J;F=G;C=I};this._onChangeModuleView=function(G){if(this.activeView==this.ACTIVEVIEWS.Content){if(B&&E){B[E]()}}else{if(B&&A){B[A]()}}};this.switchToContent=function(){if(this.modPrefsForm){this.modPrefsForm.className="tbxinvis"}if(this.modCont){this.modCont.className="tbx_modc"}if(this.modFooter){this.modFooter.className=this.modFooterClass}this.activeView=this.ACTIVEVIEWS.Content};this.switchToPrefs=function(){if(this.modCont){this.modCont.className="tbxinvis"}if(this.modPrefsForm){this.modPrefsForm.className="modf"}if(this.modFooter){this.modFooter.className="tbxinvis"}this.activeView=this.ACTIVEVIEWS.Preferences};this.resetSettingsForm=function(){this.modPrefsForm.reset()};this.submitSettingsForm=function(){this._formSubmit()};this._formSubmit=function(){if(B&&F){B[F]()}};this._formReset=function(){if(B&&C){B[C]()}};this.showModuleError=function(M,K,J,G,L,I,H){if(J&&J!=this.modCont){tbxE.showModuleInlineError(M,K,I,H,J,"")}else{if(!J){J=this.modCont}tbxE.showModuleError(M,K,G,I,H,J,L);this.hidePrefButtonFooter()}};this.showThrobber=function(K,J,H,I){if(!H){H=K}var G=H.offsetHeight;tbxE.showThrobber(K,J,G,I)};this.hidePrefButtonFooter=function(){if(this.modFooter){this.modFooter.className="tbx_modfooter_invis"}var G=tbxF.u.gEl(this.key+"_modfooter_inner");if(G){G.className="tbx_invis"}};this.showPrefButtonFooter=function(){if(this.modFooter){this.modFooter.className=this.modFooter}var G=tbxF.u.gEl(this.key+"_modfooter_inner");if(G){G.className="tbx_modfooter_inner"}}};TbxV.IframeModInner=function(A){this.parent=TbxV.ModInner.prototype;this.parent.constructor.call(this,A);this._init=function(){this.modPrefs=tbxF.u.gEl("modp");this.modPrefsForm=tbxF.u.gEl("modf");this.modCont=tbxF.u.gEl("modc");this.modFooter=tbxF.u.gEl(this.key+"_modfooter");if(this.modFooter){this.modFooterClass=this.modFooter.className}this.editButton=tbxF.u.gEl(this.key+"_modht");if(this.editButton){var B=new TbxF.EvHan(this,"_onChangeModuleView",this.editButton);this.editButton.onclick=B.handle.bind(B)}if(this.modPrefsForm){B=new TbxF.EvHan(this,"_formSubmit",this.modPrefsForm);this.modPrefsForm.onsubmit=B.handle.bind(B);B=new TbxF.EvHan(this,"_formReset",this.modPrefsForm);this.modPrefsForm.onreset=B.handle.bind(B)}};this.generateCommunicationIFrame=function(C,E){var B="key="+C+"&tss="+TbxComm.Cookie.getCookieNames().tss+"&commandList="+encodeURIComponent(E);var F="about:blank";var D=tbxF.u.cel({n:"iframe",c:"tbxm_invis",a:{src:F,width:"0",height:"0",frameborder:"0"}});this.modCont.appendChild(D);F=tbxS.wdycf+"/pages/d5s/iframeCommunicator.html?"+B;D.setAttribute("src","http://www.t-online.de/scs/d5s/16/style/blank.html");window.setTimeout(this.setIFrameSource.bind(this,D,F),500)};this.setIFrameSource=function(B,C){B.setAttribute("src",C)};this.closeOverlayAnchor=function(){};this._init()};TbxV.IframeModInner.prototype=new TbxV.ModInner();TbxV.IframeModInner.prototype.constructor=TbxV.IframeModInner;TbxV.InlineModInner=function(A){this.parent=TbxV.ModInner.prototype;this.parent.constructor.call(this,A);this._init=function(){this.modPrefs=tbxF.u.gEl(this.key+"_modp");this.modPrefsForm=tbxF.u.gEl(this.key+"_modf");this.modCont=tbxF.u.gEl(this.key+"_modc");this.modFooter=tbxF.u.gEl(this.key+"_modfooter");if(this.modFooter){this.modFooterClass=this.modFooter.className}this.editButton=tbxF.u.gEl(this.key+"_modht");if(this.editButton){var B=new TbxF.EvHan(this,"_onChangeModuleView",this.editButton);this.editButton.onclick=B.handle.bind(B)}if(this.modPrefsForm){B=new TbxF.EvHan(this,"_formSubmit",this.modPrefsForm);this.modPrefsForm.onsubmit=B.handle.bind(B);B=new TbxF.EvHan(this,"_formReset",this.modPrefsForm);this.modPrefsForm.onreset=B.handle.bind(B)}};this._init()};TbxV.InlineModInner.prototype=new TbxV.ModInner();TbxV.InlineModInner.prototype.constructor=TbxV.InlineModInner;TbxV.Btn=function(B,J,G,D,I,A){this.key=B;var R=J;var M;var N=false;var O=false;var F;var Q;this.siEl;this.miEl;var P;var C=G;var L=D;var E=I;var H=A;var K;this._constructor=function(){var T=tbxD.m[this.key].c.t;var S=tbxD.m[this.key].d5s.icb;M=tbxF.u.cel({n:"a",c:"tbxbb",a:{href:"javascript:;"}});F=tbxF.u.cel({n:"span",c:"tbxbbtns",t:T});this.siEl=tbxF.u.cel({n:"img",c:"tbxbbi",a:{alt:""}});this._setIcon(this.siEl,S);M.appendChild(this.siEl);M.appendChild(F);switch(tbxD.m[this.key].c.pm){case"1":P=tbxF.u.cel({n:"span",c:"tbxbti",t:"Neu!"});M.appendChild(P);K="95px";break;case"2":P=tbxF.u.cel({n:"span",c:"tbxbti",t:"Update!"});M.appendChild(P);K="85px";break;default:break}if(K){F.style.width=K}if(!(tbxS.us==TbxC.Main.stat.ukn&&tbxD.m[this.key].c.as)&&tbxD.m[C.key].c.st){O=true}else{O=false}if(!R){this.makeUnDummy()}};this.makeDummy=function(){R=true;M.onmouseover=null;M.onmouseout=null;M.onclick=null};this.makeUnDummy=function(){R=false;var S=new TbxF.EvHan(this,"_mouseIn",M);M.onmouseover=S.handle.bind(S);S=new TbxF.EvHan(this,"_mouseOut",M);M.onmouseout=S.handle.bind(S);S=new TbxF.EvHan(this,"_btnClick",M);M.onclick=S.handle.bind(S)};this.setOpen=function(){M.className="tbxbbo"};this.setClose=function(){M.className="tbxbb"};this.getEl=function(){return M};this.getMod=function(){return Q};this.setStatus=function(T,U,S){if(this.key.split("_")[0]=="sb"){if(tbxPartner&&tbxPartner.ssl){T=T.replace(/http.*blank.gif/,"https://tbx.t-online.de/mss/16/mod/tbx/images/sb/blank.gif");T=T.replace(/'(tbx_sb_status_img_.*)' src/,"'$1_ppt' src")}}if(O){if(!N){N=tbxF.u.cel({n:"span",c:"tbxbbs"});M.appendChild(N)}N.innerHTML="";N.innerHTML=decodeURI(T);if(K){N.style.width=K}if(U&&U!=""&&this.siEl){this._setIcon(this.siEl,decodeURI(U));if(S&&S!=""&&this.miEl){this._setIcon(this.miEl,decodeURI(S))}}if(T&&T!=""){F.className="tbxbbt"}}};this._setIcon=function(T,S){if(tbxPartner&&tbxPartner.ssl){if(this.key.split("_")[0]=="weather"){S=S.replace(/http:/g,"https:")}if(S.indexOf("http://tbx.t-online.de/mss/16")!=-1){S="https://tbx.t-online.de/mss/16"+S.split("http://tbx.t-online.de/mss/16")[1]}S=S.split(".png")[0]+".gif";if(T){T.src=S}}else{tbxV.utils.setTranspPNG(T,S)}};this._mouseIn=function(S){if(tbxF.evUtils.movedIn(S,M)){C[L]();this.setOpen()}else{}};this._mouseOut=function(S){if(tbxF.evUtils.movedOut(S,M)){C[E]();if(!C.isOpen){this.setClose()}}else{}};this._btnClick=function(S){C[H]();M.blur()};this._constructor()};TbxV.SetWinSmall=function(){var B=null;var A=null;var C=null;this.openSettingsWindow=function(){tbxF.u.gEl("tbxbs").blur();if(!tbxC.configMode){var E=tbxF.u.gEl("tbxswo");E.style.width=tbxF.u.getDocumentWidth()+"px";E.style.height=tbxF.u.getDocumentHeight()+"px"}var F=tbxF.u.gEl("tbxswi");F.style.left=(A.x-426)+"px";F.style.top=(A.y-143)+"px";tbxF.u.gEl("tbxsw").style.display="block";C.className="tbxbmmi"};this.showSetWinContent=function(E,I,F,K){var L=tbxF.u.gEl("tbxswthrobber");var H=tbxF.u.gEl("tbxswcontent");var J=tbxF.u.gEl("tbxswerror");var G=tbxF.u.gEl("tbxswsam");if(E){L.style.display="block"}else{L.style.display="none"}if(I!=null){H.style.display="block";if(I!=""){H.innerHTML=I}}else{H.style.display="none";H.innerHTML=""}if(F!=null){J.style.display="block";J.innerHTML=F}else{J.style.display="none";J.innerHTML=""}if(K!=null){G.innerHTML="";G.innerHTML='<iframe src="'+K+'" id="tbxswsamiframe" class="tbx_swsamiframe" scrolling="no" frameborder="0"></iframe>';G.style.display="block"}else{G.style.display="none"}};this.closeSettingsWindow=function(){this.closeInfoBubbleNow();tbxF.u.gEl("tbxsw").style.display="none";if(C){C.className="tbxinvis"}};function D(G){if(B==null){B=tbxF.u.cel({n:"div",i:"setwin_info_bubble",c:"tbx_bubble"});B.style.left=(A.x-111)+"px";B.style.top=(A.y-116)+"px";B.style.width="240px";bubbleContent=tbxF.u.cel({n:"div",i:"setwin_bubble_content",c:"tbx_bubble_content",a:{border:"1px solid #333333"}});var F=tbxF.u.cel({n:"iframe",i:"setwin_bubble_iframe",c:"tbx_bubble_ifr",a:{frameBorder:"0",scrolling:"no",allowTransparency:"true"}});bubbleContent.appendChild(F);var H=tbxF.u.cel({n:"div",c:"tbx_bubble_content_inner",i:"setwin_bubble_content_inner",a:{position:"absolute",top:"19px",left:"10px"}});H.innerHTML='<a class="tbx_bubble_icon" href="javascript:;" style="left: 214px"><img src="http://www.t-online.de/scs/d5s/16/i/icon_close_balloon.gif"  width="9px" height="9px" alt="Schliessen" style="border:none"/></a><div class="tbx_bubble_title"></div><div class="tbx_bubble_text">1. Die Kategorien helfen Ihnen, schnell passende Dienste zu finden. Unter „Neue Dienste“ sehen Sie neue oder in letzter Zeit erweiterte Dienste  Unter „Dienste A-Z“ finden Sie sämtliche Dienste in alphabetischer Reihenfolge.<br/><br/>2. Um mehr über  einen Dienst zu erfahren, klicken Sie auf den Pfeil links neben dem gewünschten Dienst. Klicken Sie auf die Blätterpfeile am Schluss der Liste, um weitere Dienste aus der gewählten Kategorie anzuzeigen.<br/><br/>3. Um einen Dienst auszuwählen, ziehen Sie ihn einfach mit gedrückter Maustaste an die gewünschte Position in der Spalte "Meine Dienste" Sie können bis zu 15 Dienste auswählen; optimaler Nutzungskomfort besteht bei einer Auswahl von 6 Diensten. Der Dienst "eMail" steht dabei fest an erster Position.<br/><br/>4. Um die Reihenfolge innerhalb von Meine Dienste zu ändern, ziehen Sie die Dienste mit gedrückter Maustaste an die gewünschte Position. Möchten Sie einen Dienst entfernen, ziehen Sie den Dienst mit gedrückter Maustaste in den Papierkorb oder zurück in die Spalte "Dienste".<br/></div>';bubbleContent.appendChild(H);var I=tbxF.u.cel({n:"img",c:"tbx_bubble_nose",a:{src:"http://www.t-online.de/scs/d5s/16/i/info_balloon_nose.gif",width:"9",height:"9",alt:""}});B.appendChild(I);B.appendChild(bubbleContent);document.getElementById("tbxinfobubbleanchor").appendChild(B);var E=new TbxF.EvHan(G,"closeInfoBubbleNow",bubbleContent);bubbleContent.onclick=E.handle.bind(E)}}this.showInfoBubbleNow=function(){if(B){B.style.display="block";var E=tbxF.u.gEl("setwin_bubble_iframe");if(E){E.height=B.offsetHeight-9}TbxC.Counter.getInstance().countAny("CP/00000000;/TBX/common/guidedtour.html")}};this.closeInfoBubbleNow=function(){if(B){B.style.display="none"}};this.initSetWin=function(){var G=tbxF.u.gEl("tbxb");A=tbxF.u.findAbsElPos(G);D(this);tbxF.u.gEl("tbxsw").innerHTML='<div class="tbxn"><div class="tbx_swo" id="tbxswo"></div><div class="tbx_sww" id="tbxswi"><iframe class="tbxbmmi" id="tbxswif" style="width:610px" src="http://www.t-online.de/scs/d5s/16/style/bgiframe.html" frameborder="0"></iframe><div class="shadowDiv"><div class="shadowDivChildC" style="width:608px"></div></div><div class="borderDiv" id="tbxsww" style="width:auto;padding:5px;"><div class="tbx_swwi"><div class="tbx_modh" style="width:auto"></div><a class="tbx_mod_sc" style="height:9px; font-size:0px;" href="javascript:tbxC.closeSettingsWindow(true)">	<img width="9" height="9" src="http://www.t-online.de/scs/d5s/16/i/blank.gif" alt=""/></a><div class="tbx_swicon">	<img src="http://www.t-online.de/scs/d5s/16/i/blank.gif"/></div><div class="tbx_modh_t">W&auml;hlen Sie Ihre favorisierten Dienste aus</div><a class="tbx_modh_p" id="tbxswhowto"> Wie funktioniert das?</a><div class="tbx_swthrobber" id="tbxswthrobber">	<img class="tbx_i_image" src="http://www.t-online.de/scs/d5s/16/i/throbber.gif" alt="bitte warten" style="margin-top:165px"/></div><div class="tbx_swerror" id="tbxswerror"></div><div id="tbxswcontent"></div><div id="tbxswsam" class="tbx_swsam"><iframe src="http://www.t-online.de/scs/d5s/16/style/blank.html" id="tbxswsamiframe" class="tbx_swsamiframe" scrolling="no" frameborder="0"></iframe></div></div></div></div></div>';var E=tbxF.u.gEl("tbxswhowto");var F=new TbxF.EvHan(this,"showInfoBubbleNow",E);E.onclick=F.handle.bind(F);C=tbxF.u.gEl("tbxswif")}};function TbxV(){var G=29;var C;function A(){if(!C){C=tbxF.u.gEl("tbxbc")}return C}var B;function F(){if(!B){B=tbxF.u.gEl("tbxbm")}return B}this.buttons=new Array();var E;this.getSetWin=function(){if(!E){E=new TbxV.SetWin()}return E};this.hideNoscript=function(){tbxF.u.gEl("tbxbstaticmods").className="tbxinvis"};this.showLoading=function(){tbxF.u.gEl("tbxbstaticmods").className="tbxb"};this.hideLoading=function(){tbxF.u.gEl("tbxbstaticmods").className="tbxinvis";A().className="tbxbcblock"};this.showSetWinButton=function(){tbxF.u.gEl("tbxbs").className="tbxbs";tbxF.u.gEl("tbxbsinvis").className="tbxinvis"};this.hideSetWinButton=function(){tbxF.u.gEl("tbxbs").className="tbxinvis";tbxF.u.gEl("tbxbsinvis").className="tbxbsinvis"};this.showUnsupported=function(H){tbxF.u.gEl("tbxbstaticmods").className="tbxb";if(H){this.showGlobalError("Safari 2.x wird nicht unterstützt. Verwenden Sie Safari ab der Version 3, um die volle Funktionalität nutzen zu können.","http://www.t-online.de/service/redir/meinedienste_hilfe.htm")}else{this.showGlobalError("Bitte verwenden Sie einen unterstützten Browser.","http://www.t-online.de/service/redir/meinedienste_hilfe.htm")}};this.initPageStructure=function(){var H=tbxF.u.gEl("tbxanchor");H.appendChild(F())};this.showButtonContainer=function(){tbxF.u.gEl("tbxb").className="tbxbd"};this.hideButtonContainer=function(){tbxF.u.gEl("tbxb").className="tbxinvis"};var D=new Object();this._getButtonOrderObj=function(){D=new Object();for(var H=0;H<tbxS.uc.m.length;H++){D[tbxS.uc.m[H].key]=H}};this.buttonViews=new Array();this.appendButton=function(I){this._getButtonOrderObj();var K=D[I.key];var J=false;var M=0;for(var H=0;H<this.buttonViews.length;H++){var L=D[this.buttonViews[H].key];if(K<L){this._insertButton(I,M);J=true;break}M++}if(!J){A().appendChild(I.getEl());this.buttonViews.push(I)}return M};this.appendModule=function(H){F().appendChild(H.getModEl())};this._insertButton=function(H,I){if(I>=this.buttonViews.length){A().appendChild(H.getEl())}else{A().insertBefore(H.getEl(),tbxF.u.gCEls(A())[I])}this.buttonViews.splice(I,0,H)};this.deleteButton=function(I){var J;for(var H=0;H<this.buttonViews.length;H++){if(this.buttonViews[H].key==I){J=H;A().removeChild(this.buttonViews[H].getEl());break}}this.buttonViews.splice(J,1)};this.updateModulePosition=function(K,I){var J=-1;for(var H=0;H<this.buttonViews.length;H++){if(this.buttonViews[H].key==I){btn=this.buttonViews[H];J=H;break}}};this.deleteModule=function(H){F().removeChild(H.getModEl())};this.getBtnPosition=function(I){for(var H=0;H<this.buttonViews.length;H++){if(this.buttonViews[H].key==I){return H}}};this.correctButtonContainerHeight=function(I){if(I=="add"){var H=(G*6+1);A().style.height=String(H+"px")}else{A().style.height="auto"}};this.showLoginGlow=function(){};this.hideLoginGlow=function(){};this.showReLogin=function(){this.showLoginGlow();var I=tbxF.u.gEl("tbxli");var H="https://sam.t-online.com/directlogin?skinID=d5s_d_wirk1";if(window.location.protocol=="https:"){H=H+"&main="+encodeURIComponent(document.URL)+"&tbxmaster="+TbxComm.Cookie.getCookieNames().tss}else{H=H+"&main="+encodeURIComponent(document.URL)+"&tbxmaster="+TbxComm.Cookie.getCookieNames().tsn}if(typeof (tbxPartner)!="undefined"&&tbxPartner&&tbxPartner.reload){H=H+"&pipmain="+tbxPartner.reloadUrl}I.src="about:blank";I.src=H};this.showGlobalError=function(J,I){var K=tbxF.u.gEl("globalerror");K.className="error";K.setAttribute("href",I);var H=K.getElementsByTagName("img")[0];H.title=J;H.alt=J;this.hideSetWinButton()};this.showGlobalErrorFlex=function(I,H){this.showGlobalError(I,H)};this.hideGlobalError=function(){var H=tbxF.u.gEl("globalerror");H.className="tbxinvis"};this.setKeepalive=function(I){var J="<iframe src='"+I+"'></iframe>";var H=tbxF.u.gEl("tbxka");H.innerHTML="";H.innerHTML=J};this.generateCommIFrame=function(I){var J="<iframe src='"+I+"'></iframe>";var H=tbxF.u.gEl("tbxcomm");H.innerHTML="";H.innerHTML=J};this.generateTbxCommunicationIFrame=function(M,H,L,K){var I="config="+encodeURIComponent(tbxF.json.serialize(tbxS.uc));if(K){I=I+"&reload=true"}else{if(L){I=I+"&save=true"}}var N="http://www.t-online.de/scs/d5s/16/style/blank.html";var J=tbxF.u.cel({n:"iframe",c:"tbx_invis",a:{src:N,width:"0",height:"0",frameborder:"0"}});tbxF.u.gEl("tbxcomm").innerHTML="";tbxF.u.gEl("tbxcomm").appendChild(J);N=M+H+"/configuratorCommunicator.html?"+I;window.setTimeout(tbxV.setIFrameSrc.bind(tbxV,J,N),1)};this.setIFrameSrc=function(H,I){H.setAttribute("src",I)};this.generateCookieTestFrame=function(K,H){var L=K+H;L=encodeURIComponent(L);var J=TbxComm.Cookie.getCookieNames().tct+"/ps/pages/d5s/cookietest.html?tbxPages="+L;var M="<iframe src='"+J+"'></iframe>";var I=tbxF.u.gEl("tbxcookietest");I.innerHTML="";I.innerHTML=M};this.generateCookieTestReadFrame=function(K,H,N){var L=K+H;L=encodeURIComponent(L);var J=TbxComm.Cookie.getCookieNames().tct+"/ps/pages/d5s/cookietest.html?tbxPages="+L+N;var M="<iframe src='"+J+"'></iframe>";var I=tbxF.u.gEl("tbxcookietest");I.innerHTML="";I.innerHTML=M};this.resetToolbox=function(){F().innerHTML="";A().innerHTML="";this.buttonViews=new Array();D=new Object();this.hideSetWinButton();this.hideGlobalError()};this.showNotLoggedInAnymoreMessage=function(){tbxF.u.gEl("tbxnlia").className="tbxnlia"};this.hideNotLoggedInAnymoreMessage=function(){tbxF.u.gEl("tbxnlia").className="tbxinvis"}}tbxV=new TbxV();TbxM.U=function(A){this._api=A;this.gModEl=function(C){try{return tbxF.u.gEl(this._api.encodeId(C))}catch(B){return null}};this.bindHandlers=function(F,E,B,C,D){this._bindHandlers(F,E,B,D);this._bindHandlers(C.counterHandlers,C.obj,B)};this._bindHandlers=function(H,G,C,E){for(var B=0;B<H.length;B++){var F=H[B];var D=F[0];if(D=="element"){this._bindElementHandler(F,G,C,E)}else{if(D=="list"){this._bindListHandler(F,G,C,E)}else{}}}this._bindElementHandler(["element","save_settings","onclick","saveClicked"],this._api.connector,C);this._bindElementHandler(["element","cancel_settings","onclick","cancelClicked"],this._api.connector,C)};this._bindElementHandler=function(L,C,K,M){var B=this.gModEl(L[1]);if(B){if(C[L[3]]){if(L.length==4){var D=C[L[3]].bind(C)}else{if(L.length==5){var E=[C].concat(L[4]);var D=C[L[3]].bind.apply(C[L[3]],E)}}var I=B[L[2]];if(!I||M){var H=new TbxM.U.HandlerBinder();H.bindNewHandler(C,L[3],D);var G=new TbxF.EvHan(H,"callBoundFunctions",B);B[L[2]]=G.handle.bind(G)}else{var G=I(TbxF.RETURNOBJECT);if(!G||!G.obj){alert("element "+L[1]+" with "+L[2]+" not bound with bind!!!");return }var H=G.obj;if(!H.bindNewHandler){var J=new TbxM.U.HandlerBinder();J.bindNewHandler(C,L[3],D);J.bindNewHandler(G.obj,G.methodName,G.handle.bind(G));var F=new TbxF.EvHan(J,"callBoundFunctions",B);B[L[2]]=F.handle.bind(F)}else{H.bindNewHandler(C,L[3],D)}}}else{}}else{}};this._bindListHandler=function(D,F,C,E){var B=this.gModEl(D[1]);this._bindListChildrenHandler(B,D,F,C,E)};this._bindListChildrenHandler=function(F,I,D,H,J){for(var E=0;E<tbxF.u.gElT(F,I[3]).length;E++){var B=tbxF.u.gElT(F,I[3])[E];var G=new RegExp(I[2]);if(G.test(B.id)){var C=new Array("element",this._api.decodeId(B.id),I[4],I[5]);if(I[6]){C.push(I[6])}this._bindElementHandler(C,D,H,J)}if(B.childNodes!=null){if(B.childNodes.length>0){this._bindListChildrenHandler(B,I,D,H,J)}}}}};TbxM.U.HandlerBinder=function(){this.boundFunctions=new Array();this.callBoundFunctions=function(C,E){var B=null;for(var A=0;A<this.boundFunctions.length;A++){B=this.boundFunctions[A][2](C,E)}try{if(C.type=="click"){if(C.target){if(C.target.tagName.toLowerCase()!="input"){C.target.blur()}}else{C.srcElement.blur()}}}catch(D){}return B};this.bindNewHandler=function(E,B,C){var D=false;for(var A=0;(A<this.boundFunctions.length&&!D);A++){if(this.boundFunctions[A][0]==E&&this.boundFunctions[A][1]==B){this.boundFunctions[A][2]=C;D=true}}if(!D){this.boundFunctions.push([E,B,C])}}};TbxM.prototype.u=new TbxM.U();TbxM.U.ReplaceFragmentHandler=function(C,B,A,E){this._tEl=B;this._errT=A;this._api=C;this._abort=false;var D=E;this.load=function(G,H){var F=this;if(D){this._api.connector.modView.showThrobber(this._tEl,D)}else{this._api.connector.modView.showThrobber(this._tEl)}this._api.callModuleServer(G,function(I){F.onSuccess(I,H)},this.onError.bind(this,H))};this.onSuccess=function(F,I){if(!this._abort){F=this._api.replaceIds(F);this._tEl.innerHTML="";var H=tbxF.u.cel({n:"div",c:"tbxinvis"});H.innerHTML=F;this._tEl.appendChild(H);var G=this._api.gEl("tbxError");if(G){this._tEl.appendChild(G);this._tEl.removeChild(H);this._api.bindEventHandlers()}else{this._tEl.innerHTML=F;this._api.bindEventHandlers();this._api.connector.instanciateWidgets([this._tEl]);this._api.connector.counterController.analyseAndCountFragment(this._tEl)}}else{this._abort=false}if(I){I()}};this.onError=function(H,F,G){if(!this._abort){this._api.moduleErrorHandlerPrefs(this._tEl,F,G)}else{this._abort=false}};this.abort=function(){this._abort=true}};TbxM.U.WidgetLoader=function(A,B){this._tEl=A;this._connector=B;this.instanciateWidgets=function(){this._connector.instanciateWidgets([this._tEl])}};TbxM.ApiBase=function(B,A){this.connector=A;this._key=B;this.gEl=function(C){};this.replaceIds=function(C){C=C.replace(/id="([^"]*)"/g,'id="'+this.encodeId("$1")+'"');C=C.replace(/for="([^"]*)"/g,'for="'+this.encodeId("$1")+'"');return C};this.decodeId=function(C){};this.callModuleServer=function(F,G,D,C){var E;if(tbxD.m[this._key].c.at){E=tbxD.m[this._key].c.at}TbxComm.Server.forwardRequest(this._key,F,this._onSuccessHandler.bind(this,G,C),D,E)};this._onSuccessHandler=function(F,C,D,E){if(C){D=this.replaceIds(D)}F(D,E)};this.getWidgetController=function(){return this.connector.widgetController}};TbxM.Api=function(A){this.parent=TbxM.ApiBase.prototype;this.parent.constructor.call(this,A.key);this._module=A;this.u=new TbxM.U(this);this.saveSettings=function(B,C,D){this.connector.saveSettings(B,C,D)};this.gEl=function(B){return this.u.gModEl(B)};this.getModuleSettings=function(E,I){var G=tbxF.frm.serialize(E);var H=new Object();for(var C=0;C<G.length;C++){for(var B=0;B<G[C].length;B++){H[G[C][B][0]]=G[C][B][1]}}var D="";for(var F=0;F<I.length;F++){D=D+I[F]+"="+H[I[F]];if(F<I.length-1){D=D+"&"}}return D};this.hidePrefButtonFooter=function(){this.connector.modView.hidePrefButtonFooter()};this.showPrefButtonFooter=function(){this.connector.modView.showPrefButtonFooter()};this.showThrobber=function(B,C){this.connector.modView.showThrobber(B,null,null,C)};this.replaceIds=function(B){B=B.replace(/id="([^"]*)"/g,'id="'+this.encodeId("$1")+'"');B=B.replace(/for="([^"]*)"/g,'for="'+this.encodeId("$1")+'"');return B};this.bindEventHandlers=function(){this.u.bindHandlers(this._module.eventHandlers,this._module,this._key,this.connector.counterController)};this.bindEventHandlersFor=function(C,B){this.u.bindHandlers(C,this._module,this._key,this.connector.counterController,B)};this.getReplaceFragmentHandler=function(C,B,D){return new TbxM.U.ReplaceFragmentHandler(this,C,B,D)};this.getPreferencesFormId=function(){return this.decodeId(this.connector.modView.modPrefsForm.id)};this.reloadModule=function(B){this.connector.reloadModule(B)};this.encodeId=function(B){return this.connector.encodeId(this._key,B)};this.decodeId=function(B){return this.connector.decodeId(this._key,B)};this.showModuleError=function(E,D,C){this.connector.closeSettings();var B=tbxF.$A(arguments);if(B.length==2){E=null;D=B[0];C=B[1]}this.connector.showModuleError(D,C,E)};this.moduleErrorHandler=function(E,B,D,C){this.connector.closeSettings();this._moduleErrorHandler(E,B,D,C)};this.moduleErrorHandlerPrefs=function(E,B,D,C){this._moduleErrorHandler(E,B,D,C)};this._moduleErrorHandler=function(F,B,E,D){var C=tbxF.$A(arguments);if(C.length==2||!E){F=null;B=C[0];E=C[1]}this.connector.showModuleError("","",F,E,D)};this.createGlobalObject=function(B){return this.connector.createGlobalObject(B)};this.count=function(B){this.connector.counterController.analyseAndCountCustom(B)};this.getDomain=function(){var B=document.URL;var C=B.match(/https?:\/\/[^\/]+/);if(C&&C[0]){return C[0]}else{return""}};this.getJsonData=function(G,C){var D=this.gEl(G);var F=null;if(D){try{F=tbxF.json.parse(D.innerHTML)}catch(E){F=null}if(C){var B=D.parentNode;B.removeChild(D)}}return F};this.showThrobber=function(D,C,B){tbxE.showThrobber(D,C,B)};this.createModuleError=function(G,F,E,D,C,B){return tbxE.createModuleError(G,F,E,D,C,B)};this.reloadModuleStatus=function(){this.connector.reloadModuleStatus(this._key)}};TbxM.Api.prototype=new TbxM.ApiBase();TbxM.Api.prototype.constructor=TbxM.Api;TbxM.Widgetapi=function(B,A){this.parent=TbxM.ApiBase.prototype;this.parent.constructor.call(this,B,A);this.gEl=function(C){return tbxF.u.gEl(this.encodeId(C))};this.encodeId=function(C){return this.connector.encodeId(this._key,C)};this.decodeId=function(C){return this.connector.decodeId(this._key,C)};this.showThrobber=function(E,D,C){tbxE.showThrobber(E,D,C)};this.createModuleError=function(H,G,F,E,D,C){return tbxE.createModuleError(H,G,F,E,D,C)};this.getWidgetLoader=function(C){return new TbxM.U.WidgetLoader(C,this.connector)}};TbxM.Widgetapi.prototype=new TbxM.ApiBase();TbxM.Widgetapi.prototype.constructor=TbxM.Widgetapi;TbxM.Base=function(A){this.eventHandlers=[];this.key=A;this.REASON={SAVE:"SAVE",CANCEL:"CANCEL"};this.SETTINGSBUTTON={SAVE:"save_settings",CANCEL:"cancel_settings"};this.BUTTONSTATUS={ENABLE:"enable",DISABLE:"disable",HIDE:"hide"};this.api=new TbxM.Api(this);this.init=function(D,C,B){};this.settingsOpened=function(){};this.settingsClosed=function(B){};this.modifySettingsButton=function(C,D){var B=this.api.getWidgetController().getWidget(C);if(B&&B!="undefined"){B[D]()}}};function TbxM(){}tbxM=new TbxM();function TbxE(){this.createThrobber=function(A){var B="";if(A){B="; padding: "+Math.ceil((A-30)/2)+"px 0"}var D='<div class="tbx_c_nodist" style="text-align: center'+B+'"><img class="tbx_i_image" src="http://www.t-online.de/scs/d5s/16/i/throbber.gif" alt="bitte warten"/></div>';var C=tbxF.u.cel({n:"div",c:"tbx_throbberc"});C.innerHTML=D;return C};this.showThrobber=function(E,D,A,C){var B;if(D){if(!A){A=E.offsetHeight}B=this.createThrobber(A)}else{B=this.createThrobber()}E.innerHTML="";E.appendChild(B);if(C){E.innerHTML='<div class="tbx_g_1a">'+E.innerHTML+"</div>"+this.createFooter("","")}};this.createModuleInlineError=function(H,G,D,B,F){var A="";if(!tbxF.u.sEmpty(H)){A='<div class="tbx_c_section"><div class="tbx_i_text_bold">'+H+"</div></div>"}var E="";if(!tbxF.u.sEmpty(D)){E='<div class="tbx_c_section" /><div class="tbx_c_nodist" align="right"><a id=\''+F+"' href=\"javascript:void window.open('"+B+"','Fehler','scrollbars=yes');\" class=\"tbx_i_link_text\">"+D+"</a></div>"}var C='<div class="tbx_g_1a"><div class="tbx_c_error">'+A+'<div class="tbx_c_nodist"><div class="tbx_i_text_normal">'+G+"</div></div>"+E+"</div></div>";return C};this.createModuleError=function(G,I,H,J,B,E){var C=false;if(tbxF.u.sEmpty(I)){if(H){switch(H){case tbxF.rCodes.TIMEOUT:G="Fehler";I="Bei Ihrer Anfrage ist eine Zeit&uuml;berschreitung aufgetreten. Bitte versuchen Sie es später noch einmal.";if(typeof (J)=="undefined"){J=true}B="Modul neuladen";E="javascript:;";TbxC.Counter.getInstance().countAny("CP/00000000;/TBX_SC/error/technical_failure.html");break;case TbxComm.Server.errorCodes.UserNotLoggedIn:G="Bitte Login durchführen.";if(typeof (J)=="undefined"){J=true}tbxV.showLoginGlow();TbxC.Counter.getInstance().countAny("CP/00000000;/TBX_SC/error/not_activated.html");break;case TbxComm.Server.errorCodes.UserNotLoggedInAnymore:G="Ihr Login wurde beendet. Bitte geben Sie eMail-Adresse und Passwort noch einmal ein.";tbxV.showReLogin();TbxC.Counter.getInstance().countAny("CP/00000000;/TBX_SC/error/not_activated.html");break;default:G="";I="Ein Fehler ist aufgetreten. Bitte versuchen Sie es später noch einmal.";TbxC.Counter.getInstance().countAny("CP/00000000;/TBX_SC/error/technical_failure.html");break}}else{G="";I="Ein Fehler ist aufgetreten. Bitte versuchen Sie es später noch einmal.";TbxC.Counter.getInstance().countAny("CP/00000000;/TBX_SC/error/technical_failure.html")}}if(B=="Modul neuladen"){C=true}var A="";if(!tbxF.u.sEmpty(G)){A='<div class="tbx_c_section"><div class="tbx_i_text_headline">'+G+"</div></div>"}var D="";if(J){D=this.createFooter(B,E,C)}var F='<div id="tbxError" class="tbx_g_1a"><div class="tbx_c_section"></div>'+A+'<div class="tbx_c_section"><div class="tbx_i_text_headline">'+I+"</div></div></div>"+D;return F};this.showModuleError=function(G,F,E,B,A,C,D){if(C){C.innerHTML=this.createModuleError(G,F,E,!(D==false),B,A)}};this.showModuleInlineError=function(F,E,B,A,C,D){if(C){C.innerHTML=this.createModuleInlineError(F,E,B,A,D)}};this.createFooter=function(C,A,B){var D="";if(!tbxF.u.sEmpty(C)&&!tbxF.u.sEmpty(A)){D='<div class="tbx_modf_l"><div class="tbx_modf_lr"><a href="'+A+'" class="tbx_i_link_text" id="tbx_error_footer_link"';if(!B){D=D+' target="_blank"'}D=D+">"+C+"</a></div></div>"}else{D='<div class="tbx_modf_s" />'}return D}}tbxE=new TbxE();function TbxComm(){}TbxComm.ModuleModel=function(B){this.statusmessage;var C=false;var A=[];this.loadStatus=function(D){A.push(D);if(!C){C=true;TbxComm.Server.loadStatus(B,this._loadStatusSuccessHandler.bind(this),this._loadStatusErrorHandler.bind(this))}};this._loadStatusSuccessHandler=function(E){this.statusmessage=E;for(var D=A.length-1;D>=0;D--){A[D](E);A.pop()}C=false};this._loadStatusErrorHandler=function(D,E){this._loadStatusSuccessHandler("");C=false}};TbxComm.InlineModuleModel=function(key){this.parent=TbxComm.ModuleModel.prototype;this.parent.constructor.call(this,key);var callback;var moduleContent;var moduleClass;var moduleError;var className;var widgetClass;var widgetClassName;var contentLoaded=false;var contentErrorOccured=false;var jsErrorOccured=false;this.ERRORS={Load:"Load"};this.loadModuleContent=function(cb,params){callback=cb;contentLoaded=false;contentErrorOccured=false;jsErrorOccured=false;moduleError=false;var timeout;if(tbxD.m[key].c.at){timeout=tbxD.m[key].c.at}TbxComm.Server.openModule(key,_moduleContentReceivedHandler.bind(this),_moduleContentReceivedErrorHandler.bind(this),timeout,params);className=tbxC.getModule(key).getJsClass();if(!TbxM[className]){var jsPath=tbxC.getModule(key).getJsPath();TbxComm.Server.loadModJS(jsPath,_moduleJSReceivedHandler.bind(this),_moduleJSReceivedErrorHandler.bind(this),timeout)}else{moduleClass=TbxM[className]}widgetClassName="Widgets";if(!TbxM[widgetClassName]){var jsPath="widgets.js";TbxComm.Server.loadModJS(jsPath,_widgetJSReceivedHandler.bind(this),_moduleJSReceivedErrorHandler.bind(this),timeout)}else{widgetClass=TbxM[widgetClassName]}};function _moduleContentReceivedHandler(content){moduleContent=content;contentLoaded=true;_moduleContentComplete()}function _moduleContentReceivedErrorHandler(error,errorcode){moduleError=errorcode;contentErrorOccured=true;moduleContent=null;_moduleContentComplete()}function _moduleJSReceivedHandler(content){try{eval(content);moduleClass=TbxM[className];_moduleContentComplete()}catch(e){_moduleJSReceivedErrorHandler()}}function _widgetJSReceivedHandler(content){try{eval(content);widgetClass=TbxM[widgetClassName];_moduleContentComplete()}catch(e){_moduleJSReceivedErrorHandler()}}function _moduleJSReceivedErrorHandler(){jsErrorOccured=true;if(!moduleError){moduleError=this.ERRORS.Load}_moduleContentComplete()}function _moduleContentComplete(){if(callback&&(widgetClass||jsErrorOccured)&&(moduleClass||jsErrorOccured)&&(contentLoaded||contentErrorOccured)){callback(moduleContent,moduleClass,moduleError);callback=null}}function _encodeId(id){if(key){return key+"_"+id}else{return id}}};TbxComm.InlineModuleModel.prototype=new TbxComm.ModuleModel();TbxComm.InlineModuleModel.prototype.constructor=TbxComm.InlineModuleModel;TbxComm.RHan=function(E,B,H,I,C,G){this._params=B;this._timeout=H;this._baseurl=E;this._tfm=I;var A;var F=null;this.load=function(){A=new TbxF.R(this,this._timeout);F=TbxComm.Server.addOngoingRequest(A,this._baseurl,this._params);A.fetchContent(this._baseurl,this._params,this._tfm)};this.onError=function(K,J){TbxComm.Server.removeOngoingRequest((F-1),this._baseurl,this._params);D(K,J)};this.onSuccess=function(K,J){TbxComm.Server.removeOngoingRequest((F-1),this._baseurl,this._params);D(K,J)};function D(K,J){var L=null;if(J!=tbxF.rCodes.TIMEOUT){L=A.getResponseHeader("X-SC-ERROR")}if(parseInt(J)==200&&(tbxF.u.sEmpty(L)||L=="200")){C(K,"200")}else{if(tbxF.u.sEmpty(L)){L=J}if(isNaN(L)){G(K,L)}else{G(K,parseInt(L))}}}};TbxComm.Server=function(){};TbxComm.Server.loadTbxConfig=function(B,A){var C="c=lt&cv=d5s";TbxComm.Server._doAjaxRequest(C,B,A,"10000","GET")};TbxComm.Server.loadConfigJS=function(B,A,E){if(!E){E="10000"}var D=TbxComm.Server._getServerUrl()+"/"+tbxS.dyn+"/a/client/d5s/static/setwin/tbxsw_js/tbxsw.js";var C=new TbxComm.RHan(D,"",E,"GET",B,A);C.load()};TbxComm.Server.saveTbxSettings=function(C,B,A){var C="c=st&cv=d5s&d="+encodeURIComponent(C);TbxComm.Server._doAjaxRequest(C,B,A,"10000","GET")};TbxComm.Server.openModule=function(D,B,A,E,C){if(!E){E="10000"}var F="c=om&cv=d5s&m="+D;if(C){F=F+"&d="+encodeURIComponent(C)}TbxComm.Server._doAjaxRequest(F,B,A,E,"GET")};TbxComm.Server.openConfigTeaser=function(B,A){var C=new Date();var D="c=oct&cv=d5s&x="+C.getTime();TbxComm.Server._doAjaxRequest(D,B,A,10000,"GET")};TbxComm.Server.openSecureModuleUrl=function(D,C){var B=TbxComm.Cookie.getCookieNames().tss+"/ps/ps.do?";var F="c=osm&cv=d5s&m="+D;var A=TbxComm.Server._getServerUrl()+"/"+tbxS.dyn+"/"+tbxS.au;F=F+"&w="+encodeURIComponent(A);if(C){F=F+"&d="+encodeURIComponent(C)}var E=new Array();if(tbxS.us==TbxC.Main.stat.ukn){E.push("l=0")}else{E.push("l=1")}E.push("n=3");if(!F||tbxF.u.sEmpty(F)){F=E.join("&")}else{F+="&"+E.join("&")}B=B+F;return B};TbxComm.Server.forwardRequest=function(C,E,B,A,D){if(!D){D="10000"}E="c=fr&cv=d5s&m="+C+"&d="+encodeURIComponent(E);TbxComm.Server._doAjaxRequest(E,B,A,D,"POST")};TbxComm.Server.saveModule=function(C,D,B,A){D="c=sm&cv=d5s&m="+C+"&d="+encodeURIComponent(D);TbxComm.Server._doAjaxRequest(D,B,A,"10000","GET")};TbxComm.Server.openSetWinUrl=function(){var B=TbxComm.Cookie.getCookieNames().tss+"/ps/ps.do?c=lgs&cv=d5s";var A=TbxComm.Server._getServerUrl()+"///scd/a/pages/d5s/";B=B+"&s=d5s_s_wirk1&w="+encodeURIComponent(A);return B};TbxComm.Server.destroySession=function(B,A){var C="c=ds&cv=d5s";TbxComm.Server._doAjaxRequest(C,B,A,"10000","GET")};TbxComm.Server.errorCodes={ModuleDefaultSettingsError:7001,ModuleStatusError:7002,GeneralToolboxError:7010,GeneralModuleError:7011,InvalidSecureCookie:7013,UserNotLoggedIn:7031,UserNotLoggedInAnymore:7032,UserLoginStateUnknown:7033,UserLoggedInNoServerSession:7034,UserNotLoggedInButServerSession:7035};TbxComm.Server.loadStatus=function(C,B,A){var D="c=ls&cv=d5s&m="+C;TbxComm.Server._doAjaxRequest(D,B,A,"10000","GET")};TbxComm.Server.loadPromotion=function(C,B,A){var D="c=omt&cv=d5s&m="+C;TbxComm.Server._doAjaxRequest(D,B,A,"10000","GET")};TbxComm.Server.openConfigurator=function(D,C,B,A){var E="c=oc&cv=d5s";if(C&&C!=null){E=E+"&m="+C}if(D){E=E+"&dm=1"}TbxComm.Server._doAjaxRequest(E,B,A,"10000","GET")};TbxComm.Server.loadAllStatus=function(D,C,B,A){var E="c=ls2&cv=d5s";if(C!=null){E=E+"&"+C}TbxComm.Server._doAjaxRequest(E,B,A,"10000","GET",D)};TbxComm.Server.loadModJS=function(F,B,A,E){if(!E){E="10000"}var D="/scd/m/16/mod/tbx/js/"+F;var C=new TbxComm.RHan(D,"",E,"GET",B,A);C.load()};TbxComm.Server._getServerUrl=function(){return window.location.protocol+"//"+window.location.host};TbxComm.Server._doAjaxRequest=function(D,I,G,H,C,B){if(!tbxC.offlineStatus){var F=new Array();if(tbxS.us==TbxC.Main.stat.ukn){F.push("l=0")}else{F.push("l=1")}F.push("n=3");if(!D||tbxF.u.sEmpty(D)){D=F.join("&")}else{D+="&"+F.join("&")}var A;if(B!=null&&B!="undefined"){A=tbxS.dyn+"/"+B+"/ps.do"}else{A=tbxS.dyn+"/"+tbxS.au+"/ps.do"}var E=new TbxComm.RHan(A,D,H,C,I,TbxComm.Server._onErrorHandler.bind(TbxComm.Server,D,I,G,H,C));E.load()}};TbxComm.Server._pendingRequests={};TbxComm.Server._onErrorHandler=function(C,J,G,H,B,D,E){switch(E){case TbxComm.Server.errorCodes.UserLoginStateUnknown:var A=new Date();var F=A.getTime();TbxComm.Server._pendingRequests[F]=TbxComm.Server._doAjaxRequest.bind(TbxComm.Server,C,J,G,H,B);var K=TbxComm.Server._getServerUrl()+"/"+tbxS.dyn+"/"+tbxS.au+"/pages/d5s/lg7033resultiframe.html?ts="+F;var I=TbxComm.Cookie.getCookieNames().tss+"/ps/ps.do?c=rlg&cv=d5s&w="+encodeURIComponent(K);tbxV.generateCommIFrame(I);break;case TbxComm.Server.errorCodes.UserNotLoggedInAnymore:case TbxComm.Server.errorCodes.InvalidSecureCookie:case TbxComm.Server.errorCodes.UserNotLoggedIn:case TbxComm.Server.errorCodes.UserNotLoggedInButServerSession:case TbxComm.Server.errorCodes.UserLoggedInNoServerSession:tbxC.reloadPage();break;default:G(D,E);break}};TbxComm.Server.performPendingRequest=function(A){TbxComm.Server._pendingRequests[A]()};TbxComm.Server.ongoingRequests=[];TbxComm.Server.addOngoingRequest=function(B,A,C){TbxComm.Server.ongoingRequests.push(B);return TbxComm.Server.ongoingRequests.length};TbxComm.Server.removeOngoingRequest=function(C,A,B){TbxComm.Server.ongoingRequests[(C-1)]=false};TbxComm.Cookie=function(){};TbxComm.Cookie._cookieNames;TbxComm.Cookie.getCookieNames=function(){if(!TbxComm.Cookie._cookieNames){var B=TbxComm.Cookie._getDomain();var C;for(var A in tbxCookieConfig){if((B.indexOf("."+A)>-1)||(B.indexOf("/"+A)>-1)||(B==A)){C=A;break}}if(C){TbxComm.Cookie._cookieNames=tbxCookieConfig[C];TbxComm.Cookie._cookieNames.masterDomain=C}else{tbxC.showGlobalError(tbxC.error.loadconfig)}}return TbxComm.Cookie._cookieNames};TbxComm.Cookie.checkIsSaveDomain=function(){var A=TbxComm.Cookie._getDomain();if(A!=null){if(A.indexOf("t-online.de")>-1){return true}}return false};TbxComm.Cookie.loadCookies=function(){var B=TbxComm.Cookie._getDomain();if(B!=null){var A=window.tbxcookie;if(A){if(tbxC.safari||tbxC.opera){tbxF.u.gEl("tbxcookie").src="http://tbx.t-online.de/ps/cr.do?j=parent.tbxC.cookieLoaded&t="+encodeURIComponent(B)}else{A.location.replace("http://tbx.t-online.de/ps/cr.do?j=parent.tbxC.cookieLoaded&t="+encodeURIComponent(B))}}}else{tbxC.showGlobalError(tbxC.error.loadconfig)}};TbxComm.Cookie.saveCookies=function(B){if(!TbxComm.Cookie.checkIsSaveDomain()){var A=window.tbxcookie;if(A){if(tbxC.safari||tbxC.opera){tbxF.u.gEl("tbxcookie").src=TbxComm.Cookie.getCookieNames().tsn+"/ps/cr.do?j=&c="+B}else{A.location.replace(TbxComm.Cookie.getCookieNames().tsn+"/ps/cr.do?j=&c="+B)}}}};TbxComm.Cookie._getDomain=function(){var A=document.URL;var B=A.match(/https?:\/\/[^\/]+/);if(B&&B[0]){return B[0]}else{return null}};TbxComm.Cookie.loadPersCookie=function(){return tbxF.c.gc(TbxComm.Cookie.getCookieNames().pc)};TbxComm.Cookie.saveConfigCookie=function(B,A){if(TbxComm.Cookie._checkPersCookie()){tbxF.c.sc(TbxComm.Cookie.getCookieNames().cc,B,"2592000","/",TbxComm.Cookie.getCookieNames().masterDomain,false)}else{tbxF.c.sc(TbxComm.Cookie.getCookieNames().cc,B,null,"/",TbxComm.Cookie.getCookieNames().masterDomain,false)}if(A){TbxComm.Cookie.saveCookies(TbxComm.Cookie.getCookieNames().cc)}};TbxComm.Cookie.loadConfigCookie=function(){return tbxF.c.gc(TbxComm.Cookie.getCookieNames().cc)};TbxComm.Cookie.deleteConfigCookie=function(){tbxF.c.dc(TbxComm.Cookie.getCookieNames().cc,"/",TbxComm.Cookie.getCookieNames().masterDomain,false)};TbxComm.Cookie._persistentCookieSupported="ukn";TbxComm.Cookie._checkPersCookie=function(){if(TbxComm.Cookie._persistentCookieSupported=="ukn"){TbxComm.Cookie._persistentCookieSupported=tbxF.c.tpc()}return TbxComm.Cookie._persistentCookieSupported};TbxComm.Cookie._sessionCookieSupported="ukn";TbxComm.Cookie._checkSessionCookie=function(){if(TbxComm.Cookie._sessionCookieSupported=="ukn"){TbxComm.Cookie._sessionCookieSupported=tbxF.c.tsc()}return TbxComm.Cookie._sessionCookieSupported};TbxComm.Cookie.checkCookieInFrames=function(){if((TbxComm.Cookie._sessionCookieSupported=="ukn")||(TbxComm.Cookie._persistentCookieSupported=="ukn")){tbxC.generateCookieTestFrame()}};TbxComm.Cookie.cookieSupport=function(A,B){TbxComm.Cookie._sessionCookieSupported=A;TbxComm.Cookie._persistentCookieSupported=B;if(A=="false"||!A){tbxC.cookieCheckFinished(false)}else{tbxC.cookieCheckFinished(true)}};function TbxC(){}TbxC.Counter=function(A){if(!A||A!="new"){throw new Error("There is no public constructor for TbxC.Counter.")}var E=false;var D=new Array();this.init=function(){E=true;if(D.length>0){for(var F=0;F<D.length;F++){C(D[F])}D=new Array()}};function B(F,J){if(!tbxC.offlineStatus){if(F){var G=Date.parse(new Date());var H=escape(document.referrer);var I="";if(tbxPartner&&tbxPartner.ssl){I="https://toissl.passul.t-online.de/cgi-bin/"+F+"?r="+H+"&d="+G}else{I=J+F+"?r="+H+"&d="+G}if(E){C(I)}else{D.push(I)}}}}function C(G){var F=new Image();F.src=G}this.settingsOpened=function(F){this.countAny(tbxD.m[F].d5s.co)};this.contentLoaded=function(G,F){if(G.indexOf("Bitte schalten Sie diesen Dienst im Kundencenter frei, um ihn zu nutzen.")>-1){this.countAny("CP/00000000;/TBX_SC/error/not_activated.html")}else{if(G.indexOf("Ein Fehler ist aufgetreten.")>-1){this.countAny("CP/00000000;/TBX_SC/error/technical_failure.html")}else{this.countAny(tbxD.m[F].d5s.cl)}}};this.moduleClosedOnEdit=function(F){this.countAny(tbxD.m[F].d5s.ce)};this.moduleShowInfoBubble=function(F){if(F!="configteaser"){this.countAny(tbxD.m[F].d5s.ib)}};this.tbxSetWinOpen=function(){this.tbxCountAny("konfigurator.html")};this.tbxHelp=function(){this.tbxCountAny("hilfe.html")};this.tbxCountAny=function(F){if(tbxPartner){this.countAny("CP/00000000;/TBX_Partner/"+F)}else{this.countAny("CP/00000000;/TBX/common/"+F)}};this.countAny=function(F){B(F,"http://intern.passul.t-online.de/cgi-bin/");if(""){B(F,"")}};this.countAnyFullUrl=function(G,F){B(G,F)}};TbxC.Counter.__instance__=null;TbxC.Counter.getInstance=function(){if(this.__instance__==null){this.__instance__=new TbxC.Counter("new")}return this.__instance__};TbxC.ModHandlerSmall=function(A){if(!A||A!="new"){throw new Error("There is no public constructor for TbxC.ModHandlerSmall.")}var D;var B;var E;var F;var C;this.requestOpen=function(I,H,G){if(!tbxC.locked){if(tbxPartner){return this._requestOpenWindow(I,G)}else{if(!H){if(E){window.clearTimeout(E);E=false}return this._requestOpenWindow(I,G)}else{return this._requestOpenModule(I,G)}}}};this._requestOpenModule=function(H,G){if(!tbxC.modulesCSSLoaded){tbxC.loadModulesCSS()}if(!H.modCSSLoaded){if(tbxD.m[H.key].d5s.css){tbxC.loadModulesCSS(H,tbxD.m[H.key].d5s.css)}}if(E){window.clearTimeout(E);E=false}if(F&&C==H){window.clearTimeout(F);F=false}else{D=H;if(G){this._performOpen()}else{E=window.setTimeout(this._performOpen,400)}}};this._requestOpenWindow=function(H,G){if(G){if(H.key=="configteaser"){if(B==H){this.requestClose(H)}tbxC._openSetWin()}else{if(tbxPartner){TbxC.Counter.getInstance().countAny(tbxD.m[H.key].d5s.cpo)}else{if(B==H){this.requestClose(H)}TbxC.Counter.getInstance().countAny(tbxD.m[H.key].d5s.cplo)}window.open(tbxD.m[H.key].c.pbl);H.btnView.setClose()}}};this._performOpen=function(){window.clearTimeout(E);E=false;if(D){if(B&&B!=D&&B.isOpen){B.closeModuleNow(true)}if(F){window.clearTimeout(F);F=false}D.openModule();B=D;D=false}};this.requestClose=function(G){if(E){window.clearTimeout(E);E=false}if(G.isOpen){if(F){window.clearTimeout(F);F=false;if(C&&C!=G&&C.isOpen){C.closeModuleNow()}}C=G;F=window.setTimeout(this._performClose,400)}};this._performClose=function(){window.clearTimeout(F);F=false;if(C){if(B&&B.isOpen){B.closeModuleNow()}if(D&&D.isOpen){D.closeModuleNow()}}};this.closeCurrent=function(){if(F){window.clearTimeout(F);F=false}if(E){window.clearTimeout(E);E=false}if(B){B.closeModuleNow()}}};TbxC.ModHandlerSmall.__instance__=null;TbxC.ModHandlerSmall.getInstance=function(){if(this.__instance__==null){this.__instance__=new TbxC.ModHandlerSmall("new")}return this.__instance__};TbxC.Mod=function(A,B){this.key=A;this.dummy=B;this.btnView;this.modView;this.modModel;this.isOpen=false;this.modCSSLoaded=false;this.makeDummy=function(){this.dummy=true;this.btnView.makeDummy();if(tbxD.m[this.key].c.std){this.btnView._setStatus(tbxD.m[this.key].c.std,tbxD.m[this.key].d5s.icb)}};this.makeUnDummy=function(){this.dummy=false;if(!this.modView){this.createModule();if(this.modView){tbxV.appendModule(this.modView)}}this.btnView.makeUnDummy();if(this.modModel.statusmessage){this._setStatusJSON(this.modModel.statusmessage)}};this._loadStatus=function(){if(tbxD.m[this.key].c.st&&!(tbxS.us==TbxC.Main.stat.ukn&&tbxD.m[this.key].c.as)){this.modModel.loadStatus(this._setStatusJSON.bind(this))}else{if(tbxS.us==TbxC.Main.stat.ukn&&tbxS.uc.p==0){this._setStatusJSON("")}}if(!tbxD.m[this.key].c.st&&tbxD.m[this.key].c.spl&&!(tbxS.us==TbxC.Main.stat.ukn&&tbxD.m[this.key].c.as)){this.modModel.loadStatus(this._setStatusJSON.bind(this))}};this._setStatusJSON=function(D){var C;try{C=tbxF.json.parse(D)}catch(E){}this.setStatus(C)};this.setStatus=function(D){var G;var E;var C;var F;if(D&&D.status){G=D.status}else{G=""}if(D&&D.buttonlink){E=D.buttonlink}else{E=""}if(D&&D.iconbuttonurl){C=D.iconbuttonurl}else{sicon=""}if(D&&D.icontitleurl){F=D.icontitleurl}else{sicon=""}if(G||C||F){this.btnView.setStatus(G,C,F);if(this.modView){this.modView.setStatus(G)}}if(tbxConfig.partner){if(E&&E!=""){tbxD.m[this.key].c.pbl=E}}};this.closeNow=function(C){this.closeModuleNow(true)};this.openInfoBubble=function(C){this.showInfoBubble();TbxC.Counter.getInstance().moduleShowInfoBubble(this.key)};this.closeInfoBubble=function(C){this.closeInfoBubbleNow()}};TbxC.InlineMod=function(A,B){this.parent=TbxC.Mod.prototype;this.parent.constructor.call(this,A,B);this.modModel=new TbxComm.InlineModuleModel(this.key);this.connector;this.timeoutTimeout;this.init=function(){this.createModuleButton();var C=tbxV.appendButton(this.btnView);if(!this.dummy){this.makeUnDummy()}else{this.makeDummy()}return C};this._showModuleContent=function(D,C){this.modView.showContent(D,this.showModuleError.bind(this));this.connector=new TbxC.InlineConnector(C,this.key);this.connector.init()};this.showModuleError=function(I,F,H,G,E,D){this.modView.showError(I,F,H,G,E,D);if(H==tbxF.rCodes.TIMEOUT||E=="Modul neuladen"){if(this.lastServerContentRequest){this.lastServerContentRequest=0}var C=tbxF.u.gEl("tbx_error_footer_link");if(C){C.onclick=this.openModule.bind(this,true);this.timeoutTimeout=window.setTimeout(this.openModule.bind(this,true),12000)}}};this.clearTimeouts=function(){if(this.timeoutTimeout){window.clearTimeout(this.timeoutTimeout)}if(this.connector&&this.connector.timeoutTimeout){window.clearTimeout(this.connector.timeoutTimeout)}}};TbxC.InlineMod.prototype=new TbxC.Mod();TbxC.InlineMod.prototype.constructor=TbxC.InlineMod;TbxC.InlineModSmall=function(A,B){this.parent=TbxC.InlineMod.prototype;this.parent.constructor.call(this,A,B);this.lastServerContentRequest=0;this.createModuleButton=function(){this.btnView=new TbxV.Btn(this.key,this.dummy,this,"mouseIn","mouseOut","btnClick")};this.createModule=function(){if(!tbxPartner){this.modView=new TbxV.InlineMod(this.key,this.btnView,this,"mouseIn","mouseOut","closeNow","openInfoBubble","closeInfoBubble")}};this.mouseIn=function(){TbxC.ModHandlerSmall.getInstance().requestOpen(this,true)};this.mouseOut=function(){if((!this.connector)||(this.connector&&this.connector.modState!=this.connector.MODULESTATES.preferences)){TbxC.ModHandlerSmall.getInstance().requestClose(this)}};this.btnClick=function(){TbxC.ModHandlerSmall.getInstance().requestOpen(this,false,true)};this.openModule=function(D){if(D==true&&this.isOpen){this.modView.showAllThrobber();this.lastServerContentRequest=0;this.loadModuleContent(true)}else{if(!this.isOpen&&!D){this.modView.openModule();var C=new Date();if(this.key=="configteaser"){this.modView.showAllThrobber();this.lastServerContentRequest=0;this.loadModuleContent(false)}else{if((tbxD.m[this.key].c.ct!=-1&&(C.getTime()-tbxD.m[this.key].c.ct>this.lastServerContentRequest)&&((!this.connector)||(this.connector&&this.connector.modState!=this.connector.MODULESTATES.preferences)))||(tbxD.m[this.key].c.ct==-1&&this.lastServerContentRequest==0)){this.modView.showAllThrobber();this.lastServerContentRequest=0;this.loadModuleContent(true)}}this.isOpen=true}}};this.closeModule=function(){if((!this.connector)||(this.connector&&this.connector.modState!=this.connector.MODULESTATES.preferences)){this.modView.closeModule();if(this.connector){this.connector.moduleIsClosing()}if(this.timeoutTimeout){this.clearTimeouts()}}};this.closeModuleNow=function(C){if(C||(!this.connector)||(this.connector&&this.connector.modState!=this.connector.MODULESTATES.preferences)){this.modView.closeModuleNow();if(this.connector){this.connector.moduleIsClosing()}if(this.timeoutTimeout){this.clearTimeouts()}this.isOpen=false}};this.showInfoBubble=function(){this.modView.showInfoBubble()};this.closeInfoBubbleNow=function(){this.modView.closeInfoBubbleNow()};this.closingCompleted=function(){this.isOpen=false;if(this.connector&&this.connector.modState==this.connector.MODULESTATES.preferences){TbxC.Counter.getInstance().moduleClosedOnEdit(this.key)}};this.loadModuleContent=function(C){this.modModel.loadModuleContent(this.showModuleContent.bind(this));if(C){this._loadStatus()}this.clearTimeouts()};this.showModuleContent=function(F,C,E){var D=new Date();this.lastServerContentRequest=D.getTime();if(!E){if(F&&C){this._showModuleContent(F,C);TbxC.Counter.getInstance().contentLoaded(F,this.key)}else{this.showModuleError("","",E)}}else{this.showModuleError("","",E)}};this.remove=function(){tbxV.deleteButton(this.key);if(this.modView){tbxV.deleteModule(this.modView)}};this.getJsPath=function(){return tbxD.m[A].d5s.js};this.getJsClass=function(){return tbxD.m[A].d5s.jsc}};TbxC.InlineModSmall.prototype=new TbxC.InlineMod();TbxC.InlineModSmall.prototype.constructor=TbxC.InlineModSmall;TbxC.ConfigTeaser=function(B){this.parent=TbxC.InlineModSmall.prototype;this.parent.constructor.call(this,B);var A=tbxF.u.gEl("tbxbs");if(!tbxPartner){this.modView=new TbxV.ConfigTeaser(this.key,null,this,"mouseIn","mouseOut","closeNow","openInfoBubble","closeInfoBubble")}this._init=function(){if(this.modView){tbxV.appendModule(this.modView)}var C=new TbxF.EvHan(this,"_mouseIn",A);A.onmouseover=C.handle.bind(C);C=new TbxF.EvHan(this,"_mouseOut",A);A.onmouseout=C.handle.bind(C);C=new TbxF.EvHan(this,"_btnClick",A);A.onclick=C.handle.bind(C);if(!this.dummy){this.makeUnDummy()}else{this.makeDummy()}this.modCSSLoaded=true};this.makeUnDummy=function(){this.dummy=false;if(!this.modView){this.createModule();if(this.modView){tbxV.appendModule(this.modView)}}};this.loadModuleContent=function(){TbxComm.Server.openConfigTeaser(this._showModuleContent.bind(this),this.stopLoadingAndOpenSetWin.bind(this))};this.stopLoadingAndOpenSetWin=function(){this.modView.closeModuleNow();tbxC.openSettingsWindow(true,null)};this._showModuleContent=function(C){this.modView.showContent(C);TbxC.Counter.getInstance().tbxCountAny("dienste_auswaehlen.html")};this.showModuleError=function(H,E,G,F,D,C){this.stopLoadingAndOpenSetWin()};this._mouseIn=function(C){TbxC.ModHandlerSmall.getInstance().requestOpen(this,true,false)};this._mouseOut=function(C){TbxC.ModHandlerSmall.getInstance().requestClose(this)};this._btnClick=function(C){TbxC.ModHandlerSmall.getInstance().requestOpen(this,false,true)};this._init()};TbxC.ConfigTeaser.prototype=new TbxC.InlineModSmall();TbxC.ConfigTeaser.prototype.constructor=TbxC.ConfigTeaser;TbxC.IframeMod=function(A,B){this.parent=TbxC.Mod.prototype;this.parent.constructor.call(this,A,B)};TbxC.IframeMod.prototype=new TbxC.Mod();TbxC.IframeMod.prototype.constructor=TbxC.IframeMod;TbxC.IframeModSmall=function(A,B){this.parent=TbxC.IframeMod.prototype;this.parent.constructor.call(this,A,B);this.modModel=new TbxComm.ModuleModel(this.key);var C=false;this.setModSetState=function(D){C=D};this.lastServerContentRequest=0;this.init=function(){this.btnView=new TbxV.Btn(this.key,this.dummy,this,"mouseIn","mouseOut","btnClick");var D=tbxV.appendButton(this.btnView);if(!this.dummy){this.makeUnDummy()}else{this.makeDummy()}return D};this.createModule=function(){if(!tbxPartner){this.modView=new TbxV.IframeMod(this.key,this.btnView,this,"mouseIn","mouseOut","closeNow","openInfoBubble","closeInfoBubble");tbxC.createGlobalObject(this,"ifmod_"+this.key)}};this.openModule=function(){if(!this.isOpen){this.modView.openModule();var D=new Date();if((tbxD.m[this.key].c.ct!=-1&&(D.getTime()-tbxD.m[this.key].c.ct>this.lastServerContentRequest))||(tbxD.m[this.key].c.ct==-1&&this.lastServerContentRequest==0)){this.modView.showAllThrobber();this.lastServerContentRequest=0;this.loadModuleContent(true)}this.isOpen=true}};this.closeModule=function(){if(!C){this.modView.closeModule();if(this.connector){this.connector.moduleIsClosing()}}};this.closingCompleted=function(){this.isOpen=false};this.closeModuleNow=function(D){if(D||!C){this.modView.closeModuleNow();if(this.connector){this.connector.moduleIsClosing()}this.isOpen=false}};this.showInfoBubble=function(){this.modView.showInfoBubble()};this.closeInfoBubbleNow=function(){this.modView.closeInfoBubbleNow()};this.loadModuleContentDelayed=function(D,E){window.setTimeout(this.loadModuleContent.bind(this,D,E),10)};this.loadModuleContent=function(D,G){var F=new Date();this.lastServerContentRequest=F.getTime();var E=TbxComm.Server.openSecureModuleUrl(this.key,G);this.modView.showContent(E);if(D){this._loadStatus()}};this.mouseIn=function(){TbxC.ModHandlerSmall.getInstance().requestOpen(this,true)};this.mouseOut=function(){TbxC.ModHandlerSmall.getInstance().requestClose(this)};this.btnClick=function(){TbxC.ModHandlerSmall.getInstance().requestOpen(this,false,true)};this.getJsPath=function(){return tbxD.m[A].d5s.js};this.getJsClass=function(){return tbxD.m[A].d5s.jsc};this.remove=function(){tbxV.deleteButton(this.key);if(this.modView){tbxV.deleteModule(this.modView)}}};TbxC.IframeModSmall.prototype=new TbxC.IframeMod();TbxC.IframeModSmall.prototype.constructor=TbxC.IframeModSmall;TbxC.Connector=function(A,B){this.modObj=null;this.modClass=A;this.widgetController=null;this.counterController=null;this.timeoutTimeout;this.key=B;this.modView;this.closeSettings=function(){this.modView.switchToContent();this.modState=this.MODULESTATES.content};this.init=function(){};this.cancelClicked=function(){this._cancelClicked()};this._cancelClicked=function(){this.modView.resetSettingsForm();this.widgetController.resetSettingsWidgets();this.modView.switchToContent();this.modState=this.MODULESTATES.content};this.saveClicked=function(){this.modView.submitSettingsForm()};this.editClicked=function(){this._editClicked()};this._editClicked=function(){this.modView.switchToPrefs();this.modState=this.MODULESTATES.preferences;this.modObj.settingsOpened();TbxC.Counter.getInstance().settingsOpened(this.key)};this.formSubmit=function(){this._formSubmit()};this._formSubmit=function(){this.modObj.settingsClosed("SAVE")};this.formReset=function(){this.modObj.settingsClosed("CANCEL");this.modView.switchToContent();this.modState=this.MODULESTATES.content};this.showModuleErrorCloseSettings=function(I,E,H,G,F,D,C){this.closeSettings();this.showModuleError(I,E,H,G,F,D,C)};this.createGlobalObject=function(C){return tbxC.createGlobalObject(C,C.key)};this.showModuleError=function(J,F,I,H,G,E,D){this.modView.showModuleError(J,F,I,H,G,E,D);if(H==tbxF.rCodes.TIMEOUT||E=="Modul neuladen"){var C=tbxF.u.gEl("tbx_error_footer_link");if(C){C.onclick=this.reloadModule.bind(this);this.timeoutTimeout=window.setTimeout(this.reloadModule.bind(this),12000)}}};this.count=function(C){TbxC.Counter.getInstance().countAny(C)};this.moduleIsClosing=function(){if(this.widgetController){this.widgetController.closeModuleOverlays()}};this.instanciateWidgets=function(C){if(this.widgetController!=null){this.widgetController.instanciateWidgets(C)}};this.bindModuleHandlers=function(){this.modObj.api.u.bindHandlers(this.modObj.eventHandlers,this.modObj,this.key,this.counterController)}};TbxC.InlineConnector=function(A,B){this.parent=TbxC.Connector.prototype;this.parent.constructor.call(this,A,B);this.MODULESTATES={content:"content",preferences:"preferences"};this.modState=this.MODULESTATES.content;this.init=function(){try{this.modObj=new this.modClass(this.key);this.modObj.api.connector=this;this.modView=new TbxV.InlineModInner(this.key);this.closeSettings();var C=TbxC.Counter.getInstance();this.counterController=new TbxC.CounterController(this.key,C);this.counterController.init(this.modView.modCont);this.modView.connectEvents(this,"cancelClicked","editClicked","formSubmit","formReset");this.widgetController=new TbxC.WidgetController(this.key,this);this.instanciateWidgets([this.modView.modCont,this.modView.modPrefs]);this.bindModuleHandlers();this.modObj.init(this.modView.modCont,this.modView.modPrefs,this.widgetController)}catch(D){}};this.saveSettings=function(C,D,E){this._saveModuleSettings(C,D,E)};this._saveModuleSettings=function(C,E,F){var D=this;if(E){this.modView.showThrobber(this.modView.modCont,true,this.modView.modPrefs,true);this.closeSettings();TbxComm.Server.saveModule(this.key,C,function(){D.reloadModule(F)},function(H,G){D.showModuleErrorCloseSettings("","",null,G,true)})}else{TbxComm.Server.saveModule(this.key,C,function(){D.closeSettings()},function(H,G){D.showModuleErrorCloseSettings("","",null,G,true)})}};this.reloadModule=function(D){this.closeSettings();this.modView.showThrobber(this.modView.modCont,true,null,true);var C=tbxC.getModule(this.key);C.modModel.loadModuleContent(C.showModuleContent.bind(C),D);C._loadStatus()};this.encodeId=function(C,D){if(C){return C+"_"+D}else{return D}};this.decodeId=function(C,D){return D.split(C+"_")[1]};this.reloadModuleStatus=function(D){var C=tbxC.getModule(D);C._loadStatus()}};TbxC.InlineConnector.prototype=new TbxC.Connector();TbxC.InlineConnector.prototype.constructor=TbxC.InlineConnector;TbxC.IframeConnector=function(B,C){this.parent=TbxC.Connector.prototype;this.parent.constructor.call(this,B,C);this.MODULESTATES={content:"content",preferences:"preferences"};var E="";var A=true;var D="";this.bindHandlers=function(G,F){this.modObj.api.u.bindHandlers(G,F,this.key)};this.init=function(F){try{this.modObj=new this.modClass(this.key);this.modObj.api.connector=this;this.modView=new TbxV.IframeModInner(this.key);var G=TbxC.Counter.getInstance();this.counterController=new TbxC.CounterController(this.key,G);this.counterController.init(this.modView.modCont);this.modView.connectEvents(this,"cancelClicked","editClicked","formSubmit","formReset");if(F){tbxC.loadModulesCSS(null,F)}G.init();this.widgetController=new TbxC.WidgetController(this.key,this);this.instanciateWidgets([this.modView.modCont,this.modView.modPrefs]);this.bindModuleHandlers();this.modObj.init(this.modView.modCont,this.modView.modPrefs,this.widgetController)}catch(H){this.modView=new TbxV.IframeModInner(this.key);this.showModuleErrorCloseSettings("","Ein Fehler ist aufgetreten. Bitte versuchen Sie es später noch einmal.","",true,"Modul neuladen","javascript:;")}};this.cancelClicked=function(){var G="setModSetState('ifmod_"+this.key+"',false)";var F={commands:[G]};this.communicateWithToolbox(tbxF.json.serialize(F));this._cancelClicked()};this.editClicked=function(){var G="setModSetState('ifmod_"+this.key+"',true)";var F={commands:[G]};this.communicateWithToolbox(tbxF.json.serialize(F));this._editClicked()};this.saveSettings=function(H,I,J){E=H;A=I;D=J;var G="saveModSet('ok')";var K="setModSetState('ifmod_"+this.key+"',false)";var F={commands:[G,K]};this.communicateWithToolbox(tbxF.json.serialize(F))};this.saveModuleSettings=function(){var F=E;var H=A;var I=D;var G=this;if(H){TbxComm.Server.saveModule(this.key,F,this.reloadModule.bind(this,I),function(K,J){G.showModuleErrorCloseSettings("","",null,J,true)})}else{TbxComm.Server.saveModule(this.key,F,function(){G.closeSettings()},function(K,J){G.showModuleErrorCloseSettings("","",null,J,true)})}};this.reloadModule=function(H){this.closeSettings();this.modView.showThrobber(this.modView.modCont,null,null,true);var G;if(H){G='tbxC.getModule("'+this.key+'").loadModuleContentDelayed(true, "'+H+'")'}else{G='tbxC.getModule("'+this.key+'").loadModuleContentDelayed(true)'}var F={commands:[G]};this.communicateWithToolbox(tbxF.json.serialize(F))};this.communicateWithToolbox=function(F){this.modView.generateCommunicationIFrame(this.key,F)};this.encodeId=function(F,G){return G};this.decodeId=function(F,G){return G};this.reloadModuleStatus=function(H){var G='tbxC.getModule("'+H+'")._loadStatus()';var F={commands:[G]};this.communicateWithToolbox(tbxF.json.serialize(F))}};TbxC.IframeConnector.prototype=new TbxC.Connector();TbxC.IframeConnector.prototype.constructor=TbxC.IframeConnector;TbxC.WidgetController=function(B,A){this.widgets={};this._widgetApi=new TbxM.Widgetapi(B,A);this.instanciateWidgets=function(D){for(var I=0;I<D.length;I++){var H=tbxF.u.gElCN(D[I],"span","tbx_winst");for(var E=0;E<H.length;E++){var C;try{C=tbxF.json.parse(H[E].innerHTML)}catch(G){continue}var F=this._instanciateWidget(C);if(F){this.widgets[C.i]=F}}}};this._instanciateWidget=function(C){try{var D=new TbxM.Widgets[C.t](this._widgetApi,C.i,C.a);D.setWidgetInformation(C);return D}catch(E){if(!(typeof (console)==="undefined")){console.error("_instanciateWidget: "+E.message)}return null}};this.getWidget=function(C){return this.widgets[C]};this.resetSettingsWidgets=function(){for(var C in this.widgets){if(this.widgets[C].getIsInSettings()){this.widgets[C].reset()}}};this.closeModuleOverlays=function(){for(var C in this.widgets){this.widgets[C].closeOverlay()}}};TbxC.CounterController=function(B,A){this._key=B;this._counter=A;this.fragmentCounter={};this.customCounter={};this.counterHandlers=[];this.obj=TbxC.Counter.getInstance();this.init=function(E){var H=tbxF.u.gElCN(E,"span","tbx_count");for(var D=0;D<H.length;D++){var G=[];try{G=tbxF.json.parse(H[D].innerHTML)}catch(F){continue}for(var C=0;C<G.length;C++){if(G[C]&&G[C]!="undefined"){this._addHandler(G[C])}}}};this._addHandler=function(C){if(C.t=="click"){if(C.i&&C.i!=""){var D=["element",C.i,"onclick","countAny",[C.p]];this.counterHandlers.push(D)}if((C.r&&C.r!="")&&(C.l&&C.l!="")){var D=["list",C.l,C.r,"a","onclick","countAny",[C.p]];this.counterHandlers.push(D)}}else{if(C.t=="custom"){if(C.n&&C.n!=""){this.customCounter[C.n]=C.p}}else{if(C.t=="load"){if(C.i&&C.i!=""){this.fragmentCounter[C.i]=C.p}}}}};this.analyseAndCountFragment=function(C){var F=tbxF.u.gElCN(C,"span","tbx_count_fragment");for(var D=0;D<F.length;D++){var E=F[D].innerHTML;if(E&&this.fragmentCounter[E]){this._counter.countAny(this.fragmentCounter[E])}}};this.analyseAndCountCustom=function(C){if(C&&this.customCounter[C]){this._counter.countAny(this.customCounter[C])}}};TbxC.SetWin=function(){this.handleTextSelection=function(){if(this.drag){return false}else{return true}};this.saveSettings=function(){if(tbxS.us==TbxC.Main.stat.ukn){this.openSAMSkin()}else{tbxS.uc.p=1;tbxC.saveToolboxSettings(this._saveSettingsOnSuccess.bind(this),this._saveSettingsOnError.bind(this))}this.countSetWinPixel("CP/00000000;/TBX/settings/speichern.html")};this.saveSettingsSAM=function(A){tbxS.us=A;if(A==TbxC.Main.stat.ukn){tbxS.uc.p=1;tbxC.saveToolboxSettings(this._saveSettingsOnSuccess.bind(this),this._saveSettingsOnError.bind(this))}else{tbxS.uc.p=1;tbxC.saveToolboxSettings(this._saveSettingsAfterLoginOnSuccess.bind(this),this._saveSettingsOnError.bind(this))}};this.saveSettingsSAMBack=function(){this.reshowSettingsContent()};this.cancelSettingsSAM=function(){this.closeSettingsWindow(false)};this.closeAfterNotLoggedInError=function(){tbxV.showReLogin();this.cancelSettings()};this.countSetWinPixel=function(A){TbxC.Counter.getInstance().countAny(A)}};TbxC.SetWinSmall=function(params){this.parent=TbxC.SetWin.prototype;this.parent.constructor.call(this);this.view=new TbxV.SetWinSmall();var isInitialized=false;var isSetWinCSSloaded=false;var isSetWinJSloaded=false;var isErrorOccured=false;var isSetWinContentloaded=false;var teaseredModul=null;var setWinContent=null;var isSetWinOpen=false;this.openSettingsWindow=function(showDefaultModules,mod){tbxC._closeAllModules();teaseredModul=mod;if(isSetWinOpen){isErrorOccured=false}if(!isInitialized){this.init()}if(!isErrorOccured){this.view.showSetWinContent(true,null,null,null);this.view.openSettingsWindow();TbxComm.Server.openConfigurator(showDefaultModules,mod,this._successConfigurator.bind(this),this._errorConfigurator.bind(this))}else{this._errorConfigurator();this.view.openSettingsWindow()}isSetWinOpen=true};this.closeSettingsWindow=function(count){isErrorOccured=false;if(count==true){this.countSetWinPixel("CP/00000000;/TBX/settings/abbrechen.html")}this.view.closeSettingsWindow();if(tbxC.configMode&&top.opener!=null||tbxC.fromIC){tbxC.communicateWithToolbox(false,false)}isSetWinOpen=false};this.reshowSettingsContent=function(){this.view.showSetWinContent(false,"",null,null)};this.openSAMSkin=function(){tbxC_setWin=this;this.view.showSetWinContent(false,null,null,TbxComm.Server.openSetWinUrl())};this._successConfigurator=function(response){setWinContent=response;isSetWinContentloaded=true;this._setWinComplete()};this._errorConfigurator=function(response,errorCode){isErrorOccured=true;var errorText=tbxE.createModuleError("","Ein Fehler ist aufgetreten. Bitte versuchen Sie es später noch einmal.");this.view.showSetWinContent(false,null,errorText,null)};this.init=function(){if(!tbxC.modulesCSSLoaded){tbxC.loadModulesCSS()}if(!isSetWinCSSloaded){window.setTimeout(this.loadSetWinCSS.bind(this),10)}if(!isSetWinJSloaded){this.loadSetWinJS()}this.view.initSetWin();isInitialized=true};this.loadSetWinCSS=function(){var now=new Date();var cssPath="http://www.t-online.de/scs/d5s/16/setwin/style/tbxsw.css?now="+now.getTime();var cssElement;if(document.createStyleSheet){cssElement=document.createStyleSheet(cssPath)}else{cssElement=tbxF.u.cel({n:"link",a:{rel:"stylesheet",type:"text/css",href:cssPath}});tbxF.u.gElT(document,"head")[0].appendChild(cssElement)}isSetWinCSSloaded=true;this._setWinComplete()};this.loadSetWinJS=function(){TbxComm.Server.loadConfigJS(this._configJSReceivedHandler.bind(this),this._errorConfigurator.bind(this))};this._configJSReceivedHandler=function(content){try{eval(content);isSetWinJSloaded=true;this._setWinComplete()}catch(e){this._errorConfigurator()}};this._setWinComplete=function(){if(isSetWinJSloaded&&isSetWinContentloaded&&isSetWinCSSloaded&&!isErrorOccured){this.view.showSetWinContent(false,setWinContent,null,null);tbxSW.init(teaseredModul)}};this.showInfoBubbleNow=function(){this.view.showInfoBubbleNow()};this._saveSettingsOnError=function(errorText,errorCode){if(errorCode==7031||errorCode==7032){errorText="Ihre Einstellungen konnten nicht gespeichert werden, da Ihr Login beendet wurde. Bitte geben Sie eMail Adresse und Passwort noch einmal ein und speichern anschließend Ihre Einstellungen erneut.";TbxC.Counter.getInstance().countAny("countpixel.error.login")}else{errorText="Es ist ein interner Fehler aufgetreten. Ihre Einstellungen wurden nicht gespeichert."}this.view.showSetWinContent(false,null,tbxE.createModuleError("Technischer Fehler",errorText),null)};this._saveSettingsOnSuccess=function(){if(tbxC.configMode&&top.opener!=null||tbxC.fromIC){tbxC.communicateWithToolbox(true,false)}else{tbxC._loadToolbox();this.view.closeSettingsWindow()}};this._saveSettingsAfterLoginOnSuccess=function(){if(top.opener!=null&&tbxC.configMode||tbxC.fromIC){tbxC.communicateWithToolbox(false,true)}else{tbxC.reloadPage();this.view.closeSettingsWindow()}}};TbxC.SetWinSmall.prototype=new TbxC.SetWin();TbxC.SetWinSmall.prototype.constructor=TbxC.SetWinSmall;TbxC.Main=function(){this.modules=new Array();this.globalerror=false;this.error={nosessioncookies:{title:"Die Seite konnte nicht geladen werden",content:"F&uuml;r die Darstellung von 'Meine Dienste' w&auml;hlen Sie bitte in den Einstellungen Ihres Browsers 'Cookies erlauben'.",tooltip:"Bitte aktivieren Sie Cookies in Ihrem Browser.",link:"http://www.t-online.de/service/redir/meinedienste_hilfe.htm"},nosessioncookies_safari:{title:"Die Seite konnte nicht geladen werden",content:"Bitte aktivieren Sie 'Cookies immer akzeptieren' in Ihrem Browser",tooltip:"Bitte aktivieren Sie 'Cookies immer akzeptieren' in Ihrem Browser",link:"http://www.t-online.de/service/redir/meinedienste_hilfe.htm"},nojavascript:{title:"Kein JavaScript!",content:"Kein Javascript...",tooltip:"Bitte aktivieren Sie JavaScript in Ihrem Browser.",link:"http://www.t-online.de/service/redir/meinedienste_hilfe.htm"},loadconfig:{title:"Fehler!",content:"Ein Fehler ist aufgetreten. Bitte versuchen Sie es zu einem späteren Zeitpunkt noch einmal.",tooltip:"Fehler. Bitte versuchen Sie es später noch einmal.",link:"http://www.t-online.de/service/redir/meinedienste_hilfe.htm"},loadtimeout:{title:"Dieser Bereich konnte nicht geladen werden!",content:"Ein Fehler ist aufgetreten. Bitte versuchen Sie es später noch einmal.",tooltip:"Fehler. Bitte versuchen Sie es später noch einmal.",link:"http://www.t-online.de/service/redir/meinedienste_hilfe.htm"},global:{title:"Fehler!",content:"Ein Fehler ist aufgetreten. Bitte versuchen Sie es später noch einmal.",tooltip:"Fehler. Bitte versuchen Sie es später noch einmal.",link:"http://www.t-online.de/service/redir/meinedienste_hilfe.htm"},unsupportedbrowser:{title:"Ihr Browser wird leider nicht unterst&uuml;tzt.",content:"Dieser Bereich kann nicht angezeigt werden, da Sie einen nicht <a href='http://www.softwareload.de/c/11/05/83/38/11058338.html' target='_blank'>unterst&uuml;tzten Browser</a> verwenden. Links zu Diensten wie <a href='http://www.t-online.de/service/redir/toolbox2007_emailcenter.htm' target='_blank'>eMail</a> und <a href='https://kundencenter.t-online.de' target='_blank'>Kundencenter</a> finden Sie auf der <a href='http://www.t-online.de/service/redir/toolbox2007_topdienste.htm' target='_blank'>Dienste-&Uuml;bersichtsseite</a>.",tooltip:"Bitte verwenden Sie einen unterstützten Browser.",link:"http://www.t-online.de/service/redir/meinedienste_hilfe.htm"},maintenance:{title:"Dieser Bereich wird momentan gewartet.",content:"",tooltip:"Wartungsarbeiten. Bitte versuchen Sie es sp%E4ter noch einmal.",link:"http://www.t-online.de/service/redir/meinedienste_hilfe.htm"},safari2:{title:"Ihr Browser wird leider nicht unterst&uuml;tzt.",content:"Safari 2.x wird nicht unterstützt. Verwenden Sie Safari ab der Version 3, um die volle Funktionalität nutzen zu können.",tooltip:"Safari 2.x wird nicht unterstützt. Verwenden Sie Safari ab der Version 3, um die volle Funktionalität nutzen zu können.",link:"http://www.t-online.de/service/redir/meinedienste_hilfe.htm"}};this.modulesCSSLoaded=false;this.offlineStatus=false;var noCookieSupport=false;this.safari=false;this.opera=false;this.showSAMTimeoutMessage=false;this._bindHandlers=function(){for(var i=0;i<this._eventHandlers.length;i++){var han=this._eventHandlers[i];var el=tbxF.u.gEl(han[0]);if(el){if(han[3]){if(han[3][han[2]]){var evHan=new TbxF.EvHan(han[3],han[2],el);el[han[1]]=evHan.handle.bind(evHan)}else{}}else{if(this[han[2]]){var evHan=new TbxF.EvHan(this,han[2],el);el[han[1]]=evHan.handle.bind(evHan)}else{}}}else{}}};this.load=function(status,ajaxurl){if(!this.globalerror){tbxS.us=status;tbxS.au=ajaxurl;tbxS.lr=true;this._loadTaskFinished()}};this._onDomReady=function(){if(!this.globalerror){this._bindHandlers();TbxC.Counter.getInstance().init();tbxS.dr=true;this._loadTaskFinished()}};this.cookieLoaded=function(){if(!this.globalerror){tbxS.cr=true;this._loadTaskFinished()}};this.cookieCheckFinished=function(ok){if(!this.globalerror){if(!ok){noCookieSupport=true;this.globalerror=true}else{tbxS.cc=true}this._loadTaskFinished()}};this._loadTaskFinished=function(){if(!this.globalerror){if((tbxS.lr&&tbxS.cr&&tbxS.dr&&tbxS.cc)){this._loadToolbox()}}else{tbxF.u.removeTimeout("MAINLOADTIMEOUT");if(noCookieSupport){if(this.safari){this.showGlobalError(this.error.nosessioncookies_safari)}else{this.showGlobalError(this.error.nosessioncookies)}}else{this.showGlobalError(this.error.global)}}};this.loadToolbox=function(){this._stopAllOngoingRequests();tbxF.u.removeTimeout("MAINLOADTIMEOUT");tbxV.initPageStructure();if(tbxS.us==TbxC.Main.stat.ukn){var url=TbxComm.Cookie.getCookieNames().tss+"/ps/ps.do?c=rl&cv=d5s&l=0&n=3";tbxV.generateCommIFrame(url);window.setTimeout(this._loadTbxConfigUkn.bind(this),50)}else{TbxComm.Server.loadTbxConfig(this._getConfigFromServerHandler.bind(this),this.getConfigFromServerErrorHandler.bind(this))}};this._loadTbxConfigUkn=function(){TbxComm.Server.loadTbxConfig(this._loadToolboxUkn.bind(this),this.getConfigFromServerErrorHandler.bind(this))};this.generateCookieTestFrame=function(){var wdycf=window.location.protocol+"//"+window.location.host+"/"+tbxS.dyn+"/a";var pages="/pages/d5s";tbxV.generateCookieTestFrame(wdycf,pages)};this.generateCookieTestReadFrame=function(sc,pc){var wdycf=window.location.protocol+"//"+window.location.host+"/"+tbxS.dyn+"/a";var pages="/pages/d5s";var cookienames="&sc="+sc+"&pc="+pc;tbxV.generateCookieTestReadFrame(wdycf,pages,cookienames)};this._loadToolboxUkn=function(response){try{var config=tbxF.json.parse(response);tbxS.uc=config.toolbox_0;config=this.splitConfigAndCreateTbxD(config)}catch(e){}if(config){this._loadStatus(null,null);tbxF.u.removeTimeout("tbx_keepalive");tbxS.uc=config.toolbox_0;tbxS.pn=null;tbxS.uc.m=this._checkModulesExist(tbxS.uc.m);if(window.webt&&window.webt.tbx_show){var mod_string=this._generateWebTrackModList(tbxS.uc.m);window.webt.tbx_show(false,mod_string)}this._createAllModules();tbxV.hideLoading();tbxV.showSetWinButton()}else{this.showGlobalError(this.error.loadconfig)}};this._loadToolboxUknError=function(){this.showGlobalError(this.error.loadconfig)};this.saveToolboxSettings=function(onsuccess,onerror,storeRemote){tbxS.uc.p=1;var value=tbxF.json.serialize(tbxS.uc);TbxComm.Server.saveTbxSettings(value,onsuccess,onerror)};this._getConfigFromServerHandler=function(response){try{var config=tbxF.json.parse(response);config=this.splitConfigAndCreateTbxD(config)}catch(e){}if(config){this._loadStatus(null,null);if(config.toolbox_0){tbxS.uc=config.toolbox_0;tbxS.pn=config.pagename_0}else{tbxS.uc=config;tbxS.pn=null}tbxS.uc.m=this._checkModulesExist(tbxS.uc.m);if(window.webt&&window.webt.tbx_show){var mod_string=this._generateWebTrackModList(tbxS.uc.m);window.webt.tbx_show(true,mod_string)}this._createAllModules();tbxF.u.addTimeout(this,this._keepalive,null,"240000","tbx_keepalive")}else{this.showGlobalError(this.error.loadconfig)}tbxV.hideLoading();tbxV.showSetWinButton()};this.splitConfigAndCreateTbxD=function(config){tbxD={p:"",m:""};var splittedConfig=new Array();tbxD.p=config.toolbox_0.p;var full="";var str="";var part="";for(i=0;i<config.toolbox_0.m.length;i++){var _key=config.toolbox_0.m[i].mid;str="{"+_key+": null}";var myObject=eval("("+str+")");myObject[_key]=config.toolbox_0.m[i];part=tbxF.json.serialize(myObject);full=full+part.substr(1,part.length-2);if(i<(config.toolbox_0.m.length-1)){full=full+","}splittedConfig.push(_key)}tbxD.m=tbxF.json.parse("{"+full+"}");config.toolbox_0.m=splittedConfig;return config};this._getConfigFromServerErrorHandler=function(text,errorcode){this.showGlobalError(this.error.loadconfig)};this._loadStatus=function(urlpart,params){TbxComm.Server.loadAllStatus(urlpart,params,this._successLoadStatus.bind(this),this._errorLoadStatus.bind(this))};this._successLoadStatus=function(response){var modules_json=null;try{modules_json=tbxF.json.parse(response)}catch(e){}if(modules_json!=null){for(var key in modules_json.m){try{this.getModule(key).setStatus(modules_json.m[key])}catch(e){}}if(modules_json.t!="undefined"&&modules_json.t>0){var params=new Array(2);params[0]=modules_json.a;params[1]=modules_json.p;tbxF.u.addTimeout(this,this._loadStatus,params,modules_json.t,"tbx_load_status")}}};this._errorLoadStatus=function(error){};this.deleteModule=function(key){var pos;for(var i=0;i<this.modules.length;i++){if(this.modules[i].key==key){pos=i;break}}if(pos<this.modules.length){this.modules[pos].remove();this.modules.splice(pos,1)}else{}};this.createModule=function(key,dummy){for(var i=0;i<this.modules.length;i++){if(this.modules[i].key==key){return false}}var mod;mod=this._createModule(key,dummy);var pos=mod.init();this.modules.splice(pos,0,mod);return mod};this._updateModules=function(mods,dummy){var orderMod=new Array();for(var i=0;i<mods.length;i++){orderMod.push(mods[i])}for(var m=this.modules.length-1;m>=0;m--){var found=false;for(var i=0;i<mods.length;i++){if(mods[i]==this.modules[m].key){found=true;mods.splice(i,1);break}}if(!found){this.deleteModule(this.modules[m].key)}else{if(dummy&&!this.modules[m].dummy){this.modules[m].makeDummy()}else{if(!dummy&&this.modules[m].dummy){this.modules[m].makeUnDummy()}}}}for(var i=0;i<mods.length;i++){this.createModule(mods[i],dummy)}var newModules=new Array();for(var i=0;i<orderMod.length;i++){newModules.push(this.getModule(orderMod[i]))}this.modules=newModules;for(var i=0;i<this.modules.length;i++){tbxV.updateModulePosition(i,this.modules[i].key)}};this._checkModulesExist=function(keylist){var ret=new Array();for(var i=0;i<keylist.length;i++){if(tbxD.m[keylist[i]]){ret.push(keylist[i])}}return ret};this.getModule=function(key){for(var i=0;i<this.modules.length;i++){if(this.modules[i].key==key){return this.modules[i]}}return false};this.loadTimeoutOccured=function(){if(!tbxS.lr){this.showGlobalError(this.error.loadtimeout)}};this._keepalive=function(){if(!this.offlineStatus){var kurl=TbxComm.Cookie.getCookieNames().tss+"/ps/keepalive.do?c=k&cv=d5s";var url=document.URL;var maindomain=url.match(/https?:\/\/[^\/]+/);if(maindomain&&maindomain[0]){kurl=kurl+"&w="+maindomain[0];kurl=kurl+"/scd/a/pages/d5s/tbxCommunicator.html"}tbxF.u.addTimeout(this,this._keepalive,null,"240000","tbx_keepalive");tbxV.setKeepalive(kurl)}};this.loadModulesCSS=function(mod,cssFile){var cssPath="http://tbx.t-online.de/mss/16/mod/tbx/css/d5s/";if(cssFile){if(mod){mod.modCSSLoaded=true}else{this.modulesCSSLoaded=true}return }else{cssPath=cssPath+"widgets.css"}if(document.createStyleSheet){document.createStyleSheet(cssPath)}else{var cssElement=tbxF.u.cel({n:"link",a:{rel:"stylesheet",type:"text/css",href:cssPath}});tbxF.u.gElT(document,"head")[0].appendChild(cssElement)}if(mod){mod.modCSSLoaded=true}else{this.modulesCSSLoaded=true}};this._generateWebTrackModList=function(modlist){var webtrackmodlist="";for(var i=0;i<modlist.length;i++){webtrackmodlist=webtrackmodlist+modlist[i];if(i!=(modlist.length-1)){webtrackmodlist=webtrackmodlist+"~"}}return webtrackmodlist};this._stopAllOngoingRequests=function(){var counter=0;for(var i=0;i<TbxComm.Server.ongoingRequests.length;i++){var r=TbxComm.Server.ongoingRequests[i];if(r){r.abort();counter++}}};this.createGlobalObject=function(obj,key){tbxGlobalObjects[key]=obj;tbxGlobalObject=obj;return key}};var tbxGlobalObjects={};var tbxGlobalObject={};TbxC.Main.stat={ukn:"ukn",rec:"rec",aut:"aut"};TbxC.MainSmall=function(){this.parent=TbxC.Main.prototype;this.parent.constructor.call(this);this._eventHandlers=[["tbxbs","onclick","_openSetWin",this],["tbxnlial","onclick","hideNotLoggedInAnymoreMessage",tbxV]];this.setWinWindow=new TbxC.SetWinSmall();var A=null;this.locked=false;this.configMode=false;this.fromIC=false;this.setwinCaller=null;this.setwinCallerPages=null;var B=null;this.tbxPosition=null;this._getURLParams=function(){var G=window.location.search;if(G==""||G=="?"){return }G=decodeURI(G);G=G.slice(1);var F=G.split("&");for(var E=0;E<F.length;E++){var C=F[E].substring(0,F[E].indexOf("="));var D=F[E].substring(F[E].indexOf("=")+1,F[E].length);if(C=="configMode"){this.configMode=D}else{if(C=="fromIC"){this.fromIC=D}else{if(C=="setwinCaller"){this.setwinCaller=decodeURIComponent(D)}else{if(C=="setwinCallerPages"){this.setwinCallerPages=decodeURIComponent(D)}}}}}};this._getURLParams();this.onDomReady=function(){this._onDomReady()};this._loadToolbox=function(){if(this.showSAMTimeoutMessage&&(tbxS.us==TbxC.Main.stat.ukn)){tbxV.showNotLoggedInAnymoreMessage();this.showSAMTimeoutMessage=false;tbxF.u.removeTimeout("tbx_keepalive")}tbxC.modules=[];this.locked=false;this.loadToolbox()};this._createAllModules=function(){if(this.configMode){this._openSetWin()}var D=15;if(tbxS.uc.m.length<D){D=tbxS.uc.m.length}tbxV.resetToolbox();if(tbxS.uc.m.length<6){tbxV.correctButtonContainerHeight("add")}else{tbxV.correctButtonContainerHeight("remove")}for(var C=0;C<D;C++){this.createModule(tbxS.uc.m[C],false)}if(!tbxC.locked&&!tbxPartner){A=new TbxC.ConfigTeaser("configteaser",false)}};this._createModule=function(D,E){var C;if(tbxD.m[D].c.sec){C=new TbxC.IframeModSmall(D,E)}else{C=new TbxC.InlineModSmall(D,E)}return C};this.showGlobalError=function(C){this.globalerror=true;if(!C||!C.tooltip){var E="Fehler. Bitte versuchen Sie es später noch einmal.";var D="http://www.t-online.de/service/redir/meinedienste_hilfe.htm"}else{var E=C.tooltip;var D=C.link}tbxV.hideButtonContainer();tbxV.showLoading();tbxV.showGlobalError(E,D)};this.showUnsupported=function(){tbxV.hideButtonContainer();tbxV.hideLoading();tbxV.showUnsupported()};this.updateModules=function(F){var E=15;if(tbxS.uc.m.length<E){E=tbxS.uc.m.length}var D=new Array();for(var C=0;C<E;C++){D.push(tbxS.uc.m[C])}this._updateModules(D,F);if(tbxS.uc.m.length<6){tbxV.correctButtonContainerHeight("add")}else{tbxV.correctButtonContainerHeight("remove")}};this.loadToolboxUknError=function(){this._loadToolboxUknError()};this.getConfigFromServerErrorHandler=function(D,C){this._getConfigFromServerErrorHandler(D,C)};this._openSetWin=function(){this.openSettingsWindow(false,null)};this.openSettingsWindow=function(E,F,G){if(!tbxC.locked){if(G&&G!=null){TbxC.Counter.getInstance().countAny(G)}else{TbxC.Counter.getInstance().tbxSetWinOpen()}if(tbxPartner||!TbxComm.Cookie.checkIsSaveDomain()){var D=window.location.protocol+"//"+window.location.host+"/"+tbxS.dyn+"/"+tbxS.au;var C="/pages/d5s";B=window.open("http://tbx.t-online.de//ps/pages/d5s/configurator.html?configMode=true&setwinCaller="+encodeURIComponent(D)+"&setwinCallerPages="+encodeURIComponent(C),"confWindow","width=699,height=520,status=no,menubar=no, scrollbars=yes")}else{this.setWinWindow.openSettingsWindow(E,F)}}};this.closeSettingsWindow=function(C){this.setWinWindow.closeSettingsWindow(C)};this.reloadPage=function(D){if(!(typeof (tbxFM)==="undefined")){var C={commands:["reloadPage()"]};tbxFM.communicateWithToolbox(tbxF.json.serialize(C))}else{this.locked=true;if(D){this.showSAMTimeoutMessage=false}else{this.showSAMTimeoutMessage=true}this._closeAllModules();if(A){A.closeModuleNow()}this.closeSettingsWindow(false);this.loadSamFrame()}};this.loadSamFrame=function(){var C="";if(tbxPartner&&tbxPartner.ssl){C="https://sam.t-online.com/directlogin?skinID=d5s-ssl_d_wirk1&sif=1&main="+encodeURIComponent(document.URL)+"&tbxmaster="+TbxComm.Cookie.getCookieNames().tss}else{C="https://sam.t-online.com/directlogin?skinID=d5s_d_wirk1&sif=1&main="+encodeURIComponent(document.URL)+"&tbxmaster="+TbxComm.Cookie.getCookieNames().tss}var E=window.tbxli;if(!this.opera&&tbxBr){this.opera=tbxBr.is_opera9up}if(!this.safari&&tbxBr){this.safari=tbxBr.is_safari3up}var D=tbxF.u.gEl("tbxli");if(tbxPartner&&tbxPartner.ssl){if(this.safari||this.opera){D.src="https://tbx.t-online.de/scs/d5s/16/style/blank.html"}else{E.location.replace("https://tbx.t-online.de/scs/d5s/16/style/blank.html")}}else{if(this.safari||this.opera){D.src="http://www.t-online.de/scs/d5s/16/style/blank.html"}else{E.location.replace("http://www.t-online.de/scs/d5s/16/style/blank.html")}}if(this.safari||this.opera){D.src=C}else{E.location.replace(C)}};this._closeAllModules=function(){for(var C=0;C<this.modules.length;C++){var D=this.modules[C];if(D&&D.isOpen){D.closeNow()}}};this.communicateWithToolbox=function(D,C){if(!this.fromIC){tbxV.generateTbxCommunicationIFrame(this.setwinCaller,this.setwinCallerPages,D,C);this._stopAllOngoingRequests()}else{this._stopAllOngoingRequests();try{window.close();window.location.href="http://www.t-online.de"}catch(E){}}};this.closeSetWin=function(){B.close()};this.closeSetWinUpdate=function(C){B.close();if(!tbxPartner&&!TbxComm.Cookie.checkIsSaveDomain()){TbxComm.Cookie.loadCookies()}else{this._loadToolbox()}};this.closeSetWinReload=function(){B.close();this.reloadPage()}};TbxC.MainSmall.prototype=new TbxC.Main();TbxC.MainSmall.prototype.constructor=TbxC.MainSmall;

