function FindProxyForURL(url, host) { if (isInNet(host, "130.199.4.0", "255.255.255.0") || isInNet(host, "130.199.5.0", "255.255.255.0")) return "PROXY 192.168.1.4:3128; PROXY 192.168.1.3:3128"; if (isPlainHostName(host) || dnsDomainIs(host, ".bnl.gov") || dnsDomainIs(host, ".bnl.local") || isInNet(host, "130.199.0.0", "255.255.0.0") || isInNet(host, "192.168.0.0", "255.255.0.0") ) return "DIRECT"; else return "PROXY 192.168.1.4:3128; PROXY 192.168.1.3:3128"; }