// This is an onload handler that looks for obfuscating spans on the page and
// replaces the text with something more user friendly.
// (e.g. 
// Web.Master<span id="emailat1"> at </span>BulletinNews.com)
function FixEmailAddresses()
{
	for (i = 1; i < 10; i++)
	{
		var oSpan = document.getElementById("emailat" + i);
		if (oSpan != null)
		{
			oSpan.innerHTML = "@";
		}
	}
}

// This allows mailto: links to be placed on web pages but not expose real
// addresses to spam email collectors.
function ComposeEmail(sID, sSubject)
{
	var sLink = "mailto:"
	sLink += sID
	sLink += "@"
	sLink += "BulletinNews."
	sLink += "com"
	if ("" + sSubject != "undefined")
	{
		sLink += "?subject=" + sSubject;
	}
	location.href = sLink
}

