/*
 * Copyright (c) DESIGN inc. All Rights Reserved.
 * http://www.design-inc.jp/
 *
 */

jQuery(function($){
	
	// liとtrの奇数・偶数・最初・最後にクラス付与（odd, even, first, last）
	$('li:nth-child(odd), tr:nth-child(odd)').addClass('odd');
	$('li:nth-child(even), tr:nth-child(even)').addClass('even');
	$('li:first-child, tr:first-child').addClass('first');
	$('li:last-child, tr:last-child').addClass('last');
	
	// 画像ロールオーバー
	$.fn.rollOver({
		animateTime: 300,
		fadeOpacity: 0.7,
		easing: 'easeOutCubic'
	});
	
	// スクロール
	$('a.scroll').easingScroll({
		easing: 'easeOutCubic',
		duration: 500
	});
	
	// fixHeight.js
	$(".fixHeight").fixHeight();
	
	// jquery.aw-showcase.min.js
	$("#showcase").awShowcase({
		content_width:			500,
		content_height:			350,
		fit_to_parent:			false,
		auto:					false,
		interval:				3000,
		continuous:				false,
		loading:				true,
		arrows:					false,
		buttons:				false,
		btn_numbers:			false,
		keybord_keys:			false,
		mousetrace:				false,
		pauseonover:			true,
		stoponclick:			true,
		transition:				'fade',
		transition_delay:		300,
		transition_speed:		500,
		show_caption:			'onhover',
		thumbnails:				true,
		thumbnails_position:	'outside-last',
		thumbnails_direction:	'horizontal',
		thumbnails_slidex:		0,
		dynamic_height:			false,
		speed_change:			false,
		viewline:				false
	});
	
	
	
	// jquery.aw-showcase.min.js
	$("#showcase2").awShowcase({
		content_width:			590,
		content_height:			400,
		fit_to_parent:			false,
		auto:					false,
		interval:				3000,
		continuous:				false,
		loading:				true,
		arrows:					false,
		buttons:				false,
		btn_numbers:			false,
		keybord_keys:			false,
		mousetrace:				false,
		pauseonover:			true,
		stoponclick:			true,
		transition:				'fade',
		transition_delay:		300,
		transition_speed:		500,
		show_caption:			'onhover',
		thumbnails:				true,
		thumbnails_position:	'outside-last',
		thumbnails_direction:	'vertical',
		thumbnails_slidex:		0,
		dynamic_height:			false,
		speed_change:			false,
		viewline:				false
	});


});
