<%
response.buffer=true
direction=request("direction")
keywords=request("keywords")
sortid=request("categoryId")
Select Case direction
case "all"
response.redirect "/search/searchall.asp?keywords="&keywords&"&sortid="&sortid&""
case "sale"
response.redirect "/search/searchsale.asp?keywords="&keywords&"&sortid="&sortid&""
case "buy"
response.redirect "/search/searchbuy.asp?keywords="&keywords&"&sortid="&sortid&""
case "productshow"
response.redirect "/search/searchproduct.asp?keywords="&keywords&"&sortid="&sortid&""
case "corporation"
response.redirect "/corporation/search.asp?keywords="&keywords&"&sortid="&sortid&""
case "news"
response.redirect "/info/indexpro.asp?typeid=0&txtitle="&keywords
end select
%>