(function(a){a.effects.blind=function(b){return this.queue(function(){var c=a(this),h=["position","top","left"],e=a.effects.setMode(c,b.options.mode||"hide"),g=b.options.direction||"vertical";a.effects.save(c,h);c.show();var d=a.effects.createWrapper(c).css({overflow:"hidden"}),i=g=="vertical"?"height":"width",j=g=="vertical"?d.height():d.width();e=="show"&&d.css(i,0);var f={};f[i]=e=="show"?j:0;d.animate(f,b.duration,b.options.easing,function(){e=="hide"&&c.hide();a.effects.restore(c,h);a.effects.removeWrapper(c);b.callback&&b.callback.apply(c[0],arguments);c.dequeue()})})}})(jQuery)