(function(d,c){d.effects.highlight=function(a){return this.queue(function(){var i=d(this),j=["backgroundImage","backgroundColor","opacity"],b=d.effects.setMode(i,a.options.mode||"show"),h={backgroundColor:i.css("backgroundColor")};if(b=="hide"){h.opacity=0}d.effects.save(i,j);i.show().css({backgroundImage:"none",backgroundColor:a.options.color||"#ffff99"}).animate(h,{queue:false,duration:a.duration,easing:a.options.easing,complete:function(){(b=="hide"&&i.hide());d.effects.restore(i,j);(b=="show"&&!d.support.opacity&&this.style.removeAttribute("filter"));(a.callback&&a.callback.apply(this,arguments));i.dequeue()}})})}})(jQuery);