
// (C) 2000 www.CodeLifter.com
// http://www.codelifter.com
// Free for all users, but leave in this header

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...";
var content;
/*
content =	"<p><font face='Tahoma' size='2'>Hi -</font></p>\n\n\n\n\n"
			+"<p><font face='Tahoma' size='2'>Pls see the following page ("
			
			+ document.title
			
			+") . I might be "
			+"interesting to you.</font></p>"
			+"<ul>"
			+"<li><font face='Tahoma' size='2'>"
			
			+u
			
			+"</font></li>"
			+"</ul>"
			+"<p><font face='Tahoma' size='2'>Thanks.</font></p>";
*/
content = "Please see the this page : "+u + " It is titled : "+document.title;
function mailThisUrl(){
   good = false
   checkEmailAddress(document.eMailer.address)
   if (good){
      // the following expression must be all on one line...
      window.location = "mailto:"+document.eMailer.address.value+"?subject="+m+"&body="+content;
     
   }
}
      
<!-- End E-Mail-This-Page Script //-->
