// [IdentStart] Dataradio edba_vis gcu3 $Revision: 1.61.1.3 $ [IdentEnd]
// Two level Menu Manager
thisPage='Navigator.html';
lev1img='yes'; // insert yes or no
lev1OpName='open.gif'; // open image name
lev1OpHeight='10'; // image height
lev1OpWidth='10'; // image width
lev1ClosName='closed.gif'; // closed image name
lev1ClosHeight='10'; // image height
lev1ClosWidth='10'; // image width
lev2img='yes'; // insert yes or no
lev2Name='bullet.gif'; // image name
lev2Height='10'; // image height
lev2Width='16'; // image width
lev2Char='no'; // insert yes or no
bullet = '› ';
base = 'Working'; // Target Frame
var OptCnt = 0;
var x = 0;
page = location.search.substr(1).split("?");
for (x=0;x<=page.length;x++) {
eval(page);
}
page = escape(page);
page = page.slice(7);
document.write('');
function subMenu(name,linkb) {
this.name = name;
this.linkb = linkb;
}
function OpenMenu(cat) {
this.cat = cat;
document.write('
');
document.write('');
document.write('');
if (lev1img=='yes') {
document.write('');
}
document.write(cat + ' ');
if (thisMenu.length>1) {
for (x=0;x');
if (lev2img=='yes') {
document.write('');
}
if (lev2Char=='yes') {
document.write(bullet);
}
document.write('' +
thisMenu[x].name +
'\n ');
}
}
document.write(' |
');
ActiveLink(document.getElementById('TgtLink'));
parent.frames['Working'].location.href=thisMenu[0].linkb; // Watch the frame number if the layout is changed!!
}
// closes menu section - do not alter
function CloseMenu(cat,pass) {
this.cat = cat;
this.pass = pass;
document.write('');
document.write('');
document.write('');
if (lev1img=='yes') {
document.write('');
}
document.write(cat + '');
document.write(' |
');
}
// Grey menu section - do not alter
function GreyMenu(cat) {
this.cat = cat;
document.write('');
document.write(''); // Changed from Grey to accomodate uSoft
if (lev1img=='yes') {
document.write('');
}
document.write(cat + '');
document.write(' |
');
}
// Status
if (page=='Status') {
OptCnt = 0;
thisMenu = new Array();
thisMenu[OptCnt++] = new subMenu('General','UStatus.html');
thisMenu[OptCnt++] = new subMenu('Radio Info','RADPsnlty.html');
}
// SetUp Wizard
if (page=='SetUpWzd') {
OptCnt = 0;
thisMenu = new Array();
thisMenu[OptCnt++] = new subMenu('Setup Wizard','SetUpWzd.html');
}
// SetUp Basic
if (page=='SetUpBas') {
OptCnt = 0;
thisMenu = new Array();
thisMenu[OptCnt++] = new subMenu('General','SetUpGnrl.html');
thisMenu[OptCnt++] = new subMenu('IP','IPBasic.html');
thisMenu[OptCnt++] = new subMenu('Serial Ports','TermServ.html');
}
// SetUp Advanced
if (page=='SetUpAdv') {
OptCnt = 0;
thisMenu = new Array();
thisMenu[OptCnt++] = new subMenu('LAN (IP)','IPConfig.html');
thisMenu[OptCnt++] = new subMenu('RF (IP)','RFNet.html');
thisMenu[OptCnt++] = new subMenu('RF (Freq.)','FrqSetUp.html');
thisMenu[OptCnt++] = new subMenu('Roaming','Roaming.html');
thisMenu[OptCnt++] = new subMenu('IP Services','IPSvcs.html');
thisMenu[OptCnt++] = new subMenu('IP Addressing','BcastMcast.html');
thisMenu[OptCnt++] = new subMenu('IP Optimization','IPOptTun.html');
thisMenu[OptCnt++] = new subMenu('Time Source','SNTP.html');
//@if gemini gemini8270
// thisMenu[OptCnt++] = new subMenu('Alarms','Alarms.html');
//@endif
thisMenu[OptCnt++] = new subMenu('Ethernet (PHY)','EthSet.html');
}
// GPS
if (page=='GPSMenu') {
OptCnt = 0;
thisMenu = new Array();
thisMenu[OptCnt++] = new subMenu('Status','GPSStat.html');
thisMenu[OptCnt++] = new subMenu('Delivery','GPSDel.html');
thisMenu[OptCnt++] = new subMenu('AAVL','GPSAAVL.html');
}
// Security
if (page=='Security') {
OptCnt = 0;
thisMenu = new Array();
thisMenu[OptCnt++] = new subMenu('Pass Control','Security.html');
// No access list in Gemini
}
// Statistics
if (page=='Stats') {
OptCnt = 0;
thisMenu = new Array();
thisMenu[OptCnt++] = new subMenu('TCP/IP','PackStat.html');
thisMenu[OptCnt++] = new subMenu('Airlink','ChanStat.html');
thisMenu[OptCnt++] = new subMenu('Interfaces','NetStat.html');
}
// Maintenance
if (page=='Maint') {
OptCnt = 0;
thisMenu = new Array();
thisMenu[OptCnt++] = new subMenu('Ping Test','PingTst.html');
thisMenu[OptCnt++] = new subMenu('Config Control','ConfigCtl.html');
thisMenu[OptCnt++] = new subMenu('Package Control','VpkgCtl.html');
if(view_from_local) {
thisMenu[OptCnt++] = new subMenu('RF Tests','RFTests.html');
}
if (q_utils) {
thisMenu[OptCnt++] = new subMenu('Utilities','Utils.html');
}
}
q_loaded=true;