<%
if IsEmpty(request.QueryString("id")) and IsEmpty(request.QueryString("nid")) then
Server.execute "home.asp"
elseif not(IsEmpty(request.QueryString("id"))) and IsEmpty(request.QueryString("nid")) then
Server.execute(request.QueryString("id")&".asp")
end if
%><%
if request.queryString("did")="1" then
server.execute("show_news_details.asp")
end if%>