function Cng(lno) {
	for (i = 1; i <= 9; i++) {
		var tmp = parent.mamenu.document.getElementById("l" + i);
		if (!tmp) { break; }
		tmp.style.backgroundColor = "#666666";
		tmp.style.color = "#CCCCCC";
		tmp.style.fontSize = "smaller";
		tmp.style.borderWidth = "1px 0px 0px 1px";
	}
	var tmp = parent.mamenu.document.getElementById("l" + lno);
	tmp.style.backgroundColor = "#000000";
	tmp.style.color = "#FFCC99";
	tmp.style.fontSize = "larger";
	tmp.style.borderWidth = "0px 1px 0px 0px";
}

function rst(lno) {
	for (i = 1; i <= 9; i++) {
		var tmp = parent.frmenu.document.getElementById("l" + i);
		if (!tmp) { break; }
		tmp.style.backgroundColor = "#003333";
		if (lno) {
			tmp.style.borderRightWidth = 1;
		} else {
			tmp.style.borderRightWidth = 0;
		}
	}
	var tmp = parent.frmenu.document.getElementById("l" + lno);
	if (lno) {
		tmp.style.backgroundColor = "#003366";
		tmp.style.borderRightWidth = 0;
	}
}
