// File footer.js version of 31 March 2005
// Entirely written by Walter Maner (maner@cs.bgsu.edu) unless otherwise noted
// This work is licensed under a Creative Commons license
// http://creativecommons.org/licenses/by-sa/2.0/

var d = new Date();
var subject = "Autism Link -- Bittersweet Farms";
var message = "I thought you might be interested in this web page: " + window.location

function goodEmailAddress( field ) {
   if ( field.value.match( /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/ )) {
      return true;
   }
   else {
      alert( 'Please enter a valid address.' );
      field.focus();
      field.select();
      return false;
   }
}

function mailThisUrl() {
   if ( goodEmailAddress( document.eMailer.email )) {
      window.location = "mailto:" + document.eMailer.email.value + "?subject=" + subject + "&body=" + message;
   }
}

document.write( '<div align=\"right\" style=\"font-size: 75%\">' );
document.write( '<br><a href=\"/semisweet/index.html\">Home</a>&nbsp;&nbsp;' );
document.write( '<a href=\"/semisweet/search/sitemap.html\">Sitemap</a>&nbsp;&nbsp;' );
document.write( '<a href=\"/semisweet/contact/index.html\">Contact</a>&nbsp;&nbsp;' );
document.write( '<a href=\"/semisweet/news/index.html\">News</a>&nbsp;&nbsp;' );
document.write( '<a href=\"/semisweet/services/index.html\">Services</a>&nbsp;&nbsp;' );
document.write( '<a href=\"/semisweet/search/index.html\">Search</a>&nbsp;&nbsp;' );
document.write( '<a href=\"/semisweet/resources/index.html\">Resources</a>&nbsp;&nbsp;' );
document.write( '<a href=\"/semisweet/help-us/index.html\">Ways to Give</a>&nbsp;&nbsp;' );
document.write( '<a href=\"/semisweet/about-us/index.html\">About Us</a>&nbsp;&nbsp;' );
document.write( '<a href=\"/semisweet/tour/index.html\">Tour</a>&nbsp;&nbsp;' );
document.writeln( '<a href=\"/semisweet/employment/index.html\">Careers</a><br> ' );
document.write( '<br>This page and its contents, created on ' );
if ( Date.parse( document.lastModified ) != 0 ) {
   document.write( ( new Date( document.lastModified )).toLocaleString() );
   document.write( ',<br>' );
}
document.write( 'are &copy; ' + d.getFullYear() + ' by Bittersweet, Inc. unless otherwise noted.<br>' );
document.write( 'Feel free to <a href=\"mailto:mbennett\@bittersweetfarms.org">contact us<\/a> or ' );
document.write( '<a href=\"mailto:maner\@cs.bgsu.edu\">report a website problem<\/a> or ' );
document.writeln( '<a href=\"/semisweet/scripts/sendlink.php?url=' + document.location + '&title=' + document.title + '\">send someone a link to this page</a> ' );
document.writeln( "or check our <a href=\"/semisweet/common/privacy.html\">privacy policy</a>.<br>" );
document.writeln( "</form>" );
document.writeln( '<\/div>' );






