function alternateRows() {
	el = document.getElementsByTagName("div");
	for (i = 0; i < el.length; i++) {
		if (el[i].className == "altRows") {
			rows = el[i].getElementsByTagName("tr");
			for (j = 0; j < rows.length; j++) {
				if ((j % 2) > 0) {
					rows[j].className = "altRow";
				}
				if ((j % 2) == 0) {
					rows[j].className += " contentRow";
				}
				if ((j % 4) == 2) {
					rows[j].className += " altContentRow";
				}
			}
		} 
	}
}

alternateRows();
