3 <meta HTTP-EQUIV='Pragma' CONTENT='no-cache'>
4 <link rel="stylesheet" href='stylemain.css' type='text/css'>
5 <link rel="stylesheet" href='colors.css' type='text/css'>
6 <script language="javascript">
8 var buildSiproxd = '<%ejGetOther(sysInfo, buildSiproxd)%>';
9 var enblSiproxd = '<%ejGetJS(enblSiproxd)%>';
10 var refresh = '<%ejGetJS(glbRefresh)%>';
12 if ( refresh == '1' ) {
13 var code = 'location = "algcfg.cgi?glbRefresh=0"';
18 with ( document.forms[0] ) {
19 if ( buildSiproxd == '1' ) {
20 if ( enblSiproxd == '1' ) {
21 Siproxd.checked = true;
23 Siproxd.checked = false;
32 function hideSiproxdInfo(hide) {
33 var status = 'visible';
36 if (document.getElementById) // DOM3 = IE5, NS6
37 document.getElementById('sipproxdInfo').style.visibility = status;
39 if (document.layers) { // Netscape 4
41 document.forms[0].Siproxd.value = '';
43 document.forms[0].Siproxd.value = enblSiproxd;
45 document.all.sipproxdInfo.style.visibility = status;
49 function applyClick() {
50 var loc = 'algcfg.cgi?';
51 with ( document.forms[0] ) {
52 if ( buildSiproxd == '1' ) {
53 if ( Siproxd.checked == true )
54 loc += 'enblSiproxd=1';
56 loc += 'enblSiproxd=0';
59 var code = 'location = "' + loc + '"';
66 <body onLoad='frmLoad()'>
71 Select the ALG below.<br>
74 <div id='sipproxdInfo'>
75 <table border="0" cellpadding="0" cellspacing="0">
77 <td><input type="checkbox" name="Siproxd"> SIP Enabled</td>
83 <input type='button' onClick='applyClick()' value='Save/Apply'>