// This file and the jQuery library it uses have been added to the priv.gc.ca by MARSWorks to allow for simple progressive enhancements

function establish_striped_tables() {
	//$("table.striped tbody tr:even").addClass("odd");
	// From docs.jquery.com: In particular, note that the 0-based indexing means that, counter-intuitively, :even selects the first element, third element, and so on within the matched set.
	
	var tables = $("table.striped tbody");
	$(tables).each(function () {
		$(this).find("tr:even").addClass("odd");
	});
}

$(document).ready(function () {
	establish_striped_tables();
});
 
