function valid()
 {
   if (document.ff.acat.value=="none")
       {
         alert("Please select your Option")
         document.ff.acat.focus()
         return false   
       }
    
   if (document.ff.name.value=="")
       {
         alert("Please specify the Name")
         document.ff.name.focus()
         return false    
       }


   return true;
 }