function HideContent(d, p) {
document.getElementById(d).style.display = "none";

var box = document.getElementById(p);
box.style.opacity = "0.5";
if( box.filters )
	{
	if( box.filters.alpha )
	{
	box.filters.alpha.opacity = "50";
	}
	}
}

function ShowContent(d, p) {
document.getElementById(d).style.display = "block";

var box = document.getElementById(p);
box.style.opacity = "1";
if( box.filters )
	{
	if( box.filters.alpha )
	{
	box.filters.alpha.opacity = "100";
	}
	}
}

function ThumbOff(d) {
var box = document.getElementById(d);
box.style.opacity = "0.5";
if( box.filters )
	{
	if( box.filters.alpha )
	{
	box.filters.alpha.opacity = "50";
	}
	}
}

function ThumbOn(d) {
var box = document.getElementById(d);
box.style.opacity = "1";
if( box.filters )
	{
	if( box.filters.alpha )
	{
	box.filters.alpha.opacity = "100";
	}
	}
}