// catHighlight.js
// (C) Squirrel.be
// Author: Maarten Balliauw
//
// If you make use of this script without prior notice to the author,
// you are violencing the copyrights and intellectual property rights
// of Squirrel.be

var prevHighLight = "";

function catHighlight (categoryid) {
	// Get new highlight object
	var objTBL = 'document.all.T_'+ categoryid;
	var objCol = eval(objTBL).style.backgroundColor;
	eval(objTBL).style.backgroundColor = "#FFFFA6";

	// Cleanup previous highlight
	if (eval(prevHighLight)) {
		eval(prevHighLight).style.backgroundColor = objCol;
	}

	// Set new old highlight
	prevHighLight = objTBL;
}
