	/**
		JQuery‹¤’Ê
	**/
	$(document).ready(function(){

		/*
			Initial Settings
		*/
		$("#projectsindex #sidenavi ul.sidenewslist").hide();		//TOP Page(New Projects Index)
		$("#projectsdetail #sidenavi ul.sidenewslist").hide();
		$("#archivespage #sidenavi ul.sidenewslist").hide();		//Archives Page
		$("#archivespage #sidenavi ul.sideprojectlist").hide();
		$("#newsindex #sidenavi ul.sideprojectlist").hide();
		$("#newsdetail #sidenavi ul.sideprojectlist").hide();
		$("#aboutpage #sidenavi ul.sideprojectlist").hide();
		$("#aboutpage #sidenavi ul.sidenewslist").hide();
		$("#contactpage #sidenavi ul.sideprojectlist").hide();
		$("#contactpage #sidenavi ul.sidenewslist").hide();

		/**
			Language Selector for About Page
		**/
		changeLang(".projectentry");
		changeLang("#aboutpage #entry01");
		changeLang("#aboutpage #entry02");


		/**
			Highright for About Page
		**/
		$("#aboutpage .spacecol01 dt").hover(
			function(){
				$("#aboutpage h3").css("background-position","0 -50px");
			},
			function(){
				$("#aboutpage h3").css("background-position","0 0");
			}
		);
		$("#aboutpage .interiorcol01 dt").hover(
			function(){
				$("#aboutpage h3").css("background-position","0 -100px");
			},
			function(){
				$("#aboutpage h3").css("background-position","0 0");
			}
		);

		$("#aboutpage .col02 dt").hover(
			function(){
				$("#aboutpage h4").css("background-position","0 -50px");
			},
			function(){
				$("#aboutpage h4").css("background-position","0 0");
			}
		);
		$("#aboutpage .col03 dt").hover(
			function(){
				$("#aboutpage h4").css("background-position","0 -100px");
			},
			function(){
				$("#aboutpage h4").css("background-position","0 0");
			}
		);




	});


	/*
		Language Selector for each entry
	*/
	function changeLang(str) {
		$(str + " .languages a").eq(0).addClass("sel");
		$(str + " div.entry-more").hide();
		$(str + " .languages a").click(function(event) {
			$(str + " .languages a").removeClass("sel");
			$(this).addClass("sel");
			var ind = $(str + " .languages a").index(this);
			if(ind == 0) {			//English
				$(this).parent().parent().parent().children("div.entry-body").slideDown("slow");
				$(this).parent().parent().parent().children("div.entry-more").hide();
			} else {				//Japanese
				$(this).parent().parent().parent().children("div.entry-body").hide();
				$(this).parent().parent().parent().children("div.entry-more").slideDown("slow");
			}
			event.preventDefault();
		});
	};


