// by Nick Boyes
// 01/05/2006

// avoids spambots by writing email address when script is download by client
// overwritten element MUST be named 'contact'

var address = "nboy" + "es" + "@gmail" + ".com";

function email()
{
    if (document.getElementById('contact').innerHTML == "")        
        document.getElementById('contact').innerHTML="<a href=\"mailto:" + address + "\">" + address + "</a>";

    else
        document.getElementById('contact').innerHTML="<a href=\"mailto:" + address + "\">" + document.getElementById('contact').innerHTML + "</a>";
}