// Bak2Top v1.3
// by MaxxBlade
// http://www.maxxblade.co.uk/bak2top

var btts=1000, bttx=100, btty=80, bttc='<img src="images/b2t.gif" border="0">';
function winWid(){ return (ns6)?window.innerWidth:document.body.clientWidth; }
function winHei(){ return (ns6)?window.innerHeight:document.body.clientHeight; }
function winOfy(){ return (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='<div id="bttl" style="position:absolute;">';'<layer name="bttl">'; rt+='<a style="cursor: '+hand+'" onclick';'<a href"'; rt+='="JavaScript:scrollTo(0,0)">'; rt+=bttc; rt+='</a></div>';'</a></layer>'; document.write(rt); mtoplink(); }
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(ns6) bttll="document.getElementById('bttl').style";
toplink();