function toggleItems (start, end) {
	firstItem = document.getElementById('glossaryitem' + start);
	firstItemClassName = firstItem.className;
	
	for (i = start; i <= end; i++) {
		theItem = document.getElementById('glossaryitem' + i);
		
		if (firstItemClassName == "hidden") {
			showItem(theItem);
		} else {
			hideItem(theItem);
		}
	}
}

function showItem(which) {
	which.className = 'visible';
}

function hideItem(which) {
	which.className = 'hidden';
}