	//-----------------------------------------------------------------------
	//	--- nospam
	//	--- Copyright (c) 2006, Elizabeth Ford
	//	--- http://www.stlwed.com
	//
	//      --- Based a the No-Spam Email Script found at:
	//          http://javascript.internet.com/miscellaneous/no-spam-e-mail.html
	//      --- Original Script Written by William Rozell Jr (elranzer@nospam.com )
	//      --- http://www.elranzer.com
	//-----------------------------------------------------------------------

   
function plain_email(user, domain, suffix)
{
    document.write('<a href="' + 'mailto:' + user + '@' + domain + '.' + suffix + '">' + user + '@' + domain + '.' + suffix + '</a>');
}

function color_email(user, domain, suffix, color)
{
    document.write('<a href="' + 'mailto:' + user + '@' + domain + '.' + suffix + '" style="color: '+ color + '">' + user + '@' + domain + '.' + suffix + '</a>');
}

function subject_email(user, domain, suffix, subject)
{
    subject = subject.replace(/ /g,'%20');
    document.write('<a href="' + 'mailto:' + user + '@' + domain + '.' + suffix + '?'+subject+'">' + user + '@' + domain + '.' + suffix + '</a>');
}

function subject_color_email(user, domain, suffix, subject, color)
{
    subject = subject.replace(/ /g,'%20');
    document.write('<a href="' + 'mailto:' + user + '@' + domain + '.' + suffix + '" style="color: '+ color + '">' + user + '@' + domain + '.' + suffix + '</a>');
}

function plain_email_string(user, domain, suffix)
{
    var txt = user + '@' + domain + '.' + suffix;
    return( txt );
}