$(function(){
    $(".info_block").css("display","block");
    $(".info_block").hide();

//    if ($.browser.msie && $.browser.version.substr(0,1)<7)
 //       return;

    $(".menu_index a").hover(function(){
        img = $(this).children("img");
        if (! img.attr('dec_width')) {
            img_height = img.attr("height");
            img_width = img.attr("width");
            img.attr({ "dec_width": img_width, "dec_height": img_height });
        }
        img_inc_width = img.attr("inc_width");
        img_inc_height = img.attr("inc_height");

        img.animate({"width": img_inc_width, "height": img_inc_height, "margin-top": -20}, 150);

//        if ($.browser.msie && $.browser.version.substr(0,1)<7)
            return;

        $(this).parent().parent().find(".info_block").show();
    }, function(){
        img = $(this).children("img");
        img_dec_width = img.attr("dec_width");
        img_dec_height = img.attr("dec_height");

        img.stop();
        img.animate({"width": img_dec_width, "height": img_dec_height, "margin-top": 0}, 150);

 //       if ($.browser.msie && $.browser.version.substr(0,1)<7)
            return;

        if ($.browser.msie) {
            $(this).parent().parent().find(".info_block").hide();	
        } else {
            $(this).parent().parent().find(".info_block").fadeOut();	
        }
    });

    if ($.browser.msie) {
        $(".top_breadcrumbs, .top_breadcrumbs a").textShadow();
    }
});

