// JET / front Javascripts

function GroupTable(id) {
var cellA = document.getElementById("MenuCellA"); var txtA = document.getElementById("LinkTxtA"); var divA = document.getElementById("GroupA");
var cellB = document.getElementById("MenuCellB"); var txtB = document.getElementById("LinkTxtB"); var divB = document.getElementById("GroupB");
var cellC = document.getElementById("MenuCellC"); var txtC = document.getElementById("LinkTxtC"); var divC = document.getElementById("GroupC");
var cellD = document.getElementById("MenuCellD"); var txtD = document.getElementById("LinkTxtD"); var divD = document.getElementById("GroupD");
var cellE = document.getElementById("MenuCellE"); var txtE = document.getElementById("LinkTxtE"); var divE = document.getElementById("GroupE");
var cellF = document.getElementById("MenuCellF"); var txtF = document.getElementById("LinkTxtF"); var divF = document.getElementById("GroupF");

	if (id=="A") {
	cellA.style.background="url(images/menuHoover.png) center center repeat-x"; divA.style.display = "block"; txtA.style.fontWeight="bold";
	cellB.style.background=""; divB.style.display = "none"; txtB.style.fontWeight="normal";
	cellC.style.background=""; divC.style.display = "none"; txtC.style.fontWeight="normal";
	cellD.style.background=""; divD.style.display = "none"; txtD.style.fontWeight="normal";
	cellE.style.background=""; divE.style.display = "none"; txtE.style.fontWeight="normal";
	cellF.style.background=""; divF.style.display = "none"; txtF.style.fontWeight="normal";
	}
	else if(id=="B") {
	cellA.style.background=""; divA.style.display = "none"; txtA.style.fontWeight="normal";
	cellB.style.background="url(images/menuHoover.png) center center repeat-x";	divB.style.display = "block"; txtB.style.fontWeight="bold";
	cellC.style.background=""; divC.style.display = "none"; txtC.style.fontWeight="normal";
	cellD.style.background=""; divD.style.display = "none"; txtD.style.fontWeight="normal";
	cellE.style.background=""; divE.style.display = "none"; txtE.style.fontWeight="normal";
	cellF.style.background=""; divF.style.display = "none"; txtF.style.fontWeight="normal";
	}
	else if(id=="C") {
	cellA.style.background=""; divA.style.display = "none"; txtA.style.fontWeight="normal";
	cellB.style.background=""; divB.style.display = "none"; txtB.style.fontWeight="normal";
	cellC.style.background="url(images/menuHoover.png) center center repeat-x"; divC.style.display = "block"; txtC.style.fontWeight="bold";
	cellD.style.background=""; divD.style.display = "none"; txtD.style.fontWeight="normal";
	cellE.style.background=""; divE.style.display = "none"; txtE.style.fontWeight="normal";
	cellF.style.background=""; divF.style.display = "none"; txtF.style.fontWeight="normal";
	}
	else if(id=="D") {
	cellA.style.background=""; divA.style.display = "none"; txtA.style.fontWeight="normal";
	cellB.style.background=""; divB.style.display = "none"; txtB.style.fontWeight="normal";
	cellC.style.background=""; divC.style.display = "none"; txtC.style.fontWeight="normal";
	cellD.style.background="url(images/menuHoover.png) center center repeat-x"; divD.style.display = "block"; txtD.style.fontWeight="bold";
	cellE.style.background=""; divE.style.display = "none"; txtE.style.fontWeight="normal";
	cellF.style.background=""; divF.style.display = "none"; txtF.style.fontWeight="normal";
	}
	else if(id=="E") {
	cellA.style.background=""; divA.style.display = "none"; txtA.style.fontWeight="normal";
	cellB.style.background=""; divB.style.display = "none"; txtB.style.fontWeight="normal";
	cellC.style.background=""; divC.style.display = "none"; txtC.style.fontWeight="normal";
	cellD.style.background=""; divD.style.display = "none"; txtD.style.fontWeight="normal";
	cellE.style.background="url(images/menuHoover.png) center center repeat-x"; divE.style.display = "block"; txtE.style.fontWeight="bold";
	cellF.style.background=""; divF.style.display = "none"; txtF.style.fontWeight="normal";
	}
	else if(id=="F") {
	cellA.style.background=""; divA.style.display = "none"; txtA.style.fontWeight="normal";
	cellB.style.background=""; divB.style.display = "none"; txtB.style.fontWeight="normal";
	cellC.style.background=""; divC.style.display = "none"; txtC.style.fontWeight="normal";
	cellD.style.background=""; divD.style.display = "none"; txtD.style.fontWeight="normal";
	cellE.style.background=""; divE.style.display = "none"; txtE.style.fontWeight="normal";
	cellF.style.background="url(images/menuHoover.png) center center repeat-x"; divF.style.display = "block"; txtF.style.fontWeight="bold";
	}


}

function MatchDisplay() {
	var Coming		= document.getElementById("Coming");
	var Result		= document.getElementById("Result");
	var CellResult	= document.getElementById("CellResult");
	var CellComing	= document.getElementById("CellComing");
	
	if(Coming.style.display=="block") {
		Coming.style.display	=	"none";
		Result.style.display	=	"block";
		CellResult.style.background = "url(images/menuHoover.png) center center repeat-x";
		CellComing.style.background = "";
	} else {
		Coming.style.display	=	"block";
		Result.style.display	=	"none";
		CellComing.style.background = "url(images/menuHoover.png) center center repeat-x";
		CellResult.style.background = "";
	}
	
}