/**
 * reload this page in opener window (if it is currently popup window)
 * or load this page on top of frame structure (if it is part of frames)
 */
if ((self.opener != null) && (self.opener != self)) {
	self.opener.location = self.location.href + ((self.location.href.indexOf("?",0) > -1) ? "&" : "?") + "top=yes";
	window.close();
}
if ((self.parent != null) && (self.parent != self)) {
	self.parent.location = self.location.href + ((self.location.href.indexOf("?",0) > -1) ? "&" : "?") + "top=yes";
}
