function getMail(mail,objMail)
{
	var indirizzo = "mailto:" + mail;
	
	objMail.href = indirizzo;
}


function WriteMail(ElemName, username, hostname)
{
	if (document.getElementById(ElemName)){
		document.getElementById(ElemName).innerHTML = "<a href=" + "mail" + "to:" + username + "@" + hostname + " class='close-ON'>" + username + "@" + hostname + "</a>";
	}
}
