function lightup(tbl)
{
	tbl.style.background = "#00FF00";
}
function dimout(tbl)
{
	tbl.style.background = "#006600";
}
function close(iwrap,owrap)
{
	iwrap.style.visibility = "hidden";
	iwrap.style.position = "absolute";
	iwrap.style.left = -200
	iwrap.style.top = -200
	owrap.style.visibility = "hidden";
	owrap.style.position = "absolute";
	owrap.style.left = -200
	owrap.style.top = -200
}
function changing(iwrap,pic)
{
	if (iwrap.style.visibility == "hidden")
	{
		restore(iwrap,pic);
	}
	else
	{
		minimise(iwrap,pic);
	}
}
function minimise(iwrap,pic)
{
	iwrap.style.visibility = "hidden";
	iwrap.style.position = "absolute";
	pic.src = "themes/theging/images/restore.png";
}
function restore(iwrap,pic)
{
	iwrap.style.visibility = "visible";
	iwrap.style.position = "relative";
	pic.src = "themes/theging/images/minimise.png";
}