function search_check()
 {  
     var search=document.searchform.search.value;
     if(search=="") 
     {
        alert("Enter Search Word");
        document.sform.searchform.focus();
     }
     else{
         window.location.href="search.php?search="+search;
     }
 }

