<!-- Hide script for older browsers

var ie = document.all ? true:false;

function SetStatus(text)
{
	window.status = text;
	return false;
}

function ClearStatus()
{
	window.status = '';
	return true;
}

function ChangeImage(name, image)
{
	document.images[name].original = document.images[name].src;
	document.images[name].src = image;
}

function ResetImage(name)
{
	document.images[name].src = document.images[name].original;
}

function FindPosX(obj)
{
	var curleft = 0;
	if (obj.offsetParent)
	{
		while (obj.offsetParent)
		{
			curleft += obj.offsetLeft;
			obj = obj.offsetParent;
		}
	}
	else if (obj.x)
		curleft += obj.x;
	return curleft;
}

function FindPosY(obj)
{
	var curtop = 0;
	if (obj.offsetParent)
	{
		while (obj.offsetParent)
		{
			curtop += obj.offsetTop;
			obj = obj.offsetParent;
		}
	}
	else if (obj.y)
		curtop += obj.y;
	return curtop;
}

function FindHeight(obj) 
{
	var height = obj.offsetHeight;
	return height;
}

function FindWidth(obj) 
{
	var width = obj.offsetWidth;
	return width;
}

function Go(url)
{
	if (url.length)
		location.href = url;
}

function Photo(type, name)
{
	var img = document.getElementById('photo_preview');
	if (img != null)
		img.src = 'gfx/fotos/full/' + type + '/' + name;
}

function Show(obj)
{
	if (obj.style)
		obj = obj.style;

	obj.display = "block";
}

function Hide(obj)
{
	if (obj.style)
		obj = obj.style;

	obj.display = "none";
}

// End Hiding -->
