//ボタンの画像切替の場合に使用する。
// buttonImageChanger(ボタンのクラス, マウスオーバーした時の画像, マウスアウトした時の画像 );
// 使用例
// buttonImageChanger('btn_ok', '/images/btn_ok_on.gif', '/images/btn_ok.gif');

function buttonImageChanger(cls, img1, img2){
	$('.'+cls).hover(
		function(){ $(this).attr('src', img1);},
		function(){ $(this).attr('src', img2);}
	);
}
