<%Server.ScriptTimeOut=5000%>
<!--#include file="../../Conn.asp" -->
<!--#include file="../YWNT_TMS_inc/YWNT_TMS_Function.asp" -->
<!--#include FILE="UpLoadClass.asp"-->
<%IF Session("Admin")="" and Session("AdminGroup")="" and Session("AdminSession")<>true Then
	Response.write "<script>top.location.href='../Admin_Login.asp'</script>"
	Response.end()
END IF
dim request2,formPath,formName,intCount,intTemp
set request2=new UpLoadClass
	request2.FileType=GetConfig("UpTypes")
	request2.MaxSize=GetConfig("UpSize")*1024
	request2.AutoSave=1
	request2.SavePath=Request.QueryString("Path")
	request2.Open()
if request2.Error =0 then%>
<script>window.close();</script>
<%end if
set request2=nothing%>