// Setup namespace to avoid conflicts
var FERN = window.FERN || {};
 /**
* Create a mailto link in your document  * @param {String} container The id of the container for your link  * @param {String} addr The portion to the left of the 'at' symbol  * @param {String} domain The portion to the right of the 'at' symbol  * @param {String} text The text to appear for the link
*/
FERN.MailTo = function(container,addr,domain,text) {  
var n = document.getElementById(container);  
if(!n ) return;  n.innerHTML = "<a href='mailto:" + addr + "@" + domain + "'>" + text + "</a>"
}; 


