congact=null;

$(document).ready(function ()
{
  congact=$('#cong1');
  $('.congdiv').each(function(){
    if (!$(this).hasClass('congactive')) $(this).hide();
  });
  $('#congmenu a').click(function(e){
    e.preventDefault();
    $('#congmenu a').removeClass('congsel');
    $(this).addClass('congsel')
    congchange('#cong'+$(this).attr('href').substr(1,1));
  });
});

function congchange(id)
{
  $(congact).fadeOut(function(){$(id).fadeIn();});
  congact=$(id).get(0);
}

