﻿
 function ValidateCheckbox(strId, txtid)
 {
    var blnIsValid = document.getElementById(strId).checked; 
    var cntrl = document.getElementById(txtid);
    if (blnIsValid)
    {
       return true;
    }
    else
    {
       alert("You must read and accept the terms of the End User License Agreement before using iolo's System Checkup utility.");
       cntrl.style.color = "Red";
       return false;
    }
 }
  function ApllyCheckStyles(chkId,txtId)
  {
    chk = document.getElementById(chkId);
    cntrl = document.getElementById(txtId);
    if(chk.checked)
    {
      cntrl.style.color = "#5f5f5f";
    }
    else
    {
      cntrl.style.color = "Red";
    }
  }
