
function
QuickSearch(container, data)
{
  this.div = pbu.$("\<div class='quicksearch'><form action=''>\<input type='text' name='q' value='sök' / ><input type='image' value='submit' src='/hme_v3/img/header_searchinp_submit.gif' alt='Sök' title='Sök' /></form></div>")[0];
  container.appendChild(this.div);
  pbu.$("form", this.div).bind("submit", function() {
    if (this.q.value == "sök" || this.q.value=="")
      document.location.href = "search";
    else
      document.location.href = "search#flg:,a:"+this.q.value;
    return false;
  });
  pbu.$("input[type=text]", this.div).bind("focus", function() {
    if (this.value == "sök") {
      this.value="";
      this.style.color="#111";
    }
  });
  this.applyUpdate(data);
}

QuickSearch.prototype.applyUpdate = function(json) {
}

