

 $(document).ready(function(){
   $(".q1").click(function(){
     hideAll();
     $(".a1").animate({ height: 'show', opacity: 'show' }, 'slow');
   },function(){
     /*$(".a1").animate({ height: 'hide', opacity: 'hide' }, 'slow');*/
   });
 });


 $(document).ready(function(){
   $(".q2").click(function(){
     hideAll();
     $(".a2").animate({ height: 'show', opacity: 'show' }, 'slow');
   },function(){
     /*$(".a2").animate({ height: 'hide', opacity: 'hide' }, 'slow');*/
   });
 });

 $(document).ready(function(){
   $(".q3").click(function(){
      hideAll();
      $(".a3").animate({ height: 'show', opacity: 'show' }, 'slow');
   },function(){
    /**/
   });
 });



 $(document).ready(function(){
   $(".q4").click(function(){
      hideAll();
      $(".a4").animate({ height: 'show', opacity: 'show' }, 'slow');
   },function(){
    /**/
   });
 });

 $(document).ready(function(){
   $(".q5").click(function(){
      hideAll();
      $(".a5").animate({ height: 'show', opacity: 'show' }, 'slow');
   },function(){
    /**/
   });
 });

 $(document).ready(function(){
   $(".q6").click(function(){
      hideAll();
      $(".a6").animate({ height: 'show', opacity: 'show' }, 'slow');
   },function(){
    /**/
   });
 });

 $(document).ready(function(){
   $(".q7").click(function(){
      hideAll();
      $(".a7").animate({ height: 'show', opacity: 'show' }, 'slow');
   },function(){
    /**/
   });
 });

 $(document).ready(function(){
   $(".q8").click(function(){
      hideAll();
      $(".a8").animate({ height: 'show', opacity: 'show' }, 'slow');
   },function(){
    /**/
   });
 });

 $(document).ready(function(){
   $(".q9").click(function(){
      hideAll();
      $(".a9").animate({ height: 'show', opacity: 'show' }, 'slow');
   },function(){
    /**/
   });
 });





function hideAll() {
   
   $(".a1").animate({ height: 'hide', opacity: 'hide' }, 'slow');
   $(".a2").animate({ height: 'hide', opacity: 'hide' }, 'slow');
   $(".a3").animate({ height: 'hide', opacity: 'hide' }, 'slow');
   $(".a4").animate({ height: 'hide', opacity: 'hide' }, 'slow');
   $(".a5").animate({ height: 'hide', opacity: 'hide' }, 'slow');
   $(".a6").animate({ height: 'hide', opacity: 'hide' }, 'slow');
   $(".a7").animate({ height: 'hide', opacity: 'hide' }, 'slow');
   $(".a8").animate({ height: 'hide', opacity: 'hide' }, 'slow');
   $(".a9").animate({ height: 'hide', opacity: 'hide' }, 'slow');
}

