var WebOpModeList = "0100110" var FunctionList = {HAS_DUAL_PPPOE:0,HAS_PASS_THROUGH:1,HAS_PORTBASED_QOS:0,HAS_WLAN_CONNECTION_CONTROL:0,HAS_5G_SETTING:0,HAS_RALINK_COUNTRY_SETTING:0,HAS_TX_NUM:2,HAS_RX_NUM:2,HAS_BOTTOM_IMG:1,HAS_IPBASED_QOS:0,HAS_NEW_NAT_SERVER:1,HAS_ROUTER_FUNCTION:0,HAS_DNS_SERVERS_ASSIGNED_BY_DHCP_SERVER:1,HAS_STA_WSC:0,HAS_AP_WSC:1,USE_ONE_FW_IMAGE:1,WEB_FOR_SITECOM:0,HAS_TR_AGENT:0,HAS_DHCP_CLIENT_STATION_MODE:0,HAS_DHCP_CLIENT_IN_REPEATER_MODE:1,HAS_DHCP_CLIENT_IN_AP_MODE:1,HAS_DHCP_CLIENT_IN_CLIENT_BRIDGE_MODE:0,HAS_DNS_CLIENT_FUNCTION:1,HAS_PCI_BG_PICTURE:0,HAS_LAN_VLAN_MGMT:1,HAS_DUAL_ZONE_FUNCTION:0,OMIT_LAN_VLAN_ID_CHECK:1,HAS_NO_SNMP_SYS_CONTACT_INFO:0,HAS_ATHEROS_SETTING:0,HAS_ATHEROS_5G_SETTING:0,HAS_ATHEROS_COUNTRY_SETTING:0,HAS_SNMP_MANAGEMENT_IP_SUPPORT:1,HAS_HTTP_SYSTEM_NAME:1,HAS_ADV_STP_SETTING:1,HAS_EAP_SPECIAL_SETTING:1,HAS_WIRELESS_SCHEDULE:1,HAS_RESET_SCHEDULE:1,HAS_DYNAMIC_LAN_IP:1,HAS_WPAAES_WPA2TKIP:0,HAS_MANUAL_TIME_SETTING:1,HAS_OP_MODE_WDSRP:1,HAS_LOGIN_STYLE_2:0,HAS_LOGIN_FANCY_STYLE:0,HAS_SHOW_ONE_VERSION:1,HAS_DISABLE_TX_POWER_UI:0,HAS_TX_POWER_DBM_SETTING:1,HAS_VLAN_TAG_UNTAG:1,HAS_SHOW_GW_INFO:1,USE_STANDARD_DAYLIGHTSAVING:1,HAS_USE_RTL_PLATFORM:1,HAS_CHANGE_OPERATION_MODE_STYLE:1,HAS_MULTI_MODE_LAN_IP:0,HAS_ADVANCED_ISOLATED:1,HAS_WHITE_AND_BLACK_ACL:1,HAS_SSHD:1,HAS_RADIUS_ACCOUNTING:0,WEB_USE_CGI_COLOR:0,HAS_APCLI_SEPERATE_SSID_AND_SEC:0,HAS_MULTIPLE_SSID:1,HAS_FIRST_LOGIN_REDIRECT:1,WEB_USE_TRENDNET_STYLE:1,HAS_CHANNEL_BLACK_FUNCTION:0,HAS_DISABLE_TX_POWER_BY_REG_DOMAIN:0,WEB_HAS_OMIT_DAYLIGHT:0,WEB_HAS_SHOW_JP_TXPWR:0,WEB_HAS_SHOW_RSSI_IN_CLIENT_LIST:0,HAS_SHOW_TX_POWER_DBM_BY_REG_DOMAIN:1,NON_USED:0} var VendorList = {WEB_USE_FOR_EAP9550:0,WEB_USE_FOR_EAP9550_LEVELONE:0,WEB_USE_FOR_ECB9500_X3N:0,WEB_USE_FOR_ECB9500:0,WEB_TITLE_USE_VENDORMODE:0,WEB_USE_FOR_ERB9250_PCI:0,WEB_USE_FOR_EAP9550_PCI:0,WEB_USE_FOR_ERB9250_QTEL:0,WEB_USE_FOR_ERB9250:0,WEB_USE_FOR_ERB9250v2:0,WEB_USE_FOR_ERB9260:0,WEB_USE_FOR_EAP150_300:0,WEB_USE_FOR_ESR1221AN:0,WEB_USE_FOR_ECB150_300:0,NON_USED:0} var SYS_OPM_AR=0; /* AP Router mode */ var SYS_OPM_APRP=1;/* AP Repeater mode */ var SYS_OPM_AP=2; /* AP Bridge mode */ var SYS_OPM_CB=3; /* Client Bridge mode */ var SYS_OPM_CBRT=4;/* Client Bridge(Router) mode */ var SYS_OPM_WDSB=5;/* WDS Bridge mode */ var SYS_OPM_ARRP=6;/* AP Router Repeater mode */ var SYS_OPM_WDSRP=7;/* WDS Repeater mode */ var g_sysOPMode=2; var wlanApMode=0; var _fragThreshold=2346; var default_language = 'uk'; var language = getCookie('language'); var file = 'file/'+ language + '.txt'; var xmlfile='file/'+language+'_xml.txt'; var tekst = readFile(file); var tekst_array = tekst.split("~"); var isSeperateRP = (FunctionList.HAS_APCLI_SEPERATE_SSID_AND_SEC==1 && g_sysOPMode==SYS_OPM_APRP)? 1 : 0; var OMIT_REPEATER_EASYSETUP="1"; var showWANOPM = new Array("block","none","none","none","block","none","NULL","none"); var showDHCPSer = new Array("block","none","block","none","block","none","NULL","none"); var showDHCPCli = new Array("none","block","none","block","none","none","NULL","none"); var showMSSID = new Array("block","block","block","none","none","none","NULL","block"); var showRadius = new Array("block","none","block","none","none","none","NULL","block"); var showAutoChan = new Array("block","none","block","none","none","none","NULL","block"); var showAPProfile = new Array("none","none","none","block","block","none","NULL","none"); var showAPCliStatus = new Array("none","block","none","block","block","none","NULL","none"); var showAPStatus = new Array("block","block","block","none","none","block","NULL","block"); var showNTPCli = new Array("block","none","none","none","block","none","NULL","none"); var showWlanRadio = new Array("block","block","none","none","block","block","NULL","none"); var showBeacon = new Array("block","block","block","none","none","none","NULL","block"); var showDTIM = new Array("block","block","block","none","none","none","NULL","block"); var showPreamble = new Array("block","block","block","none","none","block","NULL","block"); var showIsolated = new Array("block","none","block","none","none","none","NULL","block"); var VENDORS= {vendorName:"TRENDnet", vendorMode:"Wireless-N Multi-function AP", modelName:"TEW-735AP", vendorLogo:"logo.gif", bannerLogo:"iwizard_banner_9750.gif", titleLogo:"title_engenius.png"}; var MenuPicArray=[ "","","","","","","","","","","" ]; function dw(str) { document.write(str+'\n'); } function testSubmit() { alert(_fragThreshold); } function upperEverFirst(str){ var upperStr = str.replace(/\s[a-z]/g,function($1){return $1.toLocaleUpperCase()}).replace(/^[a-z]/,function($1){return $1.toLocaleUpperCase()}); return upperStr; } function getCookie(c_name) { if (document.cookie.length>0) { c_start=document.cookie.indexOf(c_name + "=") if (c_start!=-1) { c_start=c_start + c_name.length+1 c_end=document.cookie.indexOf(";",c_start) if (c_end==-1) c_end=document.cookie.length return unescape(document.cookie.substring(c_start,c_end)) } } if(c_name == "refreshTime") return default_refreshTime; else if(c_name == "diagIPAddr") return ""; else return default_language; } function readFile(url){ var xmlhttp; /*@cc_on @if (@_jscript_version >= 5) try { xmlhttp = new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) { try { xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); } catch (E) { xmlhttp = false; } } @else xmlhttp = false; @end @*/ if (!xmlhttp && typeof XMLHttpRequest != 'undefined') { try { xmlhttp = new XMLHttpRequest(); } catch (e) { xmlhttp = false; } } xmlhttp.open("GET",url,false); xmlhttp.send(null); return xmlhttp.responseText; } function replacespecial(val) { val=val.replace(/
  • ");} } var MENU_NODES; function _getOPMode(opmode,fwenable,natenable) { var diag_str = (!VendorList.WEB_USE_FOR_EAP150_300)?showText(684):"Diagnostics"; switch(opmode){ case 0://AP Router MENU_NODES = [ [showText(14), '', 'iframe', [showText(382), 'stamode.htm', 'iframe'], [showText(7), 'stainfo.htm', 'iframe'], ['DHCP', 'stadhcptbl.htm', 'iframe'], [showText(474), 'staschedule.htm', 'iframe'], [showText(673), 'stasylog.htm', 'iframe'], [showText(674), 'stasmonitor.htm', 'iframe'], ], [showText(2), '', 'iframe', [showText(7), 'wlstatus.htm', 'iframe'], [showText(77), 'wlbasic.htm', 'iframe'], [showText(78), 'wladvance.htm', 'iframe'], [showText(79), 'wlencrypt.htm', 'iframe'], [showText(723), 'wlcontrol.htm', 'iframe'], [showText(306), 'wps.htm', 'iframe'], [showText(724), 'staapclisurvey.htm', 'iframe'], ], [showText(675), '', 'iframe', [showText(7), 'stanet.htm', 'iframe'], ['LAN', 'lan.htm', 'iframe'], ['Spanning Tree', 'lan_adv_stp.htm', 'iframe'], ['WAN', 'wizard1.htm', 'iframe'], ], [showText(3), '', 'iframe', [showText(87), 'fwmain.htm', 'iframe'], ['DMZ', 'fwdmz.htm', 'iframe'], ['DoS', 'fwdos.htm', 'iframe'], [showText(811), 'fwmaccontrol.htm', 'iframe'], [showText(812), 'fwipcontrol.htm', 'iframe'], [showText(813), 'fwurlb.htm', 'iframe'] ], [showText(78), '', 'iframe', ['NAT', 'natmain.htm', 'iframe'], [showText(676), 'natpfw.htm', 'iframe'], [showText(677), 'natvser.htm', 'iframe'], [showText(678), 'natsapp.htm', 'iframe'], ['ALG', 'natalg.htm', 'iframe'], ['UPnP', 'natupnp.htm', 'iframe'], ['QoS', 'wanqos.htm', 'iframe'], [showText(679), 'natsrout.htm', 'iframe'], [showText(583), 'natdyrout.htm', 'iframe'], [showText(680), 'natrtable.htm', 'iframe'], ], [showText(681), '', 'iframe', [showText(925), 'syspasswd.htm', 'iframe'], ['SNMP', 'snmp.htm', 'iframe'], ['CLI', 'cli.htm', 'iframe'], [showText(213), 'tlupgrade.htm', 'iframe'], [showText(214), 'tlcon.htm', 'iframe'], [showText(124), 'tlreset.htm', 'iframe'], ], [showText(682), '', 'iframe', [showText(683), 'systimezone.htm', 'iframe'], ['DDNS', 'wanddns.htm', 'iframe'], [diag_str, 'sysdiag.htm', 'iframe'], [showText(796), 'ledcontrol.htm', 'iframe'], ], [showText(671), 'logout.htm', 'iframe', ], ]; break; case 1://Client Bridge Repeater MENU_NODES = [ [showText(14), MenuPicArray[0], 'iframe', [showText(382), 'stamode.htm', 'iframe'], [showText(7), 'stainfo.htm', 'iframe'], [showText(474), 'staschedule.htm', 'iframe'], [showText(673), 'stasylog.htm', 'iframe'], [showText(674), 'stasmonitor.htm', 'iframe'], ], [showText(2), MenuPicArray[1], 'iframe', [showText(7), 'wlstatus.htm', 'iframe'], [showText(77), 'wlbasic.htm', 'iframe'], [showText(78), 'wladvance.htm', 'iframe'], [showText(79), 'wlencrypt.htm', 'iframe'], [showText(723), 'wlcontrol.htm', 'iframe'], [showText(306), 'wps.htm', 'iframe'], [showText(724), 'staapclisurvey.htm', 'iframe'], ], [showText(675), MenuPicArray[2], 'iframe', [showText(7), 'stanet.htm', 'iframe'], ['LAN', 'lan.htm', 'iframe'], ['Spanning Tree', 'lan_adv_stp.htm', 'iframe'], ], [showText(681), MenuPicArray[5], 'iframe', [showText(925), 'syspasswd.htm', 'iframe'], ['SNMP', 'snmp.htm', 'iframe'], ['CLI', 'cli.htm', 'iframe'], [showText(213), 'tlupgrade.htm', 'iframe'], [showText(214), 'tlcon.htm', 'iframe'], [showText(124), 'tlreset.htm', 'iframe'], ], [showText(682), MenuPicArray[6], 'iframe', [showText(683), 'systimezone.htm', 'iframe'], [diag_str, 'sysdiag.htm', 'iframe'], [showText(796), 'ledcontrol.htm', 'iframe'], ], ['Wizard', 'rp_back.htm', 'iframe'], [showText(671), 'logout.htm', 'iframe', ], ]; break; case 2://AP Bridge default : MENU_NODES = [ [showText(14), '', 'iframe', [showText(382), 'stamode.htm', 'iframe'], [showText(7), 'stainfo.htm', 'iframe'], ['DHCP', 'stadhcptbl.htm', 'iframe'], [showText(474), 'staschedule.htm', 'iframe'], [showText(673), 'stasylog.htm', 'iframe'], [showText(674), 'stasmonitor.htm', 'iframe'], ], [showText(2), '', 'iframe', [showText(7), 'wlstatus.htm', 'iframe'], [showText(77), 'wlbasic.htm', 'iframe'], [showText(78), 'wladvance.htm', 'iframe'], [showText(79), 'wlencrypt.htm', 'iframe'], [showText(723), 'wlcontrol.htm', 'iframe'], [showText(306), 'wps.htm', 'iframe'], [showText(724), 'staapclisurvey.htm', 'iframe'], [showText(742), 'wlvlan.htm', 'iframe'], ], [showText(675), '', 'iframe', [showText(7), 'stanet.htm', 'iframe'], ['LAN', 'lan.htm', 'iframe'], ['Spanning Tree', 'lan_adv_stp.htm', 'iframe'], ], [showText(681), '', 'iframe', [showText(925), 'syspasswd.htm', 'iframe'], ['SNMP', 'snmp.htm', 'iframe'], ['CLI', 'cli.htm', 'iframe'], [showText(213), 'tlupgrade.htm', 'iframe'], [showText(214), 'tlcon.htm', 'iframe'], [showText(124), 'tlreset.htm', 'iframe'], ], [showText(682), '', 'iframe', [showText(683), 'systimezone.htm', 'iframe'], [diag_str, 'sysdiag.htm', 'iframe'], [showText(796), 'ledcontrol.htm', 'iframe'], ], [showText(671), 'logout.htm', 'iframe', ], ]; break; case 3://Client Bridge MENU_NODES = [ [showText(14), MenuPicArray[0], 'iframe', [showText(382), 'stamode.htm', 'iframe'], [showText(7), 'stainfo.htm', 'iframe'], [showText(474), 'staschedule.htm', 'iframe'], [showText(673), 'stasylog.htm', 'iframe'], [showText(674), 'stasmonitor.htm', 'iframe'], ], [showText(2), MenuPicArray[1], 'iframe', [showText(7), 'wlstatus.htm', 'iframe'], [showText(77), 'wlbasic.htm', 'iframe'], [showText(78), 'wladvance.htm', 'iframe'], [showText(306), 'wps.htm', 'iframe'], [showText(818), 'wlapprofile.htm', 'iframe'], ], [showText(675), MenuPicArray[2], 'iframe', [showText(7), 'stanet.htm', 'iframe'], ['LAN', 'lan.htm', 'iframe'], ['Spanning Tree', 'lan_adv_stp.htm', 'iframe'], ], [showText(681), MenuPicArray[5], 'iframe', [showText(925), 'syspasswd.htm', 'iframe'], ['SNMP', 'snmp.htm', 'iframe'], ['CLI', 'cli.htm', 'iframe'], [showText(213), 'tlupgrade.htm', 'iframe'], [showText(214), 'tlcon.htm', 'iframe'], [showText(124), 'tlreset.htm', 'iframe'], ], [showText(682), MenuPicArray[6], 'iframe', [showText(683), 'systimezone.htm', 'iframe'], [diag_str, 'sysdiag.htm', 'iframe'], ], [showText(671), 'logout.htm', 'iframe', ], ]; break; case 4://Client Bridge(Router) MENU_NODES = [ [showText(14), MenuPicArray[0], 'iframe', [showText(382), 'stamode.htm', 'iframe'], [showText(7), 'stainfo.htm', 'iframe'], ['DHCP', 'stadhcptbl.htm', 'iframe'], [showText(474), 'staschedule.htm', 'iframe'], [showText(673), 'stasylog.htm', 'iframe'], [showText(674), 'stasmonitor.htm', 'iframe'], ], [showText(2), MenuPicArray[1], 'iframe', [showText(7), 'wlstatus.htm', 'iframe'], [showText(77), 'wlbasic.htm', 'iframe'], [showText(78), 'wladvance.htm', 'iframe'], [showText(306), 'wps.htm', 'iframe'], [showText(818), 'wlapprofile.htm', 'iframe'], ], [showText(675), MenuPicArray[2], 'iframe', [showText(7), 'stanet.htm', 'iframe'], ['LAN', 'lan.htm', 'iframe'], ['Spanning Tree', 'lan_adv_stp.htm', 'iframe'], ['WAN', 'wizard1.htm', 'iframe'], ], ['Firewall', MenuPicArray[3], 'iframe', [showText(87), 'fwmain.htm', 'iframe'], ['DMZ', 'fwdmz.htm', 'iframe'], ['DoS', 'fwdos.htm', 'iframe'], [showText(811), 'fwmaccontrol.htm', 'iframe'], [showText(812), 'fwipcontrol.htm', 'iframe'], [showText(813), 'fwurlb.htm', 'iframe'] ], [showText(78), MenuPicArray[4], 'iframe', ['NAT', 'natmain.htm', 'iframe'], [showText(676), 'natpfw.htm', 'iframe'], [showText(677), 'natvser.htm', 'iframe'], [showText(678), 'natsapp.htm', 'iframe'], ['ALG', 'natalg.htm', 'iframe'], ['UPnP', 'natupnp.htm', 'iframe'], ['QoS', 'wanqos.htm', 'iframe'], [showText(679), 'natsrout.htm', 'iframe'], [showText(583), 'natdyrout.htm', 'iframe'], [showText(680), 'natrtable.htm', 'iframe'], ], [showText(681), MenuPicArray[5], 'iframe', [showText(925), 'syspasswd.htm', 'iframe'], ['SNMP', 'snmp.htm', 'iframe'], ['CLI', 'cli.htm', 'iframe'], [showText(213), 'tlupgrade.htm', 'iframe'], [showText(214), 'tlcon.htm', 'iframe'], [showText(124), 'tlreset.htm', 'iframe'], ], [showText(682), MenuPicArray[6], 'iframe', [showText(683), 'systimezone.htm', 'iframe'], ['DDNS', 'wanddns.htm', 'iframe'], [diag_str, 'sysdiag.htm', 'iframe'], ], [showText(671), 'logout.htm', 'iframe', ], ]; break; case 5://WDS Bridge MENU_NODES = [ [showText(14), '', 'iframe', [showText(382), 'stamode.htm', 'iframe'], [showText(7), 'stainfo.htm', 'iframe'], [showText(474), 'staschedule.htm', 'iframe'], [showText(673), 'stasylog.htm', 'iframe'], [showText(674), 'stasmonitor.htm', 'iframe'], ], [showText(2), '', 'iframe', [showText(7), 'wlstatus.htm', 'iframe'], [showText(77), 'wlbasic.htm', 'iframe'], [showText(78), 'wladvance.htm', 'iframe'], ], [showText(675), '', 'iframe', [showText(7), 'stanet.htm', 'iframe'], ['LAN', 'lan.htm', 'iframe'], ['Spanning Tree', 'lan_adv_stp.htm', 'iframe'], ], [showText(681), '', 'iframe', [showText(925), 'syspasswd.htm', 'iframe'], ['SNMP', 'snmp.htm', 'iframe'], ['CLI', 'cli.htm', 'iframe'], [showText(213), 'tlupgrade.htm', 'iframe'], [showText(214), 'tlcon.htm', 'iframe'], [showText(124), 'tlreset.htm', 'iframe'], ], [showText(682), '', 'iframe', [showText(683), 'systimezone.htm', 'iframe'], [diag_str, 'sysdiag.htm', 'iframe'], [showText(796), 'ledcontrol.htm', 'iframe'], ], [showText(671), 'logout.htm', 'iframe', ], ]; break; } } function _getAtherosOPMode(opmode,fwenable,natenable) { switch(opmode){ case 0://AP Router MENU_NODES = [ [showText(14), '', 'iframe', [showText(382), 'stamode.htm', 'iframe'], [showText(7), 'ath_stainfo.htm', 'iframe'], ['DHCP', 'stadhcptbl.htm', 'iframe'], [showText(673), 'stasylog.htm', 'iframe'], [showText(674), 'stasmonitor.htm', 'iframe'], ], [showText(2), '', 'iframe', [showText(7), 'ath_wlstatus.htm', 'iframe'], [showText(77), 'ath_wlbasic.htm', 'iframe'], [showText(78), 'ath_wladvance.htm', 'iframe'], [showText(79), 'ath_wlencrypt.htm', 'iframe'], [showText(723), 'wlcontrol.htm', 'iframe'], [showText(306), 'wps.htm', 'iframe'], [showText(724), 'ath_staapclisurvey.htm', 'iframe'], ], [showText(675), '', 'iframe', [showText(7), 'stanet.htm', 'iframe'], ['LAN', 'lan.htm', 'iframe'], ['WAN', 'wizard1.htm', 'iframe'], ], [showText(3), '', 'iframe', [showText(87), 'fwmain.htm', 'iframe'], ['DMZ', 'fwdmz.htm', 'iframe'], ['DoS', 'fwdos.htm', 'iframe'], [showText(811), 'fwmaccontrol.htm', 'iframe'], [showText(812), 'fwipcontrol.htm', 'iframe'], [showText(813), 'fwurlb.htm', 'iframe'] ], [showText(78), '', 'iframe', ['NAT', 'natmain.htm', 'iframe'], [showText(676), 'natpfw.htm', 'iframe'], [showText(677), 'natvser.htm', 'iframe'], [showText(678), 'natsapp.htm', 'iframe'], ['ALG', 'natalg.htm', 'iframe'], ['UPnP', 'natupnp.htm', 'iframe'], ['QoS', 'wanqos.htm', 'iframe'], [showText(679), 'natsrout.htm', 'iframe'], [showText(583), 'natdyrout.htm', 'iframe'], [showText(680), 'natrtable.htm', 'iframe'], ], [showText(681), '', 'iframe', [showText(925), 'syspasswd.htm', 'iframe'], ['SNMP', 'snmp.htm', 'iframe'], [showText(213), 'tlupgrade.htm', 'iframe'], [showText(214), 'tlcon.htm', 'iframe'], [showText(124), 'tlreset.htm', 'iframe'], ], [showText(682), '', 'iframe', [showText(683), 'systimezone.htm', 'iframe'], ['DDNS', 'wanddns.htm', 'iframe'], [showText(452), 'powersaving.htm', 'iframe'], [showText(684), 'sysdiag.htm', 'iframe'], [showText(796), 'ledcontrol.htm', 'iframe'], ], [showText(671), 'logout.htm', 'iframe', ], ]; break; case 1://Client Bridge Repeater MENU_NODES = [ [showText(14), '', 'iframe', [showText(382), 'stamode.htm', 'iframe'], [showText(7), 'ath_stainfo.htm', 'iframe'], [showText(673), 'stasylog.htm', 'iframe'], [showText(674), 'stasmonitor.htm', 'iframe'], ], [showText(2), '', 'iframe', [showText(7), 'ath_wlstatus.htm', 'iframe'], [showText(77), 'ath_wlbasic.htm', 'iframe'], [showText(78), 'ath_wladvance.htm', 'iframe'], //[showText(79), 'ath_wlencrypt.htm', 'iframe'], [showText(723), 'wlcontrol.htm', 'iframe'], [showText(306), 'wps.htm', 'iframe'], [showText(724), 'ath_staapclisurvey.htm', 'iframe'], ], [showText(675), '', 'iframe', [showText(7), 'stanet.htm', 'iframe'], ['LAN', 'lan.htm', 'iframe'], ], [showText(681), '', 'iframe', [showText(925), 'syspasswd.htm', 'iframe'], ['SNMP', 'snmp.htm', 'iframe'], [showText(213), 'tlupgrade.htm', 'iframe'], [showText(214), 'tlcon.htm', 'iframe'], [showText(124), 'tlreset.htm', 'iframe'], ], [showText(682), '', 'iframe', [showText(683), 'systimezone.htm', 'iframe'], [showText(684), 'sysdiag.htm', 'iframe'], [showText(796), 'ledcontrol.htm', 'iframe'], ], [showText(671), 'logout.htm', 'iframe', ], ]; break; case 2://AP Bridge default : MENU_NODES = [ [showText(14), '', 'iframe', [showText(382), 'stamode.htm', 'iframe'], [showText(7), 'ath_stainfo.htm', 'iframe'], ['DHCP', 'stadhcptbl.htm', 'iframe'], [showText(673), 'stasylog.htm', 'iframe'], [showText(674), 'stasmonitor.htm', 'iframe'], ], [showText(2), '', 'iframe', [showText(7), 'ath_wlstatus.htm', 'iframe'], [showText(77), 'ath_wlbasic.htm', 'iframe'], [showText(78), 'ath_wladvance.htm', 'iframe'], [showText(79), 'ath_wlencrypt.htm', 'iframe'], [showText(723), 'wlcontrol.htm', 'iframe'], [showText(306), 'wps.htm', 'iframe'], [showText(724), 'ath_staapclisurvey.htm', 'iframe'], ], [showText(675), '', 'iframe', [showText(7), 'stanet.htm', 'iframe'], ['LAN', 'lan.htm', 'iframe'], ], [showText(681), '', 'iframe', [showText(925), 'syspasswd.htm', 'iframe'], ['SNMP', 'snmp.htm', 'iframe'], [showText(213), 'tlupgrade.htm', 'iframe'], [showText(214), 'tlcon.htm', 'iframe'], [showText(124), 'tlreset.htm', 'iframe'], ], [showText(682), '', 'iframe', [showText(683), 'systimezone.htm', 'iframe'], [showText(452), 'powersaving.htm', 'iframe'], [showText(684), 'sysdiag.htm', 'iframe'], [showText(796), 'ledcontrol.htm', 'iframe'], ], [showText(671), 'logout.htm', 'iframe', ], ]; break; case 3://Client Bridge MENU_NODES = [ [showText(14), '', 'iframe', [showText(382), 'stamode.htm', 'iframe'], [showText(7), 'ath_stainfo.htm', 'iframe'], [showText(673), 'stasylog.htm', 'iframe'], [showText(674), 'stasmonitor.htm', 'iframe'], ], [showText(2), '', 'iframe', [showText(7), 'ath_wlstatus.htm', 'iframe'], [showText(77), 'ath_wlbasic.htm', 'iframe'], [showText(78), 'ath_wladvance.htm', 'iframe'], [showText(306), 'wps.htm', 'iframe'], [showText(818), 'wlapprofile.htm', 'iframe'], ], [showText(675), '', 'iframe', [showText(7), 'stanet.htm', 'iframe'], ['LAN', 'lan.htm', 'iframe'], ], [showText(681), '', 'iframe', [showText(925), 'syspasswd.htm', 'iframe'], ['SNMP', 'snmp.htm', 'iframe'], [showText(213), 'tlupgrade.htm', 'iframe'], [showText(214), 'tlcon.htm', 'iframe'], [showText(124), 'tlreset.htm', 'iframe'], ], [showText(682), '', 'iframe', [showText(683), 'systimezone.htm', 'iframe'], [showText(684), 'sysdiag.htm', 'iframe'], ], [showText(671), 'logout.htm', 'iframe', ], ]; break; case 4://Client Bridge(Router) MENU_NODES = [ [showText(14), '', 'iframe', [showText(382), 'stamode.htm', 'iframe'], [showText(7), 'ath_stainfo.htm', 'iframe'], ['DHCP', 'stadhcptbl.htm', 'iframe'], [showText(673), 'stasylog.htm', 'iframe'], [showText(674), 'stasmonitor.htm', 'iframe'], ], [showText(2), '', 'iframe', [showText(7), 'ath_wlstatus.htm', 'iframe'], [showText(77), 'ath_wlbasic.htm', 'iframe'], [showText(78), 'ath_wladvance.htm', 'iframe'], [showText(306), 'wps.htm', 'iframe'], [showText(818), 'wlapprofile.htm', 'iframe'], ], [showText(675), '', 'iframe', [showText(7), 'stanet.htm', 'iframe'], ['LAN', 'lan.htm', 'iframe'], ['WAN', 'wizard1.htm', 'iframe'], ], ['Firewall', '', 'iframe', [showText(87), 'fwmain.htm', 'iframe'], ['DMZ', 'fwdmz.htm', 'iframe'], ['DoS', 'fwdos.htm', 'iframe'], [showText(811), 'fwmaccontrol.htm', 'iframe'], [showText(812), 'fwipcontrol.htm', 'iframe'], [showText(813), 'fwurlb.htm', 'iframe'] ], [showText(78), '', 'iframe', [showText(676), 'natpfw.htm', 'iframe'], [showText(677), 'natvser.htm', 'iframe'], [showText(678), 'natsapp.htm', 'iframe'], ['ALG', 'natalg.htm', 'iframe'], ['UPnP', 'natupnp.htm', 'iframe'], ['QoS', 'wanqos.htm', 'iframe'], [showText(679), 'natsrout.htm', 'iframe'], [showText(583), 'natdyrout.htm', 'iframe'], [showText(680), 'natrtable.htm', 'iframe'], ], [showText(681), '', 'iframe', [showText(925), 'syspasswd.htm', 'iframe'], ['SNMP', 'snmp.htm', 'iframe'], [showText(213), 'tlupgrade.htm', 'iframe'], [showText(214), 'tlcon.htm', 'iframe'], [showText(124), 'tlreset.htm', 'iframe'], ], [showText(682), '', 'iframe', [showText(683), 'systimezone.htm', 'iframe'], ['DDNS', 'wanddns.htm', 'iframe'], [showText(684), 'sysdiag.htm', 'iframe'], ], [showText(671), 'logout.htm', 'iframe', ], ]; break; case 5://WDS Bridge MENU_NODES = [ [showText(14), '', 'iframe', [showText(382), 'stamode.htm', 'iframe'], [showText(7), 'ath_stainfo.htm', 'iframe'], [showText(673), 'stasylog.htm', 'iframe'], [showText(674), 'stasmonitor.htm', 'iframe'], ], [showText(2), '', 'iframe', [showText(7), 'ath_wlstatus.htm', 'iframe'], [showText(77), 'ath_wlbasic.htm', 'iframe'], [showText(78), 'ath_wladvance.htm', 'iframe'], ], [showText(675), '', 'iframe', [showText(7), 'stanet.htm', 'iframe'], ['LAN', 'lan.htm', 'iframe'], ], [showText(681), '', 'iframe', [showText(925), 'syspasswd.htm', 'iframe'], ['SNMP', 'snmp.htm', 'iframe'], [showText(213), 'tlupgrade.htm', 'iframe'], [showText(214), 'tlcon.htm', 'iframe'], [showText(124), 'tlreset.htm', 'iframe'], ], [showText(682), '', 'iframe', [showText(683), 'systimezone.htm', 'iframe'], [showText(684), 'sysdiag.htm', 'iframe'], [showText(796), 'ledcontrol.htm', 'iframe'], ], [showText(671), 'logout.htm', 'iframe', ], ]; break; } } function showButton() { /* document.write('') document.write(' ') */ document.write('') document.write(' ') document.write('') } function wanTypeList(index) { var selectArry=new Array(); for(i=1;i<=4;i++) { selectArry[i]=(i==index)?"selected":""; } document.write(""); document.write(""); document.write(""); document.write(""); document.write(""); //document.write(""); } var FIRMWAREVER=[ {model:"TEW735AP",clonedMac:"false",webtitle:"2.4GHz Wireless-N Access Point",hasAutoChan:"1"} ]; var HOST_NAME_REGX = new RegExp("^[a-zA-Z0-9]\\w{0,30}$"); var MULTICAST_IP_REGX = new RegExp("^(22[4-9]|2[3-4][0-9]|25[0-5])\\.(\\d{1,2}|1\\d\\d|2[0-4]\\d|25[0-5])\\.(\\d{1,2}|1\\d\\d|2[0-4]\\d|25[0-5])\\.(\\d{1,2}|1\\d\\d|2[0-4]\\d|25[0-5])$"); var g_modeTbl = new Array("AP Router","Station-Ad Hoc","Station-Infrastructure","AP Bridge-Point to Point","AP Bridge-Point to Multi-Point","WDS","AP Repeater"); var s_modeTbl = new Array("Router",showText(731),showText(728),showText(729),"Client Router",showText(730),"" ,"WDS AP"); var default_refreshTime = 5; var refreshTime = getCookie('refreshTime'); function showSpacedText(str) { str=str.replace(/ /g," "); return str; } function get_by_id(id) { with(document){ return getElementById(id); } } function checkPincodeFormat(str) { var PIN = parseInt(str,10); var accum = 0; accum += 3 * parseInt((PIN / 10000000) % 10); accum += 1 * parseInt((PIN / 1000000) % 10); accum += 3 * parseInt((PIN / 100000) % 10); accum += 1 * parseInt((PIN / 10000) % 10); accum += 3 * parseInt((PIN / 1000) % 10); accum += 1 * parseInt((PIN / 100) % 10); accum += 3 * parseInt((PIN / 10) % 10); accum += 1 * parseInt((PIN / 1) % 10); return (0 == parseInt((accum % 10))); } function checkUrlFilterString(str) { var strLen=str.length; var checkStr; //var checkStr="http://"; var checkStrArr=new Array("http://","https://"); for(j=0;j1) return false; } return true; }