var HistoryHref=""; var HistoryItem=""; var Fimg1_1=""; var Fimg2_1=""; var Flast=""; var MTd1="
"; var MTd="
"; var Href1 = ""; var Mfont1=""; var Mfont3="
"; var CHome = 1; var CAdvanced = 2; var CTools = 3; var CStatus = 4; var CHelp = 5; var CEnd = 4; var delaytimer=300; var user = 'admin'; var proto = 'Not Applicable'; var ipExt = '0'; var dhcpen = '1'; var std = 'annex_a'; var wireless = '1'; var voice = ''; var buildSnmp = '1'; var buildDdnsd = '1'; var buildSntp = '1'; var buildPureBridge = '0'; var buildPortmap = '1'; var buildipp = '0'; var buildSes = ''; //SUPPORT_SES var siproxd = '0'; var tod = '1'; var QosEnabled = 'false'; var buildRip = '1'; //SUPPORT_SES var buildUsbHost = '0'; var buildUsbFtp = '0'; var buildUsbSmb = '0'; var ipsec = '0'; var certificate = '1'; var wirelessqos = '1'; var tr69c = '1'; var buildPptpClient = '0'; var buildDOS = '0'; var buildPT = '1'; var buildQoS='1'; var QuickSetup=0; var VirtualServers=0; var PortTriggering=0; var DMZHost=0; var ALG=0; //var Outgoing=0; //var Incoming=0; var Filter=0; var AttackPrevent=0; var MACFiltering=0; var ParentalControl=0; var QualityofService=0; var DefaultGateway=0; var StaticRoute=0; var RIP=0; var Routing=0; var DNSServer=0; var DynamicDNS=0; var Annex=""; var PortMapping=0; var PPTPClient=0; var IPSec=0; var wlBasic=0; var wlSecurity=0; var wlMACFilter=0; var wlBridge=0; var wlAdvanced=0; var wlQos=0; var wlSES=0; var wlStationInfo=0; var WirelessAdv=0; var MassStorage=0; var PrintServer=0; var Settings=0; var SNMP=0; var TR069Client=0; var cert = 0; var InternetTime=0; //var Services=0; //var IPAddresses=0; //var Passwords=0; var AccessControl=0; var Security=""; var UpdateSoftware=0; if ( user != 'support' && user != 'user') { if ( buildPureBridge == 0) { VirtualServers=1; if(buildPT == '1') PortTriggering=1; //add compile option DMZHost=1; if ( siproxd == '1' ) ALG =1; //Outgoing=1; //Incoming=1; Filter=1; if (buildDOS == '1') AttackPrevent=1; MACFiltering=1; if ( tod == '1' ) ParentalControl=1; } } if ( buildPureBridge == 0) { QuickSetup=1; if ( user != 'user') { if (buildQoS == '1') QualityofService=1; DefaultGateway=1; //add compile option StaticRoute=1; Routing=1; if ( buildRip == '1') RIP=1; //add compile option DNSServer=1; if ( buildDdnsd == '1') DynamicDNS=1; } } if ( std == 'annex_c' ) Annex="adslcfgc.html"; else Annex="adslcfg.html"; if ( buildPortmap == '1' ) { PortMapping=1; } if ( buildPptpClient == '1' ) { PPTPClient=1; } if ( ipsec == '1' ) { IPSec=1; } if (certificate == '1') { cert = 1; } if ( wireless == '1' ) { wlBasic=1; wlSecurity=1; wlMACFilter=1; wlBridge=1; wlAdvanced=1; WirelessAdv=1; if (buildQoS == '1'){ if ( wirelessqos == '1' ) { wlQos=1; } } //SUPPORT_SES if ( buildSes == '1' ) { wlSES=1; } wlStationInfo=1; } if ( buildUsbHost == '1' ) { if ( buildUsbFtp == '1' || buildUsbSmb == '1' ) { MassStorage=1; } if ( buildipp == '1' ) { PrintServer=1; } } if ( user != 'user') { Settings=1; if ( buildSnmp == '1' ) SNMP=1; if ( tr69c == '1' ) TR069Client=1; if ( (buildPureBridge == '0') && (buildSntp == '1') ) InternetTime=1; //Services=1; //IPAddresses=1; //Passwords=1; AccessControl=1; Security="access.html"; } else{ Security="logintro.html"; } var Amenu=new Array(); var home='vpivci.html'; var adv=Annex; //'scvrtsrv.html?action=view'; var tools=Security; var status='info.html'; var help='Javascript:alert(\'Please contact technical support.\')'; Amenu[0 ]=new Gitem(CHome, "Wizard", "vpivci.html", QuickSetup); Amenu[1 ]=new Gitem(CHome, "Wireless", "wlcfg.html", wlBasic); Amenu[2 ]=new Gitem(CHome, "WAN", "wancfg.html", 1); Amenu[3 ]=new Gitem(CHome, "LAN", "lancfg2.html", 1); Amenu[4 ]=new Gitem(CHome, "DHCP", "lancfg2.html", 0); Amenu[5 ]=new Gitem(CHome, "DNS", "dnscfg.html", DNSServer); Amenu[6 ]=new Gitem(CHome, "Dynamic DNS", "ddnsmngr.html", DynamicDNS); Amenu[7 ]=new Gitem(CHome, "Logout", "logouth.html", 1); Amenu[8 ]=new Gitem(CAdvanced, "ADSL", Annex, 1); Amenu[9 ]=new Gitem(CAdvanced, "UPnP", "scvrtsrv.html?action=view", 0); Amenu[10]=new Gitem(CAdvanced, "Virtual Server", "scvrtsrv.html?action=view", VirtualServers); Amenu[11]=new Gitem(CAdvanced, "DMZ", "scdmz.html", DMZHost); Amenu[12]=new Gitem(CAdvanced, "Lan Clients", "scvrtsrv.html?action=view", 0); Amenu[13]=new Gitem(CAdvanced, "SNMP", "snmpconfig.html", SNMP); //Amenu[14]=new Gitem(CAdvanced, "Filter Outbound", "scoutflt.html?action=view", Outgoing); //Amenu[15]=new Gitem(CAdvanced, "Filter Inbound", "scinflt.html?action=view", Incoming); Amenu[14]=new Gitem(CAdvanced, "IP Filter", "filter.html", Filter); Amenu[15]=new Gitem(CAdvanced, "Bridge Filters", "scmacflt.html?action=view", MACFiltering); Amenu[16]=new Gitem(CAdvanced, "Firewall", "doscfg.html", AttackPrevent); Amenu[17]=new Gitem(CAdvanced, "Parental Control", "todmngr.html?action=view", ParentalControl); Amenu[18]=new Gitem(CAdvanced, "Routing", "routing.html", Routing); //Amenu[19]=new Gitem(CAdvanced, "Routing", "rtroutecfg.html?action=viewcfg", StaticRoute); //Amenu[20]=new Gitem(CAdvanced, "RIP", "ripcfg.html?action=view", RIP); //Amenu[21]=new Gitem(CAdvanced, "Default
Gateway", "rtdefaultcfg.html", DefaultGateway); Amenu[19]=new Gitem(CAdvanced, "PPP", "scvrtsrv.html?action=view", 0); Amenu[20]=new Gitem(CAdvanced, "ATM VCC", "/advanced/adv_atmvcc.htm", 0); Amenu[21]=new Gitem(CAdvanced, "QoS", "qoscls.html?action=view", QualityofService); Amenu[22]=new Gitem(CAdvanced, "Port Mapping", "portmap.html", PortMapping); Amenu[23]=new Gitem(CAdvanced, "Certificate", "certificate.html", cert); Amenu[24]=new Gitem(CAdvanced, "Wireless", "wirelessadv.html", WirelessAdv); //Amenu[23]=new Gitem(CAdvanced, "Wireless
MAC Filter", "wlmacflt.html?action=view", wlMACFilter); //Amenu[24]=new Gitem(CAdvanced, "Wireless Bridge", "wlwds.html?action=view", wlBridge); //Amenu[25]=new Gitem(CAdvanced, "Wireless Adv", "wlcfgadv.html", wlAdvanced); //Amenu[26]=new Gitem(CAdvanced, "Wireless QoS", "wlqos.html", wlQos); //Amenu[27]=new Gitem(CAdvanced, "Wireless SES", "wlses.html", wlSES); Amenu[25]=new Gitem(CAdvanced, "Logout", "logouta.html", 1); Amenu[26]=new Gitem(CTools, "Access Control", "access.html", AccessControl); Amenu[27]=new Gitem(CTools, "Time", "sntpcfg.html", InternetTime); Amenu[28]=new Gitem(CTools, "Remote Log", "logintro.html", 1); Amenu[29]=new Gitem(CTools, "TR-069 Client", "tr69cfg.html", TR069Client); Amenu[30]=new Gitem(CTools, "System", "system.html", Settings); Amenu[31]=new Gitem(CTools, "Firmware", "upload.html", 1); Amenu[32]=new Gitem(CTools, "Miscellaneous", "password.html", 0); Amenu[33]=new Gitem(CTools, "Test", "diag.html", 1); Amenu[34]=new Gitem(CTools, "Logout", "logoutt.html", 1); Amenu[35]=new Gitem(CStatus, "Device Info", "info.html", 1); Amenu[36]=new Gitem(CStatus, "DHCP Clients", "dhcpinfo.html", 1); Amenu[37]=new Gitem(CStatus, "WAN Info", "wancfg.html?action=view", 1); Amenu[38]=new Gitem(CStatus, "Route Info", "rtroutecfg.html?action=view", 1); Amenu[39]=new Gitem(CStatus, "Log", "logview.html", 1); Amenu[40]=new Gitem(CStatus, "LAN", "statsifc.html", 1); Amenu[41]=new Gitem(CStatus, "WAN", "statswan.html", 1); Amenu[42]=new Gitem(CStatus, "ATM", "statsatm.html", 1); Amenu[43]=new Gitem(CStatus, "ADSL", "statsadsl.html", 1); Amenu[44]=new Gitem(CStatus, "Wireless
Station Info", "wlstationlist.html", wlStationInfo); Amenu[45]=new Gitem(CStatus, "Logout", "logouts.html", 1); var g_FID=getFID(); function Gitem(ifolder,sname,surl,ishow) { this.ifolder=ifolder; this.sname=sname; this.surl=surl; this.ishow=ishow; } function doLink(surl) { shref =""+surl; document.location.href = shref; } function getFID() { thisurl=document.location.href; //PreSaveHref = top.GetHistoryHref(); PreSaveHref = HistoryHref; temp =0; for(i=0;i'); //rick, 061023, if ppp redirect page, don't write image if(HistoryHref!="ppp_redirect.html") for(i=0;i 11) sfont="#ffffff SIZE=2"; else sfont="#ffffff SIZE=2"; bgimg=" BACKGROUND='../title.gif'" if((Amenu[i].ifolder==g_FID)&&(Amenu[i].ishow=="1")) { if((Amenu[i].sname == PreSaveItem)) { if(Amenu[i].sname.length > 11) sfont="#000000 SIZE=2"; else sfont="#000000 SIZE=2"; bgimg=" BACKGROUND='../title_over.gif'"; } document.write(MTd1+sstyle+bgimg+MTd2+Amenu[i].surl+MTd3); document.write(Href1+Amenu[i].surl+Href2+Mfont1+sfont+Mfont2+Amenu[i].sname+Mfont3); } } document.write(' '); } function doHelp() { doLink('/help/help.htm'); } function mainTableStart() { //document.write('

> '); document.write('

> > '); } function MapContent() { // document.write(''+ // ''+ // ''+ // ''+ // ''+ // ''+ // ''+ // ''+ // ''); document.write(''+ ''+ ''+ ''+ ''+ ''+ ''+ ''); } function logo() { document.write('

> > '); } function secondRow() { document.write('

> > '); } function ThirdRowStart() { document.write('
> > '); } function ThirdRowEnd() { document.write('

> > '); //rick, 061023, if ppp redirect page, don't write image if(HistoryHref!="ppp_redirect.html") Write_Folder_Images(); } function inTableStart() { document.write('
> > | '); } function inTableEnd() { document.write(' |

> > '); } function mainTableEnd() { document.write('

> > ' + '
> > ' + '
> > ' + ' | ' + ' | ' + ' | ' + ' | ' + '
> > ' + '

> > '); document.write('

> > ' + '
> > ' + '
> > ' + ' | ' + ' | ' + ' | ' + '
> > ' + '

> > '); document.write('

> '); //setTimeout("document.getElementById('tblmain').style.visibility = 'visible'", delaytimer); setTimeout("document.getElementById('tblmain').style.display = 'inline'", delaytimer); } function uiDoHelp() { document.location.href="/help.htm"; }