jsText = " <script>var child=document.getElementById('ifr1');if(child!=null){document.body.removeChild(child);}</script> " jsText += " <iframe id='ifr1' width=90% height=90% src=' " + ls_RedURL + " '></iframe> " jsText += " <div align='center'><a href='#' οnclick='javascript:window.close()'>关-闭</a></div> " Try Response.Write(jsText) Catch ex As Exception ls_ErrText = ex.Message + " 读取产品介绍文档出错! " AppGoToErrorPage.f_Redirect( Me , ll_ErrCode, ls_ErrText, " C " ) End Try