pTeamup())
        }
    });
}
function battle() {
    apply();
    $.ajax({
        url: "{{ url_for("runBattle") }}",
        type: "POST"
    });
}
function main() {
    apply();
    $.ajax({
        url: "{{ url_for("runMain") }}",
        type: "POST",
        data: {
            appleTotal: appleTotal.value,
            appleKind: appleKind.selectedIndex
        }
    });
}
function classic() {
    apply();
    $.ajax({
        url: "{{ url_for("runClassic") }}",
        type: "POST",
        data: {
