function gocolours(oog)
{
window.status = oog;
var numberoftables = 1;

	if(oog == "Home")
	{
	numberoftables = 4;
	}

var x;

	for(x = 1; x <= numberoftables; x++)
	{
	document.getElementById("colortable" + x).style.backgroundColor = thecolour;
	}

}