/*//////////////////////////////////////////////////////////
//
//  # jQuery Modal Loding..
//  # jQuery pngFix..
//
//  - Auth: ekkun.com [eiji@ekkun.com]
//  - 2011-10-13 (Thu)
//
//////////////////////////////////////////////////////////*/


jQuery(window).ready(function(){
	var wrapperH       = jQuery('#wrapper').outerHeight();
	var contentH       = jQuery('#primary-column').outerHeight();
	var secondaryH    = jQuery('#secondary-column').outerHeight();
//	var footerH       = jQuery('#footer').outerHeight();
	var BLOCK_HEIGHT  = wrapperH + contentH + secondaryH + 500;
//	jQuery('#modal').css('width', BLOCK_WIDTH + 'px');
	jQuery('#modal').css('height', BLOCK_HEIGHT + 'px');
	if (jQuery('#modal')){
		blind_timerid = setTimeout('hide_blind()',4000);
		hide_blind();
	}
});

function hide_blind(){
	jQuery('#modal').fadeOut(4000);
	clearTimeout(blind_timerid);
}

jQuery(document).ready(function(){
	// 透過 PNG
	jQuery(document).pngFix();

	// スクロール
	jQuery("a[href='#top'], a[href='#accuiel'], a[href='#boutique'], a[href='#chef'], a[href='#produits'], a[href='#blog'], a[href='#lines']").easingScroll({
//		easing:		"easeInOutExpo",
		duration:	1200
	});

	// 高さを揃える
//	$('#produits ul li').flatHeights();
//	$('#produits02 ul li').flatHeights();
//	$('#produits03 dl li').flatHeights();

	// 横スクロール
	jQuery("div.slidetable").scrollable({
		size: 3
//	}).navigator().circular().autoscroll(5000);;
	}).navigator().circular();;
});



