function view_address(id) { 
	email_list = document.getElementsByName(id);
	i=0;
	while (email_list[i]) {	
		address_to_replace=email_list[i].firstChild; 
		real_address=address_to_replace.nodeValue.replace("[at]", "@"); 
		address_to_replace.nodeValue=real_address;  
		address_to_replace.parentNode.setAttribute("href", "mailto:"+real_address);  
		i = i+1;
	}
}

window.onload = function() { view_address('antispam');}
