jQuery(document).ready(function() {


jQuery(function(){

        jQuery('.box').hover(function(){
                jQuery(this).find('img').fadeTo("slow", 0.60);
        }, function(){
                jQuery(this).find('img').fadeTo("fast", 1);
        });  });


 $('.in_rej').focus(function() {
$(this).removeClass();
$(this).addClass('in_rej_on');
});

 $('.in_rej').blur(function() {
$(this).removeClass();
$(this).addClass('in_rej');
});


 $('.a_rej').focus(function() {
$(this).removeClass();
$(this).addClass('a_rej_on');
});

 $('.a_rej').blur(function() {
$(this).removeClass();
$(this).addClass('a_rej');
});

      $('.box-white').mouseover(function() {

$(this).addClass('box_black');
return false;
});


$('.box-white').mouseout(function() {
$(this).removeClass('box_black');
return false;
});



      $('.imm').mouseover(function() {

$(this).addClass('imm_on');
return false;
});

$('.imm').mouseout(function() {
$(this).removeClass('imm_on');
return false;
});


$('#cennik tr:even').addClass('tr_even');




 jQuery("#to-top").bind("click", function() {
                     jQuery('html,body').animate({scrollTop: jQuery("body").offset().top}, 500);
                      return false;
     });



});






