gecko-dev/js/rhino/docs/owner.js
2004-03-17 18:36:57 +00:00

16 lines
274 B
JavaScript

function owner()
{
return email("Norris Boyd", "nboyd", "atg.com");
}
function email(name, prefix, suffix)
{
return "<a href='mailto:"+prefix+"@"+suffix+"'>"+name+"</a>";
}
function write_email(name, prefix, suffix)
{
document.write(email(name, prefix, suffix));
}