  function popup(URL)
  {
    window.open(URL,"popup", "scrollbars=yes,status=yes,width=630,height=400");
  }
function popup2(URL, width, height)
  {
    window.open(URL,"popup","width="+width+",height="+height+",resizable=yes,location=no,toolbar=no,menubar=yes,scrollbars=yes,status=no");
  }
function send2friendPopup(URL, width, height)
  {
    tempWin = window.open(URL,"popup","width="+width+",height="+height+",resizable=no,location=no,toolbar=no,menubar=no,scrollbars=no,status=no,dependent=yes");
  }
function send2friend()
  {
    myRegExp = /^([a-zA-Z0-9_]|\-|\.)+@(([a-zA-Z0-9_]|\-)+\.)+[a-zA-Z]{2,4}/;
    if (myRegExp.exec(document.sendtofriend.email.value))
    {
      alert("Der sendes en email til din ven (" + document.sendtofriend.email.value + ") med et link til denne artikel.");
      return(true);
    }
    else
    {
      alert("Den indtastede email adresse er ikke korrekt!");
      return(false);
    }
  }

