// smk - protect email addresses from easy spam harvesting
// this isn't necessary inside joomla because joomla does it automatically
function protectEmailAddress( username, hostnameSansSuffix, hostnameSuffix ) {
	if ( hostnameSuffix == null ) hostnameSuffix = "com";
	var text = username + "@" + hostnameSansSuffix + "." + hostnameSuffix;
	document.write("<a href=" + "ma" + "il" + "to:" + text + ">" + text + "</a>")
}