$(document).ready(function() {

    $.fn.customFadeTo = function(speed,to,callback) {

            return this.animate({opacity: to}, speed, function() {

                if (to == 1 && jQuery.browser.msie)

                    this.style.removeAttribute('filter');

                if (jQuery.isFunction(callback))

                    callback();

            });

        };



        $("#food_outlets img").hover(

            function () { $('#food_outlets img').stop().fadeTo (350, 0.3);

                    $(this).stop().css('opacity', '1'); },

            function () { $('#food_outlets img').stop().fadeTo (350, 1);  });

        

});
