$(document).ready(function() {
	$("table.tablecolors tr:even").addClass("even");
	$("table.tablecolors tr:odd").addClass("odd"); //This is not required - you can avoid this if you have a table background
	$("table.tablecolors tr").hover(function(){
		$(this).addClass("hovcolor");},
	 function(){
		$(this).removeClass("hovcolor");
	});
	$("table.tablecolors tr").click(function(){
			$("table.tablecolors tr").removeClass("highlightcolor"); // Remove this line if you dont want to de-highlight the previously highlighted row
			$(this).toggleClass("highlightcolor");
	});
});

