jQuery.fn.extend({haccordion:function(b){var a=jQuery;var b=a.extend({speed:300,headerclass:"header",contentclass:"content",event:"mouseover",contentwidth:463},b);return this.each(function(){this.opened=a("."+b.contentclass,this).filter(".visible").prev();a("."+b.headerclass+" a",this).bind(b.event,function(){var c=a(this).parent().parent()[0];if(c.opened!="undefined"){a(c.opened).next("div."+b.contentclass).animate({width:"0px"},b.speed)}c.opened=a(this).parent();a(c.opened).next("div."+b.contentclass).animate({width:b.contentwidth+"px"},b.speed);return false})})}});