<!--#include file="../checkLogin.asp"-->
<%response.buffer=false
curpage=Request.QueryString("curpage") 
id=request("id")

tname=request.cookies("tname")

 Set MyOAASPObj = Server.CreateObject("YFSchoolOApro.YFSchoolDll")
           call  MyOAASPObj.GongGao_OpenFile(tname,id)
		    set MyOAASPObj=nothing


response.redirect  "viewfile.asp?curpage="&curpage&"&id="&id

%>
