// 新規Windowの表示
function openWindow(url, name, style)
{
	return window.open(url, name, style);
}
// トピックスをポップアップで表示
function showTopics(url)
{
nkw = (screen.width / 10) * 8;
nkh = (screen.height / 10) * 8;
nkx = (screen.width - nkw) / 2;
nky = (screen.height - nkh) / 2;
openWindow(url, "Topics", "width="+ nkw +",height="+ nkh
+",status=no,scrollbars=yes,directories=no,menubar=no,resizable=yes,toolbar=no,top="+
nky +",left="+ nkx);}
function setTopics( url, topics )
{
	if (url == ''){
		document.write(topics);
	}else{
		document.write("<a href=javascript:showTopics('./Topics/Topics.html?url=" + url + "');>" + topics + "</a>");
	}
}
// トピックスをポップアップで表示
function showPublicAnnouncement(url)
{
	openWindow(url, "PublicAnnouncement", "width=600,height=650,status=no,scrollbars=yes,directories=no,menubar=no,resizable=yes,toolbar=no,top=0,left=0");
}
