jQuery.noConflict(); 
var j$ = jQuery;
/* side-list
-------------------------------------------*/
j$(function(){
	j$("#backnumber dl dt").css("cursor","pointer");
	j$("#backnumber dl dt").toggle(
		function(){
			j$(this).nextAll("dd").hide();
			j$(this).removeClass("minus");
			j$(this).addClass("plus");
		},
		function(){
			j$("#backnumber dl dt:has('dd:visible')").trigger("click");
			j$(this).removeClass("plus");
			j$(this).addClass("minus");
			j$(this).nextAll("dd").show();
		}
	);
	j$("#backnumber dl dt").trigger("click");
	j$("#backnumber h3+dl>dt").trigger("click");

	/* ----090103---- */

	/* close */
	j$("#jq-all .section address").css("cursor","pointer");
	j$("#jq-all .section address").hover(
		function(){
			j$(this).css("text-decoration","none");
			},
		function(){
			j$(this).css("text-decoration","underline");
		}
	);
	j$("#jq-all .section address").click(
		function(){
			j$("#jq-all .section").fadeOut("fast");
		}
	);
	/* kaisetubox */	
	j$("#jq-all .section").hide();
	j$(".hr-images-jQuery .area").css("cursor","pointer")
								.css("width","129px")
								.css("height","25px")
								.css("margin","0 13px 0 0");
	j$(".hr-images-jQuery .area:eq(3)").css("margin","0");
	j$(".hr-images-jQuery .area:gt(3)").css("margin","320px 0 0 0");
	j$(".hr-images-jQuery .area:eq(4)").css("margin-left","27px");
	j$(".hr-images-jQuery .area:eq(5)").css("margin-left","28px")
										.css("width","176px");
	j$(".hr-images-jQuery .area:eq(6)").css("margin-left","27px");
	if (typeof document.body.style.maxHeight == "undefined") {
		j$(".hr-images-jQuery .area:eq(4)").css("margin-left","13px");
	}
	//btn
	j$(".hr-images-jQuery .area").click(function(){
		var btnNum = j$(".hr-images-jQuery .area").index(this);
		j$("#jq-all .section").hide("");
		j$("#jq-all .section").eq(btnNum).fadeIn("fast");
	});
	//090818
	j$("div#rollover01").hover(
		function() {
			j$(this).addClass("over02");
			j$(this).removeClass("over01");
		},
		function() {
			j$(this).addClass("over01");
			j$(this).removeClass("over02");
		}
	);
	//0912 to 01.html
	j$(".tipBox .tipLink").hover(
		function() {
			j$(".tipBox .tipLink .tipText").fadeIn(500);
			j$(".tipBox .tipLink").css("border","none");
		},
		function() {
			j$(".tipBox .tipLink .tipText").fadeOut(500);
			j$(".tipBox .tipLink").css("border-bottom","1px dotted #FF9900");
		}
	);
	
	j$(".tLink").append("<em class='pLink'></em>");
	j$(".tLink").hover(
		function() {
			var index = j$(".tLink").index(this);
			j$(".tLink em").eq(index).addClass("pHover").removeClass("pLink");
		},
		function() {
			var index = j$(".tLink").index(this);
			j$(".tLink em").eq(index).addClass("pLink").removeClass("pHover");
		}
	);
	
	j$("#firstPurigu .uly li:last-child").addClass("lastChild");
	
	j$("#firstPurigu .btn01").toggle(function(){
		j$("#firstPurigu .notesbx").show(200);
	},
	function(){
		j$("#firstPurigu .notesbx").hide(200);
	});
	
	j$("#firstPurigu .btn02").toggle(function(){
		j$("#firstPurigu .matsbx").show(200);
	},
	function(){
		j$("#firstPurigu .matsbx").hide(200);
	});
	
});