$(document).ready(function() {

	//Default Action
	$(".tabbody").hide(); //Hide all content
	$(".tabhead li:first").addClass("current").show(); //Activate first tab
	$(".tabbody:first").show(); //Show first tab content
	
	//On Click Event
	$("ul.tabhead li").click(function() {
		$("ul.tabhead li").removeClass("current"); //Remove any "active" class
		$(this).addClass("current"); //Add "active" class to selected tab
		$(".tabbody").hide(); //Hide all tab content
		var activeTab = $(this).find("a").attr("href"); //Find the rel attribute value to identify the active tab + content
		$(activeTab).fadeIn(); //Fade in the active content
		return false;
	});

});


function MM_showHideLayers() { //v9.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) 
  with (document) if (getElementById && ((obj=getElementById(args[i]))!=null)) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}

$(document).ready( function() {
							
	//フォントサイズ変更
	$( "ul.textResizer a" ).textresizer({
		target: "#wrapper",
		type: "fontSize",
		sizes: [ "80%", "100%", "120%"],
		selectedIndex: 1
	});	
	
});


