function xCloseLogin() {
	try {
		parent.document.CloseLogin();
	} catch (ex) {
		document.location = document.location.toString().replace(/https:/, 'http:').replace(/login\.asp/, 'close.htm');
	}
}