﻿ 
function showTab(id,n){
  
    $(id+" .t-t li").each(function(i){
        if(i==n){
            $(this).addClass("selected");
        }else{
            $(this).removeClass("selected");
        }
    });
    
    $(id+" .t-c").each(function(i){
        if(i==n){
            $(this).show();
        }else{
            $(this).hide();
        }
    });


}


