// JavaScript Document
window.onload=autoPOP;
function autoPOP()
		{
		var x = document.getElementsByTagName('a');
		for (var i=0;i<x.length;i++)
		{
		if (x[i].getAttribute('className') == 'popup' || x[i].getAttribute('class') == 'popup')
		{
		x[i].onclick = function () {
		return winOpen(this.href)
		}
		//x[i].title += '別窓で開きます';
		}
		}
		};
function winOpen(url) {
		window.open(
		url,
		'popup',
		'width=600,height=570,scrollbars=0,resizable=1'
		);
 return false;
		};