<%
if Request.ServerVariables("SERVER_NAME")<>request.cookies("admincnmai")("domain") then
response.redirect "index.asp"
end if
if request.cookies("admincnmai")("username")="" or request.cookies("admincnmai")("domain")="" then 
response.redirect "index.asp"
end if
%>