﻿function search()
{

    var condition = document.getElementById("txt_condition").value;
    if(condition=="")
    {
        alert("Please enter the product name");
    }
    else
    {
        condition = escape(condition);

        self.location="Products.aspx?condition="+condition;
    }
}
