﻿$(function(){


/*「TOP」　NEWS欄の高さ変更 */
	$("#news img").toggle(function(){
	$("#news ul").animate({height : "300px"},"slow","linear");
	},function(){
	$("#news ul").animate({height : "500px"},"slow","linear");
	},function(){
	$("#news ul").animate({height : "174px"},"slow","linear");
	});
	

/*「ぶうしすてむとは」　パネル開閉 */
	$("#right_column dt").click(function(){
		$("#right_column dd:not(:animated)").slideToggle("slow");
	});


/*「助成金一覧」　特定列（金額：4列目）にクラス（右揃え：text_right）指定 */
	$("#zyoseikin tr th:nth-child(4)").addClass("text_right");
	$("#zyoseikin tr td:nth-child(4)").addClass("text_right");


/*「歴史と活動」　奇数行にクラス設定 */
	$(".history tr:nth-child(odd)").addClass("odd_bgcolor");
/*「歴史と活動」　先頭行にクラス設定 */
	$(".history tr:nth-child(1)").addClass("first_bgcolor");


});
