var emailAddress = new Array();
emailAddress[0] = "spamkill,email me,xanadu,thetwelve,com";
function spambotBuster() {
if(!document.getElementById || !document.createElement) return;
for (var i=0;i<emailAddress.length;i++) {
x = emailAddress[i].split(',');
el = document.getElementById(x[0]);
theLink = "mailto:" + x[2] + "@" + x[3] + "." + x[4];
emailLink = document.createElement("a");
emailLink.appendChild(document.createTextNode(x[1]));
emailLink.href = theLink;
emailLink.title = "email link";
emailLink.rel = "email";
el.parentNode.replaceChild(emailLink,el)
}
}
function addLoadEvent(func) {
var oldonload = window.onload;
if (typeof window.onload != 'function') {
window.onload = func;
}
else {
window.onload = function() {
oldonload();
func();
}
}
}
addLoadEvent(spambotBuster);

