var is_ns4up = true;
var is_ie4up = false;

is_ns4up = (document.layers)? true:false;
is_ie4up = (document.all)? true:false;

if (is_ns4up)
	{
	HIDDEN="hide";
	VISIBLE="show";
	}
else if (is_ie4up)
	{
	HIDDEN="hidden";
	VISIBLE="visible";
	}
else
	{
	HIDDEN="hidden";
	VISIBLE="visible";
	}


function boxoverShow(xxx)
{
boxoverHideAll();
document.getElementById(xxx).style.visibility=VISIBLE;
}

function boxoverHide(xxx)
{
document.getElementById(xxx).style.visibility=HIDDEN;
}

function boxoverHideAll()
{
if (document.getElementById('BoxoverRegister') != null)
	boxoverHide('BoxoverRegister');
if (document.getElementById('BoxoverForgotPassword') != null)
	boxoverHide('BoxoverForgotPassword');
if (document.getElementById('BoxoverCompetition') != null)
	boxoverHide('BoxoverCompetition');

if (document.getElementById('BoxoverRegister2') != null)
	boxoverHide('BoxoverRegister2');

if (document.getElementById('BoxCall') != null)
	boxoverHide('BoxCall');
}
