var BlurbFinder=new Class({Extends:Autocompleter.Request.JSON,initialize:function(c,b,a){a=$merge({fxOptions:null,maxChoices:5,overflow:true,postVar:"search",injectChoice:this.injectChoice.bind(this)},a);this.parent(c,b,a);this.choices.addEvent("mousedown",function(d){new Event(d).stop().preventDefault()})},injectChoice:function(c){var a=new Element("div");var d='<table><tr><td class="img">';if(c.mini){new Element("img",{src:c.mini,alt:"img"}).inject(a)}d+=a.get("html");d+='</td><td class="text">';new Element("strong",{html:c.displayTitle}).inject(a.empty());new Element("p",{html:c.text}).inject(a);d+=a.get("html");d+="</td></tr></table>";var b=new Element("li",{html:this.markQueryValue(d)});b.store("blurb",c);b.inputValue=this.options.getValue?this.options.getValue(c):c.type+":"+c.id;this.addChoiceEvents(b).inject(this.choices)}});