function setPopupCloseButton() {
	// window.opener.location.hostにアクセスするとエラーが起こる場合があるので･･･
	var ok = false;
	try {
		var test = window.opener.location.host;
		ok = true;
	} catch (e) {}
	
	if (ok && window.opener && window.opener.location.host == window.location.host) {
		if (document.all) {
			document.all("__popup_top_link").innerHTML = document.all("__popup_close_link").innerHTML;
		} else if(document.getElementById) {
			document.getElementById("__popup_top_link").innerHTML = 
					document.getElementById("__popup_close_link").innerHTML;
		}
	}
}
UtilKit.addhook(window, 'onload', setPopupCloseButton);

