/*v3 category : VHG87BAM-0T001
WAN : 3G-DS + C-Ethernet + WiFi one module Uplink (2.4G) + WiFi two module Uplink(5G)
w/ : WiFi 2.4G + 5G
w/o : bridge
w/ : loadblance
failover :  3G-DS + C-Ethernet + WiFi one module Uplink (2.4G) + WiFi two module Uplink(5G)
always on : 4
Bridge Mode
*/
swm_phy_wan_nmber=2;
/*
0:����
1:�}�ҡA�i��WAN�γQFailover
2:�}�ҡA�u��QFailover
3:�}�ҡA�u��Always on
*/
swm_phy_ethernet=1;
swm_phy_ethernet2=0;
swm_phy_xdsl_pvc0=0;
swm_phy_3g_4g1=1;
swm_phy_3g_4g2=0;
swm_dualsim1=true; //�}��dualsim�ɡA3G�|�ɨ�primx_sim.htm
swm_dualsim2=false;
swm_phy_wisp=1;
swm_phy_wisp2=1;
swm_phy_serial_dialup=0;
swm_phy_sfp=0;
swm_phy_vdsl=0;
var swName_idx=[];
var swName_Eth1=swName_idx99=swName_idx[99]=GetElmCont('sta_0','Ethernet');
var swName_Eth2=swName_idx1=swName_idx[1]=GetElmCont('sta_0','Ethernet')+" 2";
var swName_idx2=swName_idx[2]="";
var swName_idx3=swName_idx[3]="";
var swName_idx4=swName_idx[4]="";
var swName_idx5=swName_idx[5]=GetElmCont('wiz20_0','SFP');
swName_idx[6]=GetElmCont('wiz20_0','ADSL');
swName_idx[7]="VDSL";
swName_idx[8]="";
swName_idx[9]="";
swName_idx[10]="";
swName_idx[11]="";
swName_idx[12]="";
swName_idx[13]="";
var swName_3G1=swName_idx[14]="3G/4G";
var swName_3G2=swName_idx[15]=GetElmCont('wpa_0','WiFi Module Two');
swName_idx[16]=GetElmCont('wpa_0','WiFi Module One');
swm_antenna=false;
swm_line_speed=false;
swm_vlan_tag=true;
function PhydisplayAction()
{
chkAntenna();
chkVlanTag();
chkLineSpeed();
}
function chkAntenna()
{
document.getElementById('m_antenna').style.display = (swm_antenna)?"":"none";
}
function chkLineSpeed()
{
}
function chkVlanTag()
{
document.getElementById('m_vlan_tag').style.display = (swm_vlan_tag)?"":"none";
}