<!-- Original:  CodeLifter.com (support@codelifter.com) -->
<!-- Web Site:  http://www.codelifter.com -->

<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

<!-- Begin
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;
   }


}


m = "Add my feedback to the CRYM Guestbook web page. My email address is: ";
mm = "CRYM - Add to Guestbook";
n = "I found a broken link on CRYM web site. My email address is: ";
nn = "CRYM - Broken Link";
o = "I have a suggestion for the CRYM web site or newsletter. My email address is: ";
oo = "CRYM Suggestion for web site/newsletter";
p = "I have a question or comment about the CRYM web site or program. My email address is: ";
pp = "CRYM - Other Comments";

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="+mm+"&body="+m;
   }

}
function mailThisUrl2() {
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="+nn+"&body="+n;
   }
}
function mailThisUrl3() {
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="+oo+"&body="+o;
   }
}
function mailThisUrl4() {
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="+pp+"&body="+p;
   }

}
//  End -->