function OnSearchCatChange()
{
  var Category = document.getElementById("category");
  var CatValue = Category.options[Category.selectedIndex].value;
  
  if (CatValue != -1)
    location.href = "?category=" + CatValue;
  else
    location.href = "/";
}