function FindProxyForURL(url, host) { if ((isPlainHostName(host) || dnsDomainIs(host, ".anu.edu.au") || host == "127.0.0.1") && !(host == "wwwcache" || host == "cache1" || host == "cache2" || host == "doicache1" || host == "doicache2"|| host == "iccache")) { var proxy = "DIRECT"; } else if (isInNet(myIpAddress(),"150.203.21.0","255.255.255.0")|| isInNet(myIpAddress(),"150.203.24.0","255.255.255.0")|| isInNet(myIpAddress(),"150.203.50.0","255.255.255.0")|| isInNet(myIpAddress(),"150.203.63.0","255.255.255.0")|| isInNet(myIpAddress(),"150.203.93.0","255.255.255.0")|| isInNet(myIpAddress(),"150.203.116.0","255.255.255.0")|| isInNet(myIpAddress(),"150.203.130.0","255.255.255.0")|| isInNet(myIpAddress(),"150.203.131.0","255.255.255.0")|| isInNet(myIpAddress(),"150.203.132.0","255.255.255.0")|| isInNet(myIpAddress(),"150.203.133.0","255.255.255.0")|| isInNet(myIpAddress(),"150.203.147.0","255.255.255.0")|| isInNet(myIpAddress(),"150.203.216.0","255.255.255.0")|| isInNet(myIpAddress(),"150.203.217.0","255.255.255.0")|| isInNet(myIpAddress(),"150.203.218.0","255.255.255.0")|| isInNet(myIpAddress(),"150.203.219.0","255.255.255.0")|| isInNet(myIpAddress(),"150.203.221.0","255.255.255.0")|| isInNet(myIpAddress(),"150.203.237.0","255.255.255.0")|| isInNet(myIpAddress(),"130.56.112.0","255.255.255.0")|| isInNet(myIpAddress(),"130.56.113.0","255.255.255.0")|| isInNet(myIpAddress(),"150.203.43.220","255.255.255.255")|| isInNet(myIpAddress(),"150.203.2.15","255.255.255.255")|| isInNet(myIpAddress(),"192.168.0.0","255.255.0.0")|| isInNet(myIpAddress(),"130.56.64.37","255.255.255.255")|| isInNet(myIpAddress(),"130.56.18.55","255.255.255.255")) { var proxy = "PROXY iccache.anu.edu.au:80"; } else { var proxy = "PROXY wwwcache.anu.edu.au:80; DIRECT"; } return proxy; }