var tableRowHighlightOnClass = 'Tablehighlight';
var tableRowHighlightOffClass;

function tableRowHighlight(tableRow,status) {
	
	// Determine index of this row within it's parent table.
	var activeRowIndex = this.rowIndex;

	// Determine if highlight class is to be set or unset.
	if(status == true) {

		// Record the active table row's original class.
		tableRowHighlightOffClass = tableRow.className;
	
		// Change the active table row's class to the highlight class.
		tableRow.className = tableRowHighlightOnClass;
		
	} else {
	
		// Change the active table row's class back to it's original class.
		tableRow.className = tableRowHighlightOffClass;
	
	}

}
