$(function() {
    $('#slider').easySlider({
		pause: 4000,
		speed: 700,
		numeric: true,
		continuous: true,
		auto: true
	});
    
    if ($.browser.msie && parseInt($.browser.version) < 9 ) {
        $(".b-categories h2").each(function(i) {
            pos = $(this).css({'z-index':10, position:'relative'}).position();
            shadow = $('<div class="ie-shadow" />')
                .css({
                    width: $(this).width(),
                    height: $(this).height(),
                    left: (pos.left-2) + "px",
                    top:  (pos.top + 2) + "px"
                });
            $(this).after(shadow);
        });
    }
});
