// This function switches the display of an item from none to block and back. Parameter is the object ID.
function switchDisplay(itemID){
 	var item = document.getElementById(itemID);
 	if (item.style.display == 'block')
 		item.style.display = 'none';
 	else
 		item.style.display = 'block';
}