var memtotal; var memfree; memtotal="29016 kB"; memfree="6904 kB"; var wan_array=[{'recv_bytes':'0','recv_pkts':'0','tx_bytes':'0','tx_pkts':'0'}]; var lan_array=[{'recv_bytes':'555889','recv_pkts':'5319','tx_bytes':'4503539','tx_pkts':'5811'}]; var allinfs_array=[{'inf_name':'eth2','recv_bytes':'651695','recv_pkts':'5320','tx_bytes':'4596881','tx_pkts':'6756'} ,{'inf_name':'lo','recv_bytes':'172700','recv_pkts':'4829','tx_bytes':'172700','tx_pkts':'4829'} ,{'inf_name':'ra0','recv_bytes':'36937669','recv_pkts':'181635','tx_bytes':'0','tx_pkts':'1731'} ,{'inf_name':'eth2.1','recv_bytes':'577215','recv_pkts':'5320','tx_bytes':'4579485','tx_pkts':'6750'} ,{'inf_name':'eth2.2','recv_bytes':'0','recv_pkts':'0','tx_bytes':'0','tx_pkts':'0'} ,{'inf_name':'br0','recv_bytes':'555889','recv_pkts':'5319','tx_bytes':'4503539','tx_pkts':'5811'} ,{'inf_name':'wds0','recv_bytes':'0','recv_pkts':'0','tx_bytes':'0','tx_pkts':'0'} ,{'inf_name':'wds1','recv_bytes':'0','recv_pkts':'0','tx_bytes':'0','tx_pkts':'0'} ,{'inf_name':'wds2','recv_bytes':'0','recv_pkts':'0','tx_bytes':'0','tx_pkts':'0'} ,{'inf_name':'wds3','recv_bytes':'0','recv_pkts':'0','tx_bytes':'0','tx_pkts':'0'} ,{'inf_name':'wwan0','recv_bytes':'54462','recv_pkts':'174','tx_bytes':'25440','tx_pkts':'176'} ]; var inf_num=11;