function changeTab1(c)
    {
        for (i = 1; i <= 3; i++)
        {
            tab = document.getElementById("a_buy" + i);
            content = document.getElementById("buy_list" + i);
            
            if (i == c)
            {
                tab.className = "a_bnt_buy1";
                content.className = "";
                

            }
            else
            {
                tab.className = "a_bnt_buy2";
                content.className = "none";
            }
        }
    }

function changeTab2(c)
    {
        for (i = 1; i <= 4; i++)
        {
            tab = document.getElementById("btn_c" + i);
            content = document.getElementById("c_list" + i);
            
            if (i == c)
            {
                tab.className = "a_c1";
                content.className = "";
                

            }
            else
            {
                tab.className = "a_c2";
                content.className = "none";
            }
        }
    }


function changeTab3(c)
    {
        for (i = 1; i <= 2; i++)
        {
            tabb = document.getElementById("a_pp" + i);
            content = document.getElementById("c_pp" + i);
            
            if (i == c)
            {
                tabb.className = "a_pp";
                content.className = "";
                

            }
            else
            {
                tabb.className = "";
                content.className = "none";
            }
        }
    }

function changeTab4(c)
    {
        for (i = 1; i <= 2; i++)
        {
            tabb = document.getElementById("a_hy" + i);
            content = document.getElementById("c_hy" + i);
            
            if (i == c)
            {
                tabb.className = "a_pp";
                content.className = "";
                

            }
            else
            {
                tabb.className = "";
                content.className = "none";
            }
        }
    }

function changeTab5(c)
    {
        for (i = 1; i <= 2; i++)
        {
            tabb = document.getElementById("a_bbs" + i);
            content = document.getElementById("c_bbs" + i);
            
            if (i == c)
            {
                tabb.className = "a_bbs";
                content.className = "";
                

            }
            else
            {
                tabb.className = "";
                content.className = "none";
            }
        }
    }

