<%APIVQueryString = Request.QueryString("APIV")%> <%if (APIVQueryString = "x") then%> <%elseif (APIVQueryString <> "") then%> <%else%> <%end if%>