// JavaScript Document
function alternateRowColors(rowcolor1, rowcolor2, className) {
        return;
	var rows, arow;
	var tables = document.getElementsByTagName("table");
	var rowCount = 0;
	for(var i=0;i<tables.length;i++) {
		//dump(tables.item(i).className + " " + tables.item(i).nodeName + "\n");
		if(typeof(className) == "undefined"  || tables.item(i).className == className) {
			atable = tables.item(i);
			rows = atable.getElementsByTagName("tr");
			for(var j=0;j<rows.length;j++) {
				arow = rows.item(j);
				if(arow.nodeName == "TR") {
					if(rowCount % 2) {
						arow.style.backgroundColor = rowcolor2;
					} else {
						arow.style.backgroundColor = rowcolor1;
					}
					rowCount++;
				}
			}
			rowCount = 0;
		}
	}
}
