$(function(){
  $('#m01').click(function(){
    $('#high').toggle('fast');
    $('#tr,#tr-small,#tr-large,#comp,#comp-trsmall,#comp-trsbd,#comp-mos,#comp-mossbd,#comp-mostr,#ds-expd,#igbt,#diode,#diode-shot,#diode-rect,#diode-small,#diode-frd,#high-tr,#high-fet,#high-diode').hide('fast');
  });

  $('#m01-01').click(function(){
    $('#high-tr').toggle('fast');
    $('#high-fet,#high-diode').hide('fast');
  });

  $('#m01-02').click(function(){
    $('#high-fet').toggle('fast');
    $('#high-tr,#high-diode').hide('fast');
  });

  $('#m01-03').click(function(){
    $('#high-diode').toggle('fast');
    $('#high-tr,#high-fet').hide('fast');
  });

  $('#m02').click(function(){
    $('#tr').toggle('fast');
    $('#high,#high-tr,#high-fet,#high-diode,#comp,#comp-trsmall,#comp-trsbd,#comp-mos,#comp-mossbd,#comp-mostr,#ds-expd,#igbt,#diode,#diode-shot,#diode-rect,#diode-small,#diode-frd,#tr-small,#tr-large').hide('fast');
  });

  $('#m02-01').click(function(){
    $('#tr-small').toggle('fast');
    $('#tr-large').hide('fast');
  });

  $('#m02-02').click(function(){
    $('#tr-large').toggle('fast');
    $('#tr-small').hide('fast');
  });

  $('#m08').click(function(){
    $('#comp').toggle('fast');
    $('#high,#high-tr,#high-fet,#high-diode,#tr,#tr-small,#tr-large,#ds-expd,#igbt,#diode,#diode-shot,#diode-rect,#diode-small,#diode-frd,#comp-trsmall,#comp-trsbd,#comp-mos,#comp-mossbd,#comp-mostr').hide('fast');
  });

  $('#m08-01').click(function(){
    $('#comp-trsmall').toggle('fast');
    $('#comp-trsbd,#comp-mos,#comp-mossbd,#comp-mostr').hide('fast');
  });

  $('#m08-02').click(function(){
    $('#comp-trsbd').toggle('fast');
    $('#comp-trsmall,#comp-mos,#comp-mossbd,#comp-mostr').hide('fast');
  });

  $('#m08-03').click(function(){
    $('#comp-mos').toggle('fast');
    $('#comp-trsmall,#comp-trsbd,#comp-mossbd,#comp-mostr').hide('fast');
  });

  $('#m08-04').click(function(){
    $('#comp-mossbd').toggle('fast');
    $('#comp-trsmall,#comp-trsbd,#comp-mos,#comp-mostr').hide('fast');
  });

  $('#m08-05').click(function(){
    $('#comp-mostr').toggle('fast');
    $('#comp-trsmall,#comp-trsbd,#comp-mos,#comp-mossbd').hide('fast');
  });

  $('#m04').click(function(){
    $('#ds-expd').toggle('fast');
    $('#high,#high-tr,#high-fet,#high-diode,#tr,#tr-small,#tr-large,#comp,#comp-trsmall,#comp-trsbd,#comp-mos,#comp-mossbd,#comp-mostr,#igbt,#diode,#diode-shot,#diode-rect,#diode-small,#diode-frd').hide('fast');
  });

  $('#m05').click(function(){
    $('#igbt').toggle('fast');
    $('#high,#high-tr,#high-fet,#high-diode,#tr,#tr-small,#tr-large,#comp,#comp-trsmall,#comp-trsbd,#comp-mos,#comp-mossbd,#comp-mostr,#ds-expd,#diode,#diode-shot,#diode-rect,#diode-small,#diode-frd').hide('fast');
  });

  $('#m07').click(function(){
    $('#diode').toggle('fast');
    $('#high,#high-tr,#high-fet,#high-diode,#tr,#tr-small,#tr-large,#comp,#comp-trsmall,#comp-trsbd,#comp-mos,#comp-mossbd,#comp-mostr,#ds-expd,#igbt,#diode-shot,#diode-rect,#diode-small,#diode-frd').hide('fast');
  });

  $('#m07-01').click(function(){
    $('#diode-shot').toggle('fast');
    $('#diode-rect,#diode-small,#diode-frd').hide('fast');
  });

  $('#m07-02').click(function(){
    $('#diode-rect').toggle('fast');
    $('#diode-shot,#diode-small,#diode-frd').hide('fast');
  });

  $('#m07-03').click(function(){
    $('#diode-small').toggle('fast');
    $('#diode-shot,#diode-rect,#diode-frd').hide('fast');
  });

  $('#m07-05').click(function(){
    $('#diode-frd').toggle('fast');
    $('#diode-shot,#diode-rect,#diode-small').hide('fast');
  });

  $('#m07-04,#m07-06,#m07-07,#m07-08').click(function(){
    $('#diode-shot,#diode-rect,#diode-small,#diode-frd').hide('fast');
  });

  $('#l-navi').click(function(){
    $('#lcd').toggle('fast');
  });

  $('#pmb').click(function(){
    $('#buffer').toggle('fast');
  });





  $('#contents').click(function(){
    $('#high,#high-tr,#high-fet,#high-diode,#tr,#tr-small,#tr-large,#comp,#comp-trsmall,#comp-trsbd,#comp-mos,#comp-mossbd,#comp-mostr,#ds-expd,#igbt,#diode,#diode-shot,#diode-rect,#diode-small,#lcd,#buffer').hide('fast');
  });

}); 



