function dw(message)
{
	document.write(message);
}

function assign_var()
{
language='English';
show1='Home';
show2='Help';
show3='Login';
show4='Logout';
show5='Internet Status';
show6='Connected';
show7='No Connection';
show8='LAN Setup';
show9='LAN Settings';
show10='DHCP Client List';
show11='WAN Setup';
show12='Connection Type';
show13='DNS';
show14='MAC Address';
show15='DDNS';
show16='WLAN Not Available';
show17='Wireless Setup';
show18='Channel and SSID'
show19= 'Security'
show20=  'Use as Access Point'
show21=  'Specify IP Address'
show22=  'MAC Address Control'
show23=   'Wireless Bridge'
show24=   'Firewall'
show25=   'Virtual Servers'
show26=   'Firewall Setting';//'Client IP Filters'
show27=   'MAC Address Filtering'
show28=   'DMZ'
show29=   'WAN Ping Blocking'
show30=   'Security Log'
show31=   'Utilities'
show32=   'Parental Control'
show33=   'Restart Router'
show34=   'Restart AP'
show35=  'Restore Factory Default'
show36=  'Save/Backup Settings'
show37=  'Restore Previous Settings'
show38=  'Firmware Update'
show39=  'System Settings'
show40=  'SNK'
show41= 'Wireless Bridging';
show42= 'Logs';
show43= 'URL Filter';
show44= 'RIP Settings';
show45= 'RIP Status';
show46= 'Wan Status';
show47= 'Wi-Fi Protected Setup';
show48= 'IP Reserve';

sm1='&nbsp; ? &nbsp;';
btn1='Cancel';
btn2='Save';
btn3='Web Site';
Router='Router';
AP='AP';
Dynamic='Dynamic';

cff1='Check Firmware Successfully';
cff2='Firmware Info.';
cff3='There is no new firmware update available for this Router!';
cff4='Cannot connect to the firmware information server, <br>please double check the wan connection.'
d1='ARRIS | Duplicate Administrator';
d2='Duplicate Administrator';
d3='This device is managed by';
d4='currently!!';

fc1='Client IP Filters';   // Firewall -
fc2='Firewall Setting';
fc2a='You can configure the Router to restrict access to the webpage, e-mail and/or other network services';
fc2b=' at specific days and times when firewall enable.';
fc2c='Firewall Enable/Disable';
fc2d='Allows you to turn the Firewall(SPI and Client IP Filter) feature on or off.';
IP='IP';
Port='Port';
Type='Type';
BT='Block Time';
Day='Day';
Tm='Time';
Enable='Enable';
BOTH='BOTH';
Always='Always';
Block='Block';
SUN='>SUN';
MON='>MON';
TUE='>TUE';
WED='>WED';
THU='>THU';
FRI='>FRI';
SAT='>SAT';
PM=':00 P.M.';
AM=':00 A.M.';
fcipm='Either you have not entered the client IP address or some of the numbers in the IP address you entered are invalid. The Last IP address range';
fcsm='The port numbers you entered are invalid. The number in port entry box';
fcrm='The latter of the port range must be larger than the former.';
fcripm='The latter of the ip range must be larger than the former.';
fcnsm='The Inbound port ranges must not have intersection.';
fcwdm='The end Day must be later than the start Day.';
fcdtm='The Time must be later than the start Time when they are in the same day.';
msg_fw_vir = 'Please do not use Lan IP address as Virtual Server\'s private IP address.';
msg_fw_acl = 'Lan IP address can not be included in the Client IP Filter range.';
fd1='DMZ';    // Firewall -
fd2='The DMZ feature allows you to specify one computer on your network to be exposed to the Internet without firewall protection. This may be necessary if the NAT firewall is causing problems with applications such as Internet gaming or video conferencing. Use DMZ only when necessary because';
fd3='the computer in the DMZ is not protected from hacker attacks.';
fd4='';
fd5='IP Address of Virtual DMZ Host';
fd6='Static IP';  fd7='Private IP';  fd8='Enable';

fmc1='MAC Address Filtering';   // Firewall -
fmc2='Use this page to set up a list of clients allowed to access the network. Enter the MAC address of each client on your network to allow network access. Click the &ldquo;Add&rdquo; button to create space for another MAC address.';
fmc3='Enable MAC Address Filtering';
fmc4='MAC Address Filtering List';
fmc5='Block';
fmc6='Host';
fmc7='MAC Address';
Add='Add';
Del='Delete';
fmcipm='Either you have not entered all of the hex digits or some of the hex digits you entered are invalid. A hex digit can be a number from 0-9 or a letter from A-F.';

fmn1='Firewall &nbsp;';
fmn2='Your Router is equipped with a firewall that will protect your network from a wide array of common hacker attacks including Ping of Death (PoD) and Denial of Service (DoS) attacks. You can turn the firewall function off if needed. Turning off the firewall protection will not leave your network completely vulnerable to hacker attacks, but it is recommended that you turn the firewall on whenever possible.';
fmn3='Firewall Enable / Disable &nbsp;';
Disable='Disable';

fp1='WAN Ping Blocking';   // Firewall -
fp2='<b>ADVANCED FEATURE!</b> You can configure the Router to not respond to ICMP Pings (pings to the WAN port). This can enhance network security.';
fp3='Block ICMP Ping &nbsp;';

fs1='Security log';   // Firewall -
fs2='The Telephony Modem provides event logs for the entire System and the Firewall. You can view the log directly from this screen.';
fs3='Log File';
Save='Save';
Clear='Clear';
Refresh='Refresh';

fv1='Virtual Servers';   // Firewall -
fvipm='Either you have not entered all of the ip addresses \n or some of the numbers you entered are invalid. \n The number in ip address entry box';
fvrm='Please disable Remote Management. Because it has a collision with the Web Service(HTTP) on port 80.';
fvipr='The Inbound port range is not correct.';
fvppr='The Private port range is not correct.';
fvippnm='The Inbound port range is not match the Private port range.';

fv2='This page allows you to direct external (Internet) requests for web service (port 80), FTP service (Port 21), or other services through the Telephony Modem to your internal network.';
  fv3='Active Worlds';
  fv4='Age of Empires';
  fv5='Age of Empires Expansion: The Rise of Rome';
  fv6='Age of Empires II Expansion: The Conquerors';
  fv7='Age of Empires II: The Age of Kings';
  fv8='Age of Kings';
  fv9='Age of Wonders';
  fv10='Aliens vs. Predator';
  fv11='Anarchy Online (BETA)';
  fv12='AOL Instant Messenger';
  fv13='Audiogalaxy Satellite';
  fv14='Baldur\'s Gate';
  fv15='BattleCom';
  fv16='Battlefield Communicator';
  fv17='Black and White';
  fv18='Blizzard Battle.net';
  fv19='Buddy Phone';
  fv20='Bungie.net';
  fv21='Camerades';
  fv22='CART Precision Racing ';
  fv23='Close Combat for Windows ';
  fv24='Close Combat III: The Russian Front';
  fv25='Close Combat: A Bridge Too Far';
  fv26='Combat Flight Simulator 2: WWII Pacific Theater';
  fv27='Combat Flight Simulator: WWII Europe Series';
  fv28='Crimson Skies';
  fv29='Dark Reign';
  fv30='Dark Reign 2';
  fv31='Delta Force 2';
  fv32='Delta Three PC to Phone';
  fv33='Descent 3';
  fv34='Descent Freespace';
  fv35='Diablo (1.07+)';
  fv36='Diablo I';
  fv37='Diablo II';
  fv38='DialPad.Com';
  fv39='DirectX 7 Games';
  fv40='DirectX 8 Games';
  fv41='Domain Name Server (DNS)';
  fv42='Doom';
  fv43='Dune 2000';
  fv44='Dwyco Video Conferencing';
  fv45='Elite Force';
  fv46='Everquest';
  fv47='F-16 ';
  fv48='F-22 Lightning 3';
  fv49='F-22 Raptor ';
  fv50='F22 Raptor (Novalogic)';
  fv51='Falcon 4.0';
  fv52='Fighter Ace II';
  fv53='Flight Simulator 2000';
  fv54='Flight Simulator 98';
  fv55='Freetel';
  fv56='FTP Server';
  fv57='GNUtella';
  fv58='Golf 1998 Edition';
  fv59='Golf 1999 Edition';
  fv60='Golf 2001 Edition';
  fv61='Go2Call';
  fv62='Half Life';
  fv63='Half Life Server';
  fv64='Heretic II Server';
  fv65='I76';
  fv66='Ivisit';
  fv67='IRC';
  fv68='IStreamVideo2HPz';
  fv69='KaZaA';
  fv70='Kohan Immortal Sovereigns';
  fv71='LapLink Gold';
  fv72='Links 2001';
  fv73='Lotus Notes Server';
  fv74='Mail (POP3)';
  fv75='Mail (SMTP)';
  fv76='MechCommander 2.0';
  fv77='MechWarrior 3';
  fv78='MechWarrior 4';
  fv79='Media Player 7';
  fv80='Midtown Madness';
  fv81='Midtown Madness 2';
  fv82='Mig 29';
  fv83='Monster Truck Madness';
  fv84='Monster Truck Madness 2';
  fv85='Motocross Madness';
  fv86='Motocross Madness 2';
  fv87='Motorhead Server';
  fv88='MSN Gaming Zone';
  fv89='MSN Messenger';
  fv90='Myth';
  fv91='Myth II Server';
  fv92='Myth: The Fallen Lords';
  fv93='Need for Speed';
  fv94='NetMech';
  fv95='Network Time Protocol (NTP)';
  fv96='News Server (NNTP)';
  fv97='OKWeb';
  fv98='OKWin';
  fv99='Outlaws';
  fv100='pcAnywhere v7.5';
  fv101='PhoneFree';
  fv102='Polycom ViaVideo H.323';
  fv103='Polycom ViaVideo H.324';
  fv104='Quake';
  fv105='Quake II (Client and Server)';
  fv106='Quake III';
  fv107='Red Alert';
  fv108='Rise of Rome';
  fv109='Roger Wilco';
  fv110='Rogue Spear';
  fv111='Secure Shell Server (SSH)';
  fv112='Secure Web Server (HTTPS)';
  fv113='ShoutCast';
  fv114='SNMP ';
  fv115='SNMP Trap';
  fv116='Speak Freely';
  fv117='StarCraft';
  fv118='Starfleet Command';
  fv119='StarLancer';
  fv120='SWAT3';
  fv121='Telnet Server';
  fv122='The 4th Coming';
  fv123='Tiberian Sun: C&C ';
  fv124='Tiberian Sun: C&C III"';
  fv125='Total Annihilation';
  fv126='Ultima';
  fv127='Unreal Tournament';
  fv128='Urban Assault';
  fv129='VoxPhone 3.0 ';
  fv130='Warbirds 2';
  fv131='Web Server (HTTP)';
  fv132='WebPhone 3.0';
  fv133='Windows 2000 Terminal Server';
  fv134='X Windows';
  fv135='Yahoo Pager';
  fv136='Yahoo Messenger Chat';
  fv137='Pal Talk';
  fv138='Real Player 8 Plus';
  fv139='RealAudio';
  fv140='Netmeeting 2.0, 3.0, Intel Video Phone';
  fv141='Westwood Online ';
  fv142='CuSeeMe ';
  fv143='ICUII Client';

fv200='Clear entry ';
  Description='Description';
  Inb='Inbound port';
  Type='Type';
  Pipa='Private IP address ';
  Pport='Private port';

htop='top';
h1='Help';
h2='GLOSSARY OF TERMS';
h3='<b>Administrator</b> An administrator performs the service of maintaining a network. In the case of this Router, the person who sets up the Router and makes changes to the settings.';
h4='<b>Client</b> A computer on the network that uses the services of the Router, such as the automatic DHCP server and Firewall.';
d5='<b>DDNS</b> The DDNS service is very useful when combined with the "Virtual Server" feature (or DMZ feature). It allows Internet users to connect to your Virtual Servers (or DMZ PC) using a URL, rather than an IP Address.';
h5='<b>DHCP</b> Dynamic Host Configuration Protocol. This protocol automatically configures the TCP/IP settings of every computer on your home network.';
h6='<b>Dial-Up</b> A connection which uses the public telephone network.';
h7='<b>DMZ</b> A virtual zone in the router that is not protected by the Router\'s firewall.  One computer can be placed in the DMZ.';
h8='<b>DNS Server Address</b> DNS stands for Domain Name System, which allows Internet host computers to have a domain name (such as ARRIS.com) and one or more IP addresses (such as 192.34.45.8). A DNS server keeps a database of host computers and their respective domain names and IP addresses, so that when a domain name is requested (as in typing "ARRIS.com" into your Internet browser), the user is sent to the proper IP address. The DNS server address used by the computers on your home network is the location of the DNS server your ISP has assigned.';
h9='<b>DSL Modem</b> DSL stands for Digital Subscriber Line. A DSL modem uses your existing phone lines to transmit data at high speeds.';
h10='<b>Dynamic IP</b> An IP address that is automatically obtained from a DHCP server.';
h11='<b>Ethernet</b> A standard for computer networks. Ethernet networks are connected by special cables and hubs, and move data around at up to 10 million bits per second (Mbps).';
h12='<b>Firewall</b> An electronic boundary that prevents unauthorized users from accessing certain files or computers on a network.';
h13='<b>Firmware</b> Software stored in memory. Essential programs that remain even when the system is turned off. Firmware is easier to change than hardware but more permanent than software stored on a disk.';
h14='<b>IP Address</b> IP stands for Internet Protocol. An IP address consists of a series of four numbers separated by periods, that identifies an single, unique Internet computer host. Example: 192.34.45.8.';
h15='<b>ISDN</b> Integrated Services Digital Network. Digital telecommunications lines that can transmit both voice and digital network services up to 128K, and are much faster and more reliable than high-speed analog modems. ISDN lines are offered by many telephone companies.';
h16='<b>ISP</b> Internet Service Provider. An ISP is a business that provides connectivity to the Internet for individuals and other businesses or organizations.';
h17='<b>ISP Gateway Address</b> (see ISP for definition). The ISP Gateway Address is an IP address for the Internet router located at the IS\'s office. This address is required only when using a cable or DSL modem.';
h18='<b>LAN</b> Local Area Network. A LAN is a group of computers and devices connected together in a relatively small area (such as a house or an office). Your home network is considered a LAN.';
h19='<b>MAC Address</b> MAC stands for Media Access Control. A MAC address is the hardware address of a device connected to a network.';
h20='<b>MTU</b> Maximum Transmission Unit. The largest unit of data that can be transmitted on any particular physical medium.';
h21='<b>NAT</b> Network Address Translation. This process allows all of the computers on your home network to use one IP address. Using the NAT capability of the router, you can access the Internet from any computer on your home network without having to purchase more IP addresses from your ISP.';
h22='<b>Port</b> A logical channel that is identified by its unique port number. Applications listen on specific ports for information that may be related to it.';
h23='<b>PPPoE</b> Point-to-Point Protocol over Ethernet. Point-to-Point Protocol is a method of secure data transmission originally created for dial-up connections; PPPoE is for Ethernet connections.';
h24='<b>PPTP</b> Point-to-Point Tunneling Protocol. A version of PPP (Point-to-Point Protocol) that has the ability to encapsulate packets of data formatted for one network protocol in packets used by another protocol. This tunneling technique allows TCP/IP data to be transmitted over a non-TCP/IP network. PPTP can be used to join different physical networks using the Internet as an intermediary.';
h25='<b>SNTP</b> Simple Network Time Protocol. A communication standard that allows for the transmission of real time information over a network or the Internet.';
h26='<b>SPI</b> Stateful Packet Inspection. SPI is the type of corporate-grade Internet security provided by your router. Using SPI, the gateway acts as a "firewall," protecting your network from computer hackers.';
h27='<b>Static IP</b> An IP address that is manually configured and never changes.';
h28='<b>Subnet Mask</b> A subnet mask, which may be a part of the TCP/IP information provided by your ISP, is a set of four numbers configured like an IP address. It is used to create IP address numbers used only within a particular network (as opposed to valid IP address numbers recognized by the Internet, which must assigned by InterNIC).';
h29='<b>TCP</b> Transmission Control Protocol. The most common Internet transport layer protocol. TCP is connection-oriented and stream-oriented, and provides for reliable communication over packet-switched networks.';
h30='<b>TCP/IP</b> Transmission Control Protocol over Internet Protocol. This is the standard protocol for data transmission over the Internet.';
h31='<b>UDP</b> User Datagram Protocol. Communications protocol for the Internet network layer, transport layer, and session layer, which makes it possible to send a datagram message from one computer to an application running in another computer. Unlike TCP, UDP is connectionless and does not guarantee reliable communication; the application itself must process any errors and check for reliable delivery. ';
h32='<b>WAN</b> Wide Area Network. A network that connects computers located in geographically separate areas, (i.e., different buildings, cities, countries). The Internet is a wide area network.';
h33='<b>WAN IP Address</b> The IP address assigned to the router by the ISP.';
h34='<b>WLAN</b> Wireless Local Area Network. A local area network that connects computers close together via radio (such as 802.11b)';

Enabled='Enabled';
Disabled='Disabled';

i1='Setup Home';
i2='Status';
i3='Version Info';
i4='Firmware Version';
i5='Boot Version';
i6='Hardware';
i7='Serial No.';
i8='LAN Settings ';
i9='LAN/WLAN MAC';
i9a='LAN MAC';
i9b='WLAN Not Available';
i10='IP address';
i11='Subnet mask ';
i12='DHCP Server ';
i13='Internet Settings';
i14='WAN MAC address';
i15='Connection Type';
i16='Subnet mask';
i17='WAN IP';
i18='Default gateway';
i19='DNS Address';

i20='Features';
i21='NAT';
i22='Firewall Settings ';
i23='SSID';
i24='Security';
i25='Printer';
i26='(enable/disable)';
i27='You will need to log in before you can change any settings.';
i28='Gateway address';
i29='RIP';

ld1='DHCP';   // LAN Setup -
ld2='DHCP Client List';   // LAN Setup -
ld3='The DHCP Client List shows you all the DHCP clients (PCs and other network devices) on your network. Each client has the following information: IP Address, Host Name and MAC Address. If the client does not have a host name specified, then the field is blank. Click the &ldquo;Refresh&rdquo; button to update the list.';
ld4='IP Address';
ld5='Host Name';
ld6='MAC Address';
ld7="IP reserve"

lm1='LAN';
lm2='Your Router is equipped with a DHCP server that will automatically assign IP addresses to each computer on your network. The factory default settings for the DHCP server will work in most any application. If you need to make changes to the settings, you can do so.';
lm3='The changes that you can make are:';

lm4='- Change the Internal IP address of the Router. The default = 192.168.2.1';
lm5='- Change the Subnet Mask. The default = 255.255.255.0';
lm6='- Enable/Disable the DHCP Server Function. Default= ON (Enabled)';
lm7='- Specify the Starting and Ending IP Pool Address. Default = Starting: 2 / Ending: 100';
lm8='- Specify the IP address Lease Time. Default= Forever';
lm9='- Specify a local Domain Name. Default = ARRIS';

lm10='To make changes, click "LAN Settings" on the LAN tab to the left.';
lm11='The Router will also provide you with a list of all client computers connected to the network. To view the list, click "DHCP client list" on the LAN tab to the left.';

ls1='LAN Settings';   // LAN Setup -
ls2='Make changes to the Local Area Network (LAN) settings on this page. Click the "Save" button at the bottom of this page to apply your changes.';
ls3='IP Address';
ls4='Subnet Mask';

lsrip1='RIPv2 Settings';
lsrip2='RIP (Routing Information Protocol, RFC2082 and RFC2453) allows a Router to exchange routing information with other Routers.';
lsrip3='Wan Interface :';
lsrip4='RIP Enable/Disable';
lsrip5='RIP-2 Authentication';
lsrip6='Key ID(0-255)';
lsrip7='Key ';
lsrip8='RIP advertisement Interval';
lsrip9='Allows you to turn the Network Address Translation feature on or off.';
lsrip10='NAT is currently enabled.  NAT must be disabled in order to transmit routing information.';
lsrip11='Disable';
lsrip12='Enable';

lsrs1='RIP Status';
lsrs2='Show current Lan subnet, Wan subnet, route table, RIPv2 MIB informations on this page. Click the &ldquo;Reset&rdquo; button to restart rip function. Click the &ldquo;Refresh&rdquo; button to update the list.';
lsrs3='Lan IP Address :';
lsrs4='Lan Subnet Mask :';
lsrs5='Wan IP Address :';
lsrs6='Dest IP';
lsrs7='NetMask';
lsrs8='GateWay';
lsrs9='Metric';
lsrs10='Lan Route Advertisement interval :';
lsrs11='Global Route Changes :';
lsrs12='Global Queries :';
lsrs13='IP Address';
lsrs14='RcvBadPackets';
lsrs15='RcvBadRoutes';
lsrs16='SentUpdates';
//lsrs17='Status';
//lsrs18='domain';
lsrs19='AuthType';
//lsrs20='AuthKey';
lsrs21='SendVersion';
lsrs22='RecvVersion';
//lsrs23='DefaultMetric';
//lsrs24='SrcAddress';
lsrs25='LastUpdateTime';
lsrs26='Version';
lsrs27='Wan Subnet Mask :';
lsrs28='Wan Route Advertisement interval :';
lsrs29='Interface';

ls5='DHCP Server';
On='On';
Off='Off';
ls6='The DHCP server assigns a dynamic IP address to clients using the network. It is activated by default and you do not need to make any change.';
ls7='IP Pool Starting Address';
ls8='IP Pool Ending Address';
ls9='Lease Time';
ls10='Forever';
ls11='Half Hour ';
ls12='1 Hour ';
ls13='Two Hours';
ls14='Half Day';
ls15='One Day ';
ls16='Two Days ';
ls17='One Week';
ls18='Two Weeks';
ls19='The length of time a DHCP client can keep an assigned IP address before it sends a renewal request to the DHCP server.'
ls20='Local Domain Name';
Optional='Optional';
ls21='If you\'d like to give a name to your network, enter it here.';
lsipm='Either you have not entered all of the numbers or some of the numbers you entered are invalid. The IP address should be as x.y.y.x(where x is anything between 0 and 255 and y is anything between 1 and 254).';
lssm='The Subnet mask number you entered is invalid.';
lsnetm='The IP pool must be in the same subnet as the gateway IP ';
lsendm='The ending IP address must be larger than the starting IP address.';
lspoolm='The LAN IP address can not be in the DHCP address pool.';
lsipm2='Invalid Lan Ip address, the last number cannot be 0 or 255';
lsipm3='Invalid Lan Ip address, the first number cannot be 127 or 0';
lsldnm='Invalid Local Domain Name';
lsipm4='The IP that you entered is invalid';
//lsipalert='Please change the Address entry box in the status bar of your browser manually to the new lan address';
lsipm5='The IP address you choose should be a non-routable IP.\n  192.168.x.x (where x is anything between 0 and 255.) \n10.x.x.x (where x is anything between 0 and 255.)\n172.y.x.x (where y is anything from 16 to 31, and x is anything between 0 and 255.)';
lsipc='Do you really wish to change the LAN IP address?';

lo1='Login';
lo2='To start or continue configuring the Telephony Modem, log in with a password. If you have not set up a password, leave this field blank and click "Submit." ';
lo3='Password ';
lo4='Default = leave blank ';
Clear='Clear';
Submit='Submit';
le1='ARRIS | Login Error';
lerror='Login Error !!';

Utilities='Utilities &nbsp;';

ss1='Applied Change Successfully ';
rs1='Reset Successfully ';
rs2='The reset is complete when the power light stops blinking.';
rs3='Router is rebooting';
rs4='seconds remaining.';

ugs1='Upgrade Firmware Successfully. ';
ugs2='The upgrade is complete when the power light stops blinking.';

rf1='Restore Factory Defaults Successfully';
rf2='The restore is complete when the power light stops blinking.';

rss1='Restore Settings Successfully ';
rss2='The restored settings is complete when the power light stops blinking.';

ufy1='Restore Factory Defaults';
ufy2='Click the &ldquo;Restore Defaults&rdquo; button to reset all configuration settings to their default values. Any settings that have been saved are lost when you do this. You should <a href="ut_save.html">back up your settings</a> before using this feature.';
ufy3='WARNING: All Your Settings Will be Lost!\nAre You Sure You want to do this?';
ufy4='Restoring the default settings will take up to 30 seconds. Do not turn off power to the Router during this process.';
ufy5='Will Not Restore Factory Defaults.No Settings Will be lost!';
ufy='Restore Defaults';

ufe1='Firmware Update';   // Utilities -
ufe2='From time to time, ARRIS may release new versions of the Router\'s firmware. Firmware updates contain improvements and fixes to problems that may have existed. Click the link below to see if there is a new firmware update available for this Router.';
ufe3='NOTE: Please backup your current settings before updating to a new version of firmware.';
ufe4='Click Here';
ufe5='to go to the Save/Backup current settings page.';
ufe6='Check For New Firmware Version &nbsp;';
ufe7='Check Firmware';
ufe8='Update Firmware &nbsp;';
Update='Update';
ufe9='Please specify the upgrade file\'s location. Either type the file\'s path and file name or click \"Browse\" to browse to the file\'s location.';
ufe10='Are you sure you want to continue with upgrading?';
ufe11='At the end of the upgrade, the Router may not respond to commands for as long as 80 seconds. This is normal. Do not turn off or reboot the Router during this time.';
ufe12='Firmware Version';
um1='The Utilities pages allow you to manage various parameters of the Router and manage certain functions.';
um2='Parental Control';
um3='ARRIS\'s Parental Control protects you and your children/employees from objectionable content on the web. Parental Control comes pre-configured to block many types of web content, but is custom configurable to be more or less restrictive. Any web site can easily be set to be either, always blocked, or always allowed.';
um5='Restart Router';
um6='If the Router begins to work improperly, it may be necessary to Reset or Reboot the Router. Resetting or Rebooting the Router does not delete your current configuration.';
um7='Restore Factory Defaults';
um8='Using this feature will restore all of the settings in the Router to its factory/default settings. It is recommended that you backup your settings before restoring to the defaults.';
um9='Save/Backup Current Settings';
um10='Save your current configuration by using this feature. Save/Backup lets you restore your settings later if they are lost or altered. You should back up your current configuration before restoring factory defaults.';
um11='Restore Previous Saved Settings';
um12='This option lets you restore a previously saved configuration.';
um13='Firmware Update';
um14='From time to time, ARRIS may release new versions of the Router\'s firmware. Firmware updates contain feature improvements and fixes to problems that may have existed. ';
um15='System Settings';
um16='The System Settings page is where you can enter a new password';
um17=', set the time zone, enable remote management, turn on and off UPNP and/or NAT function';
um18=' of the Router.';

upc1='Parental Control';   // Utilities -
upc2='ARRIS\'s Parental Control protects you and your children/employees from objectionable content on the web. Parental Control comes pre-configured to block many types of web content, but is custom configurable to be more or less restrictive. Any web site can easily be set to be either, always blocked, or always allowed.';
upc3='Your Parental Control Subscription is ';
upc4='UN-ACTIVATED';
upc5='NOT-ACTIVATED';
upc6='ACTIVATED';
upc7='To stop PARENTAL CONTROL signup prompts, Click here:';
upc8='EXPIRED';
upc9='Your subscription will expire in ';
days='days';
upc10='Account information';
Advanced='Advanced';
Apply='Apply';
upc11='Refresh Account information';
upc12='Reporting';
upc13='You are currently ';
upc14=' subscribed to reporting.';
not='not';

upc15='Click here to see a sample of how reporting works.';
upc16='Reporting Sample';
upc17='Click here to signup for reporting.';
upc18='Subscribe Now';
upc19='Click here to view your report.';
upc20='View Report';
upc21='Parental Control Status';
upc22='Turn Parental Control Filter ON and OFF.';
upc23='Web Filter is currently ';
ON='ON';
OFF='OFF';
pwd='Password';
upc24='e-mail Notification';
upc25='Notify me by e-mail if the Parental Control is overridden.';
upc26='Email is currently ';
upc27='Modify policy';
upc28='to view or change Default Policies for your Parental Control, click here';
Modify='Modify';
upc29='Parental Control Sign-up';
upc30='ARRIS\'s Parental Control protects you and your kids from objectionable content on the web. ARRIS\'s Parental Control is the filter that you set up. Now you can surf the net with your kids even when you are not there.';
upc31='You are currently NOT subscribed to the Parental Control service.';
upc32='Parental Control Renew';
upc33='Your subscription is close to the expiration date. Please click to renew your subscription.';
upc34='Renew Now';
upc35='url is empty';

upa1='Utilities  Parental Control Account Information';
upa2="You can change your Parental Control user information here such as the Parental Control notification e-mail address and the Parental Control administrator password.";
upa3='Change Parental Control notification e-mail address.';
upa4='your current e-mail address';
upa5='Enter your new e-mail address';
upa6='Re-enter your new e-mail address';
upa7='Change Parental Control Administrator Password';
upa8='Enter your new password';
upa9='Re-enter your new password';
Change='Change';
Stop=Apply;

upad1='Utilities  Parental Control Advance Settings';
upad2="ARRIS's Parental Control requires an Internet rating response from Cerberian (our partner) for every web site requested. Normally, response time is less than 1 second causing virtually no delay. However when you request a rare site that is not in their data base, they rate the site dynamically, which can take a few seconds depending on how fast the site loads. If the response time is slower than the time interval below, PARENTAL CONTROLS can be configured to either: Allow all sites on timeouts, or Block all sites on timeouts.";
Timeout='Timeout';
upad3='Timeout after waiting';
upad4='seconds for a response';
upad5='Default behavior when timeout occurs';
upad6='Setting the default behavior when timeout occurs, the router will block/pass all the web surfing according to the setting.';
upad7='Allow all sites on timeout.';
upad8='Block all sites on timeout.';

upr1='Parental Control Account Refresh';   // Utilities -
upr2='This function is only necessary if your PARENTAL CONTROL subscription information is not correct.<br>By pressing this button, the router will download/refresh all account information from ARRIS.<br>To refresh your PARENTAL CONTROL router account information, click Refresh:';

uprev1='Restore Previous Settings';   // Utilities -
uprev2='This option will allow you to restore a previously saved configuration.';
Restore='Restore';
uprev3='Type the name of the file that contains the backup settings.';
uprev4='Do you want to continue and restore settings?';
uprev5='After settings are restored, the Router may not respond\n to commands for as long as 30 seconds.\n\nThis is normal. Do not power down the Router during this time.';

ur1='Restart Router';   // Utilities -
ur2='If the Router begins to work improperly, it may be necessary to Reset or Reboot the Router. Resetting or Rebooting the Router will not delete any of your current configurations.';
ur3='Restart Router';
ur4='Are you sure you want to restart the Router? Resetting the Router will not affect your configuration.';
ur5='Allow up to 30 seconds for the Router to restart. Do not power down the Router before reset completes.';

usave1='Save/Backup Settings';   // Utilities -
usave2='Save your current configuration by using this feature. Save/Backup will allow you to restore your settings later if they are lost or altered. It is recommended that you backup your current configuration before performing a firmware update.';
Save='Save';

usys1='System Settings';   // Utilities -
usys2='Administrator Password: ';
usys3='The Router ships with NO password included. If you wish to set a password for better protection, you can enter it here.';
usys4='Enter Current Password';
usys5='Enter New Password';
usys6='Confirm New Password';
usys7='Login Timeout';
usys8='(1-99 minutes)';

usys9='Time and Time Zone: ';
January='January'; February='February'; March='March'; April='April'; May='May'; June='June'; July='July'; August='August'; September='September'; October='October'; November='November'; December='December';
usys10='Please select your Time Zone. If you are in an area where &ldquo;daylight saving&rdquo; is observed, check the box <br>below.';
usys11='Time Zone';
usys12='(GMT-12:00) Eniwetok,Kwajalein';
usys13='(GMT-11:00) Midway Island, Samoa';
usys14='(GMT-10:00) Hawaii';
usys15='(GMT-09:00) Alaska';
usys16='(GMT-08:00) Pacific Time(US, Canada); Tijuana';
usys17='(GMT-07:00) Arizona ';
usys18='(GMT-07:00) Mountain Time(US, Canada)';
usys19='(GMT-06:00) Central Time(US, Canada)';
usys20='(GMT-06:00) Mexico City, Tegucigalpa ';
usys21='(GMT-06:00) Saskatchewan ';
usys22='(GMT-05:00) Bogota, Lima, Quito ';
usys23='(GMT-05:00) Eastern Time(US, Canada)';
usys24='(GMT-05:00) Indiana (East) ';
usys25='(GMT-04:00) Atlantic Time (Canada) ';
usys26='(GMT-04:00) Caracas, La Paz ';
usys27='(GMT-04:00) Santiago ';
usys28='(GMT-03:30) Newfoundland';
usys29='(GMT-03:00) Brasilia ';
usys30='(GMT-03:00) Buenos Aires, Georgetown ';
usys31='(GMT-02:00) Mid-Atlantic ';
usys32='(GMT-01:00) Azores, Cape Verde Is. ';
usys33='(GMT) Casablanca, Monrovia ';
usys34='(GMT) Greenwich Mean Time : Edinburgh, London';
usys35='(GMT+01:00) Amsterdam, Berlin, Bern, Rome, Vienna';
usys36='(GMT+01:00) Belgrade, Budapest, Ljubljana, Prague';
usys37='(GMT+01:00) Brussels, Copenhagen, Madrid, Paris';
usys38='(GMT+01:00) Sarajevo, Skopje, Sofija, Warsaw';
usys39='(GMT+02:00) Athens, Istanbul, Minsk';
usys40='(GMT+02:00) Bucharest';
usys41='(GMT+02:00) Cairo';
usys42='(GMT+02:00) Harare, Pretoria';
usys43='(GMT+02:00) Helsinki, Riga, Tallinn';
usys44='(GMT+02:00) Israel';
usys45='(GMT+03:00) Baghdad, Kuwait, Riyadh';
usys46='(GMT+03:00) Moscow, St. Petersburg, Volgograd';
usys47='(GMT+03:00) Nairobi';
usys48='(GMT+03:30) Tehran';
usys49='(GMT+04:00) Abu Dhabi, Muscat';
usys50='(GMT+04:00) Baku, Tbilisi';
usys51='(GMT+04:30) Kabul';
usys52='(GMT+05:00) Ekaterinburg';
usys53='(GMT+05:00) Islamabad, Karachi, Tashkent';
usys54='(GMT+05:30) Bombay, Calcutta, Madras, New Delhi';
usys55='(GMT+06:00) Almaty, Dhaka';
usys56='(GMT+06:00) Colombo';
usys57='(GMT+07:00) Bangkok, Hanoi, Jakarta';
usys58='(GMT+08:00) Beijing, Chongqing, Hong Kong';
usys59='(GMT+08:00) Perth';
usys60='(GMT+08:00) Singapore';
usys61='(GMT+08:00) Taipei';
usys62='(GMT+09:00) Osaka, Sapporo, Tokyo';
usys63='(GMT+09:00) Seoul';
usys64='(GMT+09:00) Yakutsk';
usys65='(GMT+09:30) Adelaide';
usys65_1='(GMT+09:30) Darwin';
usys65_2='(GMT+10:00) Brisbane';
usys65_3='(GMT+10:00) Canberra, Melbourne, Sydney';
usys65_4='(GMT+10:00) Guam, Port Moresby';
usys65_5='(GMT+10:00) Hobart';
usys65_6='(GMT+10:00) Vladivostok';
usys65_7='(GMT+11:00) Magadan, Solomon Is., New Caledonia';
usys65_8='(GMT+12:00) Auckland, Wellington';
usys66='Daylight Savings';
usys67='Automatically Adjust Daylight Saving';

AF='ADVANCED FEATURE!';

usys73='NAT Enabling:';
usys74='Allows you to turn the Network Address Translation feature on or off. You should <b>always</b> leave this feature enabled.';
usys75='NAT Enable / Disable';

usys76='UPNP Enabling: ';
usys77='Universal Plug and Play (UPnP) helps devices such as Internet appliances and <br>omputers to access the network and connect to other devices as needed. If you use applications that<br>support UPnP, enabling UPnP allows these applications to automatically configure the Telephony Modem&rsquo;s router. ';
usys78='UPNP Enable / Disable';

usys79='Auto Update Firmware Enabling:';
usys80='Allows you to automatically check the availability of firmware updates for your router.';
usys81='Auto Update Firmware Enable / Disable ';

usys82='Current Password is invalid';
usys83='New Password and Re-new Password is different';
usys84='Login Timeout range: 1-99';
usys85='Password length is invalid. The maximum password length is 12 and The minimum password length is 3';
usys86='Please change the Address entry box in the status bar of your browser manually to the original lan address';
usys87='It is strongly recommended that you set your Administrator password.';
usys88='The password has reached its max length!';
usysipm='Either you have not entered all the IP numbers, or some of the numbers you entered are invalid. The IP address should be as x.y.y.x(where x is anything between 0 and 255 and y is anything between 1 and 254).';
usysrmport='One of your virtual servers has already opened the port 80, enable remote management will make it inactive. Do you still want to continue?';

ulog1='Logs';   // UT Logs -
ulog2='Enable Logs';
ulog3='Outgoing (Internet) connections';
ulog4='Access Control';
ulog5='DoS (Denial or Service) attacks';

ulog6='E-Mail Reports';
ulog7='Send E-mail alert immediately when attacked';
ulog8='E-mail Logs:';
ulog9='Connection Log';
ulog10='Access Control Log';
ulog11='Send:';
ulog12='When log is full';
ulog13='Every Day';
ulog14='Every Monday';
ulog15='Every Tuesday';
ulog16='Every Wednesday';
ulog17='Every Thursday';
ulog18='Every Friday';
ulog19='Every Saturday';
ulog20='Every Sunday';
ulog21='On Weekdays';
ulog22='at';

ulog23='E-Mail Address';
ulog24='Subject:';
ulog25='SMTP Server:';
ulog26='Address:';
ulog27='Port No.';
ulog28='(Default: 25)';

// Sub Log
ulog29='Date';
ulog30='Time';
ulog31='Source IP Address';
ulog32='Destination';
ulog33='Blocked';
ulog34='Internet Access Log';

ulog35='Access Control Log';
ulog36='Date';
ulog37='Time';
ulog38='Name';
ulog39='Source IP Address';
ulog40='MAC address (HW address)';
ulog41='Destination';
ulog42='Port';

ulog43='DoS Attack Log';
ulog44='Date:';
ulog45='Time';
ulog46='Direction';
ulog47='Packet Information';
ulog48='Action';
ulog49='Reason';

btn4='View Log';
btn5='Clear Log';

msg_blank = "%s can not be blank.\n";
msg_check_invalid = "%s contains an invalid number\n";
msg_greater = "%s must be greater than %s \n";
msg_less = "%s must be less than %s \n";
msg_first = "First";  // eg. First field of GW must match device IP
msg_second = "Second";
msg_third = "Third";
msg_fourth = "Fourth";

msg_sec_email = "Invalid E-mail address.\n";
msg_smtp = "SMTP server address";
msg_smtp_ip = "SMTP server IP address";
msg_smtp_port = "SMTP port number";
msg_syslog_ip = "Syslog server IP address";


urlf1='URL Filter';    // URL Filter
urlf2='Filter Strings';
urlf3='When enabled, a request is blocked if any of these entries occur in the requested URL.';
urlf4='Current Entries';
urlf5='Add Filter String:';
urlf6='* Filter Strings should be as specific as possible.';
urlf7='Delete all entries ?';
urlf8='<ul>'+
'<li>This feature allows you to block access to Web sites by defining "filter strings". If the "filter string" appears in a requested URL, the request is blocked.'+
'</ul>';

btn6='Delete';
btn7='Delete All';
btn8='Add';

msg_no_entries = "No entries selected. Please select 1 or more entries.";
msg_filter = "Filter string";
url_byrules = "By Rules"
url_always = "Always"
url_trusted = "Trusted IP"
Everyday = ">Everyday";
Workday = ">Workday";
Weekend = ">Weekend";
//ip_reserve
reserve_title = "IP Reserve"
reserve_help = "Use this page to set up IP reserve. Enter the IP and MAC address. Click the &ldquo;Add&rdquo; button to create space for another IP. "
reserve_enable = "Enable IP Reserve"
reserve_list = "IP Reserve List"
reserve_tab_head1 = "Host Name"
reserve_tab_head2 = "IP"
reserve_tab_head3 = "MAC"
client_list = "Active DHCP Client"
reserve_alert = "Invalid hostname, hostname must be less than 15 characters and can\'t contain illegal characters"


sapl1='Special Applications';    // Special Application
sapl2='Special Applications can only be used by 1 user at any time.';
sapl3='Name';
sapl4='Incoming Ports';
sapl5='Outgoing Ports';
sapl6='Type';
sapl7='Start';
sapl8='Finish';
sapl9='';
sapl10='';
sapl11='<ul>'+
'<li>Special Applications are any Internet applications which cannot work through the built-in firewall.'+
'<li>If an Internet application does not work correctly, you can define it as a "Special Application". Click the "Configure Special Applications" button to open the "Special Applications" screen.'+
'<li>Only one (1) user can use a Special Application at any time.'+
'<li>If the application still does not work, try using the "DMZ" feature.'+
'</ul>';

msg_spa_name = "The name field must not be null";
msg_spa_port  = "The port field must not be null";
msg_entry_greater = "\nFor every entry, Finish Port must be greater than Start port"
msg_name_used = "\nName is already in use. Please use another name.";

msg_rip_keyid = "RIP keyid range";
msg_rip_interval = "RIP Advertisement interval's range";
}


// Loggings
var datSubWinVar = null;
var bigsub = "width=740,height=400,toolbar=0,status=0,menubar=0,scrollbars=1,resizable=1,dependent=yes";
function closeWin(win_var)
{
	if   ((win_var != null) && (win_var.closed == false))
			win_var.close();
}
function openDataSubWin(filename,win_type)
{
	closeWin(datSubWinVar);
	datSubWinVar = window.open(filename,'datasub_win',win_type);
	if (datSubWinVar.focus)
		setTimeout('datSubWinVar.focus()',200);
}
function checkBlank(fieldObj, fname)
{
	var msg = "";
	if (fieldObj.value.length < 1)
		msg = addstr(msg_blank,fname);
	return msg;
}
function checkInt(text_input_field, field_name, min_value, max_value, required)
// NOTE: Doesn't allow negative numbers, required is true/false
{
	var str = text_input_field.value;
	var error_msg= "";

	if (text_input_field.value.length==0) // blank
	{
		if (required)
			error_msg = addstr(msg_blank,field_name);
	}
	else // not blank, check contents
	{
		for (var i=0; i < str.length; i++)
		{
			if ((str.charAt(i) < '0') || (str.charAt(i) > '9'))
				error_msg = addstr(msg_check_invalid,field_name);
		}
		if (error_msg.length < 2) // don't parse if invalid
		{
			var int_value = parseInt(str,10);
			if (int_value < min_value)
				error_msg = addstr(msg_greater,field_name,(min_value - 1));
			if (int_value > max_value)
				error_msg = addstr(msg_less,field_name,(max_value + 1));
		}
	}
	return(error_msg);
}
function addstr(input_msg)
{
	var last_msg = "";
	var str_location;
	var temp_str_1 = "";
	var temp_str_2 = "";
	var str_num = 0;
	temp_str_1 = addstr.arguments[0];
	while(1)
	{
		str_location = temp_str_1.indexOf("%s");
		if(str_location >= 0)
		{
			str_num++;
			temp_str_2 = temp_str_1.substring(0,str_location);
			last_msg += temp_str_2 + addstr.arguments[str_num];
			temp_str_1 = temp_str_1.substring(str_location+2,temp_str_1.length);
			continue;
		}
		if(str_location < 0)
		{
			last_msg += temp_str_1;
			break;
		}
	}
	return last_msg;
}

function isBigger(str_a, str_b)
//  true if a bigger than b
{
	var int_value_a = parseInt(str_a);
	var int_value_b = parseInt(str_b);
	return (int_value_a > int_value_b);
}


