function FindProxyForURL(url, host) { if ((url.substring(0, 5) != "http:") && (url.substring(0, 4) != "ftp:") && (url.substring(0, 7) != "gopher:")) { return "DIRECT"; } if (shExpMatch(host, "206.103.64.*") || shExpMatch(host, "*mexcom.net") || shExpMatch(host, "*emprende.net.mx") || shExpMatch(host, "*wtcver.org.mx")) { return "DIRECT"; } return "PROXY proxy.mexcom.net:3128 ; DIRECT"; }