// JavaScript Document
//jQuery Easing Plugin（加速減速）
$(function(){
	$('a[href*=#]').click(function() {
		if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') && location.hostname == this.hostname) {
			var target = $(this.hash);
			target = target.length && target;
			if (target.length) {
				var sclpos = 30;
				var scldurat = 500;
				var targetOffset = target.offset().top - sclpos;
				$('html,body')
					.animate({scrollTop: targetOffset}, {duration: scldurat, easing: "easeOutExpo"});//jquery.easing.1.3.jsに記述
				return false;
			}
		}
	});
});

//jQuery Text Resizer Plugin（フォントサイズの変更）
$(function(){
$("ul.textresizer a").textresizer({
target: "#targetBody",
sizes: ["13px","14px"]
});
});

//jQuery(document).ready( function() {
//		jQuery( "#textsizer a" ).textresizer({
//			target: "#targetBody",
//			type: "fontSize",
//			sizes: [ "11px", "13px", "15px", "17px" ],
//			selectedIndex: 1
//		});
//	});

