//STAND: 16.07.07
if(typeof(WP)==U)if(typeof(webappPath)!=U)WP=webappPath;else WP='/';	//!!!
wp=WP=='/'?'http://www.t-online.de/':WP;
TG=WP+'t.gif';

if(typeof(EGO)==U){if(self.name=='pr')EGO='pr';else EGO=''}else if(!self.name)self.name=EGO;
if((Ttop=self==top?1:0)&&EGO!=''&&EGO!='_mf'&&self.focus)self.focus();
H0=123;if(typeof(HH)==U)HH=EGO=='tob'?123:H0;

TisIE=brU.indexOf('msie')>=0||D.all?1:0; TisGK=brU.indexOf('gecko')>=0?1:0; TisOP=brU.indexOf('opera')>=0?1:0;

function TgEI(e,b) {return (b?b:D).getElementById(e)}
function TgEN(e,b) {return (b?b:D).getElementsByName(e)}
function TgET(e,b) {return (b?b:D).getElementsByTagName(e)}
function TgEx(e,m,i) {if(typeof(e)=='object')return e; if(m){if(!i)i=0; return m==1?TgEN(e)[i]:TgET(e)[i]} else return TgEI(e)}
function TgEpx(e,m,i) {var r; return (r=TgEx(e,m,i).firstChild).nodeType==3?r.nextSibling:r}
function TgEax(e,m,i) {var r; return (r=TgEx(e,m,i).parentNode).nodeType==3?r.previousSibling:r}
function TgEpX(e,m,i) {var r; return (r=TgEx(e,m,i).nextSibling).nodeType==3?r.nextSibling:r}
function TgEaX(e,m,i) {var r; return (r=TgEx(e,m,i).previousSibling).nodeType==3?r.previousSibling:r}
function TgExT(ex,et,m,i) {return TgEx(ex,m,i).getElementsByTagName(et)}
function TgEIT(ei,et) {return TgEI(ei).getElementsByTagName(et)}	//!!!
function TgfC(e,x) {for(var i=0;i<x;i++) e=e.firstChild; return e}
function TgpN(e,x) {for(var i=0;i<x;i++) e=e.parentNode; return e}
function TsA(e,a,v,m,i) {TgEx(e,m,i).setAttribute(a,v)}
function TgA(e,a,m,i) {return TgEx(e,m,i).getAttribute(a)}
function TgAN(e,a,m,i) {return Number(TgEx(e,m,i).getAttribute(a))}
function TsV(e,x,m,i) {TgEx(e,m,i).style.visibility=x?'visible':'hidden'} TsVI=TsV;	//!!!
function TsD(e,x,m,i) {TgEx(e,m,i).style.display=x==0?'none':x=='i'?'inline':'block'} TSDI=TsD;	//!!!
function TsIG(e,x,m,i) {var g=TgEx(e,m,i),a='disabled'; if(x) g.setAttribute(a,1); else g.removeAttribute(a)}

function TgT() {return (new Date()).getTime()}

function cssX(css) {D.write('<style type="text/css">'+css+'<\/style>')}
function cssD(css) {D.write('<link rel="stylesheet" type="text/css" href="'+css+'" />')}
if(brN=='IE'||brN=='TO')cssX('.tabli{margin-right:-3px}');else if(brX=='NN'&&brV>=5)cssX('.lrb{margin-top:1px}');
if(EGO=='fs'||EGO=='as')cssX('.wb{background-color:#e0e0e0}');
if(os=='MAC')cssX('.ol div'+(brN=='IE'?',.ul p':'')+'{left:0;margin:0}'+(brN=='IE'?'#ftz div{overflow:visible}':''));
function fFSL() {if(EGO!='cte'&&fiBxH()>=600)Tinc('#fslb{height:400px}')}
fFS=fFSL;	//!!!

function Tinc(css1,css2,js) {var a=arguments,l=a.length,c='',i=0,h,j,s,x;(s=D.createElement('style')).type='text/css';(h=TgET('head')[0]).appendChild(s);
for(;i<l;) {if((x=a[i++]).indexOf('.js')!=-1){(j=D.createElement('script')).type='text/javascript';j.src=x;h.appendChild(j);} else c+=x.indexOf('.css')!=-1?'@import url('+x+');':x;}
if(x=s.styleSheet) x.cssText=c; else s.appendChild(D.createTextNode(c));
}

function Tz2(x) {return x>9?''+x:'0'+x}

function _w() {this.w=W; this.vor=0}
function oW(u,n,w,h,l,t,r,s,c,k,i){
var x=0,a=(c&&c<0&&brX=='IE')?(c=0):1,f,p,F=new _w();
if(w==-1){x=l=t=-2;w=screen.availWidth;h=screen.availHeight}
if(arguments.length==2||n=='ef')f=F.w.open('',n);
else{f=F.w.open('',n,p=((w?(',width='+w+(l?(',left='+(l==-1?((bsB-w-10)/2):(l==-2?0:l))):'')):'')+(h?(',height='+h+(t?(',top='+(t==-1?((bsH-h-50)/2):(t==-2?0:t))):'')):'')+(r?',resizable':'')+(s?',status':'')+(c?',scrollbars':'')+(k?',menubar,toolbar,location,directories':'')));if(f.vor){f.close();f=F.w.open('',n,p)}}
if(x)f.resizeTo(w,h);
if(a)f.location.href=u;
else with(f.document){open();write('<html><head></head><body leftmargin="0" topmargin="0"><iframe src="'+u+'" id="'+(n='i'+n)+'" width="100%" height="100%" frameborder="0" marginwidth="0" marginheight="0"></iframe></body></html>');close();if(i)title=i=='-1'?eval('f.'+n+'.document.title'):i}
if(W.focus)f.focus();f.vor=1;
}
openPopup=openPWCT=openPW=openWindow=oW;	//!!!
function oWcS(u,n,w,h,l,t,r,s,c,k,i) {if(arguments.length>2)oW(u,n,w,h,l,t,r,s,c,k,i);else oW(u,n);self.close()}
function oWtf(o) {W.open('',o.target).focus()}
function oWtest(x) {with(open('','','width=800,height=200,left=100,top=100,scrollbars,resizable').document){open();write('<html><body style="margin:10px;font:normal 13px courier new" onload="focus()">'+(typeof x!=U?x:'---').toString().replace(/</g,'&lt;').replace(/>/g,'&gt;'));close()}}

function TadSky() {return fiBxH()>820}

function onLoad(){}	//((( !!! )))
function oL() {onLoad()}

var szmvars,KG;
function fA() {if(fiBxH()>790&&EGO!='swl'){if(EGO=='tsc')Tinc('#nosch{left:980px}');if(HH)D.write('<div id="nosch"><img src="'+wp+(EGO=='tob'?'bu':'no')+'schatt.gif" width="5" height="'+(HH+16)+'" /></div>')} if(TisOP)Tinc('.sta .ul p,.sta .ol div{position:static}')}
zuErst=fA;	//!!!
function fZ(){
x=D.images.pix; if(x&&ID!=46&&location.href.indexOf('https:')<0) {(/.*CP\/([\w]*);/).exec(x.src);szmvars='toi//CP//'+(KG=RegExp.$1);D.write('<script src="http://toi.ivwbox.de/2004/01/survey.js" type="text/javascript"><\/script>')}
if(typeof(TnlOK)!=U) setTimeout('TnlIni()',TnlSV);
}
zuLetzt=fZ;	//!!!

function pF(s,v,l,w,h,m,u,y,t,a,o,c) {var x,r=v?sf>=v:false,f='width="'+w+'" height="'+h+'" ',l=l?'true':'false';
if(r)x=(c?'<span class="'+c+'">':'')+'<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" '+(m?'codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version='+v+',0,0,0" ':'')+f+' /><param name="movie" value="'+s+'" /><param name="quality" value="high" /><param name="loop" value="'+l+'" />'+(o?'<param name="wmode" value="'+o+'" />':'')+'<embed src="'+s+'" '+f+'" quality="high" loop="'+l+'" swliveconnect="false" type="application/x-shockwave-flash"'+(m?' pluginspage="http://www.macromedia.com/go/getflashplayer"':'')+(o?' wmode="'+o+'"':'')+'></embed></object>'+(c?'</span>':'');
else x=(y?'<a href="'+y+(t?'" target="'+t:'')+'">':'')+'<img src="'+(u?u:'t.gif')+'" '+f+' alt="'+(a?a:'')+'" border="0" />'+(y?'</a>':'');
D.write(x);return r;
}
playFlash=pF;	//!!!

function pr() {if(window.print) print(); else alert('Ihr Browser kann leider nicht aus einer Seite heraus drucken!')}

function TclrI(o,v,vx) {if(o.value==v)o.value=vx?vx:''}

function rbT(o) {o.firstChild.checked=true}
function cbT(o) {if(o){if(cbt)o.firstChild.checked=o.firstChild.checked?false:true;cbt=1}else cbt=0}cbt=1;

DR=escape(D.referrer); DD=Date.parse(new Date()); XX='';
TMS=new O();
T1px=' width="1" height="1" align="right" />';
	tmD=(x=location.protocol)+'//toi'+(x=='https:'?'ssl':''); tmS='';
(TS0=new O()).d=TS0.ivw=TS0.pi=TS0.ct=0;
  TS0.f=new Function("if(!this.d){var i,k=['SN','ID','TS','PA','KG'],l=k.length,v=[1,0,0,'',''];for(i=0;i<l;i++)eval('if(typeof('+k[i]+')==U)'+k[i]+'=v[i]');TSx=TS?parseInt(TS,36):DD/1000} this.d=1");

function TS1(){} fS1=TS1;	//!!!
function TSIVW(){
if(TMS.IVW){  //neu:
D.write(TS0.ivw=('<img src="'+TMS.IVW[0]+TMS.IVW[1]+TMS.IVW[2]+'/'+KG+';'+PA+'.html'+(typeof(SI)!=U?'/'+SI:'')+','+ID+'?r='+DR+'&d='+DD+'" name="pix"'+T1px));
}
else{  //alt:
D.write(TS0.ivw=('<img src="http://toi.ivwbox.de/cgi-bin/ivw/CP/'+KG+';'+PA+'.html'+(typeof(SI)!=U?'/'+SI:'')+','+ID+'?r='+DR+'&d='+DD+'" name="pix"'+T1px));
}
}
function TS2(){
if(TMS.PI){  //neu:
TS0.f();
var p=EGO=='ifp',i=SN+'.'+(p?name.substring(1):ID);
D.write(TS0.pi=('<img src="'+TMS.PI[0]+TMS.PI[1]+TMS.PI[2]+'/'+(p?(';/Personalisierung'+PA+'/'+SN+'.'+ID+'/'+i):(KG+';'+PA+'.html'+(typeof(SI)!=U?'/'+SI:'')))+','+i+'.'+TSx+'?d='+DD+(p?'':'&r='+DR+'&s='+escape("scr="+bsB+"x"+bsH+"x"+bsF+(XX?';x='+XX:'')))+'" name="rpix"'+T1px));
}
else{  //alt:
x=location.protocol;
if( (tmD=( (tmP=D.pix?D.pix.src:0) ?tmP.substr(0,tmP.indexOf('.')):x+'//intern')+(x=='https:'?'ssl':'')) =='https://spixlssl' || tmD=='https://spixlcontssl') tmD='https://toissl';
D.write(TS0.pi=('<img name="rpix" width="1" height="1" align="right" src="'+tmD+'.passul.t-online.de/cgi-bin/CP/'+KG+';'+PA+'.html'+(typeof(SI)!=U?'/'+SI:'')+','+SN+'.'+ID+'.'+parseInt(TS,36)+'?r='+DR+'&d='+DD+'&s='+escape("scr="+bsB+"x"+bsH+"x"+bsF)+(XX?';x='+XX:'')+'" />'));
}
}fS2=TS2;	//!!!

function S(z,l,b,t,s){
if(TMS.CT){  //neu:
TS0.f();
var p=EGO=='ifp';if((l=p?ID:parseInt(l,36))>0)l=SN+'.'+l;
(new Image()).src=TS0.ct=TMS.CT[0]+TMS.CT[1]+TMS.CT[2]+ '/'+SN+'.'+(p?name.substring(1):ID)+','+SN+'.'+parseInt(z,36)+','+l+','+(p&&b<12?8:b)+','+(p&&t>0&&t<4?t+4:t)+','+TSx+'?d='+DD;	//(p&&b<12?b+12:b) <=> (p&&b<12?8:b)
}
else{  //alt:
  var v=['SN','ID','TS'],l=v.length,x=0;for(;x<l;x++)eval('if(typeof('+v[x]+')==U)'+v[x]+'=0');
tmS=tmD+'.passul.t-online.de/cgi-bin/XP/'+SN+'.'+ID+(k=',')+SN+'.'+parseInt(z,36)+k+((parseInt(l,36)>0)?SN+'.':'')+parseInt(l,36)+k+b+k+t+k+(TS?parseInt(TS,36):(DD=Date.parse(new Date()))/1000)+'?d='+DD;
if(typeof(Stest)==U)Stest=0;if(Stest)alert(tmS); if(D.images)(new Image()).src=tmS; else if(D.pix)D.pix.src=tmS;
}
}

TscLS=0; Tsc1='was?'; Tsc2='wo?';
function tsc_submG(g) {var f=D.tsc_topsrch,t,i=0; tsc_syncG(g.q); if(!(f.q.value.match(/\w/))) return false; f.ptl.value='std'; for(;i<f.tpc.length;i++) if(f.tpc[i].checked) {t=f.tpc[i].value;f.context.value=t+'-tab';f.classification.value=f.context.value+'_'+t+'_'+f.ptl.value;break} if(g.name==f.name) return true; f.submit(); return false}
function tsc_ocrG() {var f=D.tsc_topsrch; if(f.ocr && tsc_submG(f)) {f.ocr.value=(f.ocr.value=='yes')?'no':'yes';f.submit()}}
function tsc_jmpG(t) {tsc_ctpG(t+'-tab',t,'std')}
function tsc_ctpG(c,t,p) {var f=D.tsc_topsrch,i=0; f.context.value=c; f.ptl.value=p; for(;i<f.tpc.length;i++) if(f.tpc[i].value==t) {f.tpc[i].checked=true;break} f.classification.value=c+'_'+t+'_'+p; f.submit()}
function tsc_syncG(e) {if(D.tsc_newsrch) {var f=(e.form.name=='tsc_topsrch')?D.tsc_newsrch:D.tsc_topsrch,d,i=0; for(;i<f.elements.length;i++) {if((d=f.elements[i]).name==e.name && (e.type!='radio'||d.value==e.value)) {if(e.type=='radio')d.checked=true;else d.value=e.value; break}}}}
function tsc_n_submG(g) {var f=D.tsc_topsrch;f.ptl.value='std';var t=f.tpc.value;f.context.value=t+'-tab';var c='toi05';if(TgC('TSC_n')==c)f.mandant.value=c;f.classification.value=f.context.value+'_'+t+'_'+f.ptl.value;return true}
function tsc_n_syncG(e) {if(D.tsc_newsrch){var f=(e.form.name=='tsc_topsrch')?D.tsc_newsrch:D.tsc_topsrch;for(var i=0;i<f.elements.length;i++){var d=f.elements[i];if(d.name==e.name && (e.type!='radio'||d.value==e.value)){if(e.type=='radio')d.checked=true; else d.value=e.value; break;}}}}
  function Tsc_05_submG(g) {var f=D.tsc_topsrch; Tsc_05_syncG(f.suchraum); var c=f.context,t=f.tpc,p=f.ptl,m=f.map,x=f.q.value.toLowerCase(),i,w=['http://','www.','.de','.com','.net'],l=w.length; f.classification.value=c.value+'_'+t.value+'_'+p.value; if(x==''){open('http://suche.t-online.de/toi/html/de/startseite_de.html','tsc').focus();return false} for(i=0;i<l;i++)if(x.indexOf(w[i])>-1){c.value='internet-tab';t.value='internet';m.value='1';m.disabled=0;break} return true}
function Tsc_05_syncG(e) {var f=D.tsc_topsrch,t='internet',c=t+'-tab',d=1; if(e.name=='suchraum') {switch(e.value){case'1':break;case'10':d=0;case'2':c='themen-tab';t='themen';break;case'3':c='shop-tab';t='shop';break;case'4':c='news';break;case'5':c='img';break;case'6':c='multimedia';break;case'7':c='wiki-tab';break} f.context.value=c;f.tpc.value=t;if(f.dev)f.dev.disabled=d}}
  function Tsc_06_submG() {S('5zi7m','0',1,1); var f=D.tsc_topsrch; Tsc_06_syncG(f.suchraum); var c=f.context,t=f.tpc,p=f.ptl,m=f.map,x=f.q.value.toLowerCase(),i,w=['http://','www.','.de','.com','.net'],l=w.length; f.classification.value=c.value+'_'+t.value+'_'+p.value; TclrI(f.q,Tsc1); TclrI(f.wo,Tsc2); if(x==''&&!TscLS){open('http://suche.t-online.de/toi/html/de/startseite_de.html','tsc').focus();return false} for(i=0;i<l;i++)if(x.indexOf(w[i])>-1){c.value='internet-tab';t.value='internet';m.value='1';m.disabled=0;break} return true}
function Tsc_06_syncG(e) {var f=D.tsc_topsrch,c='internet-tab',t='internet',d=1; switch(e.value){case'1':break;case'10':d=0;case'2':c='themen-tab';t='themen';break;case'3':c='shop-tab';t='shop';break;case'4':c='news';break;case'5':c='img';break;case'6':c='multimedia';break;case'7':c='wiki-tab';break;case'-1':c='local';t='std';break} f.context.value=c; f.tpc.value=t; if(f.dev)f.dev.disabled=d}
function Tsc_06_syncLS(e) {var v=e.value,ls=v==-1; if(v*TscSV<0){TgEI('lwas').style.width=ls?'154px':'308px'; TsD('lwo',ls?'i':0); TgEI('lwo').disabled=ls?0:1; TgEI('limg').src=TgEI('limg').src.replace(ls?/google/:/suchde/,ls?'suchde':'google'); if(ls){TclrI(TgEI('lwas'),'',Tsc1); TclrI(TgEI('lwo'),'',Tsc2)} else TclrI(TgEI('lwas'),Tsc1)} TscSV=v;TscLS=ls; Tsc_06_syncG(e)}
  function TscFok() {}

function TgC(n) {var c,s=(c=D.cookie).indexOf(n+='='),e; return s<0?null:unescape(c.substring(s+n.length,(e=c.indexOf(';',s))<0?c.length:e))} gC=TgC;
function TsC(n,v,e,p,d,s){
if(e) if (typeof(e)=='number')e=new Date((new Date()).getTime()+e*1000); else e=(e=e.split(',')).length==3?new Date(e[0],e[1]-1,e[2]):new Date(e[0],e[1]-1,e[2],e[3],e[4],e[5]);
D.cookie=n+'='+escape(v)+(e?'; expires='+e.toGMTString():'')+(p?'; path='+p:'')+(d?'; domain='+d:'')+(s?'; secure':'')
} sC=TsC;
function TdC(n,p,d,s) {TsC(n,0,-1,p,d,s)} dC=TdC;
function TgCwt() {var a=[],b='0',c,x; if(!(c=TgC('wt'))||c.indexOf('[')<26)c='00000000000000000000000000|0[]';
Ads_prf=x=c.replace(/^(..)(..)(..)(..)(..)(..)(.)(.)(..)(..)(..)(..)(.)(..)(.).*/, "a[0]='$1';a[1]='$2';a[2]='$3';a[3]='$4';a[4]='$5';a[5]='$6';a[6]='$7';a[7]='$8';a[8]='$9';a[9]='$10';a[10]='$11';a[11]='$12';a[12]='$13';a[13]='$14';a[14]='$15';");
if((i=c.indexOf('|'))>0&&(j=c.indexOf('['))>i+1) b=c.substring(i+1,j); Ads_prf+="b='"+b+"';";
eval(x); a[15]=b; return a
}
if(Ttop) Twt=TgCwt();

function TifIDn(url,h,scl) {D.write('<iframe name="x'+ID+'" src="'+url+'" width="100%"'+(h?' height="'+h+'"':'')+' scrolling="'+(scl?scl:'no')+'" frameborder="0"></iframe>')}

TnlSV=500; TnlH=TnlST=0; TnlV=15; TnlDZ=TnlDI=1; TnlP=1;
function TnlRun() {if(parseInt(Tnl0s.top)>-TnlH) {Tnl0s.top=parseInt(Tnl0s.top)-TnlDZ+'px'; Tnl1s.top=parseInt(Tnl1s.top)-TnlDZ+'px'} if(parseInt(Tnl0s.top)<=-TnlH) Tnl0s.top=TnlH+'px'; if(parseInt(Tnl1s.top)<=-TnlH) Tnl1s.top=TnlH+'px'}
function TnlIni() {(Tnl0s=(Tnl0=TgEI('nl0')).style).top=TnlST; TnlH=Tnl0.offsetHeight; (Tnl1s=(Tnl1=TgEI('nl1')).style).top=TnlST+TnlH+'px'; Tnl1.innerHTML=Tnl0.innerHTML; setInterval('TnlRun()',parseInt(1000/TnlV))}
function TnlM(obj,x) {TnlDZ=x?TnlP?0:TnlDZ:TnlDI}

function Tmxi(o,m,h) {o.style.backgroundPosition='0 -'+(m?(m==3?1:m)*(h?h:o.height):0)+'px'}

sys=-1;


//if(isNN4) cssD(wp+'stylesnn4.css');
