function selectTab(t,id,groupClass){
    $("."+groupClass).not($("#"+id)).hide();
    $("#"+id).show();
    $(t).siblings().each(function(i,n){ $(n).find("img").attr("src","img/"+$(n).attr("out_src")); });
    $(t).find("img").attr("src","img/"+ $(t).attr("on_src"));
}
function getPilotInfo(pid){
    var t=$(".td001");
    //alert($(t).html());
    $.ajax({
              type: "POST",
              url: "server.php",
              data: "action=pilotInfo&pid="+pid,
              success: function(msg){
                alert( "Data Saved: " + msg );
                $(t).append("<div>"+msg+"</div>")
              }
            });
            
}
function toggleDetail(n){
 /*   alert("asd");
    alert($(n).next().html());
    var t=$(n).next();
    $("n").toggle(function(){
      $(this).next().show();
    },function(){
      $(this).next().hide();
    });
    
  */  
    
    
    /*$(n).next().toggle(function(){
        $(this).show();
        alert("1");
    },
    function(){
        $(this).hide();
        alert("2");
    });*/
}


