/********************************************************************************Copyright (C) 1999 Thomas BrattliThis script is made by and copyrighted to Thomas Brattli at www.bratta.comVisit for more great scripts. This may be used freely as long as this msg is intact!I will also appriciate any links you could give me.********************************************************************************/
var gfixLeft=false;
var gfixTop=false;
/********************************************************************************Constructing the ChangeText object********************************************************************************/function makeBottomObj(obj,nest)
{	nest=(!nest) ? '':'document.'+nest+'.'										   	this.css=(bw.dom)?document.getElementById(obj).style:(bw.ie4)?document.all[obj].style:(bw.ns4)?eval(nest+'document.layers.'+obj):0;   		this.moveIt=b_moveIt;			}
function b_moveIt(x,y)
{		
	this.x=x; 	
	this.y=y; 		if (!gfixLeft)
	{	
		this.css.left=this.x; 	}
		if (!gfixTop)
	{	
		this.css.top=this.y		}	}/********************************************************************************This function executes onscroll in ie and every 30 millisecond in nsand checks if the user have scrolled, and if it has it moves the layer.********************************************************************************/
function checkIt()
{	if(bw.ie4 || bw.ie5) 	{
		oGeo.moveIt(document.body.scrollLeft+pageWidth-gright,document.body.scrollTop+pageHeight-gbottom);				
	}	else if(bw.ns4)
	{		oGeo.moveIt(window.pageXOffset+pageWidth-gright,window.pageYOffset+pageHeight-gbottom);		setTimeout('checkIt()',30);	}	}
//Adds a onresize event handler to handle the resizing of the window.function resized()
{	pageWidth=(bw.ie4 || bw.ie5)?document.body.offsetWidth-4:window.innerWidth;	pageHeight=(bw.ie4 || bw.ie5)?document.body.offsetHeight-2:window.innerHeight;	if(bw.ie4 || bw.ie5) checkIt();		
	}