/*Script by Trånn: http://come.to/tronds - The script asks for the friend's email address, then loads the e-mail client with 
the information pre-filled to instantly send. The script also checks if a valid e-mail address was entered
Courtesy of SimplytheBest.net - http://simplythebest.net/scripts/DHTML_scripts/javascripts/javascript_119.html */
var initialsubj="Hay buddy, take a look at this"
var initialmsg="Hi:\n\n You may want to check out this site: http://www.taliscope.com/main_en.html"
var good;function checkEmailAddress(field) {
var goodEmail=field.value.match(/\b(^(\S+@).+((\.com)|(\.net)|(\.edu)|(\.mil)|(\.gov)|(\.org)|(\.info)|(\.sex)|(\.biz)|(\.aero)|(\.coop)|(\.museum)|(\.name)|(\.pro)|(\..{2,2}))$)\b/gi);
if (goodEmail) {good=true;}
else {alert('Please enter a valid address.');field.focus();field.select();good=false;}}
u=window.location;function mailThisUrl() {
good=false
checkEmailAddress(document.eMailer.email);
if (good){/* window.location = "mailto:"+document.eMailer.email.value+"?subject="+initialsubj+"&body="+document.title+" "+u; */
window.location = "mailto:"+document.eMailer.email.value+"?subject="+initialsubj+"&body="+initialmsg }}
