1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
3 (c) 2005 U.S. Robotics Corporation
9 <link href="usr_main.css" rel="stylesheet" type="text/css">
10 <link href="usr_menus.css" rel="stylesheet" type="text/css"><script src="usr_menus.js" type="text/javascript"></script><script src="usr_menus_build.js" type="text/javascript"></script>
11 <script src="usr_common.js" type="text/javascript"></script>
13 <meta HTTP-EQUIV='Pragma' CONTENT='no-cache'>
15 <script type="text/javascript">
17 setPageTitle("<%ejGetWlJS(wlInterface)%>");
19 /* EasyConfigurator depends on the values of
20 this array. It assumes that 0 and 1 are
21 successful and others are failure.
23 var msg = new Array();
24 msg[0] = "<p>The router is being updated and will restart when finished. This will take a couple of minutes.</p>\
25 <p><b>Please do not turn off the power or disconnect any cables during this process.</b></p>";
26 msg[1] = "<p>The router has been reconfigured and is restarting. This will take about one minute.</p>\
27 <p>If the router’s IP address has been modified, \
28 you may need to renew your connection to the router. (One way to do this is to restart your computer.)</p>\
29 <p><b>Please do not turn off the power or disconnect any cables during this process.</b></p>";
30 msg[2] = "The upload failed because the system is out of memory. The router is restarting.";
31 msg[3] = "The upload failed because no file was selected. Use your Web browser’s Back button to try again.";
32 msg[4] = "The upload failed because the selected file is invalid. Use your Web browser’s Back button to try again.";
33 msg[5] = "Fatal error while uploading file. Use your Web browser’s Back button to try again.";
35 /* EasyConfigurator depends on the name of this
36 variable and format of its initialization.
38 var idxNum = parseInt("<%ejGetOther(sysInfo, upldSts)%>");
42 waitTime = 60 * 5; // NUMBER OF SECONDS FOR PROGRESSBAR
46 function getMsgIndex() {
47 idxNum = parseInt("<%ejGetOther(sysInfo, upldSts)%>");
48 if ( isNaN(idxNum) || idxNum < 0 || idxNum > msg.length )
55 var action = function reboot() {
57 //USR9106 Refresh whole window
58 eval('top.location = "index.html"');
62 if(idxNum==0 || idxNum==1)
69 <body onload="frmLoad();">
71 <script type="text/javascript">
72 writeHeaderInfo("Router Upgrade");
76 <script type="text/javascript">
78 document.write(msg[getMsgIndex()]);
83 <script type="text/javascript" src="timerbar.js"></script>
85 <script type="text/javascript">