function OpenComments (c) {
    window.open(c,
                    'comments',
                    'width=480,height=480,scrollbars=yes,status=yes');
}

function OpenTrackback (c) {
    window.open(c,
                    'trackback',
                    'width=480,height=480,scrollbars=yes,status=yes');
}

function checkEmail()
{
  /* validate the email address against a regular expression. It'll ensure no spaces, an @ sign, etc. */
  addr = document.signup.email.value;
  if (addr.search(/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/) != -1) { return true; }
  if (addr.length > 0) {
    alert("I'm sorry, but '" + addr + "' is not an email address I can accept.");
  } else {
    alert("I'm sorry, but you need to enter an email address to sign up. Thanks!");
  }
  document.signup.email.focus();
  return false;
} 
  
re = /^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/
    
function submitIt(myForm) {
        if (re.test(myForm.email.value)) {
                return true
        }
        alert("Uh oh, you have not entered a valid email address.")
        myForm.email.focus()
        myForm.email.select()
        return false
}        

