var mainMenu = new Array( // setup main menu "Setup", "Security", "Applications & Gaming", "Administration", "Status"); var subMenu = new Array(mainMenu.length - 1); var enableLogoutItem = 0; // Logout button in main menu. var defaultMainMenuItemWidth = 92; var mainMenuFreeSpaceWidth = 150; // The free space width in main menu. if (enableLogoutItem == 1) { mainMenuFreeSpaceWidth = 65; } subMenu["Setup"] = new Array( // setup submenu for each main menu "Basic Setup", // "Time Setup", // "Network Setup", "DDNS", // "MAC Address Clone", "Advanced Routing"); if (parseInt(firewallEnabled)) { subMenu["Security"] = new Array( "Firewall", "Access Control", "Schedule Rule", "MAC Filter", "URL Blocking", "Intrusion Detection", "VPN"); } else { subMenu["Security"] = new Array( "Firewall", "VPN"); } subMenu["Applications & Gaming"] = new Array( // "Address Mapping", "Port Range Forwarding", "Port Triggering", "NAT Mapping Table", "DMZ"); // "QoS"); subMenu["Administration"] = new Array( "Management", "SNMP", "Log", "Diagnostics", "Firmware Upgrade", "Factory Defaults", "Reboot"); subMenu["Status"] = new Array( "Modem", "Local Network"); var helpMessage = new Array(subMenu["Setup"].length + subMenu["Security"].length + subMenu["Applications & Gaming"].length + subMenu["Administration"].length + subMenu["Status"] .length); //helpMessage["Basic Setup"] = new Array( //move to showTheContent code (SetBS.csp file). ); //helpMessage["Network Setup"] = new Array( // "Modem IP: The Modem is identified on the network by this address. Use the default value if you are unsure of what this setting should be.", // "Network Address Server Setting: The Modem is capable of assigning IP addresses to the computers on the network. If you do not have another DHCP server on the network, leave this setting enabled. You may specify the starting IP address, the number of addresses to assign, and the lease time for each address."); helpMessage["DDNS"] = new Array( " The Modem offers a Dynamic Domain Name System (DDNS) feature. You can choose which services you want to use.", "...More" ); //helpMessage["MAC Address Clone"] = new Array( // " The Router's MAC address is a 12-digit code assigned for identification, like a social security number. Some ISPs require that you register a MAC address. Enter this MAC Address in the MAC Address field or press the Clone button, then click the Save Settings button. To use the Clone button, the computer viewing the Web-base utility screen will have the MAC address automatically entered in the MAC Address field. This "clones" your network adapter's MAC address onto the Router."); helpMessage["Advanced Routing"] = new Array( " The Dynamic Routing feature can be used to automatically adjust to physical changes in the network's layout. The Router uses the dynamic RIP protocol. It determines the route that the network packets take based on the fewest number of hops between the source and the destination. The RIP protocol regularly broadcasts routing information to other routers on the network.", "...More" ); helpMessage["Firewall"] = new Array( "...More" ); helpMessage["Access Control"] = new Array( "Access Control allows users to define the outgoing traffic type permitted or not to the Internet. The default is to permit all outgoing traffic.", ""); helpMessage["Access Control Edit"] = new Array( "This page allows users to define service limitations of client PCs, including IP address, service type and scheduling rule criteria. For the URL blocking function, you need to configure the URL address first on the \"URL Blocking Site\" page. For the scheduling function, you also need to configure the schedule rule first on the \"Schedule Rule\" page.", ""); helpMessage["Schedule Rule"] = new Array( " This page defines schedule rule names and activates the schedule for use on the \"Access Control\" page to block designated PCs of specified outgoing traffic types. ", "Name: NoSurfingAfter10PM
Comment: Block Internet surfing from kids after 10PM every day
Action: either to Edit or Delete
"); helpMessage["Schedule Rule Edit"] = new Array( "", ""); helpMessage["MAC Filter"] = new Array( "When MAC filtering is enabled, only MAC addresses included in the table have access to your network. All other client devices are denied access. This security feature can support up to 32 devices and applies to clients."); helpMessage["URL Blocking"] = new Array( " You can block access to certain Web sites from a particular PC by entering either a full URL address or just a keyword of the Web site.
To apply this URL blocking to a specific PC, go back to the \"Access Control\" page and check the box for \"WWW with URL Blocking\" in the \"Client PC Service\".
" // ,"More..." ); helpMessage["Intrusion Detection"] = new Array( "...More" ); helpMessage["VPN"] = new Array( " This Modem supports IPSec, PPTP, and L2TP Passthrough. You can select either EnableorDisable for these options. ", ""); //helpMessage["Address Mapping"] = new Array( // " Address Mapping Network Address Translation (NAT) allows IP addresses used in a private local network to be mapped to one or more addresses used in the public, global Internet. This feature limits the number of public IP addresses required from the ISP and also maintains the privacy and security of the local network. We allow one or more than one public IP address to be mapped to a pool of local addresses.", // ""); helpMessage["Port Range Forwarding"] = new Array( " Port Range Forwarding can be used to set up public services on your network. When users from the Internet make certain requests on your network, the Modem can forward those requests to computers equipped to handle the requests. If, for example, you set the port number 80 (HTTP) to be forwarded to IP Address 192.168.1.2, then all HTTP requests from outside users will be forwarded to 192.168.1.2. It is recommended that the computer use static IP address.

", "You may use this function to establish a web server or FTP server via an IP Gateway."); helpMessage["Port Triggering"] = new Array( "Some applications require multiple connections, such as Internet gaming, video conferencing, Internet telephony and others. These applications cannot work when Network Address Translation (NAT) is enabled. If you need to run applications that require multiple connections, specify the port normally associated with an application in the 'Trigger Port' field, select the protocol type as TCP or UDP, then enter the public ports associated with the trigger port to open them for inbound traffic.

", "Note: The range of the Trigger Ports is from 1 to 65535."); helpMessage["NAT Mapping Table"] = new Array( "NAT Mapping Table displays the current NAPT address mappings.", ""); helpMessage["DMZ"] = new Array( "...More" ); //helpMessage["QoS"] = new Array( // "", // ""); helpMessage["Management"] = new Array( "Local Modem Access ", "Modem Password
Enter the password you choose for this Modem. This is needed to gain access to the Web-based Utility.
", "Re-enter to confirm
Enter the password chosen above to confirm that you properly entered the password.
", "...More" ); helpMessage["SNMP"] = new Array( "...More" ); helpMessage["Log"] = new Array( "Select Yes to log all the Modem activities. By default, the log is Disabled.", "...More" ); helpMessage["Diagnostics"] = new Array( "The Ping and Traceroute tests allow you to check the status of your Internet connection.", "...More" ); helpMessage["Firmware Upgrade"] = new Array( "To upgrade the Modem's firmware", "Click the Browse button to find the firmware upgrade file that you downloaded from the Linksys website.", "Double-click the firmware file you downloaded. Click the Update button, and follow the instructions there.", "...More" ); helpMessage["Factory Defaults"] = new Array( "Click Yes and Save Settings to reset the Modem to factory defaults. You can also do this by holding the Reset button on the back of the Modem for 30 seconds.", "...More" ); helpMessage["Reboot"] = new Array( "Device Reboot
Select yes to reboot the modem.
" ); helpMessage["Modem"] = new Array( "This page gives the status of Modem like Software version, Ethernet Mac, ADSL Link Status, System Uptime, Internet IP Address etc.", ""); helpMessage["Local Network"] = new Array( "Local Network: The IP address settings of the Local Network can be viewed on this page. Additionally, the IP information of any DHCP clients can be seen by clicking on the DHCP Clients Table button.", ""); function makeFileStringFromTitle(inMainStr, inSubStr) { var m = new String(inMainStr); var retVal; if (inSubStr == "default") { if (subMenu[inMainStr].length == 0) retVal = m; else { retVal = m + "-" + subMenu[inMainStr][0]; } } else { retVal = m + "-" + inSubStr; } //return retVal.replace("&", "_"); return encodeURIComponent(retVal); } var titArray = document.title.split("-"); //curMainTitle = titArray[0].replace("_", "&"); curMainTitle = decodeURIComponent(titArray[0]); curSubTitle = decodeURIComponent(titArray[1]); //Note: the encodeURIComponent function could be dependence by browser what used.