function expandTable(tableId, doExpand) {
	var stTitleOpen = document.getElementById(tableId + "_open");
	var stTitleClosed = document.getElementById(tableId + "_closed");
	var stTable = document.getElementById("st_" + tableId);
	
	if ((stTable.rows[0].cells[0].myWidth == null) || (stTable.rows[0].cells[0].myWidth == "")) {
		for (var i = 0; i < stTable.rows[0].cells.length; i++) {
			stTable.rows[0].cells[i].myWidth = stTable.rows[0].cells[i].clientWidth;
		}
	}
	stTitleOpen.style.display = (doExpand == true ? 'block' : 'none');
	stTitleClosed.style.display =  (doExpand == false ? 'block' : 'none');
	stTable.style.display = (doExpand == true ? 'block' : 'none');
	if (doExpand) {
		for (var i = 0; i < stTable.rows[0].cells.length; i++) {
			stTable.rows[0].cells[i].width = stTable.rows[0].cells[i].myWidth;
		}
	}
}
