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