function changeTab1(c,n)
    {
		
        for (i = 1; i <=n; i++)
        {
            tab = document.getElementById("a_btn" + i);
            content = document.getElementById("m_ad" + i);
		
            if (i == c)
            {
                tab.className = "a_btn1";
                content.className = "left_c";
                

            }
            else
            {
                tab.className = "a_btn2";
                content.className = "none";
            }
        }
    }
	
function changeTab2(c,n)
    {
		
        for (i = 1; i <=n; i++)
        {
            tab = document.getElementById("a2_btn" + i);
            content = document.getElementById("m2_ad" + i);
		
            if (i == c)
            {
                tab.className = "a_btn1";
                content.className = "left_c";
                

            }
            else
            {
                tab.className = "a_btn2";
                content.className = "none";
            }
        }
    }
	
function changeTab3(c,n)
    {
		
        for (i = 1; i <=n; i++)
        {
            tab = document.getElementById("a3_btn" + i);
            content = document.getElementById("m3_ad" + i);
		
            if (i == c)
            {
                tab.className = "a_btn1";
                content.className = "left_c";
                

            }
            else
            {
                tab.className = "a_btn2";
                content.className = "none";
            }
        }
    }
	
	function changeTab4(c,n)
    {
		
        for (i = 1; i <=n; i++)
        {
            tab = document.getElementById("a4_btn" + i);
            content = document.getElementById("m4_ad" + i);
		
            if (i == c)
            {
                tab.className = "a_btn1";
                content.className = "left_c";
                

            }
            else
            {
                tab.className = "a_btn2";
                content.className = "none";
            }
        }
    }
	function changeTab5(c,n)
    {
		
        for (i = 1; i <=n; i++)
        {
            tab = document.getElementById("a5_btn" + i);
            content = document.getElementById("m5_ad" + i);
		
            if (i == c)
            {
                tab.className = "a_btn1";
                content.className = "left_c";
                

            }
            else
            {
                tab.className = "a_btn2";
                content.className = "none";
            }
        }
    }
