function windowClose()
{
  // Routine to close the current window...
  close();
  return;
}


function windowOpen(sURL)
{
  // Routine to show a window from a link within the help page
  // based on the sURL...
  window.open (sURL,'', 'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=700,height=600,top=0,left=0');
}

function windowOpen2(sURL, iWidth, iHeight)
{
  // Routine to show a window from a link within the help page
  // based on the sURL...
  window.open (sURL,'', 'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=' + iWidth + ',height=' + iHeight + ',top=0,left=0');
}

function showImage(sURL, sBNID, sOID)
{
  // Routine to show a window from a link within the help page
  // based on the sURL...
  sURL += "?BNID=" + sBNID + "&OID=" + sOID
  window.open (sURL,'', 'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=700,height=600,top=0,left=0');
}

function setYear()
{
  // Routine to get the current year and set the copyright date...
  if (document.all('spanYear') != undefined)
    {
        var d = new Date();
        document.all('spanYear').innerText = d.getFullYear() + ' ';
    }
}

function frmSubmit(frmName)
{
  // Routine to submit the named form...
  if (document.all(frmName) != undefined)
    document.all(frmName).submit();
  
  return;
}