var emailName = "emailname";
var emailServer = "emailserver.com";
var emailLabel = "Recipients full name";
function hide_email(emailName, emailServer, emailLabel)
{
emailE=(emailName+'@'+emailServer);
document.write('<a href="mailto:'+emailE+'\" onMouseOver=\"window.status=\'Send an e-mail to '+emailLabel+'\';return true\" onFocus=\"window.status=\'Send an e-mail to '+emailLabel+'\';return true\" onMouseOut=\"window.status=\'\'\" onBlur=\"window.status=\'\'\">'+emailLabel+'</a>');
}
// 
//
// Add the following two pieces of code to a page when you want to hide an e-mail address from sniffers.
//
// Add the following to the header of the page:
//
// <script language="javascript" src="email_hide.js"></script>
//
// Replace the <href>mailto:XXX@XXX<a> tag  in to body of text with the following:
//
// <script language="JavaScript">
// <!--
// hide_email("email name","email server","Display Name");
// //-->
// </script>

