   function div_toggle(id)
   {
       $('#ans' + id).toggle();
       $('#show' + id).toggle();
       $('#hide' + id).toggle();
       
       if($('#ans' + id).css('display') == 'none')
       {
            $('#root_rubric' + id).attr('class', 'closed');
       }
       else
       {
            $('#root_rubric' + id).attr('class', 'opened');
       }       
   }
