data=new Array("../images/bt_style1_on.png","../images/bt_style2_on.png","../images/bt_style3_on.png");
prImag=new Array();
for (i=0;i<data.length;i++){
	prImag[i]=new Image();
	prImag[i].src=data[i];
}


// Easingの追加
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('[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 }, 600, 'quart');
				return false;
			}
		}
	});
	
});
	

/*-------------------------------------
アコーディオン
-------------------------------------*/
jQuery(document).ready(function(){

$(function(){
        $('ul.list-02').css('display','none');
        $('ul.list-03').css('display','none');
		$('ul.list-04').css('display','none');
		$('ul.list-05').css('display','none');
		$('ul.list-06').css('display','none');
		$('ul.list-07').css('display','none');
    });

	
$(function(){
        var handler = $('#accordion05 h3'),
        menus = $('#accordion05 ul');
        handler.click(function(){
            var _thisMenu = $(this).next();
            if(_thisMenu.is(':visible')){
            _thisMenu.show();
            }
            else {
            menus.slideUp();
            _thisMenu.slideDown();
            }
        });
    });

});















