// ANTI SPAM FOR EMAILS ON WEBPAGES
// This file disables about 80% of all spam-robot search engines.
// It requires that the end-user has JavaScript enabled
//
// Programmed by henrik hedegaard
// Department of biostatistics
// Section of health informatics

function handleEmail(userName,userDmn,userTxt)
{
		var tg="<";
		var name=userName;
		var at="@";
		var domain=userDmn
		var text=userTxt;
		
		if(text=="")
			{
				text=userName+at+userDmn;
			}
		
		document.write(tg+"a hr"+"ef=mai"+"lto:"+userName+at+userDmn+">"+text+tg+"/a>");
}