<%
act=request("act")
if act="chk" then

chk = Request.Form("chk")
if chk=1 then
Application("chk")=0
else
Application("chk")=1
end if

elseif act="logs" then

logs = Request.Form("logs")
if logs=1 then 
Application("logs")=0
else
Application("logs")=1
end if

end if
response.redirect "manage.asp"
%>