/*	E-mail Encoder function (c) Jan 2008 by 3 Roads Media (www.3roadsmedia.com)
	Special thanks to Joe Maller (www.joemaller.com). This script is free to use
	and distribute provided these three lines remain intact */

function encodeMail(email, domain, tooltips, text)
{
	mai = "mai";
	lto = "lto:";
	domain = (email + '@' + domain);
	document.write('<a href="' + mai + lto + domain + tooltips + '">' + text + '</a>');
}
