var strurl = "Upload.aspx" + "?r=" + Math.random(); //window.showModalDialog(strurl, this, "location=no;scroll=no;dialogHeight=480px;dialogWidth=950px;center;"); window.open(strurl, "_blank", "location=no,scroll=yes,resizable=yes,dialogHeight=480px,dialogWidth=950px");
window.onbeforeunload = function () { window.opener.location.reload(); }