// Email Spam Filter

function view_address() {
address_to_replace=document.getElementById("emailLink").firstChild; //Get the email link element
real_address=address_to_replace.nodeValue.replace("[at]", "@"); //Replace "[at]" with "@"
address_to_replace.nodeValue=real_address; 
address_to_replace.parentNode.setAttribute("href", "mailto:"+real_address);// Create "mailto:" link

address_to_replace2=document.getElementById("emailLink2").firstChild; //Get the email link element
real_address=address_to_replace2.nodeValue.replace("[at]", "@"); //Replace "[at]" with "@"
address_to_replace2.nodeValue=real_address; 
address_to_replace2.parentNode.setAttribute("href", "mailto:"+real_address);// Create "mailto:" link
}

window.onload = function() { view_address(); } //Run on window load
