<!--
function emailpage() {
	var strEmailTo = prompt("Recipient's email address:","");
	if (strEmailTo == null) {
		alert("You must enter an email address.")
	} else {
		var strEmailSubject = document.title;
		var strEmailLink = document.location.href;
//		var strBody = document.body.innerHTML;
//		var bodyRegExp = /<!-- BEGIN MAIN BODY -->([.\s\S]*?)<!-- END MAIN BODY -->/;
//		var arrBody = strBody.match(bodyRegExp);
//		var strEmailBody = arrBody[1];
//		strEmailBody = "<h3>" + strEmailSubject + "</h3>" + strEmailBody;
//		var htmlBegRegExp = /<[^>]*>/g;
//		var htmlEndRegExp = /<\/[^>]*>/g;
//		strEmailBody = strEmailBody.replace(htmlEndRegExp,""); 
//		strEmailBody = strEmailBody.replace(htmlBegRegExp,"\n");
		strEmailBody = "Please see the following Web document...\n\n" + "Source:  National Institute of General Medical Sciences (NIGMS)" + "\n" + "Title:      " + strEmailSubject + "\n" + "Link:      " + strEmailLink + "\n";
		var docMessage = "mailto:" + strEmailTo + "?subject=" + escape(strEmailSubject) + "&body=" + escape(strEmailBody);
		window.location = docMessage;
		window.focus();
	}
}
-->
