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="Hi,I was on my usual spree of exploring, trying to 'experience the oomph' and I came across this article "+window.location+" and I thought you might like this post.";
m = "I Explored, It's time you did!";

function mailThisUrl() {
	
  good = false
		
  checkEmailAddress(document.aspnetForm.address);
  if (good) {
    // the following expression must be all on one line...
				    window.location = "mailto:"+document.aspnetForm.address.value+"?subject="+m+"&body= "+u;
				closeemail();
  }
}
