var bgCurrentColor
var borderCurrentColor
var borderNewColor = "darkblue";
function rootdoOver(tableTd) {
	bgCurrentColor = tableTd.style.backgroundColor
	borderCurrentColor = tableTd.style.borderBottomColor;
	CurrentColor = tableTd.style.Color;
    tableTd.style.backgroundColor = "lightsteelblue";
    tableTd.style.borderColor = borderNewColor;
    tableTd.style.borderBottomColor = borderNewColor;
    tableTd.style.borderLeftColor = borderNewColor;
    tableTd.style.borderRightColor = borderNewColor;
    tableTd.style.borderTopColor = borderNewColor;
    tableTd.style.cursor = "hand";
}
function rootdoOut(tableTd) {
	tableTd.style.backgroundColor = bgCurrentColor;
	tableTd.style.borderColor = borderCurrentColor;
    tableTd.style.borderBottomColor = borderCurrentColor;
    tableTd.style.borderLeftColor = borderCurrentColor;
    tableTd.style.borderRightColor = borderCurrentColor;
    tableTd.style.borderTopColor = borderCurrentColor;
	tableTd.style.cursor = "default";
}
function subdoOver(tableTd) {
	bgCurrentColor = tableTd.style.backgroundColor
	borderCurrentColor = tableTd.style.borderBottomColor;
    tableTd.style.backgroundColor = "lightblue";
    tableTd.style.borderColor = borderNewColor;
    tableTd.style.borderBottomColor = borderNewColor;
    tableTd.style.borderLeftColor = borderNewColor;
    tableTd.style.borderRightColor = borderNewColor;
    tableTd.style.borderTopColor = borderNewColor;
    tableTd.style.cursor = "hand";
}
function subdoOut(tableTd) {
	tableTd.style.backgroundColor = bgCurrentColor;
	tableTd.style.borderColor = borderCurrentColor;
    tableTd.style.borderBottomColor = borderCurrentColor;
    tableTd.style.borderLeftColor = borderCurrentColor;
    tableTd.style.borderRightColor = borderCurrentColor;
    tableTd.style.borderTopColor = borderCurrentColor;
	tableTd.style.cursor = "default";
}
