if(remsg.ReBool)
{


    Response.Write("<script>window.opener.window.location.reload(true);self.close();</script>");

return;
  


}
提示的错误为,window.opener.location为空或不是对像.