// JavaScript Document
/* This script and many more are available free online at
The JavaScript Source!! http://javascript.internet.com
Created by: CodeLifter.com | http://www.codelifter.com */
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;
 // }
 good = true;
}

u = encodeURI(window.location);
m = "[http://www.thales.no] The following article has been recommended to you ";

function mailThisUrl() {
  good = true;

  if (good) {
    // the following expression must be all on one line...
    window.location = "mailto:?subject="+m+"&body="+document.title+" "+u;
  }
}
