// Uses jquery for DOM selection

$(document).ready(function() {	
	$(".course-table tr:not(.thead) td:nth-child(1)").addClass("name-col-cell"); // program name cells
	$(".course-table tr:not(.thead) > td:not('.name-col-cell')").addClass("info-col-cell"); // info col cells
	// add class coln (n = 1..n) to reference specific columns for styling (e.g. width of the col)
	$(".course-table tr:not(.thead)").each(function() {
		$(this).children('td').each(function(index) {
			$(this).addClass("col" + (index + 1))
		});
	});
		
	// use js for the mouse-over to give IE6 a hand and to override the background of td
	$(".course-table tr:not(.thead)").hover(function(){
		$(this).children('td').addClass('mouse-over');
	}, function() {
		$(this).children('td').removeClass('mouse-over');
	});
});
