//	General routines used on many club tread pages.

function ema(addr, domain, tooltip) {
	t = "<a href=\"&#109;&#097;&#105;&#108;" + "&#116;&#111;:" + addr + "@" + domain + "\"";
	if (tooltip) { t = t + " title=\""+tooltip+"\""; }
	document.writeln(t+ ">");
}

function toggleView(div_id) {
  if (document.getElementById(div_id).style.display == 'block') {
		document.getElementById(div_id).style.display = 'none';
	} else {
		document.getElementById(div_id).style.display = 'block';
	}
}