var caret = document.getElementById("caret");
var caretInterval = setInterval(function() {caret.style.display = "inline"; var caretTimeout = setTimeout(function() {caret.style.display = "none";}, 500);}, 1000);
function append(appendtext) {
document.getElementById("main").innerHTML += appendtext;
}
document.getElementById("L2").innerHTML = "Started on: " + Date();
var L4 = setTimeout(function() {document.getElementById("main").innerHTML += "
Secure connection established.";}, 1000);
var L5 = setTimeout(function() {append("
Retrieving 15 required files...");}, 2000);
var L6 = setTimeout(function() {append("
0000.dat (2300 ms)");}, 4300);
var L7 = setTimeout(function() {append("
0001.dat (800 ms)");}, 5100);
var L8 = setTimeout(function() {append("
0002.dat (900 ms)");}, 6000);
var L9 = setTimeout(function() {append("
0003.dat (1000 ms)");}, 7000);
var L10 = setTimeout(function() {append("
0004.dat (5000 ms)");}, 12000);
var L11 = setTimeout(function() {append("
0005.dat (3000 ms)");}, 15000);
var L12 = setTimeout(function() {append("
0006.dat (5000 ms)");}, 20000);
var L13 = setTimeout(function() {append("
0007.dat (2000 ms)");}, 22000);
var L14 = setTimeout(function() {append("
0008.dat (2000 ms)");}, 24000);
var L15 = setTimeout(function() {append("
0009.dat (2000 ms)");}, 26000);
var L16 = setTimeout(function() {append("
0010.dat (2000 ms)");}, 28000);
var L17 = setTimeout(function() {append("
0011.dat (2000 ms)");}, 30000);
var L18 = setTimeout(function() {append("
0012.dat (2000 ms)");}, 32000);
var L19 = setTimeout(function() {append("
0013.dat (2000 ms)");}, 34000);
var L20 = setTimeout(function() {append("
0014.dat (2000 ms)");}, 36000);
var L21 = setTimeout(function() {append("
0015.dat (2000 ms)");}, 38000);
var L22 = setTimeout(function() {append("
15/15 files successfully retrieved.");}, 39000);
var L23 = setTimeout(function() {append("
Checking for updates...");}, 40000);
var L24 = setTimeout(function() {append("
Up to date. Current version: 1.6.3");}, 45000);
var L25 = setTimeout(function() {append("
Reading 15 files...");}, 46000);
var L26 = setTimeout(function() {append("
15/15 files read (3000 ms).");}, 49000);
var L27 = setTimeout(function() {}, 500);
function checkEnter(event, checkingId) {
var pressedKey = event.key;
var checkId = checkingId;
if (pressedKey == "Enter") {
document.getElementById(checkId).readonly = true;
}
else {}
}