/* ------------------------------------------------------------
	DD_belatedPNG 透過PNGの処理
------------------------------------------------------------*/
/* 処理 */
$(function(){
if ($.browser.msie && $.browser.version < 7.0){
$("img[src$='png']").addClass("iepngfix");
DD_belatedPNG.fix('.iepngfix');
}
})
/* ------------------------------------------------------------
jquery.innerfade.js
------------------------------------------------------------*/			  
$(document).ready(function() { 
$('.fade').innerfade({
speed: 2000,
timeout: 6000,
type: 'sequence',
containerheight: '320px'
});
});
/* ------------------------------------------------------------
フォントサイズ
------------------------------------------------------------*/		
$(function(){
$("#jstyle").attr({href:$.cookie('style')});
});
function jstyle(cssurl){
$('#jstyle').attr({href:cssurl});
$.cookie('style',cssurl,{expires:30,path:'/'});
}
/* ------------------------------------------------------------
複数のボックスの高さを最大値にそろえる
------------------------------------------------------------*/		
/* 珈琲道楽ショップ　商品一覧 */
$(function(){
$('#section1.autoHeightBox div.box').autoHeight({column:3,clear:1});
$('#section2.autoHeightBox div.box').autoHeight({column:3,clear:1});
$('#section3.autoHeightBox div.box').autoHeight({column:3,clear:1});
});

/* ------------------------------------------------------------
	スムーススクロール
------------------------------------------------------------
jQuery.fn.extend({
scrollTo : function(speed, easing) {
if(!$(this)[0].hash || $(this)[0].hash == "#") {
return false;
}
return this.each(function() {
var targetOffset = $($(this)[0].hash).offset().top;
$('html,body').animate({scrollTop: targetOffset}, speed, easing);
});
}
});

$(document).ready(function(){
$('a[href*=#]').click(function() {
$(this).scrollTo(500);
return false;
});
});*/
