<% if request.ServerVariables("HTTP_HOST")="hfsound.cn" Then if Request.ServerVariables("QUERY_STRING")<>"" Then p="?" Response.Status="301 Moved Permanently" Response.AddHeader "Location","http://www.hfsound.cn"&Request.ServerVariables("SCRIPT_NAME")&p&Request.ServerVariables("QUERY_STRING") Response.End elseif Request.ServerVariables("QUERY_STRING")="" and Request.ServerVariables("SCRIPT_NAME")<>"" and Request.ServerVariables("SCRIPT_NAME")<>"/index.asp" Then Response.Status="301 Moved Permanently" Response.AddHeader "Location","http://www.hfsound.cn"&Request.ServerVariables("SCRIPT_NAME") Response.End else Response.Status="301 Moved Permanently" Response.AddHeader "Location","http://www.hfsound.cn/" Response.End end if end if %>