function collapseSet(objCallCell) {
	objNextRow = objCallCell.parentNode.parentNode; //.nextSibling;
	
	var foundFirstDataRow = false;
	while (objNextRow = objNextRow.nextSibling) {
		if (objNextRow.tagName != 'TR')
			continue;

		

		if (!foundFirstDataRow && !classInObject(objNextRow, 'spacer')) {
			
			foundFirstDataRow = true;
			continue;
		}
		
		if (checkRowSet(objNextRow.previousSibling))
			continue;
			

		if (checkRowSet(objNextRow) || checkRowSet(objNextRow.previousSibling)) {
			break;
		} else {
			objNextRow.style.display = (objNextRow.style.display == 'block') ? 'none' : 'block';
		}
	}
}

function classInObject(objObject, strClass) {
	var arrClasses = objObject.className.split(" ");
	
	for (var i = 0; i < arrClasses.length; ++i) {
		if (strClass = arrClasses[i])
			return true;
	}
	
	return false;
}

function checkRowSet(objRow) {
	if (!objRow || objRow.tagName != 'TR')
		return false;
	
	if (objRow.id.substring(0, 4) == 'set_')
		return true;
	
	return false;
}