/*
$(document).ready(function(){
    $('.stripe th:even, .stripe td:even').addClass('even');
	$('.stripe th:odd, .stripe td:odd').addClass('odd');
});
*/

$(function(){

	$("#stripetable tr:nth-child(even)").addClass("even");

	$("#stripetable tr:not(:first-child)").mouseover(function(){

		$(this).addClass("hover");

	}).mouseout(function(){

		$(this).removeClass("hover");

	});

	$("#stripetable td").mouseover(function(){

		$("#stripetable td:nth-child("+($("#stripetable td").index(this)%$("#stripetable th").size()+1)+")").addClass("hover");

	}).mouseout(function(){

		$("#stripetable td:nth-child("+($("#stripetable td").index(this)%$("#stripetable th").size()+1)+")").removeClass("hover");

	});

})
