JSFX.NavButton = function(theDivName, x, y)
{
	this.layer = new JSFX.Layer(JSFX.findLayer(theDivName));
	this.offsetX = x;
	this.offsetY = y;
}
JSFX.NavButton.prototype.moveTo = function(x,y)
{
	this.layer.moveTo(this.offsetX + x, this.offsetY + y);
}

JSFX.NavButton.prototype.show = function()
{
	this.layer.show();
}
/*** If no other script has added it yet, add the ns resize fix ***/
/*
if(navigator.appName.indexOf("Netscape") != -1 && !document.getElementById)
{
	if(!JSFX.ns_resize)
	{
		JSFX.ow = outerWidth;
		JSFX.oh = outerHeight;
		JSFX.ns_resize = function()
		{
			if(outerWidth != JSFX.ow || outerHeight != JSFX.oh )
				location.reload();
		}
		window.onresize=JSFX.ns_resize;
	}
}
*/

if( (navigator.appName.indexOf("Netscape") != -1 && !document.getElementById)
 || (window.opera) )
{
		JSFX.ow = window.outerWidth;
		JSFX.oh = window.outerHeight;
		JSFX.resizeFix = function()
		{
			if(window.outerWidth != JSFX.ow || window.outerHeight != JSFX.oh )
				location.reload();
		}
		setInterval("JSFX.resizeFix()", 1000);
}