// JavaScript Document

<!-- Begin

//Script by Trånn: http://come.to/tronds
//Submitted to JavaScript Kit (http://javascriptkit.com)
//Visit http://javascriptkit.com for this script

var initialsubj="Bay Area Rock Climbers web site"
var initialmsg="Hi:\n You may want to check out the Bay Area Climbers web site. <br />Bay Area Climbers offers helpful information on local routes, beta for local climbing routes, climbing beta tips, climbing guides, rock climbing topo's for the bay area and the east bay. Featuring route slideshows of Skyline, Castle Rock, Castle Rock Falls, Goat Rock, Underworld, West Side Area, Indian Rock, Lime Disease Rock, Summit Rock, Aquarian Valley, Mt. Diablo, Boy Scout Rocks and Pine Canyon.<br />We also provide book reviews, climbing competition links, indoor climbing gym directory, climbing glossary, climbing links and resources, and a quaterly rock climbing newsletter with rock climbing restricted area information and safety tips.: "+window.location
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
   }
}
//  End -->
