/*	email.js
	Steven dosRemedios 6/27/07

	Paste the following line in the head section of your page (you may have to adjust the path)

<script language="javascript" src="/Scripts/email.js" ></script>

 	Paste the following code in your page's body

<script>document.writeln(email('steven','meetthere.com'));</script>

	or
	
<script>document.writeln(email('steven','meetthere.com','steven [at] meetthere.com'));</script>

*/
function email(name, domain, text) 
{
	var t = text == null ?  name + '&nbsp;[at]&nbsp;' + domain : text;
	return '<a href="mail' + 'to:' + name + '@' + domain + '">' + t + '</a>';
}
