/* EVWeb::Site Support */

/* The Function */
function $(obj) { return document.getElementById(obj); }


/* This function will write a mailto link to the current location.  This should
	make it a little bit harder for spam spiders to harvest the email address
 */
function emailLink(user, domain) {

	/* Calculate Mail Link in a way that doesn't resemble an email address much */
	var str = '<a href="mail';
	str += 'to:';
	str += user;
	str += '@';
	str += domain;
	str += '">';
	str += user + "@" + domain;
	str += "</a>";
	document.write(str);

}//end function