function checkForm(TheForm) {
if (TheForm.email.value.length == 0) {
   TheForm.email.value = prompt("You forgot to enter your email! Insert it here!");
   return false;
  }
    return true;
}// end function checkalForm
// -->
  function doPopups() {
  if (!document.getElementsByTagName) return false;
  var links=document.getElementsByTagName("a");
  for (var i=0; i < links.length; i++) {
    if (links[i].className.match("popup")) {
      links[i].onclick=function() {
      // Next two lines should be on one line
        window.open(this.href, "",
          "top=40,left=40,width=600,scrollbars=1");
        return false;
      }
    }
  }
}
window.onload = doPopups;// JavaScript Document