 //*****************************************************************************
 /**
 * システム名     コア物品／発注者
 *サブシステム名 発注者
 *
 * 原本照会対象一覧表示
 * @author NEC
 * @version 1.0, 2003.01.16 新規作成<BR>
 *          1.1, 2003.09.03 連絡票126対応<BR>
 *          3.1, 2003.09.04 署名検証手動化対応<BR>
 *          4.1, 2005.04.16, 内訳書が表示されない不具合対応<BR>
 */
 //*****************************************************************************

//-------------------------------------------------------------
// HTML読込み時の初期処理
//-------------------------------------------------------------
function onStart()
{

  // クライアント種別の設定
  updateClientKind();

  onLoad();
}

//-------------------------------------------------------------
// 前の画面に戻る
//-------------------------------------------------------------
function backScreen()
{
  dispatch( document.formRegist, "H621HGS001");
}

//-------------------------------------------------------------
// 内訳書ダウンロード処理
//-------------------------------------------------------------
function showAttachmentFile( argAttachFileSaveName,argAttachFileName )
{
  document.formAttachFileDownload.AttachedFileName.value=argAttachFileSaveName;
  document.formAttachFileDownload.action = defaultAction + "/" + argAttachFileName;
  dispatchWithoutDialog( document.formAttachFileDownload, "FWDOWN001" );
}//startDownload

//-------------------------------------------------------------
// 入札書原本情報一覧画面に遷移
//-------------------------------------------------------------
function tenderDocumentList(argProjectNumber,argTenderExecuteCount,argEstimateExecuteCount)
{

  document.formRegist.projectNumber.value=argProjectNumber;
  document.formRegist.tenderExecuteCount.value=argTenderExecuteCount;
  document.formRegist.estimateExecuteCount.value=argEstimateExecuteCount;
  dispatch( document.formRegist, "H622HGS002" );
  
}
//-------------------------------------------------------------
// 入札書表示に遷移
//-------------------------------------------------------------
// CHANGE START 2005.04.16
//function showDocument(argOriginalId,argXmlFileName,argCompanyNumber)
function showDocument(argOriginalId,argXmlFileName,argCompanyNumber,argItemFileName)
// CHANGE END 2005.04.16
{
  document.formRegist.originalId.value=argOriginalId;
  document.formRegist.xmlFileName.value=argXmlFileName;
  document.formRegist.companyNumber.value=argCompanyNumber;
// ADD START 2005.04.16
  if ( argItemFileName != null ) {
    document.formRegist.itemFileName.value=argItemFileName.value;
  }
// ADD END 2005.04.16
  dispatch( document.formRegist,"H624HGS004" );

  
}
