<!--

function openwin (theURL, wName, width, height, posX, posY, scroll, resize, modal) {

  if (posX == null) posX = Math.ceil ((screen.width - width) / 2);
  if (posY == null) posY = Math.ceil ((screen.height - height) / 2);
  if (scroll == null) scroll = 1;
  if (resize == null) resize = 1;
  if (modal == null) modal = 0;

  var s = ",width=" + width + ",height=" + height + ",left=" + posX + ",top=" + posY + ",scrollbars=" + scroll + ",resizable=" + resize + ",dependent=" + modal;
  var myOpenWin = window.open (theURL, wName, "toolbar=0,location=0,directories=0,status=0,menubar=0" + s);

  myOpenWin.focus ();
  return myOpenWin;

}

// -->
