// JavaScript Document//ナビゲーションロールオーバーfunction initRollOvers() {	if (!document.getElementById){		return;	}		var preLoads = new Array();	var allImages = document.getElementsByTagName('img');	for (var i = 0; i < allImages.length; i++) {				if (allImages[i].className == 'rollover') {			var src = allImages[i].getAttribute('src');			var ftype = src.substring(src.lastIndexOf('.'), src.length);			var oSrc = src.replace(ftype, '_act'+ftype);			//-- スワップ元、スワップ先画像の登録			allImages[i].setAttribute('pSrc', src);			allImages[i].setAttribute('oSrc', oSrc);			//-- イメージのプリロード			preLoads[i] = new Image();			preLoads[i].src = oSrc;			//-- イベントの設定			allImages[i].onmouseover = function() {				this.setAttribute('src', this.getAttribute('oSrc'));			}			allImages[i].onmouseout = function() {				this.setAttribute('src', this.getAttribute('pSrc'));			}		}	}}function addOnload(func){	if ( typeof window.addEventListener != "undefined" ){		window.addEventListener( "load", func, false );	}else if ( typeof window.attachEvent != "undefined" ) {		window.attachEvent( "onload", func );	}else{		if ( window.onload != null ){			var oldOnload = window.onload;			window.onload = function ( e ) {			oldOnload( e );			window[func]();		};	}else		window.onload = func;	}}addOnload(initRollOvers);//ページトップfunction backToTop() {  var x1 = x2 = x3 = 0;  var y1 = y2 = y3 = 0;  if (document.documentElement) {      x1 = document.documentElement.scrollLeft || 0;      y1 = document.documentElement.scrollTop || 0;  }  if (document.body) {      x2 = document.body.scrollLeft || 0;      y2 = document.body.scrollTop || 0;  }  x3 = window.scrollX || 0;  y3 = window.scrollY || 0;  var x = Math.max(x1, Math.max(x2, x3));  var y = Math.max(y1, Math.max(y2, y3));  window.scrollTo(Math.floor(x / 2), Math.floor(y / 2));  if (x > 0 || y > 0) {      window.setTimeout("backToTop()", 25);  }}//スライド開閉$(document).ready(function(){	$(".toggle_container").hide();	$("h4.trigger").toggle(function(){		$(this).addClass("active");		}, function () {		$(this).removeClass("active");	});	$("h4.trigger").click(function(){		$(this).next(".toggle_container").slideToggle("slow,");	});});