Not a member of Pastebin yet?
                        Sign Up,
                        it unlocks many cool features!                    
                - <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <META http-equiv="Pragma" CONTENT="no-cache">
- <META HTTP-EQUIV="Cache-Control" CONTENT="no-cache">
- <LINK REL="stylesheet" TYPE="text/css" id="menu" HREF="menu.css">
- <LINK REL="stylesheet" TYPE="text/css" id="webframe" HREF="webframe.css">
- <script language="javascript" type="text/javascript" src="menu.js"></script>
- <script language="javascript" type="text/javascript" src="header.js"></script>
- <script language="javascript" type="text/javascript" src="lang.js"></script>
- <script language="javascript" type="text/javascript" src=""></script>
- <script language="javascript" type="text/javascript" src="active.js"></script>
- <script language="javascript" type="text/javascript" src="ajax.js"></script>
- <script language="javascript" type="text/javascript" src="linux.js"></script>
- <script language="javascript" type="text/javascript">
- strHtml='<title>'+vwradio+'</title>';
- dw(strHtml);
- strHtml='<LINK REL="stylesheet" TYPE="text/css" HREF="'+vcss_type+'">';
- dw(strHtml);
- //Searching for your client device
- var chList5G40M_Lower = new Array(36,44,52,60,100,108,116,124,132);
- var chList5G40M_Upper = new Array(40,48,56,64,104,112,120,128,136);
- var chList24G40M_Lower = new Array(1,2,3,4,5,6,7,8,9);
- var chList24G40M_Upper = new Array(5,6,7,8,9,10,11,12,13);
- var dot11OperMode= 3;
- //var wifiSecurityMode = "psk2_mixed";
- var IsVlanModeEnable= false;
- var RgDot11MbssControl= 1;
- var request = false;
- try
- {
- request = new XMLHttpRequest();
- }
- catch (trymicrosoft)
- {
- try
- {
- request = new ActiveXObject("Msxml2.XMLHTTP");
- }
- catch (othermicrosoft)
- {
- try
- {
- request = new ActiveXObject("Microsoft.XMLHTTP");
- }
- catch (failed)
- {
- request = false;
- }
- }
- }
- function setOptionsSelected()
- {
- var cf = document.forms[0];
- <!-- 2 -->
- <!-- 2 -->
- if(cf.get_radio_band.value == "0")//20Mhz
- {
- //set radio band
- cf.radio_band[0].selected = true;
- <!-- 2 -->
- <!-- 2 -->
- if(cf.h_network_band.value == "2")//2.4Ghz
- {
- <!-- 2 -->
- //set control channel
- for(var i=0;i<cf.wl_channel_2Ghz_20M.length;i++)
- {
- if(parseInt(cf.wl_channel_2Ghz_20M[i].value,10) == parseInt(cf.h_wl_channel.value,10))
- {
- cf.wl_channel_2Ghz_20M[i].selected = true;
- }
- }
- <!-- -->
- }
- else if(cf.h_network_band.value == "1")//5Ghz
- {
- <!-- 2 -->
- //set control channel*/
- for(var i=0;i<cf.wl_channel_5Ghz_20M.length;i++)
- {
- if(parseInt(cf.wl_channel_5Ghz_20M[i].value,10) == parseInt(cf.h_wl_channel.value,10))
- {
- cf.wl_channel_5Ghz_20M[i].selected = true;
- }
- }
- <!-- -->
- }
- <!-- -->
- <!-- -->
- }
- else //1==40Mhz
- {
- //set radio band
- cf.radio_band[1].selected = true;
- <!-- 2 -->
- <!-- 2 -->
- if(cf.h_network_band.value == "2")//2.4Ghz
- {
- <!-- 2 -->
- //set control channel
- for(var i=0;i<cf.wl_channel_2Ghz_40M.length;i++)
- {
- if(parseInt(cf.wl_channel_2Ghz_40M[i].value,10) == parseInt(cf.h_wl_channel.value,10))
- {
- cf.wl_channel_2Ghz_40M[i].selected = true;
- }
- }
- <!-- -->
- }
- else if(cf.h_network_band.value == "1")//5Ghz
- {
- <!-- 2 -->
- /*set control wide channel*/
- for(var i=0;i<cf.wl_channel_5Ghz_40M.length;i++)
- {
- if(parseInt(cf.wl_channel_5Ghz_40M[i].value,10) == parseInt(cf.h_wl_channel.value,10))
- {
- cf.wl_channel_5Ghz_40M[i].selected = true;
- }
- }
- <!-- -->
- }
- <!-- -->
- <!-- -->
- }
- <!-- -->
- <!-- -->
- <!-- 2 -->
- <!-- 2 -->
- if (cf.h_network_band.value == "2")
- {
- <!-- 2 -->
- ChangeSideBandFor2_4Ghz();
- <!-- -->
- ///*set ui wide band*/
- <!-- 2 -->
- <!-- 2 -->
- if(cf.get_radio_band.value == "1" && cf.h_wifi_sideband.value == "-1")
- {
- if (cf.side_band.length > 1)
- {
- cf.side_band[1].selected = true;
- }
- }
- else
- {
- cf.side_band[0].selected = true;
- }
- <!-- -->
- <!-- -->
- }
- else if(cf.h_network_band.value == "1")//5Ghz
- {
- <!-- 2 -->
- ChangeSideBandFor5Ghz();
- <!-- -->
- /*set ui wide band*/
- <!-- 2 -->
- <!-- 2 -->
- if(cf.get_radio_band.value == "1" && cf.h_wifi_sideband.value == "-1")
- {
- if (cf.side_band_5Ghz.length > 1)
- {
- cf.side_band_5Ghz[1].selected = true;
- }
- }
- else
- {
- cf.side_band_5Ghz[0].selected = true;
- }
- <!-- -->
- <!-- -->
- }
- <!-- -->
- <!-- -->
- }
- function init()
- {
- var cf = document.forms[0];
- if(dot11OperMode==1)
- {
- div_WL_UICtrl=document.getElementById("id_WL_UICtrl");
- div_WL_UICtrl.innerHTML="<br><FONT face=Arial color=\"white\" size=4>"+msg_WL_IF_disabled+"</FONT>";
- }
- else
- {
- <!-- 2 -->
- <!-- 2 -->
- cf.h_network_band.value = cf.network_band[cf.network_band.selectedIndex].value;
- cf.get_h_network_band.value = cf.network_band[cf.network_band.selectedIndex].value;
- <!-- -->
- <!-- -->
- dataToVisible(cf);
- onChangeCWM();
- setOptionsSelected();
- <!-- 2 -->
- <!-- 2 -->
- //setWiFiDiv();
- <!-- -->
- <!-- -->
- enableDisable();
- //WPSEnableDisable();
- DisplayChannelList();
- // enableMulti();
- onChangeForShowSideBand();
- // CheckIfWpsCancel();
- //if (cf.h_wps_cur_status.value=="pbc")
- //if (cf.h_wps_cur_status.value!="")
- // refreshWPSStatus();
- //wps_search_device_timer();
- //wps_connect_device_timer();
- if(dot11OperMode==2)
- {
- opermode_RW_control(dot11OperMode);
- }
- }
- if (!RgDot11MbssControl)
- {
- SetDisabledByOBJ(document.getElementById("i_wirelessSwitch"));
- SetDisabledByOBJ(document.getElementById("manualDIV"));
- }
- <!-- 2 -->
- <!-- 2 -->
- CheckScanPopup();
- <!-- -->
- <!-- -->
- }
- <!-- 2 -->
- <!-- 2 -->
- function setWiFiDiv()
- {
- var cf = document.forms[0];
- var dflag = cf.wifi_configuration[0].checked;
- show_hide("manualDIV", (dflag == true));
- show_hide("wpsDIV", (dflag == false));
- }
- function WPSEnableDisable()
- {
- var cf = document.forms[0];
- var dflag = cf.wifi_configuration[1].checked;
- show_hide("manualDIV", 1);
- show_hide("wpsDIV", 1);
- show_hide("wpsStatusDIV",false)
- setDisabled(dflag,cf.wl_enrolee_pin,cf.wps_register, /* cf.wps_registrar,*/ cf.GeneratePINCode);
- }
- <!-- -->
- <!-- -->
- function setDivs()
- {
- var cf = document.forms[0];
- <!-- 2 -->
- <!-- 2 -->
- cf.h_radio_band.value =cf.radio_band[cf.radio_band.selectedIndex].value;
- cf.h_radio_band.value =cf.radio_band[cf.radio_band.selectedIndex].value;
- <!-- -->
- <!-- -->
- cwm_mode = cf.get_radio_band.value;
- }
- function sumbitCountryCode()
- {
- var cf = document.forms[0];
- cf.h_wifi_country_code.value = cf.wifi_country_code[cf.wifi_country_code.selectedIndex].value;
- document.WRadioSettings.submit();
- }
- function onChangeCWM()
- {
- var cf = document.forms[0];
- <!-- 2 -->
- <!-- 2 -->
- cf.h_network_mode.value = cf.network_mode[cf.network_mode.selectedIndex].value;
- <!-- -->
- <!-- -->
- var networkmode = cf.h_network_mode.value;
- if(networkmode != 2)
- {
- <!-- 2 -->
- <!-- 2 -->
- show_hide("NWBandforN", 0);
- <!-- -->
- <!-- -->
- <!-- 2 -->
- <!-- 2 -->
- show_hide("RaidoBandforN", 0);
- <!-- -->
- <!-- -->
- show_hide("removefor20M", 0);
- }
- else//b/g/n mixed
- {
- <!-- 2 -->
- <!-- 2 -->
- show_hide("NWBandforN", 1);
- <!-- -->
- <!-- -->
- <!-- 2 -->
- <!-- 2 -->
- show_hide("RaidoBandforN", 1);
- <!-- -->
- <!-- -->
- DisplayChannelList();
- <!-- 2 -->
- <!-- 2 -->
- cf.h_radio_band.value =cf.radio_band[cf.radio_band.selectedIndex].value;
- cf.get_radio_band.value =cf.radio_band[cf.radio_band.selectedIndex].value;
- <!-- -->
- <!-- -->
- cwm_mode = cf.get_radio_band.value;
- if(cwm_mode==0)//20M
- {
- document.WRadioSettings.side_band.disabled=true;
- document.WRadioSettings.side_band_5Ghz.disabled=true;
- show_hide("removefor20M", 0);
- }
- else//40M
- {
- document.WRadioSettings.side_band.disabled=false;
- document.WRadioSettings.side_band_5Ghz.disabled=false;
- <!-- 2 -->
- <!-- 2 -->
- cf.h_network_band.value = cf.network_band[cf.network_band.selectedIndex].value
- cf.get_h_network_band.value = cf.network_band[cf.network_band.selectedIndex].value
- <!-- -->
- <!-- -->
- var networkBand = cf.get_h_network_band.value;
- if(networkBand == 2) //2.4Ghz
- {
- show_hide("removefor20M", 1);
- }
- else if (networkBand == 1) //5Ghz
- {
- show_hide("removefor20M", 0);
- }
- }
- }
- setDivs();
- }
- function onChangeForShowSideBand()
- {
- var cf = document.forms[0];
- <!-- 2 -->
- <!-- 2 -->
- cf.h_network_band.value=cf.network_band[cf.network_band.selectedIndex].value;
- cf.get_h_network_band.value=cf.network_band[cf.network_band.selectedIndex].value;
- <!-- -->
- <!-- -->
- var cwm_mode = cf.get_h_network_band.value;
- <!-- 2 -->
- <!-- 2 -->
- cf.h_network_mode.value = cf.network_mode[cf.network_mode.selectedIndex].value;
- <!-- -->
- <!-- -->
- var networkmode = cf.h_network_mode.value;
- <!-- 2 -->
- <!-- 2 -->
- cf.h_radio_band.value =cf.radio_band[cf.radio_band.selectedIndex].value;
- cf.get_radio_band.value =cf.radio_band[cf.radio_band.selectedIndex].value;
- <!-- -->
- <!-- -->
- var radioBand = cf.get_radio_band.value;
- if(networkmode == 2)//b/g/n mixed
- {
- if(radioBand == 0)//20M
- {
- <!-- 2 -->
- show_hide("stdchDIV1", (cwm_mode == "10"));
- show_hide("stdchDIV2", (cwm_mode == "10"));
- <!-- -->
- }
- else if(radioBand == 1)//40M
- {
- <!-- 2 -->
- show_hide("stdchDIV11", (cwm_mode == "10"));
- show_hide("stdchDIV22", (cwm_mode == "10"));
- <!-- -->
- }
- <!-- 2 -->
- <!-- 2 -->
- show_hide("sideBandDIV1", (cwm_mode == "10"));
- show_hide("sideBandDIV2", (cwm_mode == "10"));
- <!-- -->
- <!-- -->
- switch(cwm_mode)
- {
- case "2"://2.4Ghz
- if(radioBand == 0)//20M
- {
- <!-- 2 -->
- show_hide("stdchDIV1", (cwm_mode == "2"));
- <!-- -->
- }
- else if(radioBand == 1)//40M
- {
- <!-- 2 -->
- show_hide("stdchDIV11", (cwm_mode == "2"));
- <!-- -->
- }
- <!-- 2 -->
- <!-- 2 -->
- show_hide("sideBandDIV1", (cwm_mode == "2"));
- <!-- -->
- <!-- -->
- break;
- case "1"://5Ghz
- if(radioBand == 0)//20M
- {
- show_hide("stdchDIV2", (cwm_mode == "1"));
- }
- else if(radioBand == 1)//40M
- {
- show_hide("stdchDIV22", (cwm_mode == "1"));
- }
- show_hide("sideBandDIV2", (cwm_mode == "1"));
- break;
- }
- }
- else
- {
- show_hide("stdchDIV2", 0);
- show_hide("stdchDIV22", 0);// add for CR48781.c
- <!-- 2 -->
- show_hide("stdchDIV1", 1);
- show_hide("stdchDIV11", 0);//add for CR48781.c
- <!-- -->
- }
- }
- function enableDisable()
- {
- var cf = document.forms[0];
- var dflag = cf.wifi_enable[1].checked;
- // var dflag1 = cf.wifi_configuration[1].checked;
- <!-- 2 -->
- <!-- 2 -->
- setDisabled(dflag,cf.network_mode);
- if (cf.h_wifi_country_code.value != '')
- {
- setDisabled(dflag,cf.wifi_country_code);
- }
- <!-- -->
- <!-- -->
- <!-- 2 -->
- <!-- 2 -->
- setDisabled(dflag,cf.network_band);
- <!-- -->
- <!-- -->
- <!-- 2 -->
- <!-- 2 -->
- setDisabled(dflag,cf.radio_band);
- <!-- -->
- <!-- -->
- <!-- 2 -->
- setDisabled(dflag,cf.wl_channel_2Ghz_20M,cf.wl_channel_2Ghz_40M);
- <!-- -->
- <!-- 2 -->
- setDisabled(dflag,cf.wl_channel_5Ghz_20M,cf.wl_channel_5Ghz_40M);
- <!-- -->
- <!-- 2 -->
- <!-- 2 -->
- setDisabled(dflag,cf.wl_ssid0);
- <!-- -->
- <!-- -->
- <!-- 2 -->
- <!-- 2 -->
- setDisabled(dflag,cf.wl_hide_ssid0);
- <!-- -->
- <!-- -->
- <!-- 2 -->
- <!-- 2 -->
- //if (dflag)
- // setDisabled(dflag,cf.wifi_configuration[0],cf.wifi_configuration[1],cf.wl_enrolee_pin,cf.wps_register, /* cf.wps_registrar,*/ cf.GeneratePINCode);
- //else
- //{
- // setDisabled(dflag,cf.wifi_configuration[0],cf.wifi_configuration[1]);
- // setDisabled(dflag1,cf.wl_enrolee_pin,cf.wps_register, /* cf.wps_registrar,*/ cf.GeneratePINCode);
- //}
- <!-- -->
- <!-- -->
- setDisabled(dflag,cf.side_band,cf.side_band_5Ghz);
- // when wireless is disabled, the wps buttons should be grey
- if (dflag!=true)
- {
- onChangeCWM()
- onChangeForShowSideBand();
- }
- var section_UserAccessWebPage_68=2;
- var section_UserAccessWebPage_55=2;
- if(section_UserAccessWebPage_55 == 1 || section_UserAccessWebPage_68 == 1)
- {
- //setDisabled(1, cf.wifi_configuration[0], cf.wifi_configuration[1]);
- //setDisabled(1, cf.wl_enrolee_pin, cf.wps_register, /*cf.wps_registrar,*/ cf.GeneratePINCode);
- }
- // ; // 0: No Access, 1: Read Only, 2: Read Write
- // ; // 0: No Access, 1: Read Only, 2: Read Write
- var section_UserAccessWebPage_62=2;
- var section_UserAccessWebPage_49=2;
- if(section_UserAccessWebPage_49 == 1 || section_UserAccessWebPage_62 == 1)
- {
- setDisabled(1, cf.network_mode);
- }
- // ; // 0: No Access, 1: Read Only, 2: Read Write
- // ; // 0: No Access, 1: Read Only, 2: Read Write
- var section_UserAccessWebPage_61=2;
- var section_UserAccessWebPage_48=2;
- if(section_UserAccessWebPage_48 == 1 || section_UserAccessWebPage_61 == 1)
- {
- setDisabled(1, cf.network_band);
- }
- // ; // 0: No Access, 1: Read Only, 2: Read Write
- // ; // 0: No Access, 1: Read Only, 2: Read Write
- var section_UserAccessWebPage_66=2;
- var section_UserAccessWebPage_53=2;
- if(section_UserAccessWebPage_53 == 1 || section_UserAccessWebPage_66 == 1)
- {
- setDisabled(1, cf.radio_band);
- }
- // ; // 0: No Access, 1: Read Only, 2: Read Write
- // ; // 0: No Access, 1: Read Only, 2: Read Write
- var section_UserAccessWebPage_52=2;
- if(section_UserAccessWebPage_52 == 1)
- {
- setDisabled(1, cf.wl_channel_2Ghz_20M, cf.wl_channel_2Ghz_40M);
- }
- // ; // 0: No Access, 1: Read Only, 2: Read Write
- var section_UserAccessWebPage_65=2;
- if(section_UserAccessWebPage_65 == 1)
- {
- setDisabled(1, cf.wl_channel_5Ghz_20M, cf.wl_channel_5Ghz_40M);
- }
- // ; // 0: No Access, 1: Read Only, 2: Read Write
- var section_UserAccessWebPage_63=2;
- var section_UserAccessWebPage_50=2;
- if(section_UserAccessWebPage_50 == 1 || section_UserAccessWebPage_63 == 1)
- {
- setDisabled(1, cf.wl_ssid0);
- }
- // ; // 0: No Access, 1: Read Only, 2: Read Write
- // ; // 0: No Access, 1: Read Only, 2: Read Write
- var section_UserAccessWebPage_64=2;
- var section_UserAccessWebPage_51=2;
- if(section_UserAccessWebPage_51 == 1 || section_UserAccessWebPage_64 == 1)
- {
- setDisabled(1, cf.wl_hide_ssid0);
- }
- // ; // 0: No Access, 1: Read Only, 2: Read Write
- // ; // 0: No Access, 1: Read Only, 2: Read Write
- }
- function enableMulti()
- {
- var cf = document.forms[0];
- var dflag = getRadioCheckedValue(cf.wl_multi_ssid) == "disable" ;
- //setDisabled(dflag,cf.wl_ssid1,cf.wl_hide_ssid1,cf.wl_ssid2,cf.wl_hide_ssid2,cf.wl_ssid3,cf.wl_hide_ssid3);
- if (dflag!=true)
- {
- onChangeCWM();
- }
- }
- <!-- 2 -->
- <!-- 2 -->
- function checkData()
- {
- var cf = document.forms[0];
- var msg = "";
- <!-- 2 -->
- <!-- 2 -->
- if(getSelected(cf.network_band) != "off")
- {
- <!-- 2 -->
- <!-- 2 -->
- if (isBlank(cf.wl_ssid0.value))
- {
- alert(invalid_wnet_ssid + blank_error);
- return false;
- }
- else
- {
- if(!checkCharacter(cf.wl_ssid0.value))
- {
- alert(invalid_wnet_ssid+ characters_error);
- return false;
- }
- }
- msg+= checkBlank(cf.wl_ssid0, msg_ssid1);
- <!-- -->
- <!-- -->
- }
- <!-- -->
- <!-- -->
- //msg+= checkAllSpaces(cf.wl_ssid, msg_ssid);
- if(msg.length > 1 )
- {
- alert(msg);
- return false;
- }
- dataToHidden(cf);
- <!-- 2 -->
- <!-- 2 -->
- cf.h_network_mode.value = cf.network_mode[cf.network_mode.selectedIndex].value;
- <!-- -->
- <!-- -->
- if(cf.h_network_mode.value != 2)//not b/g/n mixed
- {
- cf.h_network_band.value = "2";//2.4G
- cf.get_h_network_band.value = "2";
- <!-- 2 -->
- cf.h_wl_channel.value = cf.wl_channel_2Ghz_20M[cf.wl_channel_2Ghz_20M.selectedIndex].value;
- <!-- -->
- <!-- 2 -->
- <!-- 2 -->
- cf.h_radio_band.value = "0";
- cf.get_radio_band.value = "0";
- <!-- -->
- <!-- -->
- cf.h_wifi_sideband.value = "0";
- return true;
- }
- //b/g/n mixed
- <!-- 2 -->
- <!-- 2 -->
- cf.h_radio_band.value= cf.radio_band[cf.radio_band.selectedIndex].value;
- cf.get_radio_band.value= cf.radio_band[cf.radio_band.selectedIndex].value;
- <!-- -->
- <!-- -->
- var radioBand = cf.get_radio_band.value;
- <!-- 2 -->
- <!-- 2 -->
- cf.h_network_band.value = cf.network_band[cf.network_band.selectedIndex].value
- cf.get_h_network_band.value = cf.network_band[cf.network_band.selectedIndex].value
- <!-- -->
- <!-- -->
- if(cf.get_h_network_band.value == "1")//5Ghz
- {
- //cf.h_network_band.value = "1";
- if(radioBand == 1)//40M
- {
- <!-- 2 -->
- if(cf.wl_channel_5Ghz_40M[cf.wl_channel_5Ghz_40M.selectedIndex].value == 0)//auto,need to disable the side band
- {
- cf.h_wifi_sideband.value = "0";//none
- }
- cf.h_wl_channel.value = cf.wl_channel_5Ghz_40M[cf.wl_channel_5Ghz_40M.selectedIndex].value;
- /*if control channel > wide channel,sideband is "upper",else "lower"*/
- if(parseInt(cf.wl_channel_5Ghz_40M[cf.wl_channel_5Ghz_40M.selectedIndex].value,10) > parseInt(cf.side_band_5Ghz[cf.side_band_5Ghz.selectedIndex].value,10))
- {
- cf.h_wifi_sideband.value = "1";//1 is upper
- }
- else if(parseInt(cf.wl_channel_5Ghz_40M[cf.wl_channel_5Ghz_40M.selectedIndex].value,10) < parseInt(cf.side_band_5Ghz[cf.side_band_5Ghz.selectedIndex].value,10))
- {
- cf.h_wifi_sideband.value = "-1";//-1 is lower
- }
- else
- {
- cf.h_wifi_sideband.value = "0";//0 is none
- }
- <!-- -->
- }
- if(radioBand == 0)//20M
- {
- cf.h_wifi_sideband.value = "0";//none
- <!-- 2 -->
- cf.h_wl_channel.value = cf.wl_channel_5Ghz_20M[cf.wl_channel_5Ghz_20M.selectedIndex].value;
- <!-- -->
- }
- }
- else if (cf.get_h_network_band.value == "2")//2.4Ghz
- {
- //cf.h_network_band.value = "2";
- if(radioBand =="1")//1==40M
- {
- <!-- 2 -->
- cf.h_wl_channel.value = cf.wl_channel_2Ghz_40M[cf.wl_channel_2Ghz_40M.selectedIndex].value;
- if(parseInt(cf.wl_channel_2Ghz_40M[cf.wl_channel_2Ghz_40M.selectedIndex].value,10) > parseInt(cf.side_band[cf.side_band.selectedIndex].value,10))
- {
- cf.h_wifi_sideband.value = "1";//1 is upper
- }
- else if(parseInt(cf.wl_channel_2Ghz_40M[cf.wl_channel_2Ghz_40M.selectedIndex].value,10) < parseInt(cf.side_band[cf.side_band.selectedIndex].value))
- {
- cf.h_wifi_sideband.value = "-1";//-1 is lower
- }
- else
- {
- cf.h_wifi_sideband.value = "0";//0 is lower
- }
- <!-- -->
- }
- else
- {
- <!-- 2 -->
- cf.h_wl_channel.value = cf.wl_channel_2Ghz_20M[cf.wl_channel_2Ghz_20M.selectedIndex].value;
- <!-- -->
- cf.h_wifi_sideband.value = "0";//0 is none
- }
- }
- return true;
- }
- <!-- 2 -->
- function ChangeSideBandFor2_4Ghz()
- {
- var theselect=document.WRadioSettings.side_band;
- var channel=document.WRadioSettings.wl_channel_2Ghz_40M;
- while (theselect.options.length!=0)
- {
- theselect.remove(0);
- }
- var sideArr = new Array(channel.length);
- for(var i=0;i<channel.length;i++)
- {
- sideArr[i] = channel[i].value;
- }
- switch(channel.selectedIndex)
- {
- case 0:
- theselect.options[0] = new Option("Auto" ,0);
- break;
- default:
- var resultUpper = findInUpperLowerList("Upper","24G",document.WRadioSettings.wl_channel_2Ghz_40M[channel.selectedIndex].value);
- var resultLower = findInUpperLowerList("Lower","24G",document.WRadioSettings.wl_channel_2Ghz_40M[channel.selectedIndex].value);
- var tagIndex = 0;
- if(resultLower!=0)//find,and the resultLower is the found Value
- {
- theselect.options[tagIndex] = new Option( resultLower,resultLower);
- tagIndex = 1;
- }
- if(resultUpper!=0)//find ,and the resultUpper is the found Value
- {
- theselect.options[tagIndex] = new Option( resultUpper,resultUpper);
- }
- break;
- }
- document.WRadioSettings.h_wl_channel.value = channel[channel.selectedIndex].value;
- }
- <!-- -->
- <!-- 2 -->
- function ChangeSideBandFor5Ghz()
- {
- var theselect=document.WRadioSettings.side_band_5Ghz;
- var channel=document.WRadioSettings.wl_channel_5Ghz_40M;
- var sideArr_int = new Array(channel.length);
- for(var i=0;i<channel.length;i++)
- {
- sideArr_int[i] = channel[i].value;
- }
- while (theselect.options.length!=0)
- {
- theselect.remove(0);
- }
- switch(channel.selectedIndex)
- {
- case 0:
- theselect.options[0] = new Option("Auto" ,0);
- break;
- default:
- var resultUpper = findInUpperLowerList("Upper","5G",document.WRadioSettings.wl_channel_5Ghz_40M[channel.selectedIndex].value);
- var resultLower = findInUpperLowerList("Lower","5G",document.WRadioSettings.wl_channel_5Ghz_40M[channel.selectedIndex].value);
- var tagIndex = 0;
- if(resultLower!=0)//find,and the resultLower is the found Value
- {
- theselect.options[tagIndex] = new Option( resultLower,resultLower);
- tagIndex = 1;
- }
- if(resultUpper!=0)//find ,and the resultUpper is the found Value
- {
- theselect.options[tagIndex] = new Option( resultUpper,resultUpper);
- }
- break;
- }
- document.WRadioSettings.h_wl_channel.value = channel[channel.selectedIndex].value;
- }
- <!-- -->
- function findInUpperLowerList(UppLower,NbandType,value)
- {
- var chList;
- if(UppLower == "Upper")
- {
- if(NbandType == "5G")
- {
- chList = chList5G40M_Upper;
- }
- else if(NbandType == "24G")
- {
- chList = chList24G40M_Upper;
- }
- for(var i=0;i<chList.length;i++)
- {
- if((parseInt(value)+4)==chList[i])
- return chList[i];
- }
- }
- else if(UppLower == "Lower")
- {
- if(NbandType == "5G")
- {
- chList = chList5G40M_Lower;
- }
- else if(NbandType == "24G")
- {
- chList = chList24G40M_Lower;
- }
- for(var i=0;i<chList.length;i++)
- {
- if((parseInt(value)-4)== chList[i])
- return chList[i];
- }
- }
- return 0;
- }
- <!-- 2 -->
- <!-- 2 -->
- function cfgEvent(type)
- {
- //type == 4
- window.document.WRadioSettings.cfgAction.value = type;
- window.document.WRadioSettings.submit();
- }
- <!-- -->
- <!-- -->
- function DisplayChannelList()
- {
- var cf = document.forms[0];
- <!-- 2 -->
- <!-- 2 -->
- cf.h_radio_band.value = cf.radio_band[cf.radio_band.selectedIndex].value;
- cf.get_radio_band.value = cf.radio_band[cf.radio_band.selectedIndex].value;
- <!-- -->
- <!-- -->
- var radioBand = cf.get_radio_band.value;
- <!-- 2 -->
- <!-- 2 -->
- cf.h_network_band.value = cf.network_band[cf.network_band.selectedIndex].value;
- cf.get_h_network_band.value = cf.network_band[cf.network_band.selectedIndex].value;
- <!-- -->
- <!-- -->
- var networkBand = cf.get_h_network_band.value;
- <!-- 2 -->
- <!-- 2 -->
- cf.h_network_mode.value = cf.network_mode[cf.network_mode.selectedIndex].value;
- <!-- -->
- <!-- -->
- var networkMode = cf.h_network_mode.value;
- if(networkMode == 2)//B/G/N mode
- {
- <!-- 2 -->
- show_hide("stdchDIV1",((networkBand == 2)&&(radioBand == 0)));//2=>2.4G 0=>20M
- show_hide("stdchDIV11",((networkBand == 2)&&(radioBand == 1)));//2=>2.4G ,1=>40M
- show_hide("stdchDIV2",((networkBand == 1)&&(radioBand == 0)));//1=>5G ,0=>20M
- show_hide("stdchDIV22",((networkBand == 1)&&(radioBand == 1)));//1=>5G ,1=>40M
- <!-- -->
- }
- else
- {
- show_hide("stdchDIV1",1);//other case,just show 2.4G,20M channel List
- }
- }
- <!-- 2 -->
- <!-- 2 -->
- function submitNWMode()
- {
- var cf = document.forms[0];
- <!-- 2 -->
- <!-- 2 -->
- setDisabled(1,cf.network_band);
- <!-- -->
- <!-- -->
- if (cf.h_wifi_country_code.value != '')
- {
- setDisabled(1,cf.wifi_country_code);
- }
- <!-- 2 -->
- <!-- 2 -->
- setDisabled(1,cf.radio_band);
- <!-- -->
- <!-- -->
- <!-- 2 -->
- setDisabled(1,cf.wl_channel_2Ghz_20M,cf.wl_channel_2Ghz_40M);
- <!-- -->
- <!-- 2 -->
- setDisabled(1,cf.wl_channel_5Ghz_20M,cf.wl_channel_5Ghz_40M);
- <!-- -->
- <!-- 2 -->
- <!-- 2 -->
- setDisabled(1,cf.wl_ssid0);
- <!-- -->
- <!-- -->
- <!-- 2 -->
- <!-- 2 -->
- setDisabled(1,cf.wl_hide_ssid0);
- <!-- -->
- <!-- -->
- setDisabled(1,cf.side_band,cf.side_band_5Ghz);
- // when wireless is disabled, the wps buttons should be grey
- cf.h_network_mode.value = cf.network_mode[cf.network_mode.selectedIndex].value;
- document.WRadioSettings.submit();
- }
- <!-- -->
- <!-- -->
- var userType = 1;
- function HitScanApsButton()
- {
- var cf = document.forms[0];
- if(userType == 10)
- {
- if (isBlank(cf.wl_ssid0.value))
- {
- alert(invalid_wnet_ssid + blank_error);
- return false;
- }
- else
- {
- if(!checkCharacter(cf.wl_ssid0.value))
- {
- alert(invalid_wnet_ssid+ characters_error);
- return false;
- }
- cf.HitScanWirelessAPs.value = 1;
- return true;
- }
- }
- //openDataSubWin('wlanScanPopup.asp',bigsub);
- }
- function CheckScanPopup()
- {
- var cf = document.forms[0];
- if(userType == 10)
- {
- if(cf.HitScanWirelessAPs.value == "1")
- {
- cf.HitScanWirelessAPs.value = 0;
- openDataSubWin('wlanScanPopup.asp',bigsub);
- }
- }
- }
- </script>
- </head>
- <body class="BodyStyle" onLoad="init();">
- <div class="BackgroundStyle">
- <img width="100%" src="pageBackground.jpg"/>
- </div>
- <form name="WRadioSettings" method="POST" action="/goform/WRadioSettings">
- <div align="center">
- <table class="showMenuTable">
- <script language="javascript" type="text/javascript">
- showHead('Cisco EPC3925 EuroDocsis 3.0 2-PORT Voice Gateway','EPC3925','@fw_version#',vwireless,' ');
- </script>
- <script language="javascript" type="text/javascript">
- showMenu(vwireless,vwradio,'32866',Array('0','247','0','0','0','1','28','0'));
- </script>
- </table>
- <div id="id_WL_UICtrl">
- <!-- data table-->
- <table class="Top">
- <tr>
- <td colspan="2" class="Top1"></td>
- <td colspan="2" class="Top2"></td>
- </tr>
- </table>
- <table class="dataTable">
- <tr>
- <td>
- <table class="nav">
- <tr>
- <td class="bwhead">
- <script language="javascript" type="text/javascript">dw(vt_wnet_colon);</script>
- </td>
- <td class="bwhead1"> </td>
- <td class="nav1"> </td>
- </tr>
- <tr height="3px">
- <td class="Item1"></td>
- <td class="Item2"></td>
- <td></td>
- </tr>
- <!-- Radio Select Start -->
- <tr>
- <td class="Item1">
- <script language="javascript" type="text/javascript"></script>
- </td>
- <td class="Item2"> </td>
- <td class="Item3">
- <table class="std">
- <tr id="i_wirelessSwitch">
- <td nowrap >
- <script language="javascript" type="text/javascript">dw(vwinterface);</script>
- </td>
- <td nowrap >
- <INPUT type="radio" name="wifi_enable" value="enable" onClick="enableDisable();">
- </td>
- <td nowrap >
- <B><script language="javascript" type="text/javascript">dw(venable);</script></B>
- </td>
- <td nowrap >
- <INPUT type="radio" name="wifi_enable" value="disable" onClick="enableDisable();">
- </td>
- <td nowrap >
- <B><script language="javascript" type="text/javascript">dw(vdisable);</script></b>
- </td>
- <input type="hidden" name="h_wifi_enable" value="disable" />
- </tr>
- <!-- 2 -->
- <!-- 2 -->
- <tr></tr>
- <!-- -->
- <!-- -->
- </table>
- </td>
- </tr>
- <!-- Radio Select End -->
- <tr>
- <td class="Item1">  </td>
- <td class="Item2"> </td>
- <td ><hr class="std"></td>
- </tr>
- <!-- Basic Settings Start -->
- <tr>
- <td class="Item1"> </td>
- <td class="Item2"> </td>
- <td class="Item3">
- <!-- Manual Settings Start -->
- <div ID="manualDIV" style="display:block">
- <table class="std">
- <!-- 2 -->
- <!-- 2 -->
- <tr id="i_wirelessABGNMode">
- <td height="26" nowrap><script language="javascript" type="text/javascript">dw(vwnetwork);</script></td>
- <td nowrap colspan="2">
- <FONT face=Arial color=blue>
- <SELECT onChange="submitNWMode();" size=1 name="network_mode" style="font-family: Arial; font-size: 11px">
- <option value=1 ><script language="javascript" type="text/javascript">dw(vmbgonly);</script></option>
- <option value=0 ><script language="javascript" type="text/javascript">dw(vmnonly);</script></option>
- <option value=2 selected ><script language="javascript" type="text/javascript">dw(vmbgnmixed);</script></option>
- </SELECT>
- </FONT>
- </td>
- <td nowrap colspan="2">
- </td>
- </tr>
- <tr>
- </tr>
- <!-- -->
- <!-- -->
- <input type="hidden" name="h_network_mode" value="2" />
- <!-- 2 -->
- <!-- 2 -->
- <tr ID="NWBandforN" style="display:none">
- <td height="26" nowrap>
- <script language="javascript" type="text/javascript">dw(vmnwband);</script>
- </td>
- <td width="140" nowrap colspan="4">
- <FONT face=Arial color=blue>
- <SELECT onChange="enableDisable();DisplayChannelList()" size=1 name="network_band" style="font-family: Arial; font-size: 11px">
- <option value=2 selected><script language="javascript" type="text/javascript">dw(vwEn2_4GHz);</script></option><option value=1 ><script language="javascript" type="text/javascript">dw(vwEn5Ghz);</script></option>
- </SELECT>
- </FONT>
- </td>
- </tr>
- <input type="hidden" name="h_network_band" value="2" />
- <!-- -->
- <!-- -->
- <input type="hidden" name="get_h_network_band" value="2" />
- <!-- 2 -->
- <!-- 2 -->
- <tr ID="RaidoBandforN" style="display:none">
- <td height="31" nowrap><script language="javascript" type="text/javascript">dw(vwRadio);</script></td>
- <td nowrap colspan="4">
- <select size="1" name="radio_band" style="font-size: 11px" onChange="onChangeCWM();DisplayChannelList();">
- <option value="0"><script language="javascript" type="text/javascript">dw(vwRadio1);</script></option>
- <option value="1"><script language="javascript" type="text/javascript">dw(vwRadio2);</script></option>
- </select>
- </td>
- </tr>
- <input type="hidden" name="h_radio_band" value="0" />
- <!-- -->
- <!-- -->
- <input type="hidden" name="get_radio_band" value="0" />
- <tr id="i_wirelessChannel">
- <td height="34" nowrap>
- <script language="javascript" type="text/javascript">dw(vwstand_channel);</script>
- </td>
- <td nowrap>
- <!-- 2 -->
- <div ID="stdchDIV1" style="display:none">
- <select name="wl_channel_2Ghz_20M" style="font-family: Arial; font-size: 11px" onChange="ChangeSideBandFor2_4Ghz()">
- <option value=0 selected><script language="javascript" type="text/javascript">dw(vs_auto);</script><option value=1 >1 <option value=2 >2 <option value=3 >3 <option value=4 >4 <option value=5 >5 <option value=6 >6 <option value=7 >7 <option value=8 >8 <option value=9 >9 <option value=10 >10 <option value=11 >11 <option value=12 >12 <option value=13 >13
- </select>
- </div>
- <div ID="stdchDIV11" style="display:none">
- <select name="wl_channel_2Ghz_40M" style="font-family: Arial; font-size: 11px" onChange="ChangeSideBandFor2_4Ghz()">
- <option value=0 selected><script language="javascript" type="text/javascript">dw(vs_auto);</script><option value=1 >1 <option value=2 >2 <option value=3 >3 <option value=4 >4 <option value=5 >5 <option value=6 >6 <option value=7 >7 <option value=8 >8 <option value=9 >9 <option value=10 >10 <option value=11 >11 <option value=12 >12 <option value=13 >13
- </select>
- </div>
- <input type="hidden" name="h_wl_channel" value="0" />
- <!-- -->
- <!-- 2 -->
- <div ID="stdchDIV2" style="display:none">
- <select name="wl_channel_5Ghz_20M" style="font-family: Arial; font-size: 11px" onChange="ChangeSideBandFor5Ghz()">
- <option value=0 selected><script language="javascript" type="text/javascript">dw(vs_auto);</script><option value=36 >36 <option value=40 >40 <option value=44 >44 <option value=48 >48 <option value=52 >52 <option value=56 >56 <option value=60 >60 <option value=64 >64 <option value=100 >100 <option value=104 >104 <option value=108 >108 <option value=112 >112 <option value=116 >116 <option value=120 >120 <option value=124 >124 <option value=128 >128 <option value=132 >132 <option value=136 >136 <option value=140 >140
- </select>
- </div>
- <div ID="stdchDIV22" style="display:none">
- <select name="wl_channel_5Ghz_40M" style="font-family: Arial; font-size: 11px" onChange="ChangeSideBandFor5Ghz()">
- <option value=0 selected><script language="javascript" type="text/javascript">dw(vs_auto);</script><option value=36 >36 <option value=40 >40 <option value=44 >44 <option value=48 >48 <option value=52 >52 <option value=56 >56 <option value=60 >60 <option value=64 >64 <option value=100 >100 <option value=104 >104 <option value=108 >108 <option value=112 >112 <option value=116 >116 <option value=120 >120 <option value=124 >124 <option value=128 >128 <option value=132 >132 <option value=136 >136
- </select>
- </div>
- <!-- -->
- </td>
- <td nowrap>
- <td nowrap>( Current :  <b>11</b> , Interference Level: Acceptable )  </td>
- </td>
- </tr>
- <tr ID="removefor20M" style="display:none" >
- <td height="31" nowrap>
- <script language="javascript" type="text/javascript">dw(vwSideBand);</script>
- </td>
- <td nowrap>
- <div ID="sideBandDIV1" style="display:none">
- <select size="1" name="side_band" style="font-size: 11px" >
- <option value="0"><script language="javascript" type="text/javascript">dw(vs_auto);</script></option>
- </select>
- </div>
- <div ID="sideBandDIV2" style="display:none">
- <select name="side_band_5Ghz" style="font-family: Arial; font-size: 11px" >
- <option value="0"><script language="javascript" type="text/javascript">dw(vs_auto);</script></option>
- </select>
- </div>
- </td>
- </tr>
- </table>
- <!-- SSID Table -->
- <TABLE align="center" borderColor="#e7e7e7" height=24 cellSpacing=0 cellPadding=0 width=430 border=0>
- <TBODY>
- <TR>
- <TD style="border: 1px solid;" align="center" width=150 bgColor="#cccccc" height=30>
- <b>
- <script language="javascript" type="text/javascript">dw(vssid1);</script>
- </b>
- </TD>
- <TD style="border: 1px solid;" align="center" width=180 bgColor="#cccccc" height=30>
- <b>
- <script language="javascript" type="text/javascript">dw(vbssid);</script>
- </b>
- </TD>
- <TD style="border: 1px solid;" align="center" width=100 bgColor="#cccccc" height=30>
- <b>
- <script language="javascript" type="text/javascript">dw(vbraodcast);</script>
- <br/>
- <script language="javascript" type="text/javascript">dw(vssid)</script>
- </b>
- </TD>
- </TR>
- <TR>
- <TD>
- <!-- 2 -->
- <!-- 2 -->
- <INPUT type="text" class="num" maxlength="32" size="20" name="wl_ssid0" id="wl_ssid0" value="" />
- <!-- -->
- <!-- -->
- </TD>
- <TD>
- </TD>
- <TD align="center">
- <!-- 2 -->
- <!-- 2 -->
- <INPUT type="checkbox" name="wl_hide_ssid0" id="wl_hide_ssid0" value="wl_ssidenable0" />
- <input type="hidden" name="h_wl_hide_ssid0" value="enable" />
- <!-- -->
- <!-- -->
- </TD>
- </TR>
- </TBODY>
- </TABLE>
- <br/>
- </div>
- <!-- Manual Settings End -->
- </td>
- </tr>
- </table>
- </td>
- <td class="help">
- <table>
- <tr>
- <td>
- <SPAN> 
- <A href="help/h_BasicWSettings.htm" target="_blank" class="submenu">
- <script language="javascript" type="text/javascript">dw(vhelp);</script>
- </a>
- </SPAN>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- <table class="bottom">
- <tr>
- <td class="Footer1"> </td>
- <td class="Footer2">
- <script language="javascript" type="text/javascript">showSave();</script>
- <script language="javascript" type="text/javascript">showCancel("WRadioSettings.asp");</script>   
- </td>
- <td class="Footer3"> </td>
- </tr>
- </table>
- </div>
- <input type="hidden" name="h_wifi_sideband" value="0" />
- <input type="hidden" name="h_wifi_country_code" value="" />
- </form>
- </body>
- </html>
Advertisement
 
                    Add Comment                
                
                        Please, Sign In to add comment                    
                 
                    