一个客户端 input button 
点击后 根据条件查询 跳转远程服务器页面... 现在远程服务器出错了,返回错误是 :服务器不可用(503)
现在 我做了一张错误页面,当远程服务器出错时,就跳转我定义的页面!
怎么实现??
<customErrors mode="RemoteOnly" defaultRedirect="ErrorPage.aspx">
      <error statusCode="503" redirect="ErrorPage.aspx"/>
      <error statusCode="403" redirect="ErrorPage.aspx"/>
      <error statusCode="404" redirect="ErrorPage.aspx"/>
</customErrors>
我在配置文件里面 这样写 也不行... 客户端按钮事件:
<script language="javascript" type="text/javascript">
    function ReUrl() {
        window.location = 'Flight/Flights.aspx?CityFrom=' + document.getElementById('home_city').value + '&CityTo=' + document.getElementById('dest_city_1').value + '&FlightDate=' + document.getElementById('depart_date_1').value;
    }
    </script>
    <input type="button" id="Button1" onclick='javascript:ReUrl();' value="航班查询" style="width:180px; margin-left:40px; margin-top:10px; margin-bottom:10px; height:40px" />帮忙解决一下...谢谢!