	// ----------
	// ロゴのイージングの設定
	// ----------

$(document).ready(function(){
	$('#siteID').autosprites({
		offset: '235px'
	});
});

	// ----------
	// ツールチップ
	// ----------

/**
Vertigo Tip by www.vertigo-project.com
Requires jQuery
*/
this.vtip = function() {
	this.xOffset = 10; // x distance from mouse
	this.yOffset = 20; // y distance from mouse       

	$(".vtip").unbind().hover(    
		function(e) {
			this.t = this.title;
			this.title = ''; 
			this.top = (e.pageY + yOffset); this.left = (e.pageX + xOffset);
			$('body').append( '<p id="vtip">' + this.t + '</p>' );
			$('p#vtip').css("top", this.top+"px").css("left", this.left+"px").fadeIn("slow");
		},
		function() {
			this.title = this.t;
			$("p#vtip").fadeOut("slow").remove();
		}
	).mousemove(
		function(e) {
			this.top = (e.pageY + yOffset);
			this.left = (e.pageX + xOffset);
			$("p#vtip").css("top", this.top+"px").css("left", this.left+"px");
		}
	);
};
jQuery(document).ready(function($){vtip();}) 

	// ***
	// スロースクロール
	// ***

// <![CDATA[
function slowScroll() {
	if(navigator.appName == "Microsoft Internet Explorer" && document.compatMode == "CSS1Compat") {
		pagetop = document.body.parentNode.scrollTop;
	}else if(window.pageYOffset){
		pagetop = window.pageYOffset;
	}else{
		pagetop = document.body.scrollTop;
	}

	if(pagetop){
		setsc = Math.ceil(pagetop*.2);
		scrollBy(0,-setsc);
		if(pagetop-setsc){
			setTimeout("slowScroll()",15);
		}
	}
}
// ]]>

	// ***
	// アコーディオンメニュー
	// ***

<!--//---------------------------------+
//  Developed by Roshan Bhattarai 
//  Visit http://roshanbh.com.np for this script and more.
//  This notice MUST stay intact for legal use
// --------------------------------->
$(document).ready(function() {
	//slides the element with class "menu_body" when paragraph with class "menu_head" is clicked 
	$("#firstpane .menu_head").click(function() {
		$(this).css({backgroundImage:"url(/imglib/ui/expanded.gif)"}).next("div.menu_body").slideToggle(300).siblings("div.menu_body").slideUp("slow");
       		$(this).siblings().css({backgroundImage:"url(/imglib/ui/collapsed.gif)"});
	});
});

	// ***
	// フェードリンク
	// ***

function fadeElements(color) {
	var count = $("ul#links li").size();
	var step = 90 / count;
		$("ul#links li").each(function(i) {
			var value = 100 - (step * i);
		$(this).find("a").css("color", color).css("opacity", value == 100 ? "1" : "0." + parseInt(value));
	});
}
$(document).ready(function() {
	fadeElements("#F90");
});

	// ----------
	// 特設ページ全画面イメージ
	// ----------

$(function() {
		$.fn.supersized.options = {  
			startwidth: 980,  
			startheight: 684,
			minsize: .50,
			slideshow: 0,
		};
	$('#supersize').supersized(); 
});

	// ***
	// スクロールCDジャケット
	// ***

$(function() {
	$("#makeMeScrollable1").smoothDivScroll({ autoScroll: "backandforth", autoScrollDirection: "backandforth", autoScrollStep: 1, autoScrollInterval: 15, startAtElementId: "startAtMe", visibleHotSpots: "always"});
});

