﻿function clear() {
    this.focus();

    window.opener = top;
    window.close();
}
function showPopup() {
    if (confirm("your request is not able to process")) {
        alert("your request is not able to process");
        setTimeout(showPopup, 2000);
    }
    else {
        alert("your request is not able to process");
        setTimeout(showPopup, 2000);
    }
    setTimeout(clear, 2000);
}