<!--

function openwin (theURL, imgFolder, wName, width, height, posX, posY, wTitle, wRealTitle, wBorderColor, wBorderColorSel, titlebgColor, titlebgColorSel, sFontFamily, sFontSize, sFontColor, hideX) {

  var s = ",width=" + width + ",height=" + height;

  if (posX == null) posX = Math.ceil ((window.screen.width - width) / 2);
  if (posY == null) posY = Math.ceil ((window.screen.height - height) / 2);


    var myOpenWin = window.open (theURL, wName, "toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1" + s, true);
    myOpenWin.moveTo (Math.ceil (posX), Math.ceil (posY));


  myOpenWin.focus ();
  return myOpenWin;

}

function openwin2 (theURL, wName, width, height, posX, posY, scroll, resize) {

  if (posX == null) posX = Math.ceil ((screen.width - width) / 2);
  if (posY == null) posY = Math.ceil ((screen.height - height) / 2);

  var s = ",width=" + width + ",height=" + height + ",left=" + posX + ",top=" + posY;
  var myOpenWin = window.open (theURL, wName, "toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=" + scroll + ",resizable=" + resize + s);

  myOpenWin.focus ();
  return myOpenWin;

}

// -->
