 function nospam(name, domain)

 {

    document.location = "mailto:" + name + "@" + domain;

 }
