window.onload = function()
{
	initEmails();
	return true;
}
function initEmails()
{
	var TagA = document.getElementsByTagName("a");
	for(x = 0; x < TagA.length; x++)
	{
		if(TagA[x].href.indexOf("mailto:") > -1)
		{			
			TagA[x].onclick = function()
			{				
				this.href = this.href.replace("|at|", "@");
				this.href = this.href.replace("%7Cat%7C", "@");
				while(this.href.indexOf("|") > -1 || this.href.indexOf("%7C") > -1)
				{
					this.href = this.href.replace("|", "");
					this.href = this.href.replace("%7C", "")
				}
				return true;
			}
		}
	}
	return true;
}

