
	var good;
	function checkEmailAddress(field) {
		// the following expression must be all on one line...
		var goodEmail = field.value.match(/\b(^(\S+@).+((\.com)|(\.net)|(\.edu)|(\.mil)|(\.gov)|(\.org)|(\..{2,2}))$)\b/gi);
		if (goodEmail) {
    	good = true;
  		} 
  		else {
    		alert('Please enter a valid e-mail address.');
    		field.focus();
    		field.select();
    		good = false;
  		}
	}

	u = window.location;
	m = "I thought this might interest you....";

	function mailThisUrl() {
		good = false;
  		checkEmailAddress(document.eMailer.MailTo);
  		if (good) {
			u = u + "%26_dad%3Dportal%26_schema%3DPORTAL";
			// the following expression must be all on one line...
			window.location = "mailto:" +document.eMailer.MailTo.value + "?subject=" + m + "&body=" + "From: " 
								+ document.eMailer.MailFrom.value + "  Check This Page Link , " + document.title + ": " + encodeURI(u) ;
  		}
	}
