/* footer copyright */
function myFoot(){
	now = new Date();
	document.write(now.getFullYear());
}

function t2_win() {
window.open('url', 'mywindow2', 'width=400, height=300, menubar=no, toolbar=no, scrollbars=yes');
}

/* pagetop link */
function backToTop (y) {
	if (!y) var y = document.body.scrollTop || document.documentElement.scrollTop;
	var speed = 15; // 加速度（大きいほどゆっくりに）
	next_position = parseInt (y - y * 2 / speed);
	scrollTo (0, next_position);
	if (next_position > 0) setTimeout ('backToTop (next_position)' , 1);
}
