function ToggleRow(id, rowclass) {
	var picElement = document.getElementById(id + 'pic');
	document.getElementById(id).className = rowclass;
	if (picElement != null) {
		if (picElement.style.display == 'block') {
			picElement.style.display = 'none';
		} else {
			picElement.style.display = 'block';
		}
	}
}
