/**
 *	simple function to obscure an email link in a human readable way.
 */
function obscure(add,host) {
	return add+" at "+host;
}

/**
 *	simple function to contruct a legitimate email link.
 */
function email(add,host) {
	return "mailto:"+add+"@"+host;
}

/**
 *	a simple script to foil most email trawlers.
 */
function safeEmail(add,host) {
	var fakeaddress = email("godirectto","hell.you.cunts");
	var realaddress = email(add,host);
	var emaillink = '<a href="'+fakeaddress+'" onmouseover="this.href=\''
						+realaddress+'\'">'
						+obscure(add,host)+'</a>';
	document.write(emaillink);
}

