
function displayMail(addr, domain, topdom, makelink, withicon, subject) {
	m = addr + "@" + domain + "." + topdom;
	subject = (subject) ? "?subject=" + subject : "";
	if (makelink) {
		if (withicon) {
			document.write('<table border=0 cellpadding=0 cellspacing=0><tr>');
			document.write('<td><a href="mailto:' + m + subject + '"><img src="/img/tpix.gif" width=19 height=19 border=0 alt=""></a>&nbsp;</td>');
			document.write('<td valign=center><a href="mailto:' + m + subject + '">' + m + '</a></td>');
			document.write('</tr></table>');
		} else 
			document.write('<a href="mailto:' + m + subject + '">' + m + '</a>');
	} else
		document.write(m);
}

