var currentColor;

function changeColorOn(row,newColor)
{
	if (document.layers) {
		CellID = "Row_" + row;
		currentColor = window.document.layers[CellID].bgColor;
		window.document.layers[CellID].bgColor = newColor;
	}
    else if (document.all) {
		CellID = "Row_" + row;
		currentColor = window.document.all[CellID].style.background;
		window.document.all[CellID].style.background = newColor;
	}
}

function changeColorOff(row)
{
	if (document.layers) {
		CellID = "Row_" + row;
		window.document.layers[CellID].bgColor = currentColor;
	}
    else if (document.all) {
		CellID = "Row_" + row;
		window.document.all[CellID].style.background = currentColor;
	}
}
