How to remove or hide a custom subtab or sublist (both works for me)  from a record using script. 
Note : I wanted the subtab/sublist to display only if a check box is selected. 
1.The record is vendor.
2.The subtab is custom one . The sublist in it is also custom sublist.
 Please help me with inputs. Thanks.!