window.onload = autoPOP;function autoPOP() {	var x = document.getElementsByTagName('a');	for (var i=0;i<x.length;i++) {		if (x[i].getAttribute('className') == 'storyWin' || x[i].getAttribute('class') == 'storyWin') {			x[i].onclick = function () {				return winOpen(this.href)			}			x[i].title += '(別のウインドウが開きます)';		}	}};function winOpen(url) {	storyWindow = window.open(		url,		'popup',		'width=630,height=750,menubar=0,toolbar=0,location=0,directories=0,status=1,scrollbars=1,resizable=1'	);	storyWindow.focus();	return false;};
