jQuery.fn.liveUpdate = function(list){
  list = jQuery(list);
  if ( list.length ) {
    var rows = list.children('li'),
      cache = rows.map(function(){
        return this.innerHTML.toLowerCase();
      });
      
    this
      .keyup(filter).keyup()
      .parents('form').submit(function(){
        //return false;
      });
  }
  rows.hide();
   jQuery("#livesearch").append('<li class="start">Go on, enquire.<br />Suggestions are based on post titles using Quicksilver.</li>')
  return this;
    
  function filter(){
    var term = jQuery.trim( jQuery(this).val().toLowerCase() ), scores = [];
    if ( !term ) {
      rows.hide();
    } else {
      rows.hide();
       jQuery("#livesearch .start").remove();
      cache.each(function(i){
        var score = this.score(term);
        if (score > 0) { scores.push([score, i]); }
      });
      jQuery.each(scores.sort(function(a, b){return b[0] - a[0];}), function(i){
      	if( i<6 && term != '' && term != jQuery("#s").attr('title') ){
        	jQuery(rows[ this[1] ]).show();
        }
      });
    }
  }
};