<% Set Conn = Server.CreateObject("ADODB.Connection") Conn.Open(Application("DBConn")) %> <% if Cint(CGI_c) > 0 and Cint(CGI_id) > 0 then %> <% elseif Cint(CGI_c) > 0 and Cint(CGI_id) = 0 then %> <% elseif Cint(CGI_c) = 0 and len(CGI_s) > 0 and Cint(CGI_id) = 0 then %> <% elseif Cint(CGI_c) = 0 and len(CGI_s) > 0 and Cint(CGI_id) > 0 then %> <% end if %>