<%
    if trim(request.cookies("webrui")("webruiAdmin"))<>"" then
    session("webruiAdmin")=request.cookies("webrui")("webruiAdmin")
    session("webruiUser")=request.cookies("webrui")("webruiUser")
    session("AdminPurview")=request.cookies("webrui")("AdminPurview")
    End if
	If trim(session("webruiAdmin"))="" then
	Response.Write("<script language=javascript>alert('系统超时或服务器会话丢失，请重新登录！');this.top.location.href='Admin_Login.asp';</script>")
	Response.end
	End if
	If session("SessCkeck")<>"RuiSystem" then
	Response.Write("<script language=javascript>alert('您的核心提示码错误，请重新登录！');this.top.location.href='Admin_Login.asp';</script>")
	Response.end
	End if
%>