
//--- mail mask --------------------------------------

//--- generates "<a mailto="user@host">text</a>"
//--- uses default host if none provided
//--- inserts user@host as text if none provided.

function mail_mask(user, host, text) {
			if (host == null) {
					host = "spacesyntax.com";
			} 
            if (text == null) {
                        var linktext = user + "@" + host;
            } else { 
                        var linktext = text;
            }
document.write("<a href=" + "mail" + "to:" + user + "@" + host + ">" + linktext + "</a>") 

}