I'd like to use a proxy.pac file below to auto-configure Internet
Explorer settings.

function FindProxyForURL(url, host)
{
// variable strings to return
var proxy_yes = "PROXY 192.168.1.1:8080";
var proxy_no = "DIRECT";
if (shExpMatch(url, "http://www.mycompanywebsite.com*")) { return
proxy_no; }
if (shExpMatch(url, "http://www.myotherwebsite.com*")) { return
proxy_no; }
if (shExpMatch(url, "http://www.my3rdlocalsite.com*")) { return
proxy_no; }
if (shExpMatch(url, "http://192.168.1.100*")) { return proxy_no; }
// Proxy if PC is on local LAN
if (isInNet(myIpAddress(), "192.168.1.0", "255.255.255.0"))
return "PROXY 192.168.1.1:8080";
else
return "DIRECT";
}


How can I modify this script if I have a second proxy? Specifically,
I'd like that if the first proxy server were unavailable the browser
will automatically try the second proxy server.

brian_anon@hotmail.com