function popup(ePfx,eName,o) {
  var popupWin
  var wholeWin
  if (o == "P") {var Width = 285; var height = 420;}
  else {width = 420; height = 295;}
  var left   = (screen.width  - width)/2;
  var top    = (screen.height - height)/2;
  var params = 'width=' + width + ', height=' + height;
  params += ', top=' + top + ', left=' + left + ',dependent';
  var htmlOpener = "<html><head></head><title>"+ePfx+' - '+eName+
    "</title><body bgcolor='#022D23'>"
  var htmlImage = '<center><img src="qsls/'+ePfx+'.jpg"></center>'
  var htmlCloser = "</body></html>"
  popupWin = window.open("","puWin",params)
  popupWin.document.open("text/html","replace");
  popupWin.document.write(htmlOpener);
  popupWin.document.write(htmlImage);
  popupWin.document.write(htmlCloser);
  popupWin.document.close();
  popupWin.focus();}
function closeDep() {
  if (popupWin && popupWin.open && !popupWin.closed) popupWin.close();
  if (wholeWin && wholeWin.open && !wholeWin.closed) wholeWin.close(); }
