  function popup(mylink, windowname) {

    // make window come back to top if it was there from
    //  a previous click but got hidden:
    if (! window.focus) return true;

    var href;

    if (typeof(mylink) == 'string')
       href=mylink;
    else
       href=mylink.href;
       // bug in MSIE: do not put any spaces in the list of properties!
       window.open(
         href,
         windowname
         // 'width=300,height=250,left=50,top=100,resizable=yes,scrollbars=no,status=no,dependent=yes'
       );
    return false;
  }

