$(document).ready(function () {
	
	$('#area_updated .bloc table').flatHeights();
	$('#area_updated .bloc p').flatHeights();
	$('#area_recommend .bloc table').flatHeights();
	$('#area_recommend .bloc p').flatHeights();
	
	$('.bloc a').bigTarget({
		hoverClass: 'blochover', // CSS class applied to the click zone onHover
		clickZone : 'div:eq(0)' // jQuery parent selector
	});
	
	$('.bloc_head').corner('round 6px');
	$('.bloc_wr').corner('round 6px');
	$('#area_detail .bloc_buy').corner('round 6px');
	$(".jquery_tabs").accessibleTabs({
	wrapperClass: 'content',
	currentClass: 'current',
	tabhead: 'h5',
	tabbody: '.tabbody',
	fx:'fadeIn',// can be 'fadeIn', 'slideDown', 'show'
	fxspeed: 'normal',
	// speed (String|Number): 'slow', 'normal', or 'fast') or the number of
	// milliseconds to run the animation
	currentInfoText: '',
	// text to indicate for screenreaders which tab is the current one
	currentInfoPosition: 'prepend',
	// Definition where to insert the Info Text.
	// Can be either 'prepend' or 'append'
	currentInfoClass: 'current-info'
	});
	
	$('#footer li:first-child').addClass('alt');
	
	$('a[href*=#top]').click(function () {
		$(this).blur();
		$('html,body').animate({ scrollTop: 0 }, 300);
		return false;
	});
	
});
