
// javascript emailer
// Gabriel Feindel
// A safe, simple way of emailing that confounds even the brightest email harvester.
// To use in an email link, set href to "#" and onclick to mailto("username") where
// username is the part before the @ sign in the email address. Only works with 
// users on bju.edu

function mailto(uname, domain) {
	if (domain == undefined)
		domain = 'bju.edu';
	window.location.href = "mailto:" + uname + "@" + domain;
}

