/* Der Yiddishe JavaScript
 * some simple but useful functions for RecKlez
 *
 * Daniel W. Steinbrook <dsteinbr at fas>, 2008
 */

function showbio(who) {
	toggle('bio-' + who);
}

function showgigs(when) {
	toggle('gigs-' + when);
}

function toggle(element) {
	document.getElementById(element).style.display =
		(document.getElementById(element).style.display != 'block' ? 'block' : 'none');
}
