function alternatecolor() {
	var allDivs = document.getElementsByTagName("div");

	for (i=0; i<allDivs.length; i++) {
		var theClass = allDivs[i].className;
	    if(theClass == "table_blue" || theClass == "table_bluegray" || theClass == "table_noheader") {
			var tables = allDivs[i].getElementsByTagName("table");
			for (j=0; j<tables.length; j++) {
				tables[j].cellSpacing = "0";
				tables[j].cellPadding = "0";
				tables[j].border = "0";
				var rows = tables[j].getElementsByTagName("tr");
				var rowColorOffset = 0;
				var startIteration = 0;

				if(rows.length > 0) {
					if(theClass == "table_blue") { rows[0].className = "table_blue_row"; startIteration = 1; rowColorOffset = 1; }
					if(theClass == "table_bluegray") { rows[0].className = "table_blue_row"; startIteration = 1; }
				}
				if(rows.length > 1) {
					if(theClass == "table_bluegray") { rows[1].className = "table_gray_row"; startIteration = 2; }
				}
				for(k = startIteration; k < rows.length; k++) {
					if((k+rowColorOffset) % 2 == 0) { rows[k].className = "color_one"; }
					else { rows[k].className = "color_two"; }
				}

			}
	    }    
	}
}