function accessMap()
{
window.open("access.html","map","width=640, height=600, x=30, y=0, menubar=no,toolbar=no,status=no,favorites=no,scrollbars=no,resizable=yes,location=no,");
}

$(function(){
	setInterval( "slideSwitch()", 10000 );
	$(".over").mouseover(function(){
		$(this).fadeTo(50,0.4).fadeTo(400,1.0);
	});

	// Easingの追加
	$.easing.quart = function (x, t, b, c, d) {
		return -c * ((t=t/d-1)*t*t*t - 1) + b;
	};
	
	$('a[href*=#]').click(function() {
		if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') && location.hostname == this.hostname) {
			var $target = $(this.hash);
			$target = $target.length && $target || $('[name=' + this.hash.slice(1) +']');
			if ($target.length) {
				var targetOffset = $target.offset().top;
				$('html,body').animate({ scrollTop: targetOffset }, 1200, 'quart');
				return false;
			}
		}
	});
	
});

