/*高さ揃え*/
function equalHeight(group) {
	tallest = 0;
	group.each(function() {
		thisHeight = $(this).height();
		if(thisHeight > tallest) {
			tallest = thisHeight;
		}
	});
	group.height(tallest);
}

/*続きをたたむ*/
function entryMore(){
	var faqListId = '#diary #content .section .entryMore, #program #content .section .entryMore, #location #content .section .entryMore, #news #content .entryMore';
	var btnMore = '#diary #content .section .btnMore a, #program #content .section .btnMore a, #location #content .section .btnMore a, #news #content .btnMore a';
	
	$(faqListId).css('display','none');
	$(btnMore).each(function(){
		$(this).toggle(
			function(){
				$(this).closest('.btnMore').siblings('.entryMore').slideToggle();
				$(this).text('▲続きをたたむ');
				return false;
			},
			function(){
				$(this).closest('.btnMore').siblings('.entryMore').slideToggle();
				$(this).text('▼続きを読む');
				return false;
			}
		);
	});
};

$(function(){
	entryMore();
})
