               "Checksum: " + checksum + "<sub>16<\/sub><br\/><br\/>" +
                    "Calculated checksum: " + ('0' + checksumVerify.toString(16).toUpperCase()).slice(-2) + "<sub>16<\/sub><br\/><br\/>" +
                    "<span id='errors'>" + errors + "<\/span>";
                document.getElementById("calcresult").style.display = "block";
            }

            window.onload = function () {
                document.getElementById("calculate").onclick = calculate;
            };
	  