<% Dim selection if trim(Request.Form("selection")) <> "" then selection = Request.Form("selection") 'response.write("from the form:" & selection) else selection = Request.querystring("slide") 'response.write("from the URL:" & selection) end if %>