//SECONDARY CUSTOM CODE
//Start - Function for enabling the signature for GAP
function DataAwareSignature()
{
  var TeAWebSigP1TxtFld = this.getField("TEAWEB_SIG_P_1_TXT");
  var TeAWebSigP2TxtFld = this.getField("TEAWEB_SIG_P_2_TXT");

  TeAWebSigP1TxtFld.value = "0";
  TeAWebSigP2TxtFld.value = "0";
  
  var lifecoverageyesbox = this.getField("CSTM_LIFE_COVERAGE_FLAG_Y");
  if (lifecoverageyesbox.value == "1")
  { 
    TeAWebSigP1TxtFld.value = "1";
  }

  var disbcoverageyesbox = this.getField("CSTM_DISB_COVERAGE_FLAG_Y");
  if (disbcoverageyesbox.value == "1")
  { 
    TeAWebSigP2TxtFld.value = "1";
  }
}
  //End - Function for enabling the signature for GAP
  
  function CSTM_LIFE_COVERAGE_FLAG_Y_PDFMouseExit()
  { DataAwareSignature();}

  function CSTM_LIFE_COVERAGE_FLAG_N_PDFMouseExit()
  { DataAwareSignature();}
  
  function CSTM_DISB_COVERAGE_FLAG_Y_PDFMouseExit()
  { DataAwareSignature();}

  function CSTM_DISB_COVERAGE_FLAG_N_PDFMouseExit()
  { DataAwareSignature();}