var reloadParent = 0;
function checkReloadParent() {
	if (reloadParent == 1) {
		opener.location.href = opener.location.href;
	}
}