
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 toplink(){
rt=(!ns4)?'<div id="bttl" style="position:absolute;">':'<layer name="bttl">';
rt+='<a href="JavaScript:scrollTo(0,0)" border="0"><img src="gotop.gif" border="0"></a>';
rt+=(!ns4)?'</div>':'</layer>';
document.write(rt);
mtoplink();
}
function mtoplink(){
	with(eval(bttll)){
		left=(winOfy()>0)?winWid()-100:-500;
		top=(winOfy()>0)?winHei()-50+winOfy():-500;
	}
	setTimeout('mtoplink()',updatespeed);
}
var ns4=(document.layers)?1:0;
var ie4=(document.all)?1:0;
var ns6=(document.getElementById&&!document.all)?1:0;
if(ie4)	bttll="document.all['bttl'].style";
if(ns4) bttll="document.layers['bttl']";
if(ns6) bttll="document.getElementById('bttl').style";
var updatespeed=100;
toplink();