/*
	email.js - To write email address on the web pages so that the 
	spam engines don't actually find them.
*/ 

function Email(username, linktext, subject, body)
{
	var html = '<a href=\"mailto:';
	
	html += username;
	html += '@carloseton.com';
	
	if(subject != '')
	{
		html += '?subject=';
		html += subject;
	}
	
	// Since the body part doesn't work in Mozilla, let's just omit it for now.
	
	/*
	if(body != '')
	{
		html += '?body=';
		html += body;
	}
	*/
	
	html += '\">';
	html += linktext;
	html += '</a>';
	
	document.write(html);
}
