problem with search
<p>Hey, I've a search in website. If i search for a particular world it works fine in all pages but not in contact us. contact us page contains validation controls. I tried with removing validation controls, then the search works fine. any help on these how to make search though validation controls, are present.</p>

 
 

 
 
 
 


   
       function KeyPress(txt)
       {
          //alert(txt);
           if(txt == "Search")
           {                            
               document.getElementById("ctl00_txtSearch").value = "";
            }
        }

       function OnBlur(txt)
       {

        if(txt == "")
        {
          document.getElementById("ctl00_txtSearch").value = "Search";
          // txtSearch.style.color = "silver";
        }
       } 

       function button_onclick()
      {
        if(document.getElementById("").value == "" ||                              document.getElementById("").value == "Search ")
       {
         document.getElementById("").focus();
         alert("Please Enter Text");
          return false;
        }
      }
  



 




<p>
 




    
 </p>
