r("id").split(/-/)[1])
        $.getJSON("/action/togglepool?name=" + encodeURIComponent(data[index].Name) + "&algorithm=" + encodeURIComponent(data[index].Algorithm.split(/-/)[0]) + "&coinsymbol=" + encodeURIComponent(data[index].CoinSymbol), function (res) {
            if (res.Status) {
                $.each(data, function (index2, item) {
                    if (item.Name == data[index].Name && item.Algorithm == data[index].Algorithm && item.CoinSymbol == data[index].CoinSymbol) {
                     