// JavaScript Document


/* #scrool   */
$(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 = 1200;
				var targetOffset = target.offset().top - sclpos;
				$('html,body')
					.animate({scrollTop: targetOffset}, {duration: scldurat, easing: "easeOutExpo"});
				return false;
			}
		}
	});
});
/* #scrool   */


/* #textresize*/
$(function(){
	$("ul.text_resize a").textresizer({
	     target: ".contents",
	     sizes:  [ ".8em", "1em", "1.5em" ]
	});
});





