////var h1 = $('#srodek')[0].offsetHeight;
//$(document).ready(
//    function() {
//       // wyrownaj();
//        $('.zakladki li a').click(function() {
//            wyrownaj();
//        });
//
//    }
//
//
//    );
//
//function wyrownaj() {
//    var h1 = $('#katalog_produktow .div')[0].offsetHeight;
//    var h2 = $('#srodek .div')[0].offsetHeight;
//    //alert(h1+" "+h2+" "+h3);
//    //alert(h1);
//alert(h2);
//    var maxH = Math.max(h1,h2);
//    //alert(maxH);
//
//    if(h1 > h2) {
//        $('#srodek').css('height', maxH);
//        $('#katalog_produktow .div').addClass("br");
//    }
//    if(h2 < h1) {
//        $('#katalog_produktow .div').css('height', maxH);
//        $('#srodek .div').addClass("bl");
//    }
//}
