// JavaScript Document



////////////////////////////////////////////////////////

//  スムーズスクロール

////////////////////////////////////////////////////////


//jQuery(function(){
//jQuery("a#pageTop").click(function(){
//	jQuery.scrollTo('html,body', 300);});
//	return false;
//});

// 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(){  
jQuery('a[href*=#]').click(function() {  
	if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') && location.hostname == this.hostname) {  
		jQuery.target = jQuery(this.hash);  
    jQuery.target = jQuery.target.length && jQuery.target || jQuery('[name=' + this.hash.slice(1) +']');  
    if (jQuery.target.length) {  
    	var targetOffset = jQuery.target.offset().top;  
      jQuery('html,body').animate({ scrollTop: targetOffset }, 500);  
      return false;  
      }  
	}  
	});
});



////////////////////////////////////////////////////////

//  block要素の高さをそろえる

////////////////////////////////////////////////////////

jQuery(function(){  
    jQuery('.newsListLatest li').flatHeights();
    jQuery('.newsList li').flatHeights(); 
    jQuery('.newList li').flatHeights();
}); 
