
function ShowNews(val)
{
	var tblBaimoinhat = document.getElementById('tblBaimoinhat');
	var tblDocnhieunhat = document.getElementById('tblDocnhieunhat');
	var tblBaiNoibat = document.getElementById('tblBainoibat');
	
	var tdBaimoinhat = document.getElementById('tdBaimoinhat');
	var tdDocnhieunhat = document.getElementById('tdDocnhieunhat');
	var tdNoibat = document.getElementById('tdNoibat');
	
	var aBaimoinhat = document.getElementById('hplBaimoi');
    var aDocnhieunhat = document.getElementById('hplDocnhieu');
    var aBaiNoibat = document.getElementById('hplNoibat');
	if (val == 1)
	{
		aBaimoinhat.className = "tabon";
		aDocnhieunhat.className = "taboff";
		aBaiNoibat.className = "taboff";
		
		tblBaimoinhat.style.display = "inline";
		tblDocnhieunhat.style.display = "none";
		tblBaiNoibat.style.display = "none";
	}
	if (val == 2)
	{
		aBaimoinhat.className = "taboff";
		aDocnhieunhat.className = "tabon";
		aBaiNoibat.className = "taboff";
		
		tblBaimoinhat.style.display = "none";
		tblDocnhieunhat.style.display = "inline";
		tblBaiNoibat.style.display = "none";
	}
	if (val == 3)
	{
		aBaimoinhat.className = "taboff";
		aDocnhieunhat.className = "taboff";
		aBaiNoibat.className = "tabon";
		
		tblBaimoinhat.style.display = "none";
		tblDocnhieunhat.style.display = "none";
		tblBaiNoibat.style.display = "inline";
	}
}

    function ChangeAutotab(tab)
    {
	    var tbl5Noibat_1 = document.getElementById('tbl5Noibat_1');
	    var tbl5Noibat_2 = document.getElementById('tbl5Noibat_2');
	    var tbl5Noibat_3 = document.getElementById('tbl5Noibat_3');
	    var tbl5Noibat_4 = document.getElementById('tbl5Noibat_4');
	    var tbl5Noibat_5 = document.getElementById('tbl5Noibat_5');

	    var tbl5_4Noibat_1 = document.getElementById('tbl5_4Noibat_1');
	    var tbl5_4Noibat_2 = document.getElementById('tbl5_4Noibat_2');
	    var tbl5_4Noibat_3 = document.getElementById('tbl5_4Noibat_3');
	    var tbl5_4Noibat_4 = document.getElementById('tbl5_4Noibat_4');
	    var tbl5_4Noibat_5 = document.getElementById('tbl5_4Noibat_5');

	    var tdautotab1 = document.getElementById('tdautotab1');
	    var tdautotab2 = document.getElementById('tdautotab2');
	    var tdautotab3 = document.getElementById('tdautotab3');
	    var tdautotab4 = document.getElementById('tdautotab4');
	    var tdautotab5 = document.getElementById('tdautotab5');
	    
	    
	    if(tab == 1)
	    {
	        tbl5Noibat_1.style.display = 'block';
	        tbl5_4Noibat_1.style.display = 'block';
	        
	        tbl5Noibat_2.style.display = 'none';
	        tbl5_4Noibat_2.style.display = 'none';
	        
	        tbl5Noibat_3.style.display = 'none';
	        tbl5_4Noibat_3.style.display = 'none';
	        
	        tbl5Noibat_4.style.display = 'none';
	        tbl5_4Noibat_4.style.display = 'none';
	        
	        tbl5Noibat_5.style.display = 'none';
	        tbl5_4Noibat_5.style.display = 'none';
	        
	        tdautotab1.className = 'Autotab_on';
	        tdautotab2.className = 'Autotab_off';
	        tdautotab3.className = 'Autotab_off';
	        tdautotab4.className = 'Autotab_off';
	        tdautotab5.className = 'Autotab_off';
	    }
	    if(tab == 2)
	    {
	        tbl5Noibat_1.style.display = 'none';
	        tbl5_4Noibat_1.style.display = 'none';
	        
	        tbl5Noibat_2.style.display = 'block';
	        tbl5_4Noibat_2.style.display = 'block';
	        
	        tbl5Noibat_3.style.display = 'none';
	        tbl5_4Noibat_3.style.display = 'none';
	        
	        tbl5Noibat_4.style.display = 'none';
	        tbl5_4Noibat_4.style.display = 'none';
	        
	        tbl5Noibat_5.style.display = 'none';
	        tbl5_4Noibat_5.style.display = 'none';
	        
	        tdautotab1.className = 'Autotab_off';
	        tdautotab2.className = 'Autotab_on';
	        tdautotab3.className = 'Autotab_off';
	        tdautotab4.className = 'Autotab_off';
	        tdautotab5.className = 'Autotab_off';
	    }
	    if(tab == 3)
	    {
	        tbl5Noibat_1.style.display = 'none';
	        tbl5_4Noibat_1.style.display = 'none';
	        
	        tbl5Noibat_2.style.display = 'none';
	        tbl5_4Noibat_2.style.display = 'none';
	        
	        tbl5Noibat_3.style.display = 'block';
	        tbl5_4Noibat_3.style.display = 'block';
	        
	        tbl5Noibat_4.style.display = 'none';
	        tbl5_4Noibat_4.style.display = 'none';
	        
	        tbl5Noibat_5.style.display = 'none';
	        tbl5_4Noibat_5.style.display = 'none';
	        
	        tdautotab1.className = 'Autotab_off';
	        tdautotab2.className = 'Autotab_off';
	        tdautotab3.className = 'Autotab_on';
	        tdautotab4.className = 'Autotab_off';
	        tdautotab5.className = 'Autotab_off';
	    }
	    if(tab == 4)
	    {
	        tbl5Noibat_1.style.display = 'none';
	        tbl5_4Noibat_1.style.display = 'none';
	        
	        tbl5Noibat_2.style.display = 'none';
	        tbl5_4Noibat_2.style.display = 'none';
	        
	        tbl5Noibat_3.style.display = 'none';
	        tbl5_4Noibat_3.style.display = 'none';
	        
	        tbl5Noibat_4.style.display = 'block';
	        tbl5_4Noibat_4.style.display = 'block';
	        
	        tbl5Noibat_5.style.display = 'none';
	        tbl5_4Noibat_5.style.display = 'none';
	        
	        tdautotab1.className = 'Autotab_off';
	        tdautotab2.className = 'Autotab_off';
	        tdautotab3.className = 'Autotab_off';
	        tdautotab4.className = 'Autotab_on';
	        tdautotab5.className = 'Autotab_off';
	    }   
    	    if(tab == 5)
	    {
	        tbl5Noibat_1.style.display = 'none';
	        tbl5_4Noibat_1.style.display = 'none';
	        
	        tbl5Noibat_2.style.display = 'none';
	        tbl5_4Noibat_2.style.display = 'none';
	        
	        tbl5Noibat_3.style.display = 'none';
	        tbl5_4Noibat_3.style.display = 'none';
	        
	        tbl5Noibat_4.style.display = 'none';
	        tbl5_4Noibat_4.style.display = 'none';
	        
	        tbl5Noibat_5.style.display = 'block';
	        tbl5_4Noibat_5.style.display = 'block';
	        
	        tdautotab1.className = 'Autotab_off';
	        tdautotab2.className = 'Autotab_off';
	        tdautotab3.className = 'Autotab_off';
	        tdautotab4.className = 'Autotab_off';
	        tdautotab5.className = 'Autotab_on';
	    } 
	}
	
 function SetChangeTab()
{
    for(var i = 1; i <= 5; i++)
    {
        var tbl5Noibat = document.getElementById('tbl5Noibat_' + i.toString());
        if(tbl5Noibat.style.display == 'block')
        {
            if(i == 5)
            {
                ChangeAutotab(1);
                break;
            }
            else
            {
                ChangeAutotab(i + 1);
                break;
            }
        }
    }
}
    var abc;
    function StartChange(duration)
    {
        abc = setInterval(SetChangeTab, 6000);     
        isStopped = 2;
    }
    var isStopped;
    function StopChange(tab)
    {
       ChangeAutotab(tab);
       clearInterval(abc); 
       isStopped = 1;
    }
    function StartChangeWhenHover(tab)
    {
        ChangeAutotab(tab);
        if(isStopped == 1)
            StartChange();
    }


    function ChangeSubConferences(type)
    {
        var rptDocument = document.getElementById('tabhowto');
        var rptSoftware = document.getElementById('tabhoidap');
        var rptUtilities = document.getElementById('tabtechguide');
        var rptCaseStudies = document.getElementById('tab10things');
        
        if(type == 1)
        {
            rptDocument.style.display = 'block';
            rptSoftware.style.display = 'none';
            rptUtilities.style.display = 'none';
            rptCaseStudies.style.display = 'none';
        }
        if(type == 2)
        {
            rptDocument.style.display = 'none';
            rptSoftware.style.display = 'block';
            rptUtilities.style.display = 'none';
            rptCaseStudies.style.display = 'none';
        }
        if(type == 3)
        {
            rptDocument.style.display = 'none';
            rptSoftware.style.display = 'none';
            rptUtilities.style.display = 'block';
            rptCaseStudies.style.display = 'none';
        }
        if(type == 4)
        {
            rptDocument.style.display = 'none';
            rptSoftware.style.display = 'none';
            rptUtilities.style.display = 'none';
            rptCaseStudies.style.display = 'block';
        }
    }
    function ChangeSubConferences1(type)
    {
        var rptDocument = document.getElementById('slideshow');
        var rptSoftware = document.getElementById('video');
        var rptUtilities = document.getElementById('audio');
        var rptCaseStudies = document.getElementById('tab10things');
        
        if(type == 1)
        {
            rptDocument.style.display = 'block';
            rptSoftware.style.display = 'none';
            rptUtilities.style.display = 'none';
            rptCaseStudies.style.display = 'none';
        }
        if(type == 2)
        {
            rptDocument.style.display = 'none';
            rptSoftware.style.display = 'block';
            rptUtilities.style.display = 'none';
            rptCaseStudies.style.display = 'none';
        }
        if(type == 3)
        {
            rptDocument.style.display = 'none';
            rptSoftware.style.display = 'none';
            rptUtilities.style.display = 'block';
            rptCaseStudies.style.display = 'none';
        }
        if(type == 4)
        {
            rptDocument.style.display = 'none';
            rptSoftware.style.display = 'none';
            rptUtilities.style.display = 'none';
            rptCaseStudies.style.display = 'block';
        }
    }
    
    function ChangeSubSolution(type)
    {
        var rptDocument = document.getElementById('tabdocument');
        var rptCaseStudies = document.getElementById('tabcasestudies');
        
        if(type == 1)
        {
            rptDocument.style.display = 'block';
            rptCaseStudies.style.display = 'none';
        }
        if(type == 2)
        {
            rptDocument.style.display = 'none';
            rptCaseStudies.style.display = 'block';
        }
    }
    
function ShowGroup(val)
{
	var tblVieclam = document.getElementById('tblVieclam');
	var tblKhoahoc = document.getElementById('tblKhoahoc');
	var tblDoitac = document.getElementById('tblDoitac');
	var tblCongdong = document.getElementById('tblCongdong');
	
	var tdVieclam = document.getElementById('tdVieclam');
	var tdKhoahoc = document.getElementById('tdKhoahoc');
	var tdDoitac = document.getElementById('tdDoitac');
	var tdCongdong = document.getElementById('tdCongdong');
	
	var aVieclam = document.getElementById("hplVieclam");//tdVieclam.firstChild;
	var aKhoahoc = document.getElementById("hplKhoahoc");//tdKhoahoc.firstChild;
	var aDoitac = document.getElementById("hplDoitac");//tdDoitac.firstChild;
	var aCongdong = document.getElementById("hplCongdong");//tdCongdong.firstChild;
    
    
	if(val == 1)
	{
		aVieclam.className = "tabon";
		aKhoahoc.className = "taboff";
		aDoitac.className = "taboff";
		aCongdong.className = "taboff";
		
		tdVieclam.className = "tabon";
		tdKhoahoc.className = "taboff";
		tdDoitac.className = "taboff";
		tdCongdong.className = "taboff";
		
		tblVieclam.style.display = "inline";
		tblKhoahoc.style.display = "none";
		tblDoitac.style.display = "none";
		tblCongdong.style.display = "none";
	}
	if (val == 2)
	{   
	    
		aVieclam.className = "taboff";
		aKhoahoc.className = "tabon";
		aDoitac.className = "taboff";
		aCongdong.className = "taboff";
		
		tdVieclam.className = "taboff";
		tdKhoahoc.className = "tabon";
		tdDoitac.className = "taboff";
		tdCongdong.className = "taboff";
		
		tblVieclam.style.display = "none";
		tblKhoahoc.style.display = "inline";
		tblDoitac.style.display = "none";
		tblCongdong.style.display = "none";
	}
	if (val == 3)
	{
		aVieclam.className = "taboff";
		aKhoahoc.className = "taboff";
		aDoitac.className = "tabon";
		aCongdong.className = "taboff";
		
		tdVieclam.className = "taboff";
		tdKhoahoc.className = "taboff";
		tdDoitac.className = "tabon";
		tdCongdong.className = "taboff";
		
		tblVieclam.style.display = "none";
		tblKhoahoc.style.display = "none";
		tblDoitac.style.display = "inline";
		tblCongdong.style.display = "none";
	}
	if (val == 4)
	{
		aVieclam.className = "taboff";
		aKhoahoc.className = "taboff";
		aDoitac.className = "taboff";
		aCongdong.className = "tabon";
		
		tdVieclam.className = "taboff";
		tdKhoahoc.className = "taboff";
		tdDoitac.className = "taboff";
		tdCongdong.className = "tabon";
		
		tblVieclam.style.display = "none";
		tblKhoahoc.style.display = "none";
		tblDoitac.style.display = "none";
		tblCongdong.style.display = "inline";
	}
}
function ShowPrediction(val)
{
	var tblNewest = document.getElementById('tblNewest');
	var tblFeatured = document.getElementById('tblFeatured');
	var tblMostActive = document.getElementById('tblMostActive');
	var tblWins = document.getElementById('tblWins');
	
	var tdNewest = document.getElementById('tdNewest');
	var tdFeatured = document.getElementById('tdFeatured');
	var tdMostActive = document.getElementById('tdMostActive');
	var tdWins = document.getElementById('tdWins');
	
	var aNewest = document.getElementById("aNewest");
	var aFeatured = document.getElementById("aFeatured");
	var aMostActive = document.getElementById("aMostActive");
	var aWins = document.getElementById("aWins");
    
    
	if(val == 1)
	{
		aNewest.className = "tabon";
		aFeatured.className = "taboff";
		aMostActive.className = "taboff";
		aWins.className = "taboff";
		
		tdNewest.className = "tabon";
		tdFeatured.className = "taboff";
		tdMostActive.className = "taboff";
		tdWins.className = "taboff";
		
		tblNewest.style.display = "inline";
		tblFeatured.style.display = "none";
		tblMostActive.style.display = "none";
		tblWins.style.display = "none";
	}
	if (val == 2)
	{   
	    
		aNewest.className = "taboff";
		aFeatured.className = "tabon";
		aMostActive.className = "taboff";
		aWins.className = "taboff";
		
		tdNewest.className = "taboff";
		tdFeatured.className = "tabon";
		tdMostActive.className = "taboff";
		tdWins.className = "taboff";
		
		tblNewest.style.display = "none";
		tblFeatured.style.display = "inline";
		tblMostActive.style.display = "none";
		tblWins.style.display = "none";
	}
	if (val == 3)
	{
		aNewest.className = "taboff";
		aFeatured.className = "taboff";
		aMostActive.className = "tabon";
		aWins.className = "taboff";
		
		tdNewest.className = "taboff";
		tdFeatured.className = "taboff";
		tdMostActive.className = "tabon";
		tdWins.className = "taboff";
		
		tblNewest.style.display = "none";
		tblFeatured.style.display = "none";
		tblMostActive.style.display = "inline";
		tblWins.style.display = "none";
	}
	if (val == 4)
	{
		aNewest.className = "taboff";
		aFeatured.className = "taboff";
		aMostActive.className = "taboff";
		aWins.className = "tabon";
		
		tdNewest.className = "taboff";
		tdFeatured.className = "taboff";
		tdMostActive.className = "taboff";
		tdWins.className = "tabon";
		
		tblNewest.style.display = "none";
		tblFeatured.style.display = "none";
		tblMostActive.style.display = "none";
		tblWins.style.display = "inline";
	}
}

function ShowGroup1(val)
{
	var tblVieclam = document.getElementById('tblVieclam1');
	var tblKhoahoc = document.getElementById('tblKhoahoc1');
	var tblDoitac = document.getElementById('tblDoitac1');
	var tblCongdong = document.getElementById('tblCongdong1');
	
	var tdVieclam = document.getElementById('tdVieclam1');
	var tdKhoahoc = document.getElementById('tdKhoahoc1');
	var tdDoitac = document.getElementById('tdDoitac1');
	var tdCongdong = document.getElementById('tdCongdong1');
	
	var aVieclam = document.getElementById("hplVieclam1");//tdVieclam.firstChild;
	var aKhoahoc = document.getElementById("hplKhoahoc1");//tdKhoahoc.firstChild;
	var aDoitac = document.getElementById("hplDoitac1");//tdDoitac.firstChild;
	var aCongdong = document.getElementById("hplCongdong1");//tdCongdong.firstChild;
    
    
	if(val == 1)
	{
		aVieclam.className = "tabon";
		aKhoahoc.className = "taboff";
		aDoitac.className = "taboff";
		aCongdong.className = "taboff";
		
		tdVieclam.className = "tabon";
		tdKhoahoc.className = "taboff";
		tdDoitac.className = "taboff";
		tdCongdong.className = "taboff";
		
		tblVieclam.style.display = "inline";
		tblKhoahoc.style.display = "none";
		tblDoitac.style.display = "none";
		tblCongdong.style.display = "none";
	}
	if (val == 2)
	{   
	    
		aVieclam.className = "taboff";
		aKhoahoc.className = "tabon";
		aDoitac.className = "taboff";
		aCongdong.className = "taboff";
		
		tdVieclam.className = "taboff";
		tdKhoahoc.className = "tabon";
		tdDoitac.className = "taboff";
		tdCongdong.className = "taboff";
		
		tblVieclam.style.display = "none";
		tblKhoahoc.style.display = "inline";
		tblDoitac.style.display = "none";
		tblCongdong.style.display = "none";
	}
	if (val == 3)
	{
		aVieclam.className = "taboff";
		aKhoahoc.className = "taboff";
		aDoitac.className = "tabon";
		aCongdong.className = "taboff";
		
		tdVieclam.className = "taboff";
		tdKhoahoc.className = "taboff";
		tdDoitac.className = "tabon";
		tdCongdong.className = "taboff";
		
		tblVieclam.style.display = "none";
		tblKhoahoc.style.display = "none";
		tblDoitac.style.display = "inline";
		tblCongdong.style.display = "none";
	}
	if (val == 4)
	{
		aVieclam.className = "taboff";
		aKhoahoc.className = "taboff";
		aDoitac.className = "taboff";
		aCongdong.className = "tabon";
		
		tdVieclam.className = "taboff";
		tdKhoahoc.className = "taboff";
		tdDoitac.className = "taboff";
		tdCongdong.className = "tabon";
		
		tblVieclam.style.display = "none";
		tblKhoahoc.style.display = "none";
		tblDoitac.style.display = "none";
		tblCongdong.style.display = "inline";
	}
}

    function showRecruitment(type)
    {
        var tblJob = document.getElementById('tblJob');
        var tblEmployee = document.getElementById('tblEmployee');
        
        var dj = document.getElementById('dj');
        var de = document.getElementById('de');
        if(type == 1)
            {
                tblJob.style.display = 'block';
                tblEmployee.style.display = 'none';
                dj.style.display = 'block';
                de.style.display = 'none';
            }
        if(type == 2)
            {
                tblJob.style.display = 'none';
                tblEmployee.style.display = 'block';
                dj.style.display = 'none';
                de.style.display = 'block';
            }
    }

    function ChangeTextPartner(type)
    {
        var con = document.getElementById('ITJobs1_txtPartnerKeyword');
        if(type == '1')
            con.value = 'hệ thống mạng, viễn thông, máy chủ...';
        if(type == '2')
            con.value = 'Mạng, phần cứng, phần mềm...';
         
        if(type == '3')
        {
            var con = document.getElementById('ITJobs1_txtGroupKeyword');
            con.value = 'IBM Lenovo, Iphone...';
        }
        if(type == '4')
        {
            var con = document.getElementById('ITJobs1_txtGroupKeyword');
            con.value = 'Phần cứng; phần mềm, mạng, dịch vu...';
        }
    }
    
    function ChangeSubKhaosat(type)
    {
        var rptDocument = document.getElementById('tabbinhchon');
        //var rptSoftware = document.getElementById('tabkhaosat');
        var rptUtilities = document.getElementById('tabprediction');
        //var rptCaseStudies = document.getElementById('tabonlineclass');
        
        if(type == 1)
        {
            rptDocument.style.display = 'block';
            //rptSoftware.style.display = 'none';
            rptUtilities.style.display = 'none';
            //rptCaseStudies.style.display = 'none';
        }
        if(type == 2)
        {
            rptDocument.style.display = 'none';
            //rptSoftware.style.display = 'block';
            rptUtilities.style.display = 'none';
            //rptCaseStudies.style.display = 'none';
        }
        if(type == 3)
        {
            rptDocument.style.display = 'none';
           // rptSoftware.style.display = 'none';
            rptUtilities.style.display = 'block';
            //rptCaseStudies.style.display = 'none';
        }
        if(type == 4)
        {
            rptDocument.style.display = 'none';
            //rptSoftware.style.display = 'none';
            rptUtilities.style.display = 'none';
            //rptCaseStudies.style.display = 'block';
        }
    }
    
    
function ShowNewsforRightTab(val)
{
    var tblBailienquan = document.getElementById('tblBailienquan');
    var tblBaimoinhat = document.getElementById('tblBaimoinhat_topic');
	var tblBaiNoibat = document.getElementById('tblBainoibat_topic');
	
	var tdBailienquan_topic = document.getElementById('tdBailienquan_topic');
	var tdBaimoinhat = document.getElementById('tdBaimoinhat_topic');
	var tdNoibat = document.getElementById('tdNoibat_topic');
	
	var hplBailienquan_topic = document.getElementById('hplBailienquan_topic');
	var aBaimoinhat = document.getElementById('hplBaimoi_topic');
    var aBaiNoibat = document.getElementById('hplNoibat_topic');
	if (val == 1)
	{
	    hplBailienquan_topic.className = "tabon";
		aBaimoinhat.className = "taboff";
		aBaiNoibat.className = "taboff";
		
		tblBailienquan.style.display = "block";
		tblBaimoinhat.style.display = "none";
		tblBaiNoibat.style.display = "none";
	}
	if (val == 2)
	{
		hplBailienquan_topic.className = "taboff";
		aBaimoinhat.className = "tabon";
		aBaiNoibat.className = "taboff";
		
		tblBailienquan.style.display = "none";
		tblBaimoinhat.style.display = "block";
		tblBaiNoibat.style.display = "none";
	}
	if (val == 3)
	{
		hplBailienquan_topic.className = "taboff";
		aBaimoinhat.className = "taboff";
		aBaiNoibat.className = "tabon";
		
		tblBailienquan.style.display = "none";
		tblBaimoinhat.style.display = "none";
		tblBaiNoibat.style.display = "block";
	}
}
function DnMnNb(val)
{
    var tblDocnhieu = document.getElementById('tblDocnhieu');
    var tblMoinhat = document.getElementById('tblMoinhat');
	var tblNoibat = document.getElementById('tblNoibat');
	
	var tdDocnhieu = document.getElementById('tdDocnhieu');
	var tdMoinhat = document.getElementById('tdMoinhat');
	var tdNoibat = document.getElementById('tdNoibat');
	
	var hplDocnhieu = document.getElementById('hplDocnhieu');
	var aMoinhat = document.getElementById('hplMoinhat');
    var aNoibat = document.getElementById('hplNoibat');
	if (val == 1)
	{
	    hplDocnhieu.className = "tabon";
		aMoinhat.className = "taboff";
		aNoibat.className = "taboff";
		
		tblDocnhieu.style.display = "block";
		tblMoinhat.style.display = "none";
		tblNoibat.style.display = "none";
	}
	if (val == 2)
	{
		hplDocnhieu.className = "taboff";
		aMoinhat.className = "tabon";
		aNoibat.className = "taboff";
		
		tblDocnhieu.style.display = "none";
		tblMoinhat.style.display = "block";
		tblNoibat.style.display = "none";
	}
	if (val == 3)
	{
		hplDocnhieu.className = "taboff";
		aMoinhat.className = "taboff";
		aNoibat.className = "tabon";
		
		tblDocnhieu.style.display = "none";
		tblMoinhat.style.display = "none";
		tblNoibat.style.display = "block";
	}
}
function ShowNewsforRightTab_topic(val)
{
    var tblBaimoinhat = document.getElementById('tblBaimoinhat_topic');
	var tblBaiNoibat = document.getElementById('tblBainoibat_topic');
	
	var tdBaimoinhat = document.getElementById('tdBaimoinhat_topic');
	var tdNoibat = document.getElementById('tdNoibat_topic');
	
	var aBaimoinhat = document.getElementById('hplBaimoi_topic');
    var aBaiNoibat = document.getElementById('hplNoibat_topic');
	if (val == 1)
	{
		aBaimoinhat.className = "tabon";
		aBaiNoibat.className = "taboff";
		
		tblBaimoinhat.style.display = "block";
		tblBaiNoibat.style.display = "none";
	}
	if (val == 2)
	{
		aBaimoinhat.className = "taboff";
		aBaiNoibat.className = "tabon";
		
		tblBaimoinhat.style.display = "none";
		tblBaiNoibat.style.display = "block";
	}
}
