function TrendSearch(value){
    value = value.replace(/ /g, "+");
    window.location = "/" + value;
}
function ProductSearch(value, catselectobj){
    value = value.replace(/ /g, "+");
    catname = "All";
    for(i=0; i<catselectobj.length; i++){
      if(catselectobj.value == catselectobj.options[i].value)
          catname = catselectobj.options[i].text;
    }
    catname = catname.replace(/ /g, "+");
    window.location = "/product/" + catname + "/" + value;
}