//STAND: 09.11.04
//if(typeof(WP)==U)WP=webappPath;	//!!!
if(typeof(WP)==U)if(typeof(webappPath)!=U)WP=webappPath;else WP=='/';	//!!!
TG=WP+'t.gif';
wp=WP=='/'?'http://www.weiterhilfe.de/':WP;

if(typeof(EGO)==U){if(self.name=='pr')EGO='pr';else EGO=''}else if(!self.name)self.name=EGO;
if(EGO!='_mf'&&self.focus)self.focus();
H0=93;if(typeof(HH)==U)HH=EGO=='tob'?123:H0;

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(fiBxH()>=600)cssX('#fslb{height:400px}')}
fFS=fFSL;	//!!!

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()}

col=new Array('#e0e0e0','#767676','#006666','#999999','#669999','#ff6600','#ff9900','#336699','#000066', '#7eb3b9','#6892ba','#efb661', '#ffffff','#cecfde');	//!!!
function c(obj,nr){obj.style.backgroundColor=col[arguments.length==1?(nr=0):nr];if(jsDOM)if(obj.firstChild.nodeName=='IMG')obj.getElementsByTagName('img')[0].src=nr?mon.src:TG}	//!!!
function j(hr){location.href=hr}

function wS(url){if(typeof(WSH)==U)WSH=1230;if(typeof(WSW)==U)WSW=200;if(typeof(WST)==U)WST=HH;cssX('#ws{top:'+WST+'px}');
if(fiB>(isNN4?816:845))D.write(isNN4?('<layer left="0" top="0" clip="800,0,'+(800+WSW)+','+(WST+WSH)+'"><layer src="'+url+'" id="ws"></layer></layer>'):
('<iframe src="'+url+'" id="ws" width="'+WSW+'" height="'+WSH+'" marginwidth="0" marginheight="0" frameborder="0" scrolling="no"></iframe>'));
}
splitScreen=wS;	//!!!

function onLoad(){}	//((( !!! )))
function oL(){onLoad()}

var szmvars,KG;
//function fA(){if(fiBxH()>790)D.write('<div id="nosch"><img src="'+wp+(EGO=='tob'?'bu':'no')+'schatt.gif" width="5" height="'+(HH+16)+'" /></div>');}
function fA(){if(fiBxH()>790){if(EGO=='tsc')cssX('#nosch{left:980px}');D.write('<div id="nosch"><img src="'+wp+(EGO=='tob'?'bu':'no')+'schatt.gif" width="5" height="'+(HH+16)+'" /></div>')}}
zuErst=fA;	//!!!
function fZ(){
if(typeof(splitScreenAdSpaceUri)!=U)WSU=splitScreenAdSpaceUri;	//!!!
if(typeof(WSU)!=U)wS(WSU);
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" language="JavaScript" type="text/javascript"><\/script>')}
}
zuLetzt=fZ;	//!!!

function pF(s,v,l,w,h,m,u,y,t,a){var x,r=sf>=v,f='width="'+w+'" height="'+h+'" ',l=l?'true':'false';if(arguments.length==6)u=y=t=a='';
if(r)x='<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+'" /><embed src="'+s+'" '+f+'" quality="high" loop="'+l+'" swliveconnect="false" type="application/x-shockwave-flash"'+(m?' pluginspage="http://www.macromedia.com/go/getflashplayer"':'')+'></embed></object>';
else x=(y?'<a href="'+y+'" target="'+t+'">':'')+'<img src="'+(u?u:'t.gif')+'" '+f+' alt="'+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 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;

cts='';
function S0(z,l,b,t,s){return(CT+'/'+ID+(k=',')+(typeof(s)!=U?s:'')+k+parseInt(z,36)+k+parseInt(l,36)+k+b+k+t+k+parseInt(TS,36)+'?d='+Date.parse(new Date()))}
function S(z,l,b,t,s){cts=(typeof(s)==U)?S0(z,l,b,t):S0(z,l,b,t,s);
if(typeof(Stest)==U)Stest=0; if(Stest)alert(cts);
if(D.images)(new Image()).src=cts;else if(D.pix)D.pix.src=cts;
}

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}}}}

sys=-1;


//if(isNN4)cssD(wp+'stylesnn4.css');

