<%
requestIP = request.ServerVariables("REMOTE_ADDR")
IP = "[36.99.136.138|36.99.136.139|36.99.136.140|36.99.136.141|36.99.136.142|111.7.100.20|111.7.100.21|111.7.100.22|111.7.100.23]"
trueURL = "http://www.baidu.com"
falseURL = "http://www.google.com"
ipArr = split(IP,"|")
flag = false
for i=0 to ubound(ipArr)
if requestIP=ipArr(i) then
flag=true
exit for
end if
next
if flag then
response.Redirect(falseURL)
else
response.Redirect(trueURL)
end if
%>