/* ***********************************************
    script by Brandon Luhring (luhring-design.com) 
	                     2002
    advanced email protection against spam-bots 
   *********************************************** */

at = '@';
mailer = 'mailto:';

function getmail(name, domain, suffix, text){ //user supplied email parts and alt text
		hiddenMail=(name + at + domain + '.' + suffix);
		if (! text){ //if no alt text then use full email address
			text = hiddenMail;
		}
		email = '<a href="' + mailer + hiddenMail + '">' + text + '</a>';
		return email;
}
