/////////tabパネルの設定/////////////////
jQuery(function($){
	var tabArea = $('div.tabArea');
	var tabPanel = $('div.tab_panel',tabArea);
	var tab = $('ul.tab li',tabArea);
	
	tabPanel.not(':first').hide();
	
	tab.eq(0).addClass('active');
	tab.click(function(){
		var targetTabId = $('a',this).attr('hash');
		
		tab.removeClass('active');
		tabPanel.hide();
		$(this).addClass('active');
		$(targetTabId).show();
		
		return false;
	});
});


/////////tableソートの設定/////////////////
// add parser through the tablesorter addParser method
$.tablesorter.addParser({
// set a unique id
	id: 'd1',
	is: function(s) {
// return false so this parser is not auto detected
	return false;
	},
	format: function(s) {
// format your data for normalization
	return s.toLowerCase().replace(/0/,0);
	},
// set type, either numeric or text
	type: 'numeric'
});

$(function() {
	$("#list01").tablesorter({
		headers: {   sorter:'digit'}
	});
	$("#list02").tablesorter({
		headers: {   sorter:'digit'}
	});
});

