//onload window resize
function resize() {
self.resizeTo(1000,800);
}

//popup
function popup1(){
sub =window.open("00000000000", "000", "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,width=350,height=500");
sx = 350;
sy = 500;
x = (screen.width - sx ) / 2;
y = (screen.height - sy ) / 2;
sub.moveTo(x,y);
}

//page top
		function pageup(e) {
			UAGENT = navigator.userAgent.toUpperCase();
			if (UAGENT.indexOf("MSIE") >=0) { posi = event.y; }
			else { posi = e.pageY; }
			moveObje(posi);
		}
	
		function moveObje(position) {
			move = position / 5;
			point = parseInt(position - move);
			scrollTo(0,point);
			if (point > 0) { setTimeout("moveObje(point)",10); }
		}

//show hide
function showHideHelp() {
	if(document.getElementById('help').style.visibility == 'visible') {
		document.getElementById('help').style.visibility = 'hidden';
		document.getElementById('btnHelp').value = 'ヘルプを表示する';
	} else {
		document.getElementById('help').style.visibility = 'visible';
		document.getElementById('btnHelp').value = 'ヘルプを表示しない';
	}
}
