window.parent.location.href="'.$location.'"';
api_not_allowed(true);
} else {
echo '
'.get_lang('PleaseStandBy').'
';
$location = api_get_path(WEB_CODE_PATH).'document/document.php?id='.Security::remove_XSS($exit).'&'.api_get_cidreq();
echo '';
Session::erase('exit_pixlr');
}