# FitPack::slide.pl i-maruyama@fit.ac.jp
# Ref. http://hppg.moe.hm/okwave/qa/q7414453/
$::inline_plugin{'slide.pl_version'}= sub{'FitPack::slide.pl 1.0'};
push(@::html_header,<<HTML);
<script type="text/javascript" src="https://www.google.com/jsapi"></script>
<script type="text/javascript">google.load('jquery','1');</script>
<script type="text/javascript">
	\$().ready ( function() {
		\$('div.day > h2').click(function() {
			\$('div.section > div').slideToggle('slow');
			\$('div.subsection > div').slideToggle('slow');
		});
		\$('div.section > h3').click(function() {
			\$(this).next().slideToggle('fast');
		}).next().find('div.close').click ( function() {
			\$(this).parent().slideToggle('fast');
		});
		\$('div.subsection > h4').click(function() {
			\$(this).next().slideToggle('fast');
		}).next().find('div.close').click ( function() {
			\$(this).parent().slideToggle('fast');
		});
	});
</script>
<style type="text/css">
h2 { cursor: pointer; }h3 { cursor: pointer; }h4 { cursor: pointer; }
</style>
HTML
