
            clearInterval(running_poll);
        }
        document.getElementById("running-progress").innerHTML = time_elapsed + "/" + attack_timeout + "s";
        time_elapsed++;
    }
    function showAttackConfig(){
        document.getElementById("ready").style.display = "block";
        document.getElementById("Update").style.display = "block";
        document.getElementById("light-color-setting").style.display = "block";
        refreshAps();
    }
    function showResult(status, attack_type, atta