var AT_SIGN = "@";
   var DEFAULT_DOMAIN = "cathysewell.com";

   // Use a script to write the mailto links, so they won't be picked
   // up by spambots. This script generates links of the form
   // <a href="mailto:spammers@are.assholes">spammers@are.assholes</a>
   // If no second argument is given, the email address is used as the
   // link text (as in the example above).

	function writeMailtoLink(addy, linkText, domain)
	{
	    if (!domain)
	    {
	        domain = DEFAULT_DOMAIN;
	    }
	   	document.write("<a href=\"mailto:");
	   	document.write(addy);
	   	document.write(AT_SIGN);
	   	document.write(domain);
	   	document.write("\">");
	   	if (linkText)
	   	{
		   	document.write(linkText);
	   	}
	   	else
	   	{
		  	document.write(addy);
		  	document.write(AT_SIGN);
		   	document.write(domain);
	   	}
	   	document.write("</a>");
	}
