function HideFlashPopup() {
}

function onclickNieuwsbrief() {
      var value = document.getElementById("nlemail").value;
      if (value != "voer uw e-mailadres in") {
            if (gNLUrl != '') {
            	location.href = gNLUrl;
            } else {
            	location.href = "/cgi/register.cgi?site="+gSite+";task=send;email="+encodeURIComponent(value)+";format=html";
            }
      }
      return false;
}
function onkeyNieuwsbrief(e) {
      return ifEnter(e, onclickNieuwsbrief);
}

function ifEnter(e, func) {
      var keycode;
      if (window.event) {
            keycode = window.event.keyCode;
      } else {
            if (e) {
                  keycode = e.which;
            } else {
                  return true;
            }
      }
      if (keycode == 13) {
            func();
            return false;
      }
      return true;
}

