//// invalid css
document.write('<style type="text/css">body, x:-moz-any-link {font-size:12px;} body, x:-moz-broken { font-size:75%;}body, x:x{ font-size:75%; }html {overflow-y: scroll;}</style>');
document.write('<style type="text/css">#content .image a:hover img,#content .image a:focus img,#content .image a:active img{ opacity: 0.6; filter:alpha(opacity=60);}</style>'); //.image hover


// ページ内リンク
jQuery.easing.quart = function (x, t, b, c, d) {
	return -c * ((t=t/d-1)*t*t*t - 1) + b;
};

// ロード
jQuery(document).ready(function(){

	//
	// <a href="#***">の場合、スクロール処理を追加
	//
	jQuery('a[href*=#]').click(function() {
		if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') && location.hostname == this.hostname) {
			var $target = jQuery(this.hash);
			$target = $target.length && $target || jQuery('[name=' + this.hash.slice(1) +']');
			if ($target.length) {
				var targetOffset = $target.offset().top;
				jQuery('html,body').animate({ scrollTop: targetOffset }, 500, 'quart');
				return false;
			}
		}
	});

});


//// IE6 a:hover
try { 
						document.execCommand('BackgroundImageCache', false, true);
						} catch(e) {}
