//Search JScript File
 
        function checkDate(sender,args)
        {
            if (sender._selectedDate < new Date()) 
            {
                // alert("You cannot select a day earlier than today!");
                sender._selectedDate = new Date(); 
                // set the date back to the current date
                sender._textbox.set_Value(sender._selectedDate.format(sender._format))
            }
        }
  


	

        function SelectOne(rdo,gridName)
        {
             all=document.getElementsByTagName("input");
              for(i=0;i<all.length;i++)
             {
                  if(all[i].type=="radio")
                  {             
                        
                        var count=all[i].id.indexOf(gridName);                                      
                        if(count!=-1)
                        {
                          all[i].checked=false;
                        }
                  }
             }
             rdo.checked=true;
        }
        
       
