/* * * Configuracion automatica de proxy para la Universidad Autónoma de Chihuahua * (c) 2006 UACh * */ function FindProxyForURL(url, host) { if ( (host == "localhost") || (host == "127.0.0.1") ) { return "DIRECT"; } if ( isPlainHostName(host) || ( !dnsDomainIs(host, "facturacion.uach.mx") && dnsDomainIs(host,"uach.mx") ) || isInNet(host,"148.229.0.0","255.255.0.0") ) return "DIRECT"; if ( dnsDomainIs(host,"ebrary.com") || dnsDomainIs(host,"galegroup.com") || dnsDomainIs(host,"in4mex.com.mx") || dnsDomainIs(host,"e-libro.com") || dnsDomainIs(host,"biblioteka.com.mx") || dnsDomainIs(host,"knovel.com") || dnsDomainIs(host,"external.elsevier.es") || dnsDomainIs(host,"chadwyck.co.uk") || dnsDomainIs(host,"proquest.safaribooksonline.com") || dnsDomainIs(host,"diariamente.com.mx") || dnsDomainIs(host,"controlsiga.com") || dnsDomainIs(host,"acs.org")) return "PROXY 148.229.250.231:3128"; return "PROXY gateway.uach.mx:3128"; }