/g, '>') .replace(/"/g, '"') .replace(/<(\/?strong)>/g, '<$1>'); }; var label = '' + highlight_and_escape(suggestion.data.xref) +' '+ '' + suggestion.data.omaid + ''+ '' + highlight_and_escape(suggestion.data.genome.species) + ''; return label; }, onSelect: function(item){ window.location.href = "/oma/vps/" + item.data.entry_nr; return false; } }; $('#textNav').autocomplete(autocomplete_opts); $('#inputBrowser').autocomplete(autocomplete_opts); update_autocomplete_enableing('searchNavForm');