$(document).ready(function(){
	$('ul.index > li > a').click(function(){	
		var li = $(this).parent();
		if (li.find('div.subindex').css('display') == 'none')
			li.find('div.subindex').animate({height: "show"}, 300);
		else
			li.find('div.subindex').animate({height: "hide"}, 300);
		return false;
	});

});
