<!--#include file="pathcheck.asp"-->
<!--#include file="isy.asp"-->
<!--#include file="conn.asp"-->
<% 
thisid=Trim(Request.QueryString("voteid"))
oorc=Trim(Request.QueryString("oorc"))
if oorc="close" then conn.execute "update votepro  set oorc=false where id="&thisid:closedb:response.Redirect("rep.asp?operate=close")
if oorc="open" then conn.execute "update votepro  set oorc=true where id="&thisid:closedb:response.Redirect("rep.asp?operate=open")

%>