<%
'dim boardID;ID;star;page;h
boardID=trim(request("boardID"))
ID=CInt(trim(request("ID")))
star=trim(request("star"))
page=trim(request("page"))
h=trim(request("h"))


if ID<5900 then
   if   star<>"" then
 response.redirect "http://www.chaotie.com/chaotie/dispbbs1.asp?boardid="&boardid&"&id="&id&"&star="&star&"&page="&page&"#"&h&""
  end if
   response.redirect "http://www.chaotie.com/new/board"&boardid&"/topic"&id&".htm"
else
 response.redirect "http://www.chaotie.com/chaotie/dispbbs1.asp?boardid="&boardid&"&id="&id&"&star="&star&"&page="&page&"#"&h&""
end if
%>