
// Function to "hide" an email address from robots

function hide(host_ext,host_name,id){
  addr = id + '@' + host_name + '.' + host_ext;
  document.write('<a href="' + 'mail' + 'to:' + addr + '">' + addr + '</a>')
	
// Example of use:
//
// <head>
// <script language="JavaScript" type="text/javascript" src="hide_addr.js"></script>
// </head>
// <body>
// Dave King - <script type="text/javascript"> hide('net','thekingz','dave')</script>	
	}