// Changes the class of the given tag from classa to classb or back
function classoggle(tag, classa, classb) {
	if (tag.className==classa){
		tag.className=classb;
	} else {
		tag.className=classa;
	}
}

// Toggles the class name of the indexed divs
function visoggle(divID, switchID) {
	var a = document.getElementById(divID);
	var b = document.getElementById(switchID);
	classoggle(a, 'hideInfo', 'showInfo');
	classoggle(b, 'plus', 'minus');
	b.innerHTML = (b.innerHTML == 'Show Information') ? 'Hide Information' : 'Show Information';
}
