
function protectAllEmail(page) {
	protectEmail("email1a", "biunity", "biunity.org");
	if (page == "member") {
		protectEmail("email1", "info", "biunity.org");
		protectEmail("email2", "treasurer", "biunity.org");
		protectEmail("email3", "listmod", "biunity.org");
//		protectEmail("email4", "publicity", "biunity.org");
//		protectEmail("email5", "members", "biunity.org");
//		protectEmail("email5a", "members", "biunity.org");
		protectEmail("email6", "webmaster", "biunity.org");
		protectEmail("email7", "events", "biunity.org");
	}
	else if (page == "home") {
		protectEmail("email1b", "biunity", "biunity.org");
	}
	else if (page == "resources") {
		protectEmail("email1c", "biunity", "biunity.org");
	}
	else if (page == "thank") {
		protectEmail("email5b", "members", "biunity.org");
	}
}
function protectEmail(id, left, right) {
	var link = document.getElementById(id);
	link.href="mailto:" + left + "@" + right;
}