
// example of possible values: "bruce", "aol", "com", "Click here to send me a message", "hello", "Just saying hello, Bruce".
// if no linkText is sent, we use the full address as the link.
function writeAddr(target, mainDomain, topDomain, linkText, subText, bodText) {
	 // Build the address
	 var fullAddr = target + "@" + mainDomain + "." + topDomain; 
	 // if no link text, use full address
	 var realLink = (linkText == "") ? fullAddr:linkText;

	 // Write html to the browser
	 document.write("<a href=mai" + "lt" + "o:" + fullAddr +  "?su" + "bject=" + escape(subText) + "&bod" + "y=" + escape(bodText)  + ">" + realLink + "</a>");
}