
  function winViewer(u, n, x, y, o) {
    var winXPos;
    var winYPos;
    winXPos = (screen.width-x)/2;
    winYPos = ((screen.height-y)/2)-40;
    var winOpts = o + ",left=" + winXPos + ",top=" + winYPos + ",width=" + x + ",height=" + y;
    if (newWnd) {newWnd.close();}
    var newWnd = window.open(u,n,winOpts);
    newWnd.focus();
  }

