function TbxS(){
this.us;
this.uc;
this.pn;
this.au="";
this.wdycf="/";
this.dyn="/scd2";
this.dr=false;
this.lr=false;
this.ldr=false;
this.cr=false;
}
tbxS=new TbxS();
TbxV.Utils=function(){
var _1=true;
this.setTranspPNG=function(_2,_3){
if(_1){
try{
_2.runtimeStyle.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+_3+"',sizingMethod='scale')";
_2.src="http://www.t-online.de/scs/d2s/1/i/blank.gif";
}
catch(e){
_1=false;
_2.src=_3;
}
}else{
_2.src=_3;
}
};
this.setTranspPNGForDiv=function(_4,_5){
if(_1){
try{
_4.runtimeStyle.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+_5+"')";
}
catch(e){
_1=false;
_4.style.backgroundImage="url("+_5+")";
}
}else{
_4.style.backgroundImage="url("+_5+")";
}
};
};
TbxV.prototype.utils=new TbxV.Utils();
TbxV.Counter=function(){
var _6;
_getContainer=function(){
if(!_6){
try{
_6=tbxF.u.gEl("tbxcount");
}
catch(e){
}
}
return _6;
};
this.addPixel=function(_7){
var c=_getContainer();
if(c){
c.innerHTML=c.innerHTML+"<img src=\""+_7+"\"/>";
}
};
};
TbxV.Mod=function(_9,_a,_b,_c,_d){
this.modController=_b;
this.mouseIn=_c;
this.mouseOut=_d;
this.key=_9;
this.btn=_a;
var _e="";
this.modEl;
this.modElIfr;
this.modElInner;
var _f=false;
this._constructor=function(){
var _10=tbxD.m[this.key].c.t;
var _11=tbxD.m[this.key].d2s.icl;
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/d2s/1/style/bgiframe.html","frameborder":"0"}});
this.modEl.appendChild(this.modElIfr);
var _12=tbxF.u.cel({"n":"div","c":"tbxbmmt"});
_12.innerHTML="<table class=\"tbxbmmtt\" cellpadding=\"0\" cellspacing=\"0\"><tr><td class=\"l\"></td><td class=\"m\">&nbsp;</td><td class=\"r\"></td><td class=\"e\"></td></tr></table>";
this.modEl.appendChild(_12);
var _13=tbxF.u.cel({"n":"div","c":"tbxbmmm"});
var _14=tbxF.u.cel({"n":"table","c":"tbxbmmmt","a":{"cellSpacing":"0","cellPadding":"0"}});
var _15=tbxF.u.cel({"n":"tbody"});
var _16=tbxF.u.cel({"n":"tr"});
_16.appendChild(tbxF.u.cel({"n":"td","c":"l"}));
var _17=tbxF.u.cel({"n":"td","c":"m"});
this.modElInner=tbxF.u.cel({"n":"div","c":"tbxbmmmtd"});
_17.appendChild(this.modElInner);
_16.appendChild(_17);
var td=tbxF.u.cel({"n":"td","c":"r"});
td.innerHTML="<table class=\"tbxbmmmr\" cellpadding=\"0\" cellspacing=\"0\"><tr><td class=\"top\"></td></tr><tr><td class=\"middle\"></td></tr><tr><td class=\"bottom\"></td></tr></table>";
_16.appendChild(td);
_15.appendChild(_16);
_14.appendChild(_15);
_13.appendChild(_14);
this.modEl.appendChild(_13);
var _19=tbxF.u.cel({"n":"div","c":"tbxbmmb"});
_19.innerHTML="<table class=\"tbxbmmbt\" cellpadding=\"0\" cellspacing=\"0\"><tr><td class=\"l\"></td><td class=\"m\"></td><td class=\"r\"></td><td class=\"e\"></td></tr></table>";
this.modEl.appendChild(_19);
var _1a=new TbxF.EvHan(this,"_mouseIn",this.modEl);
this.modEl["onmouseover"]=_1a.handle.bind(_1a);
_1a=new TbxF.EvHan(this,"_mouseOut",this.modEl);
this.modEl["onmouseout"]=_1a.handle.bind(_1a);
};
if(this.key){
this._constructor();
}
this.getModEl=function(){
return this.modEl;
};
this.openModule=function(){
var pos=this.btn.getDimensions();
this.modEl.style.left=(pos.absx-369)+"px";
this.modEl.style.top=(pos.absy-30)+"px";
this.btn.setOpen();
this.modEl.className="tbxbmm";
this.modElIfr.className="tbxbmmi";
};
this.closeModuleNow=function(){
this.modEl.className="tbxinvis";
this.btn.setClose();
this.modElIfr.className="tbxinvis";
this.modController.closingCompleted();
};
this._mouseIn=function(e){
if(tbxF.evUtils.movedIn(e,this.modEl)){
this.modController[this.mouseIn]();
}else{
}
};
this._mouseOut=function(e){
if(tbxF.evUtils.movedOut(e,this.modEl)){
try{
e.target.focus();
}
catch(e){
}
this.modController[this.mouseOut]();
document.getElementsByTagName("body")[0].focus();
}else{
}
};
this.setStatus=function(_1e){
};
};
TbxV.InlineMod=function(key,btn,_21,_22,_23,_24){
this.parent=TbxV.Mod.prototype;
this.parent.constructor.call(this,key,btn,_21,_22,_23);
this.hasEditLink=false;
var _25=null;
var _26;
this.modCont;
this.modPrefs;
this.editLink;
this.modPrefsForm;
var _27;
this._generateModule=function(){
var _28=tbxF.u.cel({"n":"div","c":"tbxbmi"});
this.modElInner.appendChild(_28);
_26=tbxF.u.cel({"n":"div","c":"tbxbmih","a":{"align":"right"}});
_26.innerHTML="<p>"+tbxD.m[this.key].c.t+"</p>";
_28.appendChild(_26);
var _29=tbxF.u.cel({"n":"a","c":"tbxbmihc","a":{"href":"javascript:void(0)"}});
_29.appendChild(tbxF.u.cel({"n":"img","a":{"src":"http://www.t-online.de/scs/d2s/1/i/blank.gif"}}));
_26.appendChild(_29);
var _2a=tbxF.u.cel({"n":"div","c":"tbxbmib"});
this.modPrefsForm=tbxF.u.cel({"n":"form","i":this.key+"_tbxbmibpf","c":"tbxinvis","a":{"action":"javascript:void(0)"}});
_2a.appendChild(this.modPrefsForm);
this.modPrefs=tbxF.u.cel({"n":"div","i":this.key+"_tbxbmibpp","c":"tbxbmibpp"});
this.modPrefsForm.appendChild(this.modPrefs);
_25=tbxF.u.cel({"n":"div","c":"tbxinvis"});
_28.appendChild(_25);
this.modCont=tbxF.u.cel({"n":"div","i":this.key+"_tbxbmibc","c":"tbxbmibc"});
_27="<div class=\"tbxm_d2s_header\">"+"<img width=\"100%\" height=\"3px\" src=\"http://www.t-online.de/scs/d2s/1/i/l/ob_innen_skal.png\"></img>"+"</div>"+"<div class=\"tbxbmibclbt\" style=\"height:"+(tbxD.m[this.key].d2s.h-76)+"px\"><img src=\"http://www.t-online.de/scs/d2s/1/i/ladebalken.gif\" alt=\"bitte warten\"/></div>"+"<div class=\"tbxm_d2s_footerSmall\" valign=\"middle\">"+"<div >"+"<img width=\"100%\" height=\"3px\" src=\"http://www.t-online.de/scs/d2s/1/i/l/un_innen_skal.png\"></img>"+"</div>"+"<div height=\"12px\" class=\"tbxm_d2s_footerMiddle_small\">"+"</div>"+"<div >"+"<img width=\"100%\" height=\"4px\" src=\"http://www.t-online.de/scs/d2s/1/i/l/un_aussen_skal.png\"></img>"+"</div>"+"</div>";
this.modCont.innerHTML=_27;
_2a.appendChild(this.modCont);
_28.appendChild(_2a);
var _2b=new TbxF.EvHan(_21,_24,_29);
_29["onclick"]=_2b.handle.bind(_2b);
};
if(this.key){
this._generateModule();
}
this.showContent=function(_2c){
_25.innerHTML=_2c;
var _2d=tbxF.u.gEl(this.key+"_tbxcontent");
if(_2d!=null){
this.modCont.innerHTML="";
this.modCont.appendChild(_2d);
this.modCont.style.height="auto";
}else{
this.showError("Modul konnte nicht geladen werden!","Der Dienst steht zur Zeit nicht zur Verf&uuml;gung. Bitte versuchen Sie es in einigen Minuten erneut.");
}
var _2e=null;
var _2f=tbxF.u.gEl(this.key+"_tbxpreferences");
if(_2f!=null){
this.modPrefs.innerHTML="";
this.modPrefs.appendChild(_2f);
this.createEditLink();
}
_25.innerHTML="";
return [this.modCont,this.modPrefs,_2e];
};
this.showError=function(_30,_31){
var img="http://www.t-online.de/scs/d2s/1/i/ico_fehler_32x32.png";
var _33="<div class=\"tbxm_nodist\">"+"<div class=\"tbxm_d2s_header\">"+"<img width=\"100%\" height=\"3px\" src=\"http://www.t-online.de/scs/d2s/1/i/l/ob_innen_skal.png\"></img>"+"</div>"+"<div class=\"tbxm_d2s_vertSpacer_10\"></div>"+"<div class=\"tbxm_content\">"+"<div class=\"tbxm_nodist\">"+"<table class=\"tbxm_error\" cellpadding=\"0\" cellspacing=\"0\"><tr>"+"<td class=\"tbxm_error_imgtd\"><img src=\""+img+"\"/></td>"+"<td class=\"tbxm_p\"><p class=\"tbxm_p_bold\">"+_30+"</p>"+_31+"</td>"+"</tr></table>"+"</div>"+"</div>"+"<div class=\"tbxm_d2s_vertSpacer_10\"></div>"+"<div class=\"tbxm_d2s_footerSmall\" valign=\"middle\">"+"<div >"+"<img width=\"100%\" height=\"3px\" src=\"http://www.t-online.de/scs/d2s/1/i/l/un_innen_skal.png\"></img>"+"</div>"+"<div height=\"12px\" class=\"tbxm_d2s_footerMiddle_small\">"+"</div>"+"<div >"+"<img width=\"100%\" height=\"4px\" src=\"http://www.t-online.de/scs/d2s/1/i/l/un_aussen_skal.png\"></img>"+"</div>"+"</div>"+"</div>";
this.modPrefs.innerHTML="";
this.modCont.innerHTML=_33;
};
this.showImgError=function(url){
if(this.editLink){
this.editLink.className="tbxinvis";
}
var _35="<div class=\"tbxm_nodist\">"+"<div class=\"tbxm_d2s_header\">"+"<img width=\"100%\" height=\"3px\" src=\"http://www.t-online.de/scs/d2s/1/i/l/ob_innen_skal.png\"></img>"+"</div>"+"<div class=\"tbxm_content\">"+"<div class=\"tbxm_nodist\"><img src=\""+url+"\"/></div>"+"</div>"+"<div class=\"tbxm_d2s_footerSmall\" valign=\"middle\">"+"<div >"+"<img width=\"100%\" height=\"3px\" src=\"http://www.t-online.de/scs/d2s/1/i/l/un_innen_skal.png\"></img>"+"</div>"+"<div height=\"12px\" class=\"tbxm_d2s_footerMiddle_small\">"+"</div>"+"<div >"+"<img width=\"100%\" height=\"4px\" src=\"http://www.t-online.de/scs/d2s/1/i/l/un_aussen_skal.png\"></img>"+"</div>"+"</div>"+"</div>";
this.modPrefs.innerHTML="";
this.modCont.innerHTML=_35;
};
this.showNaError=function(_36){
if(this.editLink){
this.editLink.className="tbxinvis";
}
var _37="<div class=\"tbxm_nodist\">"+"<div class=\"tbxm_d2s_header\">"+"<img width=\"100%\" height=\"3px\" src=\"http://www.t-online.de/scs/d2s/1/i/l/ob_innen_skal.png\"></img>"+"</div>"+"<div class=\"tbxm_content\">"+"<div class=\"tbxm_nodist\"><div class=\"tbxm_nacError\">"+_36+"</div></div>"+"</div>"+"<div class=\"tbxm_d2s_footerSmall\" valign=\"middle\">"+"<div >"+"<img width=\"100%\" height=\"3px\" src=\"http://www.t-online.de/scs/d2s/1/i/l/un_innen_skal.png\"></img>"+"</div>"+"<div height=\"12px\" class=\"tbxm_d2s_footerMiddle_small\">"+"</div>"+"<div >"+"<img width=\"100%\" height=\"4px\" src=\"http://www.t-online.de/scs/d2s/1/i/l/un_aussen_skal.png\"></img>"+"</div>"+"</div>"+"</div>";
this.modPrefs.innerHTML="";
this.modCont.innerHTML=_37;
};
this.showNacError=function(){
this.showNaError("Bitte melden Sie sich an.");
};
this.showNacaError=function(){
this.showNaError("Ihr Login wurde beendet. Bitte geben Sie eMail-Adresse und Passwort noch einmal ein.");
};
this.showAllThrobber=function(){
this.modPrefs.innerHTML="";
this.modCont.innerHTML=_27;
};
this.createEditLink=function(){
if(!this.hasEditLink){
if(!tbxF.u.sEmpty(tbxD.m[this.key].c.edit)){
this.editLink=tbxF.u.cel({"n":"a","c":"tbxbmihe","i":this.key+"_tbxbmihe","a":{"href":"javascript:void(0)"},"t":tbxD.m[this.key].c.edit});
_26.insertBefore(this.editLink,_26.firstChild);
this.hasEditLink=true;
}else{
this.hasEditLink=false;
}
}
};
};
TbxV.InlineMod.prototype=new TbxV.Mod();
TbxV.InlineMod.prototype.constructor=TbxV.InlineMod;
TbxV.NotAuthMod=function(btn,_39,_3a,_3b,_3c,_3d){
this.parent=TbxV.InlineMod.prototype;
this.parent.constructor.call(this,btn,_39,_3a,_3b,_3c,_3d);
this.showContent=function(){
var nac=tbxD.m[this.modController.key].c.nac;
var _3f="<div class=\"tbxm_nodist\">"+"<div class=\"tbxm_d2s_header\">"+"<img width=\"100%\" height=\"3px\" src=\"http://www.t-online.de/scs/d2s/1/i/l/ob_innen_skal.png\"></img>"+"</div>"+"<div class=\"tbxm_content\"><div class=\"tbxm_nodist\">"+"<div class=\"tbxm_nacError\">Bitte melden Sie sich an.</div>"+"</div>"+"</div>";
if(nac&&nac.fl&&nac.fl!=""){
_3f=_3f+"<div class=\"tbxm_d2s_footerBig\">"+"<div >"+"<img width=\"100%\" height=\"3px\" src=\"http://www.t-online.de/scs/d2s/1/i/l/un_innen_skal.png\"></img>"+"</div>"+"<div class=\"tbxm_d2s_footerMiddle_big\">"+"<span class=\"tbxm_d2s_footerContent_left\" style=\"position: relative; bottom: -3px;\">"+"<a href=\""+nac.fl+"\" target=\"_blank\" class=\"tbxm_vis tbxm_d2s_footerLink\">"+nac.ft+""+"</a>"+"</span>"+"<span class=\"tbxm_d2s_footerContent_right\">"+"</span>"+"</div>"+"</div>";
}else{
_3f=_3f+"<div class=\"tbxm_d2s_footerSmall\" valign=\"middle\">"+"<div >"+"<img width=\"100%\" height=\"3px\" src=\"http://www.t-online.de/scs/d2s/1/i/l/un_innen_skal.png\"></img>"+"</div>"+"<div height=\"12px\" class=\"tbxm_d2s_footerMiddle_small\">"+"</div>"+"<div >"+"<img width=\"100%\" height=\"4px\" src=\"http://www.t-online.de/scs/d2s/1/i/l//un_aussen_skal.png\"></img>"+"</div>"+"</div>";
}
_3f=_3f+"</div>";
this.modCont.innerHTML=_3f;
this.modCont.style.height="auto";
return [this.modCont,null,null];
};
this.createEditLink=function(){
};
};
TbxV.NotAuthMod.prototype=new TbxV.InlineMod();
TbxV.NotAuthMod.prototype.constructor=TbxV.NotAuthMod;
TbxV.IframeMod=function(key,btn,_42,_43,_44,_45){
this.parent=TbxV.Mod.prototype;
this.parent.constructor.call(this,key,btn,_42,_43,_44);
this.ifr;
this._generateModule=function(){
var _46=tbxF.u.cel({"n":"div","c":"tbxbmfb"});
var _47="<div class=\"tbxbmih\"><p>"+tbxD.m[this.key].c.t+"</p></div>"+"<div class=\"tbxbmib\">"+"<div class=\"tbxbmibc\">"+"<div class=\"tbxm_d2s_header\">"+"<img width=\"100%\" height=\"3px\" src=\"http://www.t-online.de/scs/d2s/1/i/l/ob_innen_skal.png\"></img>"+"</div>"+"<div class=\"tbxbmibclbt\" style=\"height:"+(tbxD.m[this.key].d2s.h-89)+"px\"><img src=\"http://www.t-online.de/scs/d2s/1/i/ladebalken.gif\" alt=\"bitte warten\"/></div>"+"<div class=\"tbxm_d2s_footerSmall\">"+"<div >"+"<img width=\"100%\" height=\"3px\" src=\"http://www.t-online.de/scs/d2s/1/i/l/un_innen_skal.png\"></img>"+"</div>"+"<div height=\"12px\" class=\"tbxm_d2s_footerMiddle_small\">"+"</div>"+"<div >"+"<img width=\"100%\" height=\"4px\" src=\"http://www.t-online.de/scs/d2s/1/i/l/un_aussen_skal.png\"></img>"+"</div>"+"</div>"+"</div>"+"</div>";
var _48=tbxF.u.cel({"n":"div","c":"tbxbmfback"});
_48.innerHTML=_47;
_46.appendChild(_48);
this.ifr=tbxF.u.cel({"n":"iframe","c":"tbxinvis","a":{"src":"http://www.t-online.de/scs/d2s/1/style/bgiframe.html","width":"100%","height":tbxD.m[this.key].d2s.h-55,"frameBorder":"0","scrolling":"no","allowTransparency":"true"}});
_46.appendChild(this.ifr);
var _49=tbxF.u.cel({"n":"a","c":"tbxbmihc","a":{"href":"javascript:void(0)"}});
_49.appendChild(tbxF.u.cel({"n":"img","a":{"src":"http://www.t-online.de/scs/d2s/1/i/blank.gif"}}));
_46.appendChild(_49);
var _4a=tbxF.u.cel({"n":"p","c":"tbxbmihtitle"});
_4a.innerHTML=tbxD.m[this.key].c.t;
_46.appendChild(_4a);
this.modElInner.appendChild(_46);
var _4b=new TbxF.EvHan(_42,_45,_49);
_49["onclick"]=_4b.handle.bind(_4b);
};
this._generateModule();
this.showContent=function(url){
this.ifr.src="about:blank";
this.ifr.src=url;
this.ifr.className="tbxbmmf";
};
this.showAllThrobber=function(){
this.ifr.src="about:blank";
this.ifr.className="tbxinvis";
};
};
TbxV.IframeMod.prototype=new TbxV.Mod();
TbxV.IframeMod.prototype.constructor=TbxV.IframeMod;
TbxV.ModInner=function(key){
this.key=key;
this.modPrefs;
this.modPrefsForm;
this.modCont;
this.editLink;
this.ACTIVEVIEWS={"Content":"Content","Preferences":"Preferences"};
this.activeView=this.ACTIVEVIEWS.Content;
var _4e,_4f,_50,_51,_52;
this.connectEvents=function(obj,_54,_55,_56,_57){
_4e=obj;
_50=_54;
_4f=_55;
_51=_56;
_52=_57;
};
this._onChangeModuleView=function(e){
if(this.activeView==this.ACTIVEVIEWS.Content){
if(_4e&&_4f){
_4e[_4f]();
}
}else{
if(_4e&&_50){
_4e[_50]();
}
}
};
this.switchToContent=function(){
this.modPrefsForm.className="tbxinvis";
this.modCont.className="tbxbmibc";
if(tbxF.u.gEl("iframeBody")){
tbxF.u.gEl("iframeBody").style.backgroundColor="#FFFFFF";
}
if(this.editLink){
this.editLink.className="tbxbmihe";
}
this.activeView=this.ACTIVEVIEWS.Content;
};
this.switchToPrefs=function(){
this.modCont.className="tbxinvis";
this.modPrefsForm.className="tbxbmibpf";
if(tbxF.u.gEl("iframeBody")){
tbxF.u.gEl("iframeBody").style.backgroundColor="#DADADA";
}
if(this.editLink){
this.editLink.className="tbxinvis";
}
this.activeView=this.ACTIVEVIEWS.Preferences;
};
this.resetSettingsForm=function(){
var i=0;
this.modPrefsForm.reset();
};
this._formSubmit=function(){
if(_4e&&_51){
_4e[_51]();
}
};
this._formReset=function(){
if(_4e&&_52){
_4e[_52]();
}
};
this.showModuleError=function(_5a,_5b,el){
var img="http://www.t-online.de/scs/d2s/1/i/ico_fehler_32x32.png";
var _5e="<div class=\"tbxm_nodist\">";
if(!el){
_5e=_5e+"<div class=\"tbxm_d2s_header\">"+"<img width=\"100%\" height=\"3px\" src=\"http://www.t-online.de/scs/d2s/1/i/l/ob_innen_skal.png\"></img>"+"</div>";
}else{
_5e=_5e+"<div class=\"tbxm_dist\"></div>";
}
_5e=_5e+"<div class=\"tbxm_d2s_vertSpacer_10\"></div>"+"<div class=\"tbxm_content\"><div class=\"tbxm_nodist\">"+"<table class=\"tbxm_error\" cellpadding=\"0\" cellspacing=\"0\"><tr>"+"<td class=\"tbxm_error_imgtd\"><img src=\""+img+"\"/></td>"+"<td class=\"tbxm_p\"><p class=\"tbxm_p_bold\">"+_5a+"</p>"+_5b+"</td>"+"</tr></table>"+"</div></div>"+"<div class=\"tbxm_d2s_vertSpacer_10\"></div>";
if(!el){
_5e=_5e+"<div class=\"tbxm_d2s_footerSmall\" valign=\"middle\">"+"<div >"+"<img width=\"100%\" height=\"3px\" src=\"http://www.t-online.de/scs/d2s/1/i/l/un_innen_skal.png\"></img>"+"</div>"+"<div height=\"12px\" class=\"tbxm_d2s_footerMiddle_small\">"+"</div>"+"<div >"+"<img width=\"100%\" height=\"4px\" src=\"http://www.t-online.de/scs/d2s/1/i/l/un_aussen_skal.png\"></img>"+"</div>"+"</div>";
}
_5e=_5e+"</div>";
if(el){
el.innerHTML=_5e;
}else{
this.modCont.innerHTML=_5e;
}
};
this.showThrobber=function(_5f,_60,_61,_62){
var _63;
if(_60){
if(!_61){
_61=_5f;
}
_63=_61.offsetHeight;
}
if(_62){
var _64="";
if(_60){
_64="style=\"height:"+(_63)+"px\"";
}
throbberHTML="<div class=\"tbxm_d2s_header\">"+"<img width=\"100%\" height=\"3px\" src=\"http://www.t-online.de/scs/d2s/1/i/l/ob_innen_skal.png\"></img>"+"</div>"+"<div class=\"tbxbmibclbt\" "+_64+"><img src=\"http://www.t-online.de/scs/d2s/1/i/ladebalken.gif\" alt=\"bitte warten\"/></div>"+"<div class=\"tbxm_d2s_footerSmall\" valign=\"middle\" style=\"position:absolute; bottom:0px;\">"+"<div >"+"<img width=\"100%\" height=\"3px\" src=\"http://www.t-online.de/scs/d2s/1/i/l/un_innen_skal.png\"></img>"+"</div>"+"<div height=\"12px\" class=\"tbxm_d2s_footerMiddle_small\">"+"</div>"+"<div >"+"<img width=\"100%\" height=\"4px\" src=\"http://www.t-online.de/scs/d2s/1/i/l/un_aussen_skal.png\"></img>"+"</div>"+"</div>";
_5f.innerHTML=throbberHTML;
}else{
var _65=tbxF.u.cel({"n":"div","c":"tbxbmibclb"});
var _66=tbxF.u.cel({"n":"img","a":{"src":"http://www.t-online.de/scs/d2s/1/i/ladebalken.gif"}});
_65.appendChild(_66);
if(_60){
_65.style.height=_63+"px";
}
_5f.innerHTML="";
_5f.appendChild(_65);
}
};
};
TbxV.IframeModInner=function(key){
this.parent=TbxV.ModInner.prototype;
this.parent.constructor.call(this,key);
this._init=function(){
this.modPrefs=tbxF.u.gEl("tbxbmibpp");
this.modPrefsForm=tbxF.u.gEl("tbxbmibpf");
this.modCont=tbxF.u.gEl("tbxbmibc");
this.editLink=tbxF.u.gEl(this.key+"_tbxbmihe");
if(this.editLink){
var _68=new TbxF.EvHan(this,"_onChangeModuleView",this.editLink);
this.editLink["onclick"]=_68.handle.bind(_68);
}
_68=new TbxF.EvHan(this,"_formSubmit",this.modPrefsForm);
this.modPrefsForm["onsubmit"]=_68.handle.bind(_68);
_68=new TbxF.EvHan(this,"_formReset",this.modPrefsForm);
this.modPrefsForm["onreset"]=_68.handle.bind(_68);
};
this.generateCommunicationIFrame=function(key,_6a){
var _6b="key="+key+"&tss="+TbxComm.Cookie.getCookieNames().tss+"&commandList="+encodeURIComponent(_6a);
var _6c=this;
var src="about:blank";
var _6e=tbxF.u.cel({"n":"iframe","c":"tbxm_invis","a":{"src":src,"width":"0","height":"0","frameborder":"0"}});
this.modCont.appendChild(_6e);
src=tbxS.wdycf+"/pages/d2s/iframeCommunicator.html?"+_6b;
_6e.setAttribute("src",src);
};
this.showImgError=function(url){
var src="/ps/pages/d2s/"+url+"?w="+encodeURIComponent(tbxS.wdycf);
var src=TbxComm.Cookie.getCookieNames().tss+"/scd2/a/pages/d2s/"+url+"?w="+encodeURIComponent(tbxS.wdycf);
document.location.href=src;
};
this.showNacError=function(){
this.showImgError("/error/error7031.html");
};
this.showNacaError=function(){
this.showImgError("/error/error7032.html");
};
this._init();
};
TbxV.IframeModInner.prototype=new TbxV.ModInner();
TbxV.IframeModInner.prototype.constructor=TbxV.IframeModInner;
TbxV.InlineModInner=function(key){
this.parent=TbxV.ModInner.prototype;
this.parent.constructor.call(this,key);
this._init=function(){
this.modPrefs=tbxF.u.gEl(this.key+"_tbxbmibpp");
this.modPrefsForm=tbxF.u.gEl(this.key+"_tbxbmibpf");
this.modCont=tbxF.u.gEl(this.key+"_tbxbmibc");
this.editLink=tbxF.u.gEl(this.key+"_tbxbmihe");
if(this.editLink){
var _72=new TbxF.EvHan(this,"_onChangeModuleView",this.editLink);
this.editLink["onclick"]=_72.handle.bind(_72);
}
_72=new TbxF.EvHan(this,"_formSubmit",this.modPrefsForm);
this.modPrefsForm["onsubmit"]=_72.handle.bind(_72);
_72=new TbxF.EvHan(this,"_formReset",this.modPrefsForm);
this.modPrefsForm["onreset"]=_72.handle.bind(_72);
};
this.showImgError=function(url){
if(this.editLink){
this.editLink.className="tbxinvis";
}
var _74="<div class=\"tbxm_nodist\">"+"<div class=\"tbxm_d2s_header\">"+"<img width=\"100%\" height=\"3px\" src=\"http://www.t-online.de/scs/d2s/1/i/l/ob_innen_skal.png\"></img>"+"</div>"+"<div class=\"tbxm_content\">"+"<div class=\"tbxm_nodist\"><img src=\""+url+"\"/></div>"+"</div>"+"<div class=\"tbxm_d2s_footerSmall\" valign=\"middle\">"+"<div >"+"<img width=\"100%\" height=\"3px\" src=\"http://www.t-online.de/scs/d2s/1/i/l/un_innen_skal.png\"></img>"+"</div>"+"<div height=\"12px\" class=\"tbxm_d2s_footerMiddle_small\">"+"</div>"+"<div >"+"<img width=\"100%\" height=\"4px\" src=\"http://www.t-online.de/scs/d2s/1/i/l/un_aussen_skal.png\"></img>"+"</div>"+"</div>"+"</div>";
this.modCont.innerHTML=_74;
};
this.showNaError=function(_75){
if(this.editLink){
this.editLink.className="tbxinvis";
}
var _76="<div class=\"tbxm_nodist\">"+"<div class=\"tbxm_d2s_header\">"+"<img width=\"100%\" height=\"3px\" src=\"http://www.t-online.de/scs/d2s/1/i/l/ob_innen_skal.png\"></img>"+"</div>"+"<div class=\"tbxm_content\">"+"<div class=\"tbxm_nodist\"><div class=\"tbxm_nacError\">"+_75+"</div></div>"+"</div>"+"<div class=\"tbxm_d2s_footerSmall\" valign=\"middle\">"+"<div >"+"<img width=\"100%\" height=\"3px\" src=\"http://www.t-online.de/scs/d2s/1/i/l/un_innen_skal.png\"></img>"+"</div>"+"<div height=\"12px\" class=\"tbxm_d2s_footerMiddle_small\">"+"</div>"+"<div >"+"<img width=\"100%\" height=\"4px\" src=\"http://www.t-online.de/scs/d2s/1/i/l/un_aussen_skal.png\"></img>"+"</div>"+"</div>"+"</div>";
this.modPrefs.innerHTML="";
this.modCont.innerHTML=_76;
};
this.showNacError=function(){
this.showNaError("Bitte melden Sie sich an.");
};
this.showNacaError=function(){
this.showNaError("Ihr Login wurde beendet. Bitte geben Sie eMail-Adresse und Passwort noch einmal ein.");
};
this._init();
};
TbxV.InlineModInner.prototype=new TbxV.ModInner();
TbxV.InlineModInner.prototype.constructor=TbxV.InlineModInner;
TbxV.Btn=function(_77,_78,_79,_7a,_7b,_7c){
this.key=_77;
var _7d=_78;
var _7e;
var sEl=false;
var _80=false;
var tEl;
var mod;
var _83=_79;
var _84=_7a;
var _85=_7b;
var _86=_7c;
this._constructor=function(){
var _87=tbxD.m[this.key].c.t;
var _88=tbxD.m[this.key].d2s.ics;
_7e=tbxF.u.cel({"n":"div","c":"tbxbb"});
var iEl=tbxF.u.cel({"n":"img","c":"tbxbbi"});
tbxV.utils.setTranspPNG(iEl,_88);
_7e.appendChild(iEl);
if(!(tbxS.us==TbxC.Main.stat.ukn&&tbxD.m[this.key].c.as)&&tbxD.m[_83.key].c.st){
tEl=tbxF.u.cel({"n":"div","c":"tbxbbt","t":_87});
sEl=tbxF.u.cel({"n":"div","c":"tbxbbs"});
_80=true;
_7e.appendChild(tEl);
_7e.appendChild(sEl);
}else{
tEl=tbxF.u.cel({"n":"div","c":"tbxbbtns","t":_87});
_80=false;
_7e.appendChild(tEl);
}
if(!_7d){
this.makeUnDummy();
}
};
this.makeDummy=function(){
_7d=true;
_7e["onmouseover"]=null;
_7e["onmouseout"]=null;
_7e["onclick"]=null;
};
this.makeUnDummy=function(){
_7d=false;
var _8a=new TbxF.EvHan(this,"_mouseIn",_7e);
_7e["onmouseover"]=_8a.handle.bind(_8a);
_8a=new TbxF.EvHan(this,"_mouseOut",_7e);
_7e["onmouseout"]=_8a.handle.bind(_8a);
_8a=new TbxF.EvHan(this,"_btnClick",_7e);
_7e["onclick"]=_8a.handle.bind(_8a);
};
this.setOpen=function(){
_7e.className="tbxbbo";
};
this.setClose=function(){
_7e.className="tbxbb";
};
this.getEl=function(){
return _7e;
};
this.getMod=function(){
return mod;
};
this.setStatus=function(_8b){
if(_80){
if(sEl){
sEl.innerHTML=decodeURI(_8b);
}
tEl.className="tbxbbt";
}
};
this.deleteStatusEl=function(){
if(tEl){
tEl.className="tbxbbtns";
}
};
this.getDimensions=function(){
var pos=tbxF.u.findAbsElPos(_7e);
return {"absx":pos.x,"absy":pos.y,"x":_7e.offsetLeft,"y":_7e.offsetTop,"w":_7e.offsetWidth,"h":_7e.offsetHeight};
};
this._mouseIn=function(e){
if(tbxF.evUtils.movedIn(e,_7e)){
_7e.className="tbxbbo";
_83[_84]();
}else{
}
};
this._mouseOut=function(e){
if(tbxF.evUtils.movedOut(e,_7e)){
_7e.className="tbxbb";
_83[_85]();
}else{
}
};
this._btnClick=function(e){
_83[_86]();
};
this._constructor();
};
function TbxV(){
var _90;
function getBtnContEl(){
if(!_90){
_90=tbxF.u.gEl("tbxbc");
}
return _90;
}
var _91;
function getModContEl(){
if(!_91){
_91=tbxF.u.gEl("tbxbm");
}
return _91;
}
this.buttons=new Array();
var _92;
this.getSetWin=function(){
if(!_92){
_92=new TbxV.SetWin();
}
return _92;
};
this.hideNoscript=function(){
tbxF.u.gEl("tbxbnoscript").className="tbxinvis";
};
this.showLoading=function(){
tbxF.u.gEl("tbxbloading").className="tbxb";
};
this.hideLoading=function(){
tbxF.u.gEl("tbxbloading").className="tbxinvis";
};
this.showUnsupported=function(){
tbxF.u.gEl("tbxbunsupported").className="tbxb";
var _93=tbxF.u.gEl("globalerror");
_93.className="error";
_93.title="Bitte verwenden Sie einen unterst\xfctzten Browser.";
_93.setAttribute("href","http://www.t-online.de/service/redir/toolbox2_javascript.htm");
var _94=tbxF.u.gEl("tbxbs");
_94.className="tbxinvis";
};
this.initPageStructure=function(){
var b=tbxF.u.gEl("tbxanchor");
b.appendChild(getModContEl());
};
this.showButtonContainer=function(){
tbxF.u.gEl("tbxb").className="tbxbd";
};
this.hideButtonContainer=function(){
tbxF.u.gEl("tbxb").className="tbxinvis";
};
var _96=new Object();
this._getButtonOrderObj=function(){
_96=new Object();
for(var i=0;i<tbxS.uc.m.length;i++){
_96[tbxS.uc.m[i].key]=i;
}
};
this.buttonViews=new Array();
this.appendButton=function(btn){
this._getButtonOrderObj();
var _99=_96[btn.key];
var _9a=false;
var pos=0;
for(var i=0;i<this.buttonViews.length;i++){
var _9d=_96[this.buttonViews[i].key];
if(_99<_9d){
this._insertButton(btn,pos);
_9a=true;
break;
}
pos++;
}
if(!_9a){
getBtnContEl().appendChild(btn.getEl());
this.buttonViews.push(btn);
}
return pos;
};
this.appendModule=function(mod){
getModContEl().appendChild(mod.getModEl());
};
this._insertButton=function(btn,pos){
if(pos>=this.buttonViews.length){
getBtnContEl().appendChild(btn.getEl());
}else{
getBtnContEl().insertBefore(btn.getEl(),tbxF.u.gCEls(getBtnContEl())[pos]);
}
this.buttonViews.splice(pos,0,btn);
};
this.deleteButton=function(key){
var _a2;
for(var i=0;i<this.buttonViews.length;i++){
if(this.buttonViews[i].key==key){
_a2=i;
getBtnContEl().removeChild(this.buttonViews[i].getEl());
break;
}
}
this.buttonViews.splice(_a2,1);
};
this.updateModulePosition=function(pos,key){
var _a6=-1;
for(var i=0;i<this.buttonViews.length;i++){
if(this.buttonViews[i].key==key){
btn=this.buttonViews[i];
_a6=i;
break;
}
}
if(btn){
this.deleteButton(btn.key);
this._insertButton(btn,pos);
}
};
this.deleteModule=function(mod){
getModContEl().removeChild(mod.getModEl());
};
this.showBarometerHint=function(bar,_aa,_ab,btn){
var pos=btn.getDimensions();
if(pos.w>0){
var _ae=tbxF.u.gEl("tbxbh");
var _af=tbxF.u.gEl("tbxbhbg");
var _b0=tbxF.u.gEl("tbxbhr");
var _b1=tbxF.u.gEl("tbxbhc");
var _b2=new TbxF.EvHan(bar,_aa,_b0);
_b0["onclick"]=_b2.handle.bind(_b2);
_b2=new TbxF.EvHan(bar,_ab,_b1);
_b1["onclick"]=_b2.handle.bind(_b2);
var _b3=this.getBtnPosition(btn.key);
if(_b3==0){
_ae.className="tbxbh1";
}else{
if(_b3==1){
_ae.className="tbxbh2";
}else{
if(_b3==2){
_ae.className="tbxbh3";
}else{
if(_b3==3){
_ae.className="tbxbh4";
}else{
if(_b3==4){
_ae.className="tbxbh5";
}else{
if(_b3==5){
_ae.className="tbxbh6";
}else{
}
}
}
}
}
}
if(pos.y>65){
_af.className="tbxbhbgb";
}else{
_af.className="tbxbhbgt";
}
}
};
this.hideBarometerHint=function(){
var _b4=tbxF.u.gEl("tbxbh");
_b4.className="tbxinvis";
};
this.getBtnPosition=function(key){
for(var i=0;i<this.buttonViews.length;i++){
if(this.buttonViews[i].key==key){
return i;
}
}
};
this.showLoginGlow=function(){
};
this.hideLoginGlow=function(){
};
this.showReLogin=function(){
this.showLoginGlow();
var el=tbxF.u.gEl("tbxli");
el.src="about:blank";
el.src="https://sam.t-online.com/directlogin?skinID=d2s_d_wirk";
};
this.showGlobalError=function(_b8,_b9){
var _ba=tbxF.u.gEl("globalerror");
_ba.className="error";
_ba.title=_b8;
_ba.setAttribute("href",_b9);
var _bb=tbxF.u.gEl("tbxbs");
_bb.className="tbxinvis";
};
this.showGlobalErrorFlex=function(_bc,_bd){
this.showGlobalError(_bc,_bd);
};
this.hideGlobalError=function(){
var _be=tbxF.u.gEl("globalerror");
_be.className="tbxinvis";
};
this.setKeepalive=function(url){
var ifr="<iframe src='"+url+"'></iframe>";
var _c1=tbxF.u.gEl("tbxka");
_c1.innerHTML="";
_c1.innerHTML=ifr;
};
this.generateCommIFrame=function(url){
var ifr="<iframe src='"+url+"'></iframe>";
var _c4=tbxF.u.gEl("tbxcomm");
_c4.innerHTML="";
_c4.innerHTML=ifr;
};
}
tbxV=new TbxV();
TbxM.U=function(api){
this._api=api;
this.gModEl=function(id){
return tbxF.u.gEl(this._api.encodeId(id));
};
this.bindHandlers=function(_c7,obj,key){
for(var i=0;i<_c7.length;i++){
var han=_c7[i];
var _cc=han[0];
if(_cc=="element"){
this._bindElementHandler(han,obj,key);
}else{
if(_cc=="list"){
this._bindListHandler(han,obj,key);
}else{
}
}
}
};
this._bindElementHandler=function(_cd,obj,key){
var el=this.gModEl(_cd[1]);
if(el){
if(obj[_cd[3]]){
var _d1=new TbxF.EvHan(obj,_cd[3],el);
el[_cd[2]]=_d1.handle.bind(_d1);
}else{
}
}else{
}
};
this._bindListHandler=function(_d2,obj,key){
var _d5=this.gModEl(_d2[1]);
this._bindListChildrenHandler(_d5,_d2,obj,key);
};
this._bindListChildrenHandler=function(_d6,_d7,obj,key){
for(var i=0;i<tbxF.u.gElT(_d6,_d7[3]).length;i++){
var _db=tbxF.u.gElT(_d6,_d7[3])[i];
var _dc=new RegExp(_d7[2]);
if(_dc.test(_db.id)){
var _dd=new Array("element",this._api.decodeId(_db.id),_d7[4],_d7[5]);
if(_d7[6]){
_dd.push(_d7[6]);
}
this._bindElementHandler(_dd,obj,key);
}
if(_db.childNodes!=null){
if(_db.childNodes.length>0){
this._bindListChildrenHandler(_db,_d7,obj,key);
}
}
}
};
};
TbxM.prototype.u=new TbxM.U();
TbxM.U.TabController=function(api,_df,_e0){
this._numTabs=_df;
this._api=api;
if(_e0){
this._idPrefix=_e0;
}else{
this._idPrefix="tab";
}
this.getTabId=function(_e1){
return this._idPrefix+_e1;
};
this.getTabActiveLinkId=function(_e2){
return this._idPrefix+_e2+"activeLink";
};
this.getTabPassiveLinkId=function(_e3){
return this._idPrefix+_e3+"passiveLink";
};
this.getTabImgId=function(_e4){
return this._idPrefix+_e4+"Img";
};
this.getTabContentId=function(_e5){
return this._idPrefix+_e5+"content";
};
this.getActiveTab=function(){
for(var i=0;i<this._numTabs;i++){
var _e7=this._api.gEl(this._idPrefix+i+"active");
if(_e7.className=="tbxm_tab_table tbxm_vis"){
return i;
}
}
};
this.selectTabByNr=function(_e8){
for(var i=0;i<this._numTabs;i++){
var _ea=this._api.gEl(this._idPrefix+i+"active");
var _eb=this._api.gEl(this._idPrefix+i+"passive");
var _ec=this._api.gEl(this._idPrefix+i+"content");
if(i!=_e8){
_eb.className="tbxm_tab_tableOff tbxm_vis";
_ea.className="tbxm_tab_table tbxm_invis";
_ec.className="tbxm_invis";
}else{
_eb.className="tbxm_tab_tableOff tbxm_invis";
_ea.className="tbxm_tab_table tbxm_vis";
_ec.className="tbxm_vis";
}
}
return _e8;
};
this.selectSubTabByNr=function(_ed){
for(var i=0;i<this._numTabs;i++){
var _ef=this._api.gEl(this._idPrefix+i+"active");
var _f0=this._api.gEl(this._idPrefix+i+"passive");
var _f1=this._api.gEl(this._idPrefix+i+"content");
if(i!=_ed){
_f0.className="tbxm_sport_inactive_subtag";
_ef.className="tbxm_invis tbxm_sport_active_subtag";
_f1.className="tbxm_invis";
}else{
_f0.className="tbxm_sport_inactive_subtag tbxm_invis";
_ef.className="tbxm_sport_active_subtag";
_f1.className="tbxm_vis";
}
}
return _ed;
};
this.selectTab=function(_f2){
var _f3=_f2.target;
if(_f3.tagName=="IMG"){
_f3=_f3.parentNode;
}
if(_f3.tagName=="FONT"){
_f3=_f3.parentNode;
}
var _f4=_f3.getAttribute("id");
if(_f4.indexOf("passiveLink")==-1){
return;
}
var _f5=_f4.split("passiveLink")[0].split(this._idPrefix)[1];
if(this._idPrefix=="tab"){
return this.selectTabByNr(_f5);
}else{
return this.selectSubTabByNr(_f5);
}
};
this.getTabNr=function(_f6){
var _f7=_f6.target;
if(_f7.tagName=="IMG"){
_f7=_f7.parentNode;
}
var _f8=_f7.getAttribute("id");
if(_f8.indexOf("passiveLink")==-1){
return;
}
var _f9=_f8.split("passiveLink")[0].split(this._idPrefix)[1];
return _f9;
};
};
TbxM.U.SlideshowController=function(api,_fb,_fc){
this._api=api;
this._css=_fb;
this._naviIds=_fc;
this.NEXT=1;
this.PREV=-1;
this._activePageNr=0;
this._navi=[["NEXT","tbxm_slideshow_nextGreyRD","tbxm_slideshow_nextRD"],["PREV","tbxm_slideshow_prevGreyRD","tbxm_slideshow_prevRD"]];
this.nextImage=function(){
var _fd=this._api.gEl("slideshow").getAttribute("maxImg");
if(this._activePageNr!=_fd-1){
this._flipImage(this.NEXT);
}
};
this.prevImage=function(){
if(this._activePageNr!=0){
this._flipImage(this.PREV);
}
};
this._deactivateNaviLink=function(_fe,_ff){
var link=this._api.gEl(_ff);
if(_fe==this._navi[0][0]){
link.className=this._navi[0][1];
}else{
link.className=this._navi[1][1];
}
};
this._activateNaviLink=function(navi,_102){
var link=this._api.gEl(_102);
if(navi==this._navi[0][0]){
link.className=this._navi[0][2];
}else{
link.className=this._navi[1][2];
}
};
this._flipImage=function(dir){
var _105=this._api.gEl("slideshow");
var _106=_105.getAttribute("maxImg");
if(this._activePageNr==0){
this._activateNaviLink(this._navi[1][0],this._naviIds[1]);
}else{
if(this._activePageNr==_106-1){
this._activateNaviLink(this._navi[0][0],this._naviIds[0]);
}
}
var _107=_105.childNodes[this._activePageNr];
_107.className="tbxm_invis";
this._activePageNr=this._activePageNr+dir;
_105.childNodes[this._activePageNr].className=this._css;
if(this._activePageNr==0){
this._deactivateNaviLink(this._navi[1][0],this._naviIds[1]);
}else{
if(this._activePageNr==_106-1){
this._deactivateNaviLink(this._navi[0][0],this._naviIds[0]);
}
}
this._adjustCounter(this._activePageNr,_106);
};
this._adjustCounter=function(_108,_109){
_108=_108+1;
var _10a=this._api.gEl("counter");
_10a.firstChild.data=_108+" / "+_109;
};
};
TbxM.U.PopupController=function(api){
this._showPopupTimer;
this._hidePopupTimer;
this._openPopupID="";
this._openPopupModID="";
this.HIDETIMEOUT=500;
this.SHOWTIMEOUT=500;
this.POSLEFT=0;
this.POSMIDDLE=1;
this.POSMIDDLEMOVEDDOWN=11;
this.POSRIGHT=2;
this.POSMIDDLEBOTH=3;
this._api=api;
this.stopHidePopupTimerInside=function(){
window.clearTimeout(this._hidePopupTimer);
};
this.startHidePopupTimerInside=function(_10c,_10d){
if(!_10d){
var _10d=window.event;
}
var _10e=_10c+"_popup";
var _10f=this._api.gEl(_10e);
if(!_10f){
return;
}
tbxF.evUtils.movedOut(_10d,_10f);
this.startHidePopupTimer(_10c);
};
this.startHidePopupTimer=function(_110){
this.stopShowPopupTimer();
window.clearTimeout(this._hidePopupTimer);
this._hidePopupTimer=window.setTimeout(this.hidePopup.bind(this,_110),this.HIDETIMEOUT);
};
this.hidePopup=function(_111){
var _112=_111+"_popup";
var _113=this._api.gEl(_112);
if(_113){
_113.className="tbxm_invis";
var _114=this._api.gEl(_112+"Parent");
_114.appendChild(_113);
}
};
this.forceHidePopup=function(_115){
this.hidePopup(_115);
};
this.startShowPopupTimer=function(_116,_117,_118){
this.stopShowPopupTimer();
this._hidePopupTimer=window.setTimeout(this.showPopup.bind(this,_116,_117,_118),this.SHOWTIMEOUT);
};
this.stopShowPopupTimer=function(){
window.clearTimeout(this._showPopupTimer);
};
this.showPopup=function(_119,_11a,_11b){
tbxF.log.d("open: "+_119+", close: "+this._openPopupID);
this.forceHidePopup(this._openPopupID,this._openPopupModID);
var _11c=_119+"_popup";
var _11d=this._api.gEl(_11c);
var _11e=this._api.gEl(_119);
var _11f=this._findElementPos(_11e);
var _120=this._getScrollState();
var _121=this._getWindowInnerSize();
var elX=_11f[0]-_120[0];
var elY=_11f[1]-_120[1];
var elW=_11e.offsetWidth;
var elH=_11e.offsetHeight;
if(_11a==this.POSMIDDLEBOTH){
var pX=elX+0.5*elW+_120[0];
var pY=elY+0.5*elH+_120[1];
}else{
if((_11a==this.POSMIDDLE)||(_11a==this.POSMIDDLEMOVEDDOWN)){
var pX=elX+0.5*elW+_120[0];
var pY=elY+elH+_120[1];
}else{
if(_11a==this.POSLEFT){
var pX=elX+_120[0];
var pY=elY+_120[1];
}else{
var pX=elX+elW+_120[0];
var pY=elY+elH+_120[1];
}
}
}
_11d.className=_11b;
_11d.style.left="0px";
_11d.style.top="0px";
var pW=_11d.offsetWidth;
var pH=_11d.offsetHeight;
if(elX+elW+pW>_121[0]){
pX=elX-pW+_120[0];
}
if(pX<0){
if(pW>=_121[0]){
pX=0;
pW=_121[0]-32;
_11d.getElementsByTagName("table")[0].className="tbxm_table";
_11d.style.width=pW+"px";
}else{
var _12a=_121[0]/2;
pX=_12a-pW/2+_120[0];
if(pW==_121[0]-32){
_11d.getElementsByTagName("table")[0].className="tbxm_table";
}else{
_11d.getElementsByTagName("table")[0].className="tbxm_nodist";
}
}
}
if(elY+elH+pH>_121[1]){
pY=elY-pH+_120[1];
if(elY-pH<10){
pY=10+_120[1];
if(_11a==this.POSMIDDLEMOVEDDOWN){
pY=pY+5;
}
}
}
this._openPopupID=_119;
this._openPopupModID=this._api._key;
_11d.style.left=pX+"px";
_11d.style.top=pY+"px";
var body=document.getElementsByTagName("body")[0];
body.appendChild(_11d);
var _12c=_11d.getElementsByTagName("iframe")[0];
if(_12c){
_12c.width=pW;
_12c.height=pH;
}
};
this._findElementPos=function(obj){
var _12e=obj;
var _12f=curtop=0;
if(obj.offsetParent){
_12f=obj.offsetLeft;
curtop=obj.offsetTop;
while(obj=obj.offsetParent){
_12f+=obj.offsetLeft;
curtop+=obj.offsetTop;
}
}
_12e=_12e.parentNode;
while((_12e!=document)&&(_12e.tagName!="HTML")){
if(_12e.scrollLeft!=0||_12e.scrollTop!=0){
_12f-=_12e.scrollLeft;
curtop-=_12e.scrollTop;
break;
}
_12e=_12e.parentNode;
}
return [_12f,curtop];
};
this._getScrollState=function(){
var sx,sy;
if(self.pageYOffset){
sx=self.pageXOffset;
sy=self.pageYOffset;
}else{
if(document.documentElement&&document.documentElement.scrollTop){
sx=document.documentElement.scrollLeft;
sy=document.documentElement.scrollTop;
}else{
if(document.body){
sx=document.body.scrollLeft;
sy=document.body.scrollTop;
}
}
}
return [sx,sy];
};
this._getWindowInnerSize=function(){
var x,y;
if(self.innerHeight){
x=self.innerWidth;
y=self.innerHeight;
}else{
if(document.documentElement&&document.documentElement.clientHeight){
x=document.documentElement.clientWidth;
y=document.documentElement.clientHeight;
}else{
if(document.body){
x=document.body.clientWidth;
y=document.body.clientHeight;
}
}
}
return [x,y];
};
};
TbxM.U.ReplaceFragmentHandler=function(api,_135,_136){
this._tEl=_135;
this._errT=_136;
this._api=api;
this._abort=false;
this.load=function(_137){
var fh=this;
this._api.connector.modView.showThrobber(this._tEl);
this._api.callModuleServer(_137,function(r){
fh.onSuccess(r);
},this.onError.bind(this));
};
this.onSuccess=function(_13a){
if(!this._abort){
_13a=this._api.replaceIds(_13a);
this._tEl.innerHTML=_13a;
this._api.bindEventHandlers();
}else{
this._abort=false;
}
};
this.onError=function(_13b,_13c){
if(!this._abort){
this._api.moduleErrorHandlerPrefs(this._tEl,_13b,_13c);
}else{
this._abort=false;
}
};
this.abort=function(){
this._abort=true;
};
};
TbxM.Api=function(_13d){
this._module=_13d;
this._key=_13d.key;
this.u=new TbxM.U(this);
this.connector=null;
this._popupController=null;
this.saveSettings=function(_13e,_13f){
this.connector.saveSettings(_13e,_13f);
};
this.callModuleServer=function(_140,_141,_142){
var _143;
if(tbxD.m[this._key].c.at){
_143=tbxD.m[this._key].c.at;
}
TbxComm.Server.forwardRequest(this._key,_140,_141,_142,_143);
};
this.gEl=function(id){
return this.u.gModEl(id);
};
this.getModuleSettings=function(form,_146){
var _147=tbxF.frm.serialize(form);
var _148=new Object();
for(var i=0;i<_147.length;i++){
for(var j=0;j<_147[i].length;j++){
_148[_147[i][j][0]]=_147[i][j][1];
}
}
var _14b="";
for(var p=0;p<_146.length;p++){
_14b=_14b+_146[p]+"="+_148[_146[p]];
if(p<_146.length-1){
_14b=_14b+"&";
}
}
return _14b;
};
this.showThrobber=function(ele,_14e){
this.connector.modView.showThrobber(ele,null,null,_14e);
};
this.replaceIds=function(html){
html=html.replace(/id="([^"]*)"/g,"id=\""+this.encodeId("$1")+"\"");
html=html.replace(/for="([^"]*)"/g,"for=\""+this.encodeId("$1")+"\"");
return html;
};
this.bindEventHandlers=function(){
this.u.bindHandlers(this._module.eventHandlers,this._module,this._key);
};
this.bindEventHandlersFor=function(_150){
this.u.bindHandlers(_150,this._module,this._key);
};
this.getTabController=function(_151,_152){
return new TbxM.U.TabController(this,_151,_152);
};
this.getPopupController=function(){
if(this._popupController==null){
this._popupController=new TbxM.U.PopupController(this);
return this._popupController;
}else{
return this._popupController;
}
};
this.getSlideshowController=function(css,ids){
return new TbxM.U.SlideshowController(this,css,ids);
};
this.getReplaceFragmentHandler=function(_155,_156){
return new TbxM.U.ReplaceFragmentHandler(this,_155,_156);
};
this.getPreferencesFormId=function(){
return this.decodeId(this.connector.modView.modPrefsForm.id);
};
this.reloadModule=function(){
this.connector.reloadModule();
};
this.encodeId=function(id){
return this.connector.encodeId(this._key,id);
};
this.decodeId=function(id){
return this.connector.decodeId(this._key,id);
};
this.showModuleError=function(_159,_15a,_15b){
this.connector.closeSettings();
var args=tbxF.$A(arguments);
if(args.length==2){
_159=null;
_15a=args[0];
_15b=args[1];
}
this.connector.modView.showModuleError(_15a,_15b,_159);
};
this.moduleErrorHandler=function(_15d,_15e,_15f){
this.connector.closeSettings();
this._moduleErrorHandler(_15d,_15e,_15f);
};
this.moduleErrorHandlerPrefs=function(_160,_161,_162){
this._moduleErrorHandler(_160,_161,_162);
};
this._moduleErrorHandler=function(_163,_164,_165){
var args=tbxF.$A(arguments);
if(args.length==2||!_165){
_163=null;
_164=args[0];
_165=args[1];
}
this.connector.showModuleError("","",_163,_165);
};
this.createGlobalObject=function(obj){
return this.connector.createGlobalObject(obj);
};
this.count=function(path){
this.connector.count(path);
};
this.getDomain=function(){
var url=document.URL;
var _16a=url.match(/https?:\/\/[^\/]+/);
if(_16a&&_16a[0]){
return _16a[0];
}else{
return "";
}
};
};
TbxM.Base=function(key){
this.eventHandlers=[];
this.key=key;
this.REASON={"SAVE":"SAVE","CANCEL":"CANCEL"};
this.api=new TbxM.Api(this);
this.init=function(_16c,_16d){
};
this.settingsOpened=function(){
};
this.settingsClosed=function(_16e){
};
};
function TbxM(){
}
tbxM=new TbxM();
function TbxComm(){
}
TbxComm.ModuleModel=function(key){
var _170;
this.statusmessage;
var _171=false;
var _172=[];
this.loadStatus=function(_173){
_172.push(_173);
if(!_171){
_171=true;
TbxComm.Server.loadStatus(key,this._loadStatusSuccessHandler.bind(this),this._loadStatusErrorHandler.bind(this));
}
};
this._loadStatusSuccessHandler=function(r){
this.statusmessage=r;
for(var i=_172.length-1;i>=0;i--){
_172[i](r);
_172.pop();
}
_171=false;
};
this._loadStatusErrorHandler=function(r,c){
this._loadStatusSuccessHandler("");
_171=false;
};
};
TbxComm.InlineModuleModel=function(key){
this.parent=TbxComm.ModuleModel.prototype;
this.parent.constructor.call(this,key);
var _179;
var _17a;
var _17b;
var _17c;
var _17d;
var _17e=false;
var _17f=false;
var _180=false;
this.ERRORS={"Load":"Load"};
this.loadModuleContent=function(cb){
_179=cb;
_17e=false;
_17f=false;
_180=false;
_17c=false;
var _182;
if(tbxD.m[key].c.at){
_182=tbxD.m[key].c.at;
}
TbxComm.Server.openModule(key,_moduleContentReceivedHandler.bind(this),_moduleContentReceivedErrorHandler.bind(this),_182);
_17d=tbxC.getModule(key).getJsClass();
if(!TbxM[_17d]){
var _183=tbxC.getModule(key).getJsPath();
TbxComm.Server.loadModJS(_183,_moduleJSReceivedHandler.bind(this),_moduleJSReceivedErrorHandler.bind(this),_182);
}else{
_17b=TbxM[_17d];
}
};
function _moduleContentReceivedHandler(_184){
_184=_184.replace(/id="([^"]*)"/g,"id=\""+_encodeId("$1")+"\"");
_184=_184.replace(/for="([^"]*)"/g,"for=\""+_encodeId("$1")+"\"");
_17a=_184;
_17e=true;
_moduleContentComplete();
}
function _moduleContentReceivedErrorHandler(_185,_186){
_17c=_186;
_17f=true;
_17a=null;
_moduleContentComplete();
}
function _moduleJSReceivedHandler(_187){
try{
eval(_187);
_17b=TbxM[_17d];
_moduleContentComplete();
}
catch(e){
_moduleJSReceivedErrorHandler();
}
}
function _moduleJSReceivedErrorHandler(){
if(!_17c){
_17c=this.ERRORS.Load;
_180=true;
}
_moduleContentComplete();
}
function _moduleContentComplete(){
if(_179&&(_17b||_180)&&(_17e||_17f)){
_179(_17a,_17b,_17c);
}
}
function _encodeId(id){
if(key){
return key+"_"+id;
}else{
return id;
}
}
};
TbxComm.InlineModuleModel.prototype=new TbxComm.ModuleModel();
TbxComm.InlineModuleModel.prototype.constructor=TbxComm.InlineModuleModel;
TbxComm.BrowserConf=function(arg){
if(!arg||arg!="new"){
throw new Error("There is no public constructor for TbxComm.BrowserConf.");
}
this.getConfigFromCookie=function(){
var _18a=TbxComm.Cookie.loadConfigCookie();
if(!_18a){
return false;
}
var co=this._checkCookie(_18a);
if(!co){
return false;
}
try{
var ret=tbxF.json.parse(co["toolbox_0"]);
TbxComm.Cookie.saveConfigCookie(_18a,false);
return ret;
}
catch(e){
return false;
}
};
this._checkCookie=function(_18d){
if(!_18d){
TbxComm.Cookie.deleteConfigCookie();
return null;
}
try{
var co=tbxF.json.parse(_18d);
if(!co["toolbox_0"]){
TbxComm.Cookie.deleteConfigCookie();
return null;
}else{
if(!co["mods"]){
TbxComm.Cookie.deleteConfigCookie();
return null;
}else{
if(!(co["mods"].length!=undefined&&co["mods"].length>=0)){
TbxComm.Cookie.deleteConfigCookie();
return null;
}else{
return co;
}
}
}
}
catch(e){
TbxComm.Cookie.deleteConfigCookie();
return null;
}
};
this._abbreviateCookie=function(_18f){
var _190=encodeURIComponent(TbxComm.Cookie.getCookieNames().cc)+encodeURIComponent(_18f);
while(_190.length>4000){
var co=tbxF.json.parse(_18f);
var _192=co["mods"];
if(_192.length>0){
_192.splice(_192.length-1,1);
_18f=tbxF.json.serialize(co);
_190=encodeURIComponent(TbxComm.Cookie.getCookieNames().cc)+encodeURIComponent(_18f);
}else{
_190="";
_18f=null;
}
}
return _18f;
};
this.saveConfigToCookie=function(key,_194,_195){
if(!TbxComm.Cookie._checkSessionCookie()){
alert("Cookies werden von Ihrem Browser nicht unterst&uuml;tzt. Um Einstellungen zu speichern aktivieren Sie bitte die Unterst&uuml;tzung von Cookies in Ihrem Browser.");
return false;
}
var _196=TbxComm.Cookie.loadConfigCookie();
var co=this._checkCookie(_196);
if(co==null){
co=new Object();
}
if(!co["mods"]){
co["mods"]=new Array();
}
if(key=="toolbox_0"){
co[key]=_194;
}else{
var _198;
_198=co["mods"];
for(var i=0;i<_198.length;i++){
if(_198[i][key]){
_198.splice(i,1);
break;
}
}
var mod=new Object();
mod[key]=_194;
_198.splice(0,0,mod);
}
var _19b=tbxF.json.serialize(co);
_19b=this._abbreviateCookie(_19b);
if(!_19b){
return false;
}
TbxComm.Cookie.saveConfigCookie(_19b,_195);
_19b=TbxComm.Cookie.loadConfigCookie();
var co=this._checkCookie(_19b);
if(co){
if(key=="toolbox_0"){
if(co[key]==_194){
return true;
}else{
return false;
}
}else{
var _198=co["mods"];
for(var i=0;i<_198.length;i++){
if(_198[i][key]){
return true;
}
}
return false;
}
}else{
return false;
tbxC.showGlobalError(tbxC.error.global);
}
};
};
TbxComm.BrowserConf.__instance__=null;
TbxComm.BrowserConf.getInstance=function(){
if(this.__instance__==null){
this.__instance__=new TbxComm.BrowserConf("new");
}
return this.__instance__;
};
TbxComm.RHan=function(_19c,_19d,_19e,tfm,fsuc,ferr){
this._params=_19d;
this._timeout=_19e;
this._baseurl=_19c;
this._tfm=tfm;
var _1a2;
this.load=function(){
_1a2=new TbxF.R(this,this._timeout);
_1a2.fetchContent(this._baseurl,this._params,this._tfm);
};
this.onError=function(_1a3,_1a4){
handleResponse(_1a3,_1a4);
};
this.onSuccess=function(_1a5,_1a6){
handleResponse(_1a5,_1a6);
};
function handleResponse(_1a7,_1a8){
var _1a9=null;
if(_1a8!=tbxF.rCodes.TIMEOUT){
_1a9=_1a2.getResponseHeader("X-SC-ERROR");
}
if(parseInt(_1a8)==200&&(tbxF.u.sEmpty(_1a9)||_1a9=="200")){
fsuc(_1a7,"200");
}else{
if(tbxF.u.sEmpty(_1a9)){
_1a9=_1a8;
}
if(isNaN(_1a9)){
ferr(_1a7,_1a9);
}else{
ferr(_1a7,parseInt(_1a9));
}
}
}
};
TbxComm.Server=function(){
};
TbxComm.Server.loadTbxConfig=function(_1aa,_1ab){
var _1ac="c=lt&cv=d2s";
TbxComm.Server._doAjaxRequest(_1ac,_1aa,_1ab,"10000","GET");
};
TbxComm.Server.saveTbxSettings=function(_1ad,_1ae,_1af){
var _1ad="c=st&cv=d2s&d="+encodeURIComponent(_1ad);
TbxComm.Server._doAjaxRequest(_1ad,_1ae,_1af,"10000","GET");
};
TbxComm.Server.openModule=function(key,_1b1,_1b2,_1b3){
if(!_1b3){
_1b3="10000";
}
var _1b4="c=om&cv=d2s&m="+key;
TbxComm.Server._doAjaxRequest(_1b4,_1b1,_1b2,_1b3,"GET");
};
TbxComm.Server.openSecureModuleUrl=function(key){
var url=TbxComm.Cookie.getCookieNames().tss+"/ps/ps.do?c=osm&cv=d2s&m="+key;
var _1b7=TbxComm.Server._getServerUrl()+"/"+tbxS.dyn+"/"+tbxS.au;
url=url+"&d="+encodeURIComponent(tbxS.us)+"&w="+encodeURIComponent(_1b7);
return url;
};
TbxComm.Server.forwardRequest=function(key,_1b9,_1ba,_1bb,_1bc){
if(!_1bc){
_1bc="10000";
}
_1b9="c=fr&cv=d2s&m="+key+"&d="+encodeURIComponent(_1b9);
TbxComm.Server._doAjaxRequest(_1b9,_1ba,_1bb,_1bc,"POST");
};
TbxComm.Server.saveModule=function(key,_1be,_1bf,_1c0){
_1be="c=sm&cv=d2s&m="+key+"&d="+encodeURIComponent(_1be);
TbxComm.Server._doAjaxRequest(_1be,_1bf,_1c0,"10000","GET");
};
TbxComm.Server.openSetWinUrl=function(){
var url=TbxComm.Cookie.getCookieNames().tss+"/ps/ps.do?c=lgs&cv=d2s";
var _1c2=TbxComm.Server._getServerUrl()+"///scd2/a/pages/d2s/";
url=url+"&s=d2s_s_wirk"+"&w="+encodeURIComponent(_1c2);
return url;
};
TbxComm.Server.resetUserState=function(_1c3,_1c4){
var _1c5="c=rl&cv=d2s";
TbxComm.Server._doAjaxRequest(_1c5,_1c3,_1c4,"10000","GET");
};
TbxComm.Server.errorCodes={"ModuleDefaultSettingsError":7001,"ModuleStatusError":7002,"GeneralToolboxError":7010,"GeneralModuleError":7011,"InvalidSecureCookie":7013,"UserNotLoggedIn":7031,"UserNotLoggedInAnymore":7032,"UserLoginStateUnknown":7033};
TbxComm.Server.loadStatus=function(key,_1c7,_1c8){
var _1c9="c=ls&cv=d2s&m="+key;
TbxComm.Server._doAjaxRequest(_1c9,_1c7,_1c8,"10000","GET");
};
TbxComm.Server.loadModJS=function(path,_1cb,_1cc,_1cd){
if(!_1cd){
_1cd="10000";
}
var url="/scd2/m/mod/js/"+path;
var rHan=new TbxComm.RHan(url,"",_1cd,"GET",_1cb,_1cc);
rHan.load();
};
TbxComm.Server._getServerUrl=function(){
return window.location.protocol+"//"+window.location.host;
};
TbxComm.Server._doAjaxRequest=function(_1d0,_1d1,_1d2,_1d3,_1d4){
var url=tbxS.dyn+"/"+tbxS.au+"/ps.do";
var rHan=new TbxComm.RHan(url,_1d0,_1d3,_1d4,_1d1,TbxComm.Server._onErrorHandler.bind(TbxComm.Server,_1d0,_1d1,_1d2,_1d3,_1d4));
rHan.load();
};
TbxComm.Server._pendingRequests={};
TbxComm.Server._onErrorHandler=function(_1d7,_1d8,_1d9,_1da,_1db,_1dc,_1dd){
switch(_1dd){
case TbxComm.Server.errorCodes.UserLoginStateUnknown:
var now=new Date();
var _1df=now.getTime();
TbxComm.Server._pendingRequests[_1df]=TbxComm.Server._doAjaxRequest.bind(TbxComm.Server,_1d7,_1d8,_1d9,_1da,_1db);
var _1e0=TbxComm.Server._getServerUrl()+"/"+tbxS.dyn+"/"+tbxS.au+"/"+"pages/d2s/lg7033resultiframe.html?ts="+_1df;
tbxV.generateCommIFrame("/ps/ps.do?c=rlg&cv=d2s&w="+encodeURIComponent(_1e0));
break;
case TbxComm.Server.errorCodes.InvalidSecureCookie:
tbxC.reloadPage();
break;
default:
_1d9(_1dc,_1dd);
break;
}
};
TbxComm.Server.performPendingRequest=function(_1e1){
TbxComm.Server._pendingRequests[_1e1]();
};
TbxComm.PassivePers=function(){
};
TbxComm.PassivePers.getPassivePersonalization=function(){
var list=TbxComm.PassivePers._getConfig();
return {"m":list,"s":tbxD.p.anons,"p":0};
};
TbxComm.PassivePers.getAllModules=function(){
var list=TbxComm.PassivePers._getConfig();
for(var i=0;i<tbxD.ml.g.length;i++){
if(!TbxComm.PassivePers._isAlreadyInList(tbxD.ml.g[i].key,list)){
list.push(tbxD.ml.g[i].key);
}
}
return {"m":list,"s":tbxD.p.anons,"p":0};
};
TbxComm.PassivePers._getConfig=function(){
var c=TbxComm.Cookie.loadPersCookie();
var list=new Array();
for(var i=0;i<tbxD.ml.g.length;i++){
if(tbxD.ml.g[i].forced){
list.push(tbxD.ml.g[i].key);
}
}
var akey;
if(c){
var apps=c.split("|")[2];
if(apps){
var appA=apps.split(":");
for(var i=0;i<appA.length;i++){
var app=appA[i];
if(app){
akey=tbxD.ml.a[app];
if(akey){
if(!TbxComm.PassivePers._isAlreadyInList(akey,list)){
list.push(akey);
}
break;
}
}
}
}
}
if(!akey&&tbxD.ml.a["default"]){
if(!TbxComm.PassivePers._isAlreadyInList(tbxD.ml.a["default"],list)){
list.push(tbxD.ml.a["default"]);
}
}
var _1ec;
if(c){
var seg=c.substr(10,2);
_1ec=tbxD.ml.s[seg];
}
if(!_1ec){
_1ec=tbxD.ml.s["default"];
}
if(_1ec){
for(var i=0;i<_1ec.length;i++){
if(list.length>=6){
break;
}
if(!TbxComm.PassivePers._isAlreadyInList(_1ec[i],list)){
list.push(_1ec[i]);
}
}
}
list=TbxComm.PassivePers._sortModules(list);
return list;
};
TbxComm.PassivePers._isAlreadyInList=function(_1ee,list){
var _1f0=false;
for(var m=0;m<list.length;m++){
if(_1ee==list[m]){
_1f0=true;
break;
}
}
return _1f0;
};
TbxComm.PassivePers._sortModules=function(_1f2){
var _1f3=new Object();
for(var i=0;i<tbxD.ml.g.length;i++){
_1f3[tbxD.ml.g[i].key]=i;
}
_1f2.sort(function(a,b){
return _1f3[a]-_1f3[b];
});
return _1f2;
};
TbxComm.Cookie=function(){
};
TbxComm.Cookie._cookieNames;
TbxComm.Cookie.getCookieNames=function(){
if(!TbxComm.Cookie._cookieNames){
var _1f7=TbxComm.Cookie._getDomain();
var _1f8;
for(var md in tbxCookieConfig){
if(_1f7.indexOf("."+md)>-1){
_1f8=md;
break;
}
}
if(_1f8){
TbxComm.Cookie._cookieNames=tbxCookieConfig[_1f8];
TbxComm.Cookie._cookieNames.masterDomain=_1f8;
}else{
tbxC.showGlobalError(tbxC.error.loadconfig);
}
}
return TbxComm.Cookie._cookieNames;
};
TbxComm.Cookie.checkIsSaveDomain=function(){
var _1fa=TbxComm.Cookie._getDomain();
if(_1fa!=null){
if(_1fa.indexOf("t-online.de")>-1){
return true;
}
}
return false;
};
TbxComm.Cookie.loadCookies=function(){
var _1fb=TbxComm.Cookie._getDomain();
if(_1fb!=null){
var _1fc=document.getElementById("tbxcookie");
if(_1fc){
_1fc.src="http://tbx2.t-online.de/ps/cr.do?j=parent.tbxC.cookieLoaded&t="+encodeURIComponent(_1fb);
}
}else{
tbxC.showGlobalError(tbxC.error.loadconfig);
}
};
TbxComm.Cookie.saveCookies=function(_1fd){
if(!TbxComm.Cookie.checkIsSaveDomain()){
var _1fe=document.getElementById("tbxcookie");
if(_1fe){
_1fe.src=TbxComm.Cookie.getCookieNames().tsn+"/ps/cr.do?j=&c="+_1fd;
}
}
};
TbxComm.Cookie._getDomain=function(){
var url=document.URL;
var _200=url.match(/https?:\/\/[^\/]+/);
if(_200&&_200[0]){
return _200[0];
}else{
return null;
}
};
TbxComm.Cookie.saveSBCookie=function(val){
tbxF.c.sc(TbxComm.Cookie.getCookieNames().sbc,val,"43200","/",TbxComm.Cookie.getCookieNames().masterDomain,false);
TbxComm.Cookie.saveCookies(TbxComm.Cookie.getCookieNames().sbc);
};
TbxComm.Cookie.loadSBCookie=function(){
return tbxF.c.gc(TbxComm.Cookie.getCookieNames().sbc);
};
TbxComm.Cookie.loadPersCookie=function(){
return tbxF.c.gc(TbxComm.Cookie.getCookieNames().pc);
};
TbxComm.Cookie.saveConfigCookie=function(_202,_203){
if(TbxComm.Cookie._checkPersCookie()){
tbxF.c.sc(TbxComm.Cookie.getCookieNames().cc,_202,"43200","/",TbxComm.Cookie.getCookieNames().masterDomain,false);
}else{
tbxF.c.sc(TbxComm.Cookie.getCookieNames().cc,_202,null,"/",TbxComm.Cookie.getCookieNames().masterDomain,false);
}
if(_203){
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;
};
function TbxC(){
}
TbxC.Counter=function(arg){
if(!arg||arg!="new"){
throw new Error("There is no public constructor for TbxC.Counter.");
}
var _205=false;
var _206=new Array();
this.init=function(){
_205=true;
if(_206.length>0){
for(var i=0;i<_206.length;i++){
_loadPixel(_206[i]);
}
_206=new Array();
}
};
function _count(_208,base){
if(_208){
var date=Date.parse(new Date());
var _20b=escape(document.referrer);
var _20c=base+_208+"?r="+_20b+"&d="+date;
if(_205){
_loadPixel(_20c);
}else{
_206.push(_20c);
}
}
}
function _loadPixel(url){
var img=new Image();
img.src=url;
}
this.moduleOpened=function(key,_210){
_count(tbxD.m[key].d2s.co,"http://intern.passul.t-online.de/cgi-bin/");
if(""){
_count(tbxD.m[key].d2s.co,"");
}
};
this.contentLoaded=function(key,_212){
_count(tbxD.m[key].d2s.cl,"http://intern.passul.t-online.de/cgi-bin/");
if(""){
_count(tbxD.m[key].d2s.cl,"");
}
};
this.moduleClosedOnEdit=function(key){
_count(tbxD.m[key].d2s.ce,"http://intern.passul.t-online.de/cgi-bin/");
if(""){
_count(tbxD.m[key].d2s.ce,"");
}
};
this.countAny=function(path){
_count(path,"http://intern.passul.t-online.de/cgi-bin/");
if(""){
_count(path,"");
}
};
this.countAnyFullUrl=function(path,base){
_count(path,base);
};
};
TbxC.Counter.__instance__=null;
TbxC.Counter.getInstance=function(){
if(this.__instance__==null){
this.__instance__=new TbxC.Counter("new");
}
return this.__instance__;
};
TbxC.ModHandlerSmall=function(arg){
if(!arg||arg!="new"){
throw new Error("There is no public constructor for TbxC.ModHandlerSmall.");
}
var _218;
var _219;
var _21a;
var _21b;
var _21c;
this.requestOpen=function(mod,_21e){
if(tbxPartner){
return this._requestOpenWindow(mod,_21e);
}else{
return this._requestOpenModule(mod,_21e);
}
};
this._requestOpenModule=function(mod,_220){
if(!tbxC.modulesCSSLoaded){
tbxC.loadModulesCSS();
}
if(_21a){
window.clearTimeout(_21a);
_21a=false;
}
if(_21b&&_21c==mod){
window.clearTimeout(_21b);
_21b=false;
}else{
_218=mod;
if(_220){
this._performOpen();
}else{
_21a=window.setTimeout(this._performOpen,400);
}
}
};
this._requestOpenWindow=function(mod,_222){
if(_222){
window.open(tbxD.m[mod.key].c.pbl);
mod.btnView.setClose();
}
};
this._performOpen=function(){
window.clearTimeout(_21a);
_21a=false;
if(_218){
if(_219&&_219!=_218&&_219.isOpen){
_219.closeModuleNow();
}
if(_21b){
window.clearTimeout(_21b);
_21b=false;
}
_218.openModule();
_219=_218;
_218=false;
}
};
this.requestClose=function(mod){
if(_21a){
window.clearTimeout(_21a);
_21a=false;
}
if(mod.isOpen){
if(_21b){
window.clearTimeout(_21b);
_21b=false;
if(_21c&&_21c!=mod&&_21c.isOpen){
_21c.closeModuleNow();
}
}
_21c=mod;
_21b=window.setTimeout(this._performClose,400);
}
};
this._performClose=function(){
window.clearTimeout(_21b);
_21b=false;
if(_21c){
if(_219&&_219.isOpen){
_219.closeModuleNow();
}
if(_218&&_218.isOpen){
_218.closeModuleNow();
}
}
};
this.closeCurrent=function(){
if(_21b){
window.clearTimeout(_21b);
_21b=false;
}
if(_21a){
window.clearTimeout(_21a);
_21a=false;
}
if(_219){
_219.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(key,_225){
this.key=key;
this.dummy=_225;
this.btnView;
this.modView;
this.modModel;
this.isOpen=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);
}
};
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._setStatus(this.modModel.statusmessage);
}else{
this._loadStatus();
}
};
this._loadStatus=function(){
if(tbxD.m[this.key].c.st&&!(tbxS.us==TbxC.Main.stat.ukn&&tbxD.m[this.key].c.as)&&!(tbxS.us==TbxC.Main.stat.ukn&&!tbxD.p.prevs.ssfuwc&&tbxS.uc.p==0)){
this.modModel.loadStatus(this._setStatus.bind(this));
}else{
if(tbxS.us==TbxC.Main.stat.ukn&&!tbxD.p.prevs.ssfuwc&&tbxS.uc.p==0){
this._setStatus("");
}
}
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._setStatus.bind(this));
}
};
this._setStatus=function(_226){
var _227;
var _228;
try{
var _229=tbxF.json.parse(_226);
}
catch(e){
}
if(_229&&_229.status){
_227=_229.status;
}else{
_227="";
}
if(_229&&_229.buttonlink){
_228=_229.buttonlink;
}else{
_228="";
}
if(_227){
this.btnView.setStatus(_227);
if(this.modView){
this.modView.setStatus(_227);
}
}
if(!_227||_227==""){
this.btnView.deleteStatusEl();
}
if(tbxConfig.partner){
if(_228&&_228!=""){
tbxD.m[this.key].c.pbl=_228;
}
}
};
this.closeNow=function(e){
this.closeModuleNow();
};
};
TbxC.InlineMod=function(key,_22c){
this.parent=TbxC.Mod.prototype;
this.parent.constructor.call(this,key,_22c);
this.modModel=new TbxComm.InlineModuleModel(this.key);
this.connector;
this.init=function(){
this.createModuleButton();
var pos=tbxV.appendButton(this.btnView);
if(!this.dummy){
this.makeUnDummy();
}else{
this.makeDummy();
}
return pos;
};
this._showModuleContent=function(_22e,_22f){
this.modView.showContent(_22e);
this.connector=new TbxC.InlineConnector(_22f,this.key);
this.connector.init();
};
};
TbxC.InlineMod.prototype=new TbxC.Mod();
TbxC.InlineMod.prototype.constructor=TbxC.InlineMod;
TbxC.InlineModSmall=function(key,_231){
this.parent=TbxC.InlineMod.prototype;
this.parent.constructor.call(this,key,_231);
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");
}
};
this.mouseIn=function(){
TbxC.ModHandlerSmall.getInstance().requestOpen(this);
};
this.mouseOut=function(){
TbxC.ModHandlerSmall.getInstance().requestClose(this);
};
this.btnClick=function(){
TbxC.ModHandlerSmall.getInstance().requestOpen(this,true);
};
this.openModule=function(){
if(!this.isOpen){
this.modView.openModule();
var now=new Date();
if((tbxD.m[this.key].c.ct!=-1&&(now.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(false);
}
}
this.isOpen=true;
TbxC.Counter.getInstance().moduleOpened(this.key);
};
this.closeModule=function(){
this.modView.closeModule();
};
this.closeModuleNow=function(){
this.modView.closeModuleNow();
this.isOpen=false;
};
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(_233){
this.modModel.loadModuleContent(this.showModuleContent.bind(this));
if(_233){
this._loadStatus();
}
};
this.showModuleContent=function(_234,_235,_236){
var now=new Date();
this.lastServerContentRequest=now.getTime();
if(!_236){
if(_234&&_235){
this._showModuleContent(_234,_235);
TbxC.Counter.getInstance().contentLoaded(this.key);
}
}else{
this.showModuleError(_236);
}
};
this.remove=function(){
tbxV.deleteButton(this.key);
if(this.modView){
tbxV.deleteModule(this.modView);
}
};
this.getJsPath=function(){
return tbxD.m[key].d2s.js;
};
this.getJsClass=function(){
return tbxD.m[key].d2s.jsc;
};
this.showModuleError=function(_238){
switch(_238){
case TbxComm.Server.errorCodes.UserNotLoggedIn:
tbxV.showLoginGlow();
this.modView.showNacError();
break;
case TbxComm.Server.errorCodes.UserNotLoggedInAnymore:
tbxV.showReLogin();
this.modView.showNacError();
break;
default:
this.modView.showError("Modul konnte nicht geladen werden!","Der Dienst steht zur Zeit nicht zur Verf&uuml;gung. Bitte versuchen Sie es in einigen Minuten erneut.");
break;
}
};
};
TbxC.InlineModSmall.prototype=new TbxC.InlineMod();
TbxC.InlineModSmall.prototype.constructor=TbxC.InlineModSmall;
TbxC.NotAuthModSmall=function(_239){
this.parent=TbxC.InlineModSmall.prototype;
this.parent.constructor.call(this,_239);
this.createModule=function(){
this.modView=new TbxV.NotAuthMod(this.key,this.btnView,this,"mouseIn","mouseOut","closeNow");
};
this.loadModuleContent=function(_23a){
this.modView.showContent();
tbxV.showLoginGlow();
if(_23a){
this._loadStatus();
}
};
};
TbxC.NotAuthModSmall.prototype=new TbxC.InlineModSmall();
TbxC.NotAuthModSmall.prototype.constructor=TbxC.NotAuthModSmall;
TbxC.BarometerSmall=function(key,_23c){
if(!tbxC.barometerStatus){
tbxC.barometerStatus=new TbxC.BarometerStatus();
}
tbxC.barometerStatus.module=this;
this.parent=TbxC.InlineModSmall.prototype;
this.parent.constructor.call(this,key,_23c);
this.forced=false;
this.deletedModule;
this.force=function(){
this.forced=true;
};
this._setStatus=function(){
if(tbxC.barometerStatus.initialized){
this._setStatusDelayed();
}else{
tbxC.barometerStatus.addOnInit(this._setStatusDelayed.bind(this));
}
};
this._setStatusDelayed=function(){
if(tbxC.barometerStatus.initialized){
this.modModel.statusmessage=tbxC.barometerStatus.getStatus();
this.btnView.setStatus(this.modModel.statusmessage);
if(this.modView){
this.modView.setStatus(this.modModel.statusmessage);
}
}
};
this.remove=function(){
tbxV.deleteButton(this.key);
if(this.modView){
tbxV.deleteModule(this.modView);
}
tbxC.barometerStatus.module=null;
};
};
TbxC.BarometerSmall.prototype=new TbxC.InlineModSmall();
TbxC.BarometerSmall.prototype.constructor=TbxC.BarometerSmall;
TbxC.IframeMod=function(key,_23e){
this.parent=TbxC.Mod.prototype;
this.parent.constructor.call(this,key,_23e);
};
TbxC.IframeMod.prototype=new TbxC.Mod();
TbxC.IframeMod.prototype.constructor=TbxC.IframeMod;
TbxC.IframeModSmall=function(key,_240){
this.parent=TbxC.IframeMod.prototype;
this.parent.constructor.call(this,key,_240);
this.modModel=new TbxComm.ModuleModel(this.key);
this.lastServerContentRequest=0;
this.init=function(){
this.btnView=new TbxV.Btn(this.key,this.dummy,this,"mouseIn","mouseOut","btnClick");
var pos=tbxV.appendButton(this.btnView);
if(!this.dummy){
this.makeUnDummy();
}else{
this.makeDummy();
}
return pos;
};
this.createModule=function(){
this.modView=new TbxV.IframeMod(this.key,this.btnView,this,"mouseIn","mouseOut","closeNow");
};
this.openModule=function(){
if(!this.isOpen){
this.modView.openModule();
var now=new Date();
if((tbxD.m[this.key].c.ct!=-1&&(now.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(false);
}
this.isOpen=true;
TbxC.Counter.getInstance().moduleOpened(this.key);
}
};
this.closeModule=function(){
this.modView.closeModule();
};
this.closingCompleted=function(){
this.isOpen=false;
};
this.closeModuleNow=function(){
this.modView.closeModuleNow();
this.isOpen=false;
};
this.loadModuleContent=function(_243){
var now=new Date();
this.lastServerContentRequest=now.getTime();
var url=TbxComm.Server.openSecureModuleUrl(this.key);
this.modView.showContent(url);
if(_243){
this._loadStatus();
}
};
this.mouseIn=function(){
TbxC.ModHandlerSmall.getInstance().requestOpen(this);
};
this.mouseOut=function(){
TbxC.ModHandlerSmall.getInstance().requestClose(this);
};
this.btnClick=function(){
TbxC.ModHandlerSmall.getInstance().requestOpen(this,true);
};
this.getJsPath=function(){
return tbxD.m[key].d2s.js;
};
this.getJsClass=function(){
return tbxD.m[key].d2s.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(_246,key){
this.modObj=null;
this.modClass=_246;
this.key=key;
this.modView;
this.closeSettings=function(){
this.modView.switchToContent();
this.modState=this.MODULESTATES.content;
};
this.init=function(){
};
this.cancelClicked=function(){
this.modView.resetSettingsForm();
this.modView.switchToContent();
this.modState=this.MODULESTATES.content;
};
this.editClicked=function(){
this.modView.switchToPrefs();
this.modState=this.MODULESTATES.preferences;
this.modObj.settingsOpened();
};
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(_248,_249,_24a,_24b){
this.closeSettings();
this.showModuleError(_248,_249,_24a,_24b);
};
this.createGlobalObject=function(obj){
var _24d=obj.key;
tbxGlobalObjects[_24d]=obj;
tbxGlobalObject=obj;
return _24d;
};
this.showModuleError=function(_24e,_24f,_250,_251){
if(_251){
switch(_251){
case tbxF.rCodes.TIMEOUT:
this.modView.showModuleError("Fehler","Bei Ihrer Anfrage ist eine Zeit&uuml;berschreitung aufgetreten. Bitte versuchen Sie es sp\xe4ter noch einmal.",_250);
break;
case TbxComm.Server.errorCodes.UserNotLoggedIn:
this.showNacError();
break;
case TbxComm.Server.errorCodes.UserNotLoggedInAnymore:
this.showNacaError();
break;
default:
this.modView.showModuleError("Fehler","Es ist ein interner Fehler aufgetreten. Bitte versuchen Sie es sp\xe4ter noch einmal.",_250);
break;
}
}else{
this.modView.showModuleError(_24e,_24f,_250);
}
};
this.count=function(path){
TbxC.Counter.getInstance().countAny(path);
};
};
var tbxGlobalObjects={};
var tbxGlobalObject={};
TbxC.InlineConnector=function(_253,key){
this.parent=TbxC.Connector.prototype;
this.parent.constructor.call(this,_253,key);
this.MODULESTATES={"content":"content","preferences":"preferences"};
this.modState=this.MODULESTATES.content;
this.init=function(){
this.modObj=new this.modClass(this.key);
this.modObj.api.connector=this;
this.modObj.api.u.bindHandlers(this.modObj.eventHandlers,this.modObj,this.key);
this.modView=new TbxV.InlineModInner(this.key);
this.modView.connectEvents(this,"cancelClicked","editClicked","formSubmit","formReset");
this.modObj.init(this.modView.modCont,this.modView.modPrefs);
};
this.saveSettings=function(_255,_256){
if(!tbxC.checkSavedModules()){
tbxC.saveToolboxSettings(this._saveModuleSettings.bind(this,_255,_256),this.showModuleErrorCloseSettings.bind(this,"Einstellungen wurden nicht gespeichert!","Die Einstellungen konnten nicht gespeichert werden. Bitte versuchen Sie es in einigen Minuten erneut."));
}else{
this._saveModuleSettings(_255,_256);
}
};
this._saveModuleSettings=function(_257,_258){
if(tbxS.us==TbxC.Main.stat.ukn){
if(_258){
this.modView.showThrobber(this.modView.modCont,true,this.modView.modPrefs,true);
this.closeSettings();
TbxComm.BrowserConf.getInstance().saveConfigToCookie(this.key,_257,true);
this.reloadModule();
}else{
TbxComm.BrowserConf.getInstance().saveConfigToCookie(this.key,_257,true);
this.closeSettings();
}
}else{
var conn=this;
if(_258){
this.modView.showThrobber(this.modView.modCont,true,this.modView.modPrefs,true);
this.closeSettings();
TbxComm.Server.saveModule(this.key,_257,function(){
conn.reloadModule();
},function(r,c){
conn.showModuleErrorCloseSettings(r,"",null,c);
});
}else{
TbxComm.Server.saveModule(this.key,_257,function(){
conn.closeSettings();
},function(r,c){
conn.showModuleErrorCloseSettings(r,"",null,c);
});
}
}
};
this.reloadModule=function(){
this.closeSettings();
this.modView.showThrobber(this.modView.modCont,true,null,true);
var mod=tbxC.getModule(this.key);
mod.modModel.loadModuleContent(mod.showModuleContent.bind(mod));
mod._loadStatus();
};
this.encodeId=function(key,id){
if(key){
return key+"_"+id;
}else{
return id;
}
};
this.decodeId=function(key,id){
return id.split(key+"_")[1];
};
this.showNacError=function(){
this.closeSettings();
tbxV.showLoginGlow();
this.modView.showNacError();
};
this.showNacaError=function(){
this.closeSettings();
tbxV.showReLogin();
this.modView.showNacaError();
};
};
TbxC.InlineConnector.prototype=new TbxC.Connector();
TbxC.InlineConnector.prototype.constructor=TbxC.InlineConnector;
TbxC.IframeConnector=function(_263,key){
this.parent=TbxC.Connector.prototype;
this.parent.constructor.call(this,_263,key);
this.MODULESTATES={"content":"content","preferences":"preferences"};
var set="";
var rel=true;
this.bindHandlers=function(_267,obj){
this.modObj.api.u.bindHandlers(_267,obj,this.key);
};
this.init=function(){
try{
this.modObj=new this.modClass(this.key);
this.modObj.api.connector=this;
this.modObj.api.u.bindHandlers(this.modObj.eventHandlers,this.modObj,this.key);
this.modView=new TbxV.IframeModInner(this.key);
this.modView.connectEvents(this,"cancelClicked","editClicked","formSubmit","formReset");
var _269=TbxC.Counter.getInstance();
_269.init();
_269.contentLoaded(this.key);
this.modObj.init(this.modView.modCont,this.modView.modPrefs);
}
catch(e){
this.modView=new TbxV.IframeModInner(this.key);
this.showModuleErrorCloseSettings("Modul konnte nicht geladen werden!","Der Dienst steht zur Zeit nicht zur Verf&uuml;gung. Bitte versuchen Sie es in einigen Minuten erneut.");
}
};
this.saveSettings=function(_26a,_26b){
set=_26a;
rel=_26b;
var succ="";
if(!tbxC.checkSavedModules()){
var _26d="tbxC.saveToolboxSettings("+"function(r) {saveModSet('ok')}, "+"function(e) {saveModSet('error')})";
}else{
var _26d="saveModSet('ok')";
}
var _26e={"commands":[_26d]};
this.communicateWithToolbox(tbxF.json.serialize(_26e));
};
this.saveModuleSettings=function(){
var _26f=set;
var _270=rel;
if(tbxS.us==TbxC.Main.stat.ukn){
if(_270){
this.modView.showThrobber(this.modView.modCont,null,null,true);
this.closeSettings();
TbxComm.BrowserConf.getInstance().saveConfigToCookie(this.key,_26f,true);
this.reloadModule();
}else{
TbxComm.BrowserConf.getInstance().saveConfigToCookie(this.key,_26f,true);
this.closeSettings();
}
}else{
var conn=this;
if(_270){
TbxComm.Server.saveModule(this.key,_26f,this.reloadModule.bind(this),function(r,c){
conn.showModuleErrorCloseSettings(r,"",null,c);
});
}else{
TbxComm.Server.saveModule(this.key,_26f,function(){
conn.closeSettings();
},function(r,c){
conn.showModuleErrorCloseSettings(r,"",null,c);
});
}
}
};
this.reloadModule=function(){
this.closeSettings();
this.modView.showThrobber(this.modView.modCont,null,null,true);
var _276="tbxC.getModule(\""+this.key+"\").loadModuleContent(true)";
var _277={"commands":[_276]};
this.communicateWithToolbox(tbxF.json.serialize(_277));
};
this.communicateWithToolbox=function(_278){
this.modView.generateCommunicationIFrame(this.key,_278);
};
this.encodeId=function(key,id){
return id;
};
this.decodeId=function(key,id){
return id;
};
this.showNacError=function(){
this.modView.showNacError();
};
this.showNacaError=function(){
this.modView.showNacaError();
};
};
TbxC.IframeConnector.prototype=new TbxC.Connector();
TbxC.IframeConnector.prototype.constructor=TbxC.IframeConnector;
TbxC.BarometerStatus=function(){
var _27d=false;
var _27e=false;
var _27f=false;
this.initialized=false;
this.onInit=new Array();
this.module=null;
this.stat;
var _280;
this._handleStatus=function(_281){
var stat;
try{
stat=tbxF.json.parse(_281);
}
catch(e){
}
if(stat&&stat.status){
this.stat=stat.status;
if(this.stat.l<=2){
_27f=true;
var c=TbxComm.Cookie.loadSBCookie();
if(c){
try{
var sbc=tbxF.json.parse(c);
}
catch(e){
}
if(sbc.id==this.stat.id){
if(sbc.a=="REM"){
_27d=true;
}else{
if(sbc.a=="ALL"){
_27e=true;
}
}
}
}
}
}
this.initialized=true;
for(var i=0;i<this.onInit.length;i++){
this.onInit[i]();
}
this.onInit=new Array();
};
this.init=function(){
TbxComm.Server.loadStatus("sb_0",this._handleStatus.bind(this),function(e){
});
};
this.init();
this.getStatus=function(){
if(this.stat){
return this.stat.m;
}
};
this.checkRequired=function(){
return _27f&&!_27d;
};
this.checkAllowed=function(){
return _27e;
};
this.checkMayRemove=function(){
return _27f&&!_27d;
};
this.checkRemoved=function(){
return _27d;
};
this.showHint=function(){
tbxV.showBarometerHint(this,"removeButton","removeHint",this.module.btnView);
_280=window.setTimeout(this.hideHint.bind(this),10000);
};
this.removeButton=function(){
tbxV.hideBarometerHint();
var val={"id":this.stat.id,"a":"REM"};
var cval=tbxF.json.serialize(val);
TbxComm.Cookie.saveSBCookie(cval);
if(this.module){
if(this.module.deletedModule){
tbxC.createModule(this.module.deletedModule,this.module.dummy);
}
if(!this._checkSbInConfig()){
tbxC.deleteModule(this.module.key);
this.module=null;
}else{
var _289=this.module.dummy;
this.module=null;
tbxC.updateModules(_289);
}
}
_27d=true;
};
this.removeHint=function(){
if(_280){
window.clearTimeout(_280);
}
tbxV.hideBarometerHint();
var val={"id":this.stat.id,"a":"ALL"};
var cval=tbxF.json.serialize(val);
TbxComm.Cookie.saveSBCookie(cval);
_27e=true;
};
this.hideHint=function(){
if(_280){
window.clearTimeout(_280);
}
tbxV.hideBarometerHint();
_27e=true;
};
this.addOnInit=function(_28c){
this.onInit.push(_28c);
};
this._checkSbInConfig=function(){
for(var i=0;i<tbxS.uc.m.length;i++){
if(tbxS.uc.m[i]=="sb_0"){
return true;
}
}
return false;
};
};
TbxC.Main=function(){
this.modules=new Array();
this.barometerStatus;
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/toolbox2_javascript.htm"},"nojavascript":{"title":"Kein JavaScript!","content":"Kein Javascript...","tooltip":"Bitte aktivieren Sie JavaScript in Ihrem Browser.","link":"http://www.t-online.de/service/redir/toolbox2_javascript.htm"},"loadconfig":{"title":"Fehler!","content":"Es ist ein Fehler aufgetreten. Bitte versuchen Sie es zu einem sp\xe4teren Zeitpunkt noch einmal.","tooltip":"Fehler. Bitte versuchen Sie es sp\xe4ter noch einmal.","link":"http://www.t-online.de/service/redir/toolbox2_javascript.htm"},"loadtimeout":{"title":"Dieser Bereich konnte nicht geladen werden!","content":"Die Verbindung zum Server ist fehlgeschlagen. Bitte versuchen Sie es in einigen Minuten erneut.","tooltip":"Fehler. Bitte versuchen Sie es sp\xe4ter noch einmal.","link":"http://www.t-online.de/service/redir/toolbox2_javascript.htm"},"global":{"title":"Fehler!","content":"Es ist ein Fehler aufgetreten. Bitte versuchen Sie es zu einem sp\xe4teren Zeitpunkt noch einmal.","tooltip":"Fehler. Bitte versuchen Sie es sp\xe4ter noch einmal.","link":"http://www.t-online.de/service/redir/toolbox2_javascript.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\xfctzten Browser.","link":"http://www.t-online.de/service/redir/toolbox2_javascript.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/toolbox2_javascript.htm"}};
this.modulesCSSLoaded=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 _291=new TbxF.EvHan(han[3],han[2],el);
el[han[1]]=_291.handle.bind(_291);
}else{
}
}else{
if(this[han[2]]){
var _291=new TbxF.EvHan(this,han[2],el);
el[han[1]]=_291.handle.bind(_291);
}else{
}
}
}else{
}
}
};
this.load=function(_292,_293){
if(!this.globalerror){
tbxS.us=_292;
tbxS.au=_293;
tbxS.lr=true;
if(tbxS.dr){
this._loadAndDomReady();
}
}
};
this._onDomReady=function(){
if(!this.globalerror){
this._bindHandlers();
if(tbxS.lr){
this._loadAndDomReady();
tbxS.dr=true;
}else{
tbxF.u.addTimeout(this,this.loadTimeoutOccured,null,"30000","MAINLOADTIMEOUT");
}
tbxS.dr=true;
TbxC.Counter.getInstance().init();
}
};
this._loadAndDomReady=function(){
if(!this.globalerror){
if(tbxS.cr){
this._loadToolbox();
tbxS.ldr=true;
}else{
tbxF.u.addTimeout(this,this.loadTimeoutOccured,null,"30000","MAINLOADTIMEOUT");
}
tbxS.ldr=true;
}
};
this.cookieLoaded=function(){
if(!this.globalerror){
tbxS.cr=true;
if(tbxS.ldr){
this._loadToolbox();
}
}
};
this.loadToolbox=function(){
tbxF.u.removeTimeout("MAINLOADTIMEOUT");
tbxV.initPageStructure();
if(!TbxComm.Cookie._checkSessionCookie()){
this.showGlobalError(this.error.nosessioncookies);
return;
}
if(tbxS.us==TbxC.Main.stat.ukn){
TbxComm.Server.resetUserState(this._loadToolboxUkn.bind(this),this.loadToolboxUknError.bind(this));
}else{
this.barometerStatus=new TbxC.BarometerStatus();
TbxComm.Server.loadTbxConfig(this._getConfigFromServerHandler.bind(this),this.getConfigFromServerErrorHandler.bind(this));
}
};
this._loadToolboxUkn=function(){
this.barometerStatus=new TbxC.BarometerStatus();
var _294=TbxComm.BrowserConf.getInstance().getConfigFromCookie();
if(!_294){
_294=this._getPassivePers();
}
if(_294){
tbxS.uc=_294;
tbxS.pn=null;
tbxS.uc.m=this._checkModulesExist(tbxS.uc.m);
this._createAllModules();
}else{
this.showGlobalError(this.error.loadconfig);
}
tbxV.hideLoading();
};
this._loadToolboxUknError=function(){
this.showGlobalError(this.error.loadconfig);
};
this.saveToolboxSettings=function(_295,_296,_297){
tbxS.uc.p=1;
var _298=tbxF.json.serialize(tbxS.uc);
if(tbxS.us==TbxC.Main.stat.ukn){
if(TbxComm.BrowserConf.getInstance().saveConfigToCookie("toolbox_0",_298,_297)){
_295();
}else{
_296();
}
}else{
TbxComm.Server.saveTbxSettings(_298,_295,_296);
}
};
this._getConfigFromServerHandler=function(_299){
try{
var _29a=tbxF.json.parse(_299);
}
catch(e){
}
if(!_29a||_29a["toolbox_0"].p==0){
_29a=this._getPassivePers();
}
if(_29a){
if(_29a["toolbox_0"]){
tbxS.uc=_29a["toolbox_0"];
tbxS.pn=_29a["pagename_0"];
}else{
tbxS.uc=_29a;
tbxS.pn=null;
}
tbxS.uc.m=this._checkModulesExist(tbxS.uc.m);
this._createAllModules();
tbxF.u.addTimeout(this,this._keepalive,null,"240000");
}else{
this.showGlobalError(this.error.loadconfig);
}
tbxV.hideLoading();
};
this._getConfigFromServerErrorHandler=function(text,_29c){
this.showGlobalError(this.error.loadconfig);
};
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{
log.e("Module '"+key+"' was not deleted, it does not exist in the modules array.");
}
};
this.createModule=function(key,_2a1){
for(var i=0;i<this.modules.length;i++){
if(this.modules[i].key==key){
return false;
}
}
var mod;
mod=this._createModule(key,_2a1);
var pos=mod.init();
this.modules.splice(pos,0,mod);
return mod;
};
this._updateModules=function(mods,_2a6){
var _2a7=false;
if(this.barometerStatus&&this.barometerStatus.module&&this.barometerStatus.module.forced){
mods.splice((6-1),0,"sb_0");
_2a7=true;
}
var _2a8=new Array();
for(var i=0;i<mods.length;i++){
_2a8.push(mods[i]);
}
for(var m=this.modules.length-1;m>=0;m--){
var _2ab=false;
for(var i=0;i<mods.length;i++){
if(mods[i]==this.modules[m].key){
_2ab=true;
mods.splice(i,1);
break;
}
}
if(!_2ab){
this.deleteModule(this.modules[m].key);
}else{
if(_2a6&&!this.modules[m].dummy){
this.modules[m].makeDummy();
}else{
if(!_2a6&&this.modules[m].dummy){
this.modules[m].makeUnDummy();
}
}
}
}
for(var i=0;i<mods.length;i++){
this.createModule(mods[i],_2a6);
}
var _2ac=new Array();
for(var i=0;i<_2a8.length;i++){
_2ac.push(this.getModule(_2a8[i]));
}
this.modules=_2ac;
for(var i=0;i<this.modules.length;i++){
tbxV.updateModulePosition(i,this.modules[i].key);
}
if(_2a7){
this.barometerStatus.module.force();
if(this["_updateBarometerPosition"]){
this._updateBarometerPosition(false);
}
}
};
this.isBarometerInList=function(){
for(var i=0;i<tbxS.uc.m.length&&i<6;i++){
if(tbxS.uc.m[i]=="sb_0"){
return true;
}
}
return false;
};
this.checkCreateBarometer=function(){
if(!this.barometerStatus.module){
if(this.barometerStatus.initialized){
this._addBarometer();
}else{
this.barometerStatus.addOnInit(this._addBarometer.bind(this));
}
}else{
if(this.barometerStatus.initialized){
this._handleForcedBarometer();
}else{
this.barometerStatus.addOnInit(this._handleForcedBarometer.bind(this));
}
}
};
this._addBarometer=function(){
if(this.barometerStatus.checkRequired()){
var mod=this.createModule("sb_0",false);
if(mod){
mod.force();
}
if(this["_updateBarometerPosition"]){
this._updateBarometerPosition(false);
}
if(!this.barometerStatus.checkAllowed()){
this.barometerStatus.showHint();
}
}
};
this._handleForcedBarometer=function(){
if(this.barometerStatus.checkRequired()){
this.barometerStatus.module.force();
if(this["_updateBarometerPosition"]){
this._updateBarometerPosition(true);
}
}
};
this._updateBarometerPosition=function(_2af){
if(!this.isBarometerInList()){
this._putBarometerToModArray();
tbxV.updateModulePosition((6-1),"sb_0");
if(_2af){
if(!this.barometerStatus.checkAllowed()){
this.barometerStatus.showHint();
}
}
}
};
this._putBarometerToModArray=function(){
var _2b0=tbxC.modules;
var _2b1;
var mod=null;
for(var j=0;j<_2b0.length;j++){
if(_2b0[j].key=="sb_0"){
_2b1=j;
mod=_2b0[j];
break;
}
}
_2b0.splice(_2b1,1);
var _2b4=(6-1);
if(this.modules.length<6){
_2b4=this.modules.length;
}
_2b0.splice(_2b4,0,mod);
tbxC.modules=_2b0;
};
this._checkModulesExist=function(_2b5){
var ret=new Array();
for(var i=0;i<_2b5.length;i++){
if(tbxD.m[_2b5[i]]){
ret.push(_2b5[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.reloadPage=function(){
var href=document.location.href;
document.location.href=href;
};
this._keepalive=function(){
tbxV.setKeepalive(TbxComm.Cookie.getCookieNames().tss+"/ps/keepalive.do?c=k&cv=ps");
tbxF.u.addTimeout(this,this._keepalive,null,"240000");
};
this.moveModule=function(_2bb,_2bc){
var _2bd=this.modules[_2bc-1];
this.modules.splice(_2bc-1,1);
this.modules.splice(_2bb-1,0,_2bd);
tbxV.updateModulePosition(_2bb-1,_2bd.key);
if(tbxC.barometerStatus&&tbxC.barometerStatus.module&&tbxC.barometerStatus.module.forced){
tbxV.updateModulePosition((6-1),"sb_0");
this._putBarometerToModArray();
}
};
this.checkSavedModules=function(){
var _2be=TbxComm.BrowserConf.getInstance().getConfigFromCookie();
if(!_2be){
return false;
}
var _2bf=_2be.m;
_2bf.sort();
var _2c0=new Array();
for(var k=0;k<this.modules.length;k++){
_2c0.push(this.modules[k].key);
}
_2c0.sort();
if(tbxC.barometerStatus&&tbxC.barometerStatus.module&&tbxC.barometerStatus.module.forced){
for(var i=0;i<_2c0.length;i++){
if(_2c0[i]=="sb_0"){
_2c0.splice(i,1);
break;
}
}
}
var _2c3=-1;
for(var j=0;j<_2c0.length;j++){
if(_2c0[j]!=_2bf[j]){
return false;
}
}
return true;
};
this.loadModulesCSS=function(){
var _2c5="http://tbx2.t-online.de/mss/mod/css/modules.css";
cssElement=tbxF.u.cel({"n":"link","a":{"rel":"stylesheet","type":"text/css","href":_2c5}});
tbxF.u.gElT(document,"head")[0].appendChild(cssElement);
this.modulesCSSLoaded=true;
};
};
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","openSettingsWindow",this]];
var _2c6=null;
this.onDomReady=function(){
this._onDomReady();
};
this._loadToolbox=function(){
this.loadToolbox();
};
this._getPassivePers=function(){
return TbxComm.PassivePers.getPassivePersonalization();
};
this._createAllModules=function(){
var _2c7=6;
if(tbxS.uc.m.length<_2c7){
_2c7=tbxS.uc.m.length;
}
for(var i=0;i<_2c7;i++){
this.createModule(tbxS.uc.m[i],false);
}
this.checkCreateBarometer();
};
this._createModule=function(key,_2ca){
var mod;
if(tbxS.us==TbxC.Main.stat.ukn&&tbxD.m[key].c.ac){
mod=new TbxC.NotAuthModSmall(key,_2ca);
}else{
switch(key){
case "sb_0":
mod=new TbxC.BarometerSmall(key,_2ca);
break;
default:
if(tbxD.m[key].c.sec){
mod=new TbxC.IframeModSmall(key,_2ca);
}else{
mod=new TbxC.InlineModSmall(key,_2ca);
}
break;
}
}
return mod;
};
this.showGlobalError=function(_2cc){
this.globalerror=true;
if(!_2cc||!_2cc.tooltip){
var _2cd="Fehler. Bitte versuchen Sie es sp\xe4ter noch einmal.";
var link="http://www.t-online.de/service/redir/toolbox2_javascript.htm";
}else{
var _2cd=_2cc.tooltip;
var link=_2cc.link;
}
tbxV.hideButtonContainer();
tbxV.showLoading();
tbxV.showGlobalError(_2cd,link);
};
this.showUnsupported=function(){
tbxV.hideButtonContainer();
tbxV.hideLoading();
tbxV.showUnsupported();
};
this.updateModules=function(_2cf){
var _2d0=6;
if(tbxS.uc.m.length<_2d0){
_2d0=tbxS.uc.m.length;
}
var mods=new Array();
for(var i=0;i<_2d0;i++){
if(tbxS.uc.m[i]=="sb_0"){
if(!(this.barometerStatus&&this.barometerStatus.module&&this.barometerStatus.module.forced)){
mods.push(tbxS.uc.m[i]);
}
}else{
mods.push(tbxS.uc.m[i]);
}
}
this._updateModules(mods,_2cf);
};
this.loadToolboxUknError=function(){
this._loadToolboxUknError();
};
this.getConfigFromServerErrorHandler=function(text,_2d4){
this._getConfigFromServerErrorHandler(text,_2d4);
};
this.openSettingsWindow=function(){
var _2d5=window.location.protocol+"//"+window.location.host+"/"+tbxS.dyn+"/"+tbxS.au;
var url=window.location.href;
var _2d7="/pages/d2s";
_2c6=window.open("http://tbx2.t-online.de/ps/pages/d2b/indexcfg.jsp?scconfig=true&tbxWdycf="+encodeURIComponent(_2d5)+"&tbxUrl="+encodeURIComponent(url)+"&tbxPages="+encodeURIComponent(_2d7),"scConfigWindow","width=849,height=563,scrollbars=yes,status=no,menubar=no,resizable");
};
this.saveScConfigToCookie=function(_2d8,_2d9){
if(tbxS.us==TbxC.Main.stat.ukn){
TbxComm.BrowserConf.getInstance().saveConfigToCookie("toolbox_0",_2d8,false);
}
try{
_2d8=tbxF.json.parse(_2d8);
}
catch(e){
this.showGlobalError(this.error.global);
}
this.closeSetWinWindow();
if(_2d9&&this.barometerStatus&&this.barometerStatus.checkMayRemove()){
this.barometerStatus.removeButton();
}
tbxS.uc=_2d8;
this.updateModules(false);
};
this.closeSetWinWindow=function(){
_2c6.close();
};
};
TbxC.MainSmall.prototype=new TbxC.Main();
TbxC.MainSmall.prototype.constructor=TbxC.MainSmall;


