﻿/* GoTop */function setGoTop() {	var aTagList = document.getElementsByTagName('a');	for (var i = 0; i < aTagList.length; i++) {		if (aTagList[i].href.match(/#top/i)) {			aTagList[i].onclick = goPageTop;		}	}}var goTopMove = 20; // 加速度（0:停止～大きいほど遅くなる）var goTopPosi;function goPageTop() { // 距離取得と実行	var yPos = document.body.scrollTop || document.documentElement.scrollTop;	mObj(yPos);	return false;}function mObj(y, s) { // 上に加速移動	if (s) goTopMove = s;	goTopPosi = parseInt(y - y * 2 / goTopMove);	scrollTo(0, goTopPosi);	if (goTopPosi > 0) setTimeout('mObj(goTopPosi, goTopMove)', 1);}if (window.addEventListener) window.addEventListener('load', setGoTop, false);if (window.attachEvent) window.attachEvent('onload', setGoTop);// WinOpen function winOpen(x){	ext_win1 = window.open(x,"winOpen","width=520,Height=690,toolbar=no,location=no,directories=no,scrollbars=yes,resizable=yes,status=yes")}function winOpen2(x){	ext_win1 = window.open(x,"winOpen2","width=470,Height=280,toolbar=no,location=no,directories=no,scrollbars=yes,resizable=yes,status=yes")}// background flickr try {document.execCommand('BackgroundImageCache', false, true);} catch(e) {}
