// Bak2Top v1.3
// by MaxxBlade
// http://www.maxxblade.co.uk
// e.g. bttc='<img src="bak2top.gif">'
// 
// btts=1000
// the number is in milliseconds (1000=1 second) 
// bttx=120
// horizontal position of the Bak2Top link, puts the link 120 pixels in from the right hand side of the browser window. 
// btty=50
// vertical position of the Bak2Top link, puts the link 50 pixels up from the bottom of the browser window. 
// 



var btts=1000, bttx=100, btty=80, bttc='<nobr><b>Nach oben</b></nobr>';

function winWid(){ return (ns4||ns6)?window.innerWidth:document.body.clientWidth; }
function winHei(){ return (ns4||ns6)?window.innerHeight:document.body.clientHeight; }
function winOfy(){ return (ns4||ns6)?window.pageYOffset:document.body.scrollTop; }
function mtoplink(){ with(eval(bttll)){ left=(winOfy()>0)?winWid()-bttx:-500; top=(winOfy()>0)?winHei()-btty+winOfy():-500; } setTimeout('mtoplink()',btts); }
function toplink(){ rt=(!ns4)?'<div id="bttl" style="position:absolute;">':'<layer name="bttl">'; rt+=(!ns4)?'<a style="cursor: '+hand+'" onclick':'<a href"'; rt+='="JavaScript:scrollTo(0,0)">'; rt+=bttc; rt+=(!ns4)?'</a></div>':'</a></layer>'; document.write(rt); mtoplink(); }
var ns4=(document.layers)?1:0;
var ie4=(document.all)?1:0;
var ns6=(document.getElementById&&!document.all)?1:0;
var hand=(ie4)?'hand':'pointer';
if(ie4)	bttll="document.all['bttl'].style";
if(ns4) bttll="document.layers['bttl']";
if(ns6) bttll="document.getElementById('bttl').style";
toplink();