$(document).ready(function (){
     $(window).resize(function(){
        var cont_height = $('#content').height();
        $('#left-sidebar').css('height', cont_height + 150);
        $('#right-sidebar').css('height', cont_height + 150);
    }).resize();					
});


$(function(){
		   
		   

    $('ul#tabs-menu li a').click(function()
    {
        $("ul#tabs-menu li").removeClass("active");
        $(this).parent().addClass("active");


        $.ajax({
           url: $(this).attr('href'),
           beforeSend:  function(){$('#tab-content').html('').css('background-image', 'url(/images/ajax-loader.gif)');  },
           success: function(datas){
                $('#tab-content').html(datas).css('background-image', '');
                $("#load").hide();
            }
        })

        return false;
    });

});
