function highlightTableRows(){
	var targetTables	= document.getElementsByTagName('table');
	var tableCount		= targetTables.length;

	while(tableCount--){
		if(targetTables[tableCount].parentNode.nodeName != "TD"){
			var myRows 		= targetTables[tableCount].rows;
			var rowCount	= myRows.length;
			var columns		= 0;
			
			if(myRows[rowCount-1]){
				columns	= myRows[rowCount-1].getElementsByTagName('td').length;
			}
			
			while(rowCount--){
				if(rowCount%2!=0){
					myRows[rowCount].className += ' odd';
				}
				/*
				if(2 == columns){
					// the table has two columns. make columns have equal-width
					rowColumns = myRows[rowCount].getElementsByTagName('td');
					colCounter = rowColumns.length;
					if(colCounter > 1){
						while(colCounter--){
							rowColumns[colCounter].style.width = '50%';
						}
					}
				}
				*/
			}
		}
	}
}

