var hExplain = null;
var hHtm = null;
var hInfo = null;
var hMain = null;
var hPdf = null;

function openExplain(file)
{
   // window.open() features JDG 673
   //winFeatures = "toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=600,height=300,left=340,top=362"
   winFeatures = "width=600,height=600,resizable=0,scrollbars=1"

  hExplain = window.open(file, 'winExplain', winFeatures);

   //  hExplain.moveTo(0, 0);
   //  hExplain.resizeTo(screen.width*0.60,screen.height*0.80);
  hExplain.focus();
} // openExplain

function openHtm(file)
{
  // All Pdf files will be opened/shown in one window.
  hHtm = window.open(file, 'winHtm');
  //hHtm.moveTo(0, 0);
  //hHtm.resizeTo(screen.width*0.50,screen.height*0.95);
  hHtm.focus();
} // openHtm

function openInfo(file)
{
   // window.open() features JDG 673
   //winFeatures = "toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=600,height=300,left=340,top=362"
   winFeatures = "width=600,height=300,resizable=0,scrollbars=1"

  // All Info (Html) files will be opened/shown in one window.
  // hInfo = window.open(file, 'winInfo', "toolbars=0,width=600,height=200,resizable=1,scrollbars=1,dependent=1");
  hInfo = window.open(file, 'winInfo', winFeatures);

   //  hInfo.status("TEST STATUS LINE");

   //  hInfo.moveTo(0, 0);
   //  hInfo.resizeTo(screen.width*0.60,screen.height*0.80);
  hInfo.focus();
} // openInfo

function openMain(file)
{
  // Open windows in main frame
  hmain = window.open(file, 'main');
  //hMain.focus();
} // openMain

function openPdf(file)
{
  // All Pdf files will be opened/shown in one window.
  hPdf = window.open(file, 'winPdf',
    "resizable=yes,scrollbars=yes,toolbar=yes");
  hPdf.focus();
} // openPdf

